forked from botoxparty/XP.css
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_variables.scss
57 lines (51 loc) · 2.45 KB
/
_variables.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*-------------------------------------------*\
Variables
\*-------------------------------------------*/
:root {
--sans-serif: "Pixelated MS Sans Serif", Arial;
/* Color */
--surface: lightblue;
--button-highlight: #ffffff;
--button-face: #dfdfdf;
--button-shadow: #808080;
--window-frame: #0a0a0a;
--dialog-blue: #000080;
--dialog-blue-light: #1084d0;
--link-blue: #0000ff;
/* Spacing */
--element-spacing: 8px;
--grouped-button-spacing: 4px;
--grouped-element-spacing: 6px;
--radio-width: 12px;
--checkbox-width: 13px;
--radio-label-spacing: 6px;
--range-track-height: 4px;
--range-spacing: 10px;
/* Some detailed computations for radio buttons and checkboxes */
--radio-total-width-precalc: var(--radio-width) + var(--radio-label-spacing);
--radio-total-width: calc(var(--radio-total-width-precalc));
--radio-left: calc(-1 * var(--radio-total-width-precalc));
--radio-dot-width: 4px;
--radio-dot-top: calc(var(--radio-width) / 2 - var(--radio-dot-width) / 2);
--radio-dot-left: calc(
-1 * (var(--radio-total-width-precalc)) + var(--radio-width) / 2 - var(--radio-dot-width) / 2
);
--checkbox-total-width-precalc: var(--checkbox-width) + var(--radio-label-spacing);
--checkbox-total-width: calc(var(--checkbox-total-width-precalc));
--checkbox-left: calc(-1 * var(--checkbox-total-width-precalc));
--checkmark-width: 7px;
--checkmark-top: 3px;
--checkmark-left: 3px;
/* Borders */
--border-width: 1px;
--border-raised-outer: inset -1px -1px var(--window-frame), inset 1px 1px var(--button-highlight);
--border-raised-inner: inset -2px -2px var(--button-shadow), inset 2px 2px var(--button-face);
--border-sunken-outer: inset -1px -1px var(--button-highlight), inset 1px 1px var(--window-frame);
--border-sunken-inner: inset -2px -2px var(--button-face), inset 2px 2px var(--button-shadow);
/* Window borders flip button-face and button-highlight */
--border-window-outer: inset -1px -1px var(--window-frame), inset 1px 1px var(--button-face);
--border-window-inner: inset -2px -2px var(--button-shadow), inset 2px 2px var(--button-highlight);
--border-field: inset -1px -1px var(--button-highlight), inset 1px 1px var(--button-shadow),
inset -2px -2px var(--button-face), inset 2px 2px var(--window-frame);
--border-status-bar-field: inset -1px -1px var(--button-face), inset 1px 1px var(--button-shadow);
}