@webitel/styleguide 1.0.14 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +121 -121
- package/package.json +15 -15
- package/src/auditor/main.scss +1 -1
- package/src/auditor/styleguide/_styleguide.scss +5 -5
- package/src/client/main.scss +1 -1
- package/src/client/styleguide/_styleguide.scss +5 -5
- package/src/crm/main.scss +1 -1
- package/src/crm/styleguide/_styleguide.scss +5 -5
- package/src/history/main.scss +1 -1
- package/src/history/styleguide/_styleguide.scss +5 -5
- package/src/lib/main.scss +1 -1
- package/src/lib/styleguide/_styleguide.scss +7 -7
- package/src/lib/styleguide/border-radius/_border-radius.scss +3 -3
- package/src/lib/styleguide/colors/_colors.scss +199 -199
- package/src/lib/styleguide/colors/_deprecated.scss +151 -151
- package/src/lib/styleguide/colors/_palette.scss +358 -358
- package/src/lib/styleguide/colors/reusable/_text-field.scss +43 -43
- package/src/lib/styleguide/elevations/_elevations.scss +13 -13
- package/src/lib/styleguide/fonts/_fonts.scss +125 -125
- package/src/lib/styleguide/scroll.scss +44 -44
- package/src/lib/styleguide/spacings/_spacings.scss +14 -14
- package/src/lib/styleguide/typography/_typography.scss +124 -124
- package/src/lib/styleguide/viewport-breakpoints/_viewport-breakpoints.scss +25 -25
- package/src/supervisor/main.scss +1 -1
- package/src/supervisor/styleguide/_styleguide.scss +5 -5
- package/src/workspaces/main.scss +1 -1
- package/src/workspaces/styleguide/_styleguide.scss +5 -5
- package/src/workspaces/styleguide/colors/_colors.scss +3 -3
- package/src/wt-flow-diagram/main.scss +1 -1
- package/src/wt-flow-diagram/styleguide/_styleguide.scss +5 -5
- package/src/wt-flow-diagram/styleguide/colors/_colors.scss +234 -234
- package/src/wt-flow-diagram/styleguide/shadows/_shadows.scss +12 -12
- package/src/wt-flow-diagram/styleguide/spacings/_spacing.scss +31 -31
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
// shared text field colors
|
|
2
|
-
|
|
3
|
-
:root {
|
|
4
|
-
// TODO: move to separate helper-text component
|
|
5
|
-
// helper
|
|
6
|
-
--wt-helper-text-color: var(--text-main-color);
|
|
7
|
-
--wt-helper-text-disabled-color: var(--text-disabled-color);
|
|
8
|
-
--wt-helper-text-invalid-color: var(--text-error-color);
|
|
9
|
-
|
|
10
|
-
// text
|
|
11
|
-
--wt-text-field-text-color: var(--black);
|
|
12
|
-
|
|
13
|
-
// placeholder
|
|
14
|
-
--wt-text-field-error-text-color: var(--error-color);
|
|
15
|
-
--wt-text-field-placeholder-color: var(--grey-lighten-1);
|
|
16
|
-
--wt-text-field-placeholder-error-color: var(--error-color);
|
|
17
|
-
--wt-text-field-placeholder-disabled-color: var(--text-disabled-color);
|
|
18
|
-
|
|
19
|
-
// border
|
|
20
|
-
--wt-text-field-input-border-color: var(--grey-darken-1);
|
|
21
|
-
--wt-text-field-input-border-disabled-color: var(--dp-16-surface-color);
|
|
22
|
-
--wt-text-field-input-border-error-color: var(--error-color);
|
|
23
|
-
|
|
24
|
-
// input bg
|
|
25
|
-
--wt-text-field-input-background-disabled-color: var(--dp-16-surface-color);
|
|
26
|
-
|
|
27
|
-
// select
|
|
28
|
-
--wt-text-field-select-option-text-color: var(--text-main-color);
|
|
29
|
-
--wt-text-field-select-option-text-hover-color: var(--primary-on-color);
|
|
30
|
-
--wt-text-field-select-option-text-selected-color: var(--primary-on-color);
|
|
31
|
-
|
|
32
|
-
--wt-text-field-select-option-wrapper-border-color: var(--dp-22-surface-color);
|
|
33
|
-
--wt-text-field-select-option-background-color: var(--dp-22-surface-color);
|
|
34
|
-
--wt-text-field-select-option-background-hover-color: var(--primary-light-color);
|
|
35
|
-
--wt-text-field-select-option-background-selected-color: var(--primary-color);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
:root.theme--dark {
|
|
39
|
-
// text
|
|
40
|
-
--wt-text-field-text-color: var(--white);
|
|
41
|
-
|
|
42
|
-
--wt-text-field-input-border-color: var(--grey-lighten-1);
|
|
43
|
-
}
|
|
1
|
+
// shared text field colors
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
// TODO: move to separate helper-text component
|
|
5
|
+
// helper
|
|
6
|
+
--wt-helper-text-color: var(--text-main-color);
|
|
7
|
+
--wt-helper-text-disabled-color: var(--text-disabled-color);
|
|
8
|
+
--wt-helper-text-invalid-color: var(--text-error-color);
|
|
9
|
+
|
|
10
|
+
// text
|
|
11
|
+
--wt-text-field-text-color: var(--black);
|
|
12
|
+
|
|
13
|
+
// placeholder
|
|
14
|
+
--wt-text-field-error-text-color: var(--error-color);
|
|
15
|
+
--wt-text-field-placeholder-color: var(--grey-lighten-1);
|
|
16
|
+
--wt-text-field-placeholder-error-color: var(--error-color);
|
|
17
|
+
--wt-text-field-placeholder-disabled-color: var(--text-disabled-color);
|
|
18
|
+
|
|
19
|
+
// border
|
|
20
|
+
--wt-text-field-input-border-color: var(--grey-darken-1);
|
|
21
|
+
--wt-text-field-input-border-disabled-color: var(--dp-16-surface-color);
|
|
22
|
+
--wt-text-field-input-border-error-color: var(--error-color);
|
|
23
|
+
|
|
24
|
+
// input bg
|
|
25
|
+
--wt-text-field-input-background-disabled-color: var(--dp-16-surface-color);
|
|
26
|
+
|
|
27
|
+
// select
|
|
28
|
+
--wt-text-field-select-option-text-color: var(--text-main-color);
|
|
29
|
+
--wt-text-field-select-option-text-hover-color: var(--primary-on-color);
|
|
30
|
+
--wt-text-field-select-option-text-selected-color: var(--primary-on-color);
|
|
31
|
+
|
|
32
|
+
--wt-text-field-select-option-wrapper-border-color: var(--dp-22-surface-color);
|
|
33
|
+
--wt-text-field-select-option-background-color: var(--dp-22-surface-color);
|
|
34
|
+
--wt-text-field-select-option-background-hover-color: var(--primary-light-color);
|
|
35
|
+
--wt-text-field-select-option-background-selected-color: var(--primary-color);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
:root.theme--dark {
|
|
39
|
+
// text
|
|
40
|
+
--wt-text-field-text-color: var(--white);
|
|
41
|
+
|
|
42
|
+
--wt-text-field-input-border-color: var(--grey-lighten-1);
|
|
43
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--_elevation-color: hsla(0, 0%, 0%, 0.08);
|
|
3
|
-
--elevation-1: 0px 0px 2px 1px var(--_elevation-color);
|
|
4
|
-
--elevation-2: 0px 0px 4px 2px var(--_elevation-color);
|
|
5
|
-
--elevation-3: 0px 0px 6px 3px var(--_elevation-color);
|
|
6
|
-
--elevation-4: 0px 0px 8px 4px var(--_elevation-color);
|
|
7
|
-
--elevation-5: 0px 0px 10px 5px var(--_elevation-color);
|
|
8
|
-
--elevation-6: 0px 0px 12px 6px var(--_elevation-color);
|
|
9
|
-
--elevation-7: 0px 0px 14px 7px var(--_elevation-color);
|
|
10
|
-
--elevation-8: 0px 0px 16px 8px var(--_elevation-color);
|
|
11
|
-
--elevation-9: 0px 0px 18px 9px var(--_elevation-color);
|
|
12
|
-
--elevation-10: 0px 0px 20px 10px var(--_elevation-color);
|
|
13
|
-
}
|
|
1
|
+
:root {
|
|
2
|
+
--_elevation-color: hsla(0, 0%, 0%, 0.08);
|
|
3
|
+
--elevation-1: 0px 0px 2px 1px var(--_elevation-color);
|
|
4
|
+
--elevation-2: 0px 0px 4px 2px var(--_elevation-color);
|
|
5
|
+
--elevation-3: 0px 0px 6px 3px var(--_elevation-color);
|
|
6
|
+
--elevation-4: 0px 0px 8px 4px var(--_elevation-color);
|
|
7
|
+
--elevation-5: 0px 0px 10px 5px var(--_elevation-color);
|
|
8
|
+
--elevation-6: 0px 0px 12px 6px var(--_elevation-color);
|
|
9
|
+
--elevation-7: 0px 0px 14px 7px var(--_elevation-color);
|
|
10
|
+
--elevation-8: 0px 0px 16px 8px var(--_elevation-color);
|
|
11
|
+
--elevation-9: 0px 0px 18px 9px var(--_elevation-color);
|
|
12
|
+
--elevation-10: 0px 0px 20px 10px var(--_elevation-color);
|
|
13
|
+
}
|
|
@@ -1,125 +1,125 @@
|
|
|
1
|
-
@font-face {
|
|
2
|
-
font-family: 'Montserrat';
|
|
3
|
-
src: url('../../../../assets/fonts/Montserrat/Montserrat-Thin.ttf') format('truetype');
|
|
4
|
-
font-weight: 100;
|
|
5
|
-
font-style: normal;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
@font-face {
|
|
9
|
-
font-family: 'Montserrat';
|
|
10
|
-
src: url('../../../../assets/fonts/Montserrat/Montserrat-ThinItalic.ttf') format('truetype');
|
|
11
|
-
font-weight: 100;
|
|
12
|
-
font-style: italic;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@font-face {
|
|
16
|
-
font-family: 'Montserrat';
|
|
17
|
-
src: url('../../../../assets/fonts/Montserrat/Montserrat-ExtraLight.ttf') format('truetype');
|
|
18
|
-
font-weight: 200;
|
|
19
|
-
font-style: normal;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@font-face {
|
|
23
|
-
font-family: 'Montserrat';
|
|
24
|
-
src: url('../../../../assets/fonts/Montserrat/Montserrat-ExtraLightItalic.ttf') format('truetype');
|
|
25
|
-
font-weight: 200;
|
|
26
|
-
font-style: italic;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
@font-face {
|
|
30
|
-
font-family: 'Montserrat';
|
|
31
|
-
src: url('../../../../assets/fonts/Montserrat/Montserrat-Light.ttf') format('truetype');
|
|
32
|
-
font-weight: 300;
|
|
33
|
-
font-style: normal;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@font-face {
|
|
37
|
-
font-family: 'Montserrat';
|
|
38
|
-
src: url('../../../../assets/fonts/Montserrat/Montserrat-LightItalic.ttf') format('truetype');
|
|
39
|
-
font-weight: 300;
|
|
40
|
-
font-style: italic;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
@font-face {
|
|
44
|
-
font-family: 'Montserrat';
|
|
45
|
-
src: url('../../../../assets/fonts/Montserrat/Montserrat-Regular.ttf') format('truetype');
|
|
46
|
-
font-weight: 400;
|
|
47
|
-
font-style: normal;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
@font-face {
|
|
51
|
-
font-family: 'Montserrat';
|
|
52
|
-
src: url('../../../../assets/fonts/Montserrat/Montserrat-Italic.ttf') format('truetype');
|
|
53
|
-
font-weight: 400;
|
|
54
|
-
font-style: italic;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
@font-face {
|
|
58
|
-
font-family: 'Montserrat';
|
|
59
|
-
src: url('../../../../assets/fonts/Montserrat/Montserrat-Medium.ttf') format('truetype');
|
|
60
|
-
font-weight: 500;
|
|
61
|
-
font-style: normal;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
@font-face {
|
|
65
|
-
font-family: 'Montserrat';
|
|
66
|
-
src: url('../../../../assets/fonts/Montserrat/Montserrat-MediumItalic.ttf') format('truetype');
|
|
67
|
-
font-weight: 500;
|
|
68
|
-
font-style: italic;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
@font-face {
|
|
72
|
-
font-family: 'Montserrat';
|
|
73
|
-
src: url('../../../../assets/fonts/Montserrat/Montserrat-SemiBold.ttf') format('truetype');
|
|
74
|
-
font-weight: 600;
|
|
75
|
-
font-style: normal;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
@font-face {
|
|
79
|
-
font-family: 'Montserrat';
|
|
80
|
-
src: url('../../../../assets/fonts/Montserrat/Montserrat-SemiBoldItalic.ttf') format('truetype');
|
|
81
|
-
font-weight: 600;
|
|
82
|
-
font-style: italic;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
@font-face {
|
|
86
|
-
font-family: 'Montserrat';
|
|
87
|
-
src: url('../../../../assets/fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
|
|
88
|
-
font-weight: 700;
|
|
89
|
-
font-style: normal;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
@font-face {
|
|
93
|
-
font-family: 'Montserrat';
|
|
94
|
-
src: url('../../../../assets/fonts/Montserrat/Montserrat-BoldItalic.ttf') format('truetype');
|
|
95
|
-
font-weight: 700;
|
|
96
|
-
font-style: italic;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
@font-face {
|
|
100
|
-
font-family: 'Montserrat';
|
|
101
|
-
src: url('../../../../assets/fonts/Montserrat/Montserrat-ExtraBold.ttf') format('truetype');
|
|
102
|
-
font-weight: 800;
|
|
103
|
-
font-style: normal;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
@font-face {
|
|
107
|
-
font-family: 'Montserrat';
|
|
108
|
-
src: url('../../../../assets/fonts/Montserrat/Montserrat-ExtraBoldItalic.ttf') format('truetype');
|
|
109
|
-
font-weight: 800;
|
|
110
|
-
font-style: italic;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
@font-face {
|
|
114
|
-
font-family: 'Montserrat';
|
|
115
|
-
src: url('../../../../assets/fonts/Montserrat/Montserrat-Black.ttf') format('truetype');
|
|
116
|
-
font-weight: 900;
|
|
117
|
-
font-style: normal;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
@font-face {
|
|
121
|
-
font-family: 'Montserrat';
|
|
122
|
-
src: url('../../../../assets/fonts/Montserrat/Montserrat-BlackItalic.ttf') format('truetype');
|
|
123
|
-
font-weight: 900;
|
|
124
|
-
font-style: italic;
|
|
125
|
-
}
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: 'Montserrat';
|
|
3
|
+
src: url('../../../../assets/fonts/Montserrat/Montserrat-Thin.ttf') format('truetype');
|
|
4
|
+
font-weight: 100;
|
|
5
|
+
font-style: normal;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@font-face {
|
|
9
|
+
font-family: 'Montserrat';
|
|
10
|
+
src: url('../../../../assets/fonts/Montserrat/Montserrat-ThinItalic.ttf') format('truetype');
|
|
11
|
+
font-weight: 100;
|
|
12
|
+
font-style: italic;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@font-face {
|
|
16
|
+
font-family: 'Montserrat';
|
|
17
|
+
src: url('../../../../assets/fonts/Montserrat/Montserrat-ExtraLight.ttf') format('truetype');
|
|
18
|
+
font-weight: 200;
|
|
19
|
+
font-style: normal;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@font-face {
|
|
23
|
+
font-family: 'Montserrat';
|
|
24
|
+
src: url('../../../../assets/fonts/Montserrat/Montserrat-ExtraLightItalic.ttf') format('truetype');
|
|
25
|
+
font-weight: 200;
|
|
26
|
+
font-style: italic;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@font-face {
|
|
30
|
+
font-family: 'Montserrat';
|
|
31
|
+
src: url('../../../../assets/fonts/Montserrat/Montserrat-Light.ttf') format('truetype');
|
|
32
|
+
font-weight: 300;
|
|
33
|
+
font-style: normal;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@font-face {
|
|
37
|
+
font-family: 'Montserrat';
|
|
38
|
+
src: url('../../../../assets/fonts/Montserrat/Montserrat-LightItalic.ttf') format('truetype');
|
|
39
|
+
font-weight: 300;
|
|
40
|
+
font-style: italic;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@font-face {
|
|
44
|
+
font-family: 'Montserrat';
|
|
45
|
+
src: url('../../../../assets/fonts/Montserrat/Montserrat-Regular.ttf') format('truetype');
|
|
46
|
+
font-weight: 400;
|
|
47
|
+
font-style: normal;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@font-face {
|
|
51
|
+
font-family: 'Montserrat';
|
|
52
|
+
src: url('../../../../assets/fonts/Montserrat/Montserrat-Italic.ttf') format('truetype');
|
|
53
|
+
font-weight: 400;
|
|
54
|
+
font-style: italic;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@font-face {
|
|
58
|
+
font-family: 'Montserrat';
|
|
59
|
+
src: url('../../../../assets/fonts/Montserrat/Montserrat-Medium.ttf') format('truetype');
|
|
60
|
+
font-weight: 500;
|
|
61
|
+
font-style: normal;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@font-face {
|
|
65
|
+
font-family: 'Montserrat';
|
|
66
|
+
src: url('../../../../assets/fonts/Montserrat/Montserrat-MediumItalic.ttf') format('truetype');
|
|
67
|
+
font-weight: 500;
|
|
68
|
+
font-style: italic;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@font-face {
|
|
72
|
+
font-family: 'Montserrat';
|
|
73
|
+
src: url('../../../../assets/fonts/Montserrat/Montserrat-SemiBold.ttf') format('truetype');
|
|
74
|
+
font-weight: 600;
|
|
75
|
+
font-style: normal;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@font-face {
|
|
79
|
+
font-family: 'Montserrat';
|
|
80
|
+
src: url('../../../../assets/fonts/Montserrat/Montserrat-SemiBoldItalic.ttf') format('truetype');
|
|
81
|
+
font-weight: 600;
|
|
82
|
+
font-style: italic;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@font-face {
|
|
86
|
+
font-family: 'Montserrat';
|
|
87
|
+
src: url('../../../../assets/fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
|
|
88
|
+
font-weight: 700;
|
|
89
|
+
font-style: normal;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@font-face {
|
|
93
|
+
font-family: 'Montserrat';
|
|
94
|
+
src: url('../../../../assets/fonts/Montserrat/Montserrat-BoldItalic.ttf') format('truetype');
|
|
95
|
+
font-weight: 700;
|
|
96
|
+
font-style: italic;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@font-face {
|
|
100
|
+
font-family: 'Montserrat';
|
|
101
|
+
src: url('../../../../assets/fonts/Montserrat/Montserrat-ExtraBold.ttf') format('truetype');
|
|
102
|
+
font-weight: 800;
|
|
103
|
+
font-style: normal;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@font-face {
|
|
107
|
+
font-family: 'Montserrat';
|
|
108
|
+
src: url('../../../../assets/fonts/Montserrat/Montserrat-ExtraBoldItalic.ttf') format('truetype');
|
|
109
|
+
font-weight: 800;
|
|
110
|
+
font-style: italic;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@font-face {
|
|
114
|
+
font-family: 'Montserrat';
|
|
115
|
+
src: url('../../../../assets/fonts/Montserrat/Montserrat-Black.ttf') format('truetype');
|
|
116
|
+
font-weight: 900;
|
|
117
|
+
font-style: normal;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@font-face {
|
|
121
|
+
font-family: 'Montserrat';
|
|
122
|
+
src: url('../../../../assets/fonts/Montserrat/Montserrat-BlackItalic.ttf') format('truetype');
|
|
123
|
+
font-weight: 900;
|
|
124
|
+
font-style: italic;
|
|
125
|
+
}
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--scrollbar-width: 5px;
|
|
3
|
-
--scrollbar-height: 5px;
|
|
4
|
-
--scrollbar-thumb-width: 5px;
|
|
5
|
-
--scrollbar-bg-color: var(--dp-16-surface-color);
|
|
6
|
-
--scrollbar-thumb-color: var(--primary-color);
|
|
7
|
-
--scrollbar-border-radius: var(--border-radius);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
%wt-scrollbar {
|
|
11
|
-
// scrollbar itself
|
|
12
|
-
&::-webkit-scrollbar {
|
|
13
|
-
width: var(--scrollbar-width);
|
|
14
|
-
height: var(--scrollbar-height);
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
border-radius: var(--scrollbar-border-radius);
|
|
17
|
-
background-color: var(--scrollbar-bg-color);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
// scrollable element
|
|
21
|
-
&::-webkit-scrollbar-thumb {
|
|
22
|
-
width: var(--scrollbar-thumb-width);
|
|
23
|
-
height: var(--scrollbar-thumb-height);
|
|
24
|
-
border-radius: var(--scrollbar-border-radius);
|
|
25
|
-
background-color: var(--scrollbar-thumb-color);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
%wt-distant-scrollbar {
|
|
30
|
-
&::-webkit-scrollbar {
|
|
31
|
-
width: 14px;
|
|
32
|
-
height: 18px;
|
|
33
|
-
background-color: var(--scrollbar-bg-color);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&::-webkit-scrollbar-thumb {
|
|
37
|
-
height: 2px;
|
|
38
|
-
border: 4px solid rgba(0, 0, 0, 0);
|
|
39
|
-
border-radius: var(--scrollbar-border-radius);
|
|
40
|
-
background-color: var(--scrollbar-thumb-color);
|
|
41
|
-
background-clip: padding-box;
|
|
42
|
-
// -webkit-box-shadow: inset -1px -1px 0px rgba(0, 0, 0, 0.05), inset 1px 1px 0px rgba(0, 0, 0, 0.05);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
1
|
+
:root {
|
|
2
|
+
--scrollbar-width: 5px;
|
|
3
|
+
--scrollbar-height: 5px;
|
|
4
|
+
--scrollbar-thumb-width: 5px;
|
|
5
|
+
--scrollbar-bg-color: var(--dp-16-surface-color);
|
|
6
|
+
--scrollbar-thumb-color: var(--primary-color);
|
|
7
|
+
--scrollbar-border-radius: var(--border-radius);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
%wt-scrollbar {
|
|
11
|
+
// scrollbar itself
|
|
12
|
+
&::-webkit-scrollbar {
|
|
13
|
+
width: var(--scrollbar-width);
|
|
14
|
+
height: var(--scrollbar-height);
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
border-radius: var(--scrollbar-border-radius);
|
|
17
|
+
background-color: var(--scrollbar-bg-color);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// scrollable element
|
|
21
|
+
&::-webkit-scrollbar-thumb {
|
|
22
|
+
width: var(--scrollbar-thumb-width);
|
|
23
|
+
height: var(--scrollbar-thumb-height);
|
|
24
|
+
border-radius: var(--scrollbar-border-radius);
|
|
25
|
+
background-color: var(--scrollbar-thumb-color);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
%wt-distant-scrollbar {
|
|
30
|
+
&::-webkit-scrollbar {
|
|
31
|
+
width: 14px;
|
|
32
|
+
height: 18px;
|
|
33
|
+
background-color: var(--scrollbar-bg-color);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&::-webkit-scrollbar-thumb {
|
|
37
|
+
height: 2px;
|
|
38
|
+
border: 4px solid rgba(0, 0, 0, 0);
|
|
39
|
+
border-radius: var(--scrollbar-border-radius);
|
|
40
|
+
background-color: var(--scrollbar-thumb-color);
|
|
41
|
+
background-clip: padding-box;
|
|
42
|
+
// -webkit-box-shadow: inset -1px -1px 0px rgba(0, 0, 0, 0.05), inset 1px 1px 0px rgba(0, 0, 0, 0.05);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
// Start point
|
|
3
|
-
--_spacing-multiplicator: 8px;
|
|
4
|
-
|
|
5
|
-
// Spacings
|
|
6
|
-
--spacing-3xs: calc(var(--_spacing-multiplicator) / 4);
|
|
7
|
-
--spacing-2xs: calc(var(--_spacing-multiplicator) / 2);
|
|
8
|
-
--spacing-xs: calc(var(--_spacing-multiplicator) * 1);
|
|
9
|
-
--spacing-sm: calc(var(--_spacing-multiplicator) * 2);
|
|
10
|
-
--spacing-md: calc(var(--_spacing-multiplicator) * 3);
|
|
11
|
-
--spacing-lg: calc(var(--_spacing-multiplicator) * 4);
|
|
12
|
-
--spacing-xl: calc(var(--_spacing-multiplicator) * 5);
|
|
13
|
-
--spacing-2xl: calc(var(--_spacing-multiplicator) * 6);
|
|
14
|
-
--spacing-3xl: calc(var(--_spacing-multiplicator) * 7);
|
|
1
|
+
:root {
|
|
2
|
+
// Start point
|
|
3
|
+
--_spacing-multiplicator: 8px;
|
|
4
|
+
|
|
5
|
+
// Spacings
|
|
6
|
+
--spacing-3xs: calc(var(--_spacing-multiplicator) / 4);
|
|
7
|
+
--spacing-2xs: calc(var(--_spacing-multiplicator) / 2);
|
|
8
|
+
--spacing-xs: calc(var(--_spacing-multiplicator) * 1);
|
|
9
|
+
--spacing-sm: calc(var(--_spacing-multiplicator) * 2);
|
|
10
|
+
--spacing-md: calc(var(--_spacing-multiplicator) * 3);
|
|
11
|
+
--spacing-lg: calc(var(--_spacing-multiplicator) * 4);
|
|
12
|
+
--spacing-xl: calc(var(--_spacing-multiplicator) * 5);
|
|
13
|
+
--spacing-2xl: calc(var(--_spacing-multiplicator) * 6);
|
|
14
|
+
--spacing-3xl: calc(var(--_spacing-multiplicator) * 7);
|
|
15
15
|
}
|