ngx-strata 0.4.2 → 0.4.3-beta.2
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/assets/styles/base.scss +24 -4
- package/assets/styles/components/accordion.scss +76 -17
- package/assets/styles/components/action-menu.scss +12 -7
- package/assets/styles/components/alert.scss +8 -7
- package/assets/styles/components/button.scss +14 -2
- package/assets/styles/components/card.scss +32 -37
- package/assets/styles/components/checkbox.scss +5 -6
- package/assets/styles/components/file-upload.scss +5 -2
- package/assets/styles/components/input-field.scss +7 -1
- package/assets/styles/components/item.scss +3 -1
- package/assets/styles/components/modal.scss +7 -4
- package/assets/styles/components/notification.scss +8 -14
- package/assets/styles/components/otp.scss +1 -1
- package/assets/styles/components/pagination.scss +1 -1
- package/assets/styles/components/progress.scss +4 -2
- package/assets/styles/components/radio.scss +4 -4
- package/assets/styles/components/segmented-control.scss +8 -4
- package/assets/styles/components/select.scss +31 -11
- package/assets/styles/components/sidemenu.scss +4 -6
- package/assets/styles/components/slider.scss +3 -3
- package/assets/styles/components/table.scss +5 -0
- package/assets/styles/components/tabs.scss +7 -4
- package/assets/styles/components/tag.scss +8 -6
- package/assets/styles/components/toggle.scss +5 -6
- package/assets/styles/components/tooltip.scss +3 -7
- package/assets/styles/focus-outline.scss +1 -1
- package/assets/styles/scrollbar.scss +3 -3
- package/assets/styles/shadows.scss +11 -3
- package/assets/styles/typography.scss +4 -0
- package/dist/strata/strata.css +1 -1
- package/fesm2022/ngx-strata.mjs +36 -8
- package/fesm2022/ngx-strata.mjs.map +1 -1
- package/package.json +1 -1
- package/types/ngx-strata.d.ts +11 -3
|
@@ -33,13 +33,13 @@ st-radio {
|
|
|
33
33
|
width: var(--st-selection-control-size);
|
|
34
34
|
min-width: var(--st-selection-control-size);
|
|
35
35
|
min-height: var(--st-selection-control-size);
|
|
36
|
-
background-color: var(--st-color-bg-
|
|
36
|
+
background-color: var(--st-color-bg-raised);
|
|
37
37
|
|
|
38
38
|
border: 1px solid var(--st-border);
|
|
39
39
|
border-radius: 50%;
|
|
40
40
|
display: grid;
|
|
41
41
|
place-items: center;
|
|
42
|
-
transition: background-color
|
|
42
|
+
transition: background-color var(--st-transition-fast), border-color var(--st-transition-fast);
|
|
43
43
|
|
|
44
44
|
&::after {
|
|
45
45
|
content: "";
|
|
@@ -48,7 +48,7 @@ st-radio {
|
|
|
48
48
|
height: 0;
|
|
49
49
|
border-radius: 50%;
|
|
50
50
|
background-color: var(--st-radio-checked-bg-color);
|
|
51
|
-
transition: width
|
|
51
|
+
transition: width var(--st-transition-fast), height var(--st-transition-fast);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -73,7 +73,7 @@ st-radio {
|
|
|
73
73
|
pointer-events: none;
|
|
74
74
|
|
|
75
75
|
.radio-visual {
|
|
76
|
-
background-color: var(--st-color-bg-
|
|
76
|
+
background-color: var(--st-color-bg-raised);
|
|
77
77
|
|
|
78
78
|
border-color: var(--st-border);
|
|
79
79
|
}
|
|
@@ -3,6 +3,7 @@ st-segmented-control {
|
|
|
3
3
|
--st-segmented-control-item-height: calc(var(--st-segmented-control-height) - 8px);
|
|
4
4
|
--st-segmented-control-font-size: 14px;
|
|
5
5
|
--st-segmented-control-padding-x: var(--st-size-xxs);
|
|
6
|
+
--st-segmented-control-border-radius: var(--st-border-radius-md);
|
|
6
7
|
|
|
7
8
|
display: inline-flex;
|
|
8
9
|
flex-direction: row;
|
|
@@ -12,7 +13,7 @@ st-segmented-control {
|
|
|
12
13
|
max-width: 100%;
|
|
13
14
|
min-width: 0;
|
|
14
15
|
position: relative;
|
|
15
|
-
border-radius: var(--st-border-radius
|
|
16
|
+
border-radius: var(--st-segmented-control-border-radius);
|
|
16
17
|
box-sizing: border-box;
|
|
17
18
|
background-color: var(--st-color-bg-raised);
|
|
18
19
|
height: var(--st-segmented-control-height);
|
|
@@ -92,10 +93,11 @@ st-segmented-control {
|
|
|
92
93
|
justify-content: center;
|
|
93
94
|
height: var(--st-segmented-control-item-height);
|
|
94
95
|
padding: 0 var(--st-segmented-control-padding-x);
|
|
95
|
-
border-radius: var(--st-border-radius-
|
|
96
|
+
border-radius: calc(var(--st-segmented-control-border-radius) - 2px);
|
|
96
97
|
font-size: var(--st-segmented-control-font-size);
|
|
97
98
|
font-weight: 500;
|
|
98
99
|
user-select: none;
|
|
100
|
+
transition: background-color var(--st-transition-fast), color var(--st-transition-fast);
|
|
99
101
|
}
|
|
100
102
|
|
|
101
103
|
#selection-indicator {
|
|
@@ -103,11 +105,13 @@ st-segmented-control {
|
|
|
103
105
|
position: absolute;
|
|
104
106
|
top: 0;
|
|
105
107
|
left: 0;
|
|
108
|
+
border-radius: calc(var(--st-segmented-control-border-radius) - 2px);
|
|
106
109
|
background-color: var(--st-color-control-primary-bg);
|
|
107
110
|
color: var(--st-color-control-primary-text);
|
|
108
111
|
text-wrap: nowrap;
|
|
112
|
+
box-shadow: var(--st-shadow-1);
|
|
109
113
|
transition:
|
|
110
|
-
|
|
111
|
-
|
|
114
|
+
left var(--st-transition-fast),
|
|
115
|
+
width var(--st-transition-fast);
|
|
112
116
|
}
|
|
113
117
|
}
|
|
@@ -2,6 +2,9 @@ st-single-select {
|
|
|
2
2
|
--st-select-height: var(--st-interactive-element-height-md);
|
|
3
3
|
--st-select-font-size: 14px;
|
|
4
4
|
--st-select-padding-x: var(--st-size-xs);
|
|
5
|
+
--st-select-border-radius: var(--st-border-radius-md);
|
|
6
|
+
--st-select-dropdown-radius: var(--st-border-radius-lg);
|
|
7
|
+
--st-select-item-radius: var(--st-border-radius-sm);
|
|
5
8
|
|
|
6
9
|
display: flex;
|
|
7
10
|
flex-direction: column;
|
|
@@ -11,6 +14,7 @@ st-single-select {
|
|
|
11
14
|
--st-select-height: var(--st-interactive-element-height-sm);
|
|
12
15
|
--st-select-font-size: 12px;
|
|
13
16
|
--st-select-padding-x: var(--st-size-xxs);
|
|
17
|
+
--st-select-border-radius: var(--st-border-radius-sm);
|
|
14
18
|
}
|
|
15
19
|
|
|
16
20
|
&.st-size-md {
|
|
@@ -35,7 +39,7 @@ st-single-select {
|
|
|
35
39
|
padding-left: var(--st-select-padding-x);
|
|
36
40
|
padding-right: var(--st-select-padding-x);
|
|
37
41
|
border: 1px solid var(--st-border);
|
|
38
|
-
border-radius: var(--st-border-radius
|
|
42
|
+
border-radius: var(--st-select-border-radius);
|
|
39
43
|
min-width: 128px;
|
|
40
44
|
width: 100%;
|
|
41
45
|
user-select: none;
|
|
@@ -45,6 +49,9 @@ st-single-select {
|
|
|
45
49
|
flex-direction: row;
|
|
46
50
|
gap: 4px;
|
|
47
51
|
background-color: var(--st-color-bg-raised);
|
|
52
|
+
transition:
|
|
53
|
+
border-color var(--st-transition-fast),
|
|
54
|
+
background-color var(--st-transition-fast);
|
|
48
55
|
|
|
49
56
|
justify-content: space-between;
|
|
50
57
|
align-items: center;
|
|
@@ -76,11 +83,12 @@ st-single-select {
|
|
|
76
83
|
.single-select-selector[data-show] {
|
|
77
84
|
height: unset;
|
|
78
85
|
visibility: visible;
|
|
86
|
+
animation: st-popover-in var(--st-transition-fast) ease-out;
|
|
79
87
|
}
|
|
80
88
|
|
|
81
89
|
.single-select-selector {
|
|
82
90
|
border: 1px solid var(--st-border);
|
|
83
|
-
border-radius: var(--st-
|
|
91
|
+
border-radius: var(--st-select-dropdown-radius);
|
|
84
92
|
width: max-content;
|
|
85
93
|
visibility: hidden;
|
|
86
94
|
position: absolute;
|
|
@@ -89,15 +97,19 @@ st-single-select {
|
|
|
89
97
|
left: 0;
|
|
90
98
|
box-sizing: border-box;
|
|
91
99
|
overflow: hidden;
|
|
100
|
+
padding: 4px;
|
|
92
101
|
background-color: var(--st-color-bg-raised);
|
|
93
102
|
|
|
94
|
-
box-shadow: var(--st-shadow-
|
|
103
|
+
box-shadow: var(--st-shadow-2);
|
|
95
104
|
z-index: 1000;
|
|
96
105
|
|
|
97
106
|
.single-select-item {
|
|
98
|
-
padding: 8px;
|
|
99
|
-
margin:
|
|
100
|
-
border-radius:
|
|
107
|
+
padding: 6px 8px;
|
|
108
|
+
margin: 0;
|
|
109
|
+
border-radius: var(--st-select-item-radius);
|
|
110
|
+
transition:
|
|
111
|
+
background-color var(--st-transition-fast),
|
|
112
|
+
color var(--st-transition-fast);
|
|
101
113
|
}
|
|
102
114
|
|
|
103
115
|
.single-select-item:hover {
|
|
@@ -109,7 +121,7 @@ st-single-select {
|
|
|
109
121
|
|
|
110
122
|
.single-select-selector {
|
|
111
123
|
border: 1px solid var(--st-border);
|
|
112
|
-
border-radius: var(--st-border-radius-
|
|
124
|
+
border-radius: var(--st-border-radius-lg);
|
|
113
125
|
width: max-content;
|
|
114
126
|
position: absolute;
|
|
115
127
|
user-select: none;
|
|
@@ -117,23 +129,31 @@ st-single-select {
|
|
|
117
129
|
left: 0;
|
|
118
130
|
box-sizing: border-box;
|
|
119
131
|
overflow: hidden;
|
|
132
|
+
padding: 4px;
|
|
120
133
|
background-color: var(--st-color-bg-raised);
|
|
121
134
|
|
|
122
|
-
box-shadow: var(--st-shadow-
|
|
135
|
+
box-shadow: var(--st-shadow-2);
|
|
123
136
|
z-index: 1000;
|
|
124
137
|
display: flex;
|
|
125
138
|
flex-direction: column;
|
|
126
139
|
--st-single-select-max-height: 300px;
|
|
127
140
|
max-height: var(--st-single-select-max-height);
|
|
141
|
+
animation: st-popover-in var(--st-transition-fast) ease-out;
|
|
128
142
|
|
|
129
143
|
.single-select-items-container {
|
|
130
144
|
overflow-y: auto;
|
|
131
145
|
flex: 1 1 auto;
|
|
146
|
+
display: flex;
|
|
147
|
+
flex-direction: column;
|
|
148
|
+
gap: 2px;
|
|
132
149
|
|
|
133
150
|
.single-select-item {
|
|
134
|
-
padding: 8px;
|
|
135
|
-
margin:
|
|
136
|
-
border-radius:
|
|
151
|
+
padding: 6px 8px;
|
|
152
|
+
margin: 0;
|
|
153
|
+
border-radius: var(--st-border-radius-sm);
|
|
154
|
+
transition:
|
|
155
|
+
background-color var(--st-transition-fast),
|
|
156
|
+
color var(--st-transition-fast);
|
|
137
157
|
}
|
|
138
158
|
|
|
139
159
|
.single-select-item:hover {
|
|
@@ -8,7 +8,7 @@ st-sidemenu {
|
|
|
8
8
|
--st-sidemenu-item-text: var(--st-color-text-secondary);
|
|
9
9
|
--st-sidemenu-item-hover-text: var(--st-color-text-primary);
|
|
10
10
|
--st-sidemenu-item-active-text: var(--st-color-accent-active);
|
|
11
|
-
--st-sidemenu-item-radius: var(--st-radius-md
|
|
11
|
+
--st-sidemenu-item-radius: var(--st-border-radius-md);
|
|
12
12
|
--st-sidemenu-item-padding: 6px var(--st-size-xs, 12px);
|
|
13
13
|
--st-sidemenu-item-font-size: var(--st-font-sm, 14px);
|
|
14
14
|
--st-sidemenu-item-font-weight: 500;
|
|
@@ -31,7 +31,7 @@ st-sidemenu {
|
|
|
31
31
|
border: none;
|
|
32
32
|
cursor: pointer;
|
|
33
33
|
text-align: left;
|
|
34
|
-
transition: background-color
|
|
34
|
+
transition: background-color var(--st-transition-fast), color var(--st-transition-fast);
|
|
35
35
|
user-select: none;
|
|
36
36
|
font-family: inherit;
|
|
37
37
|
|
|
@@ -89,11 +89,11 @@ st-sidemenu {
|
|
|
89
89
|
border: none;
|
|
90
90
|
padding: var(--st-space-1, 4px);
|
|
91
91
|
margin-left: auto;
|
|
92
|
-
border-radius: var(--st-radius-sm
|
|
92
|
+
border-radius: var(--st-border-radius-sm);
|
|
93
93
|
color: var(--st-color-text-tertiary);
|
|
94
94
|
cursor: pointer;
|
|
95
95
|
line-height: 1;
|
|
96
|
-
transition: background-color
|
|
96
|
+
transition: background-color var(--st-transition-fast), color var(--st-transition-fast);
|
|
97
97
|
|
|
98
98
|
&:hover {
|
|
99
99
|
background-color: var(--st-color-bg-raised-hover, rgba(255, 255, 255, 0.1));
|
|
@@ -110,7 +110,5 @@ st-sidemenu {
|
|
|
110
110
|
&.st-sidemenu-item-group-expanded .st-sidemenu-item-secondary-action st-icon {
|
|
111
111
|
transform: rotate(180deg);
|
|
112
112
|
}
|
|
113
|
-
|
|
114
|
-
|
|
115
113
|
}
|
|
116
114
|
}
|
|
@@ -5,6 +5,7 @@ st-slider {
|
|
|
5
5
|
--st-slider-thumb-color: var(--st-color-text-primary);
|
|
6
6
|
--st-slider-tick-color: var(--st-border);
|
|
7
7
|
--st-slider-tick-width: 1px;
|
|
8
|
+
--st-slider-track-border-radius: var(--st-border-radius-xs);
|
|
8
9
|
width: 100%;
|
|
9
10
|
height: var(--st-slider-thumb-size);
|
|
10
11
|
display: block;
|
|
@@ -36,13 +37,12 @@ st-slider {
|
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
39
|
|
|
39
|
-
/* slider track */
|
|
40
40
|
.range-wrapper input[type='range']::-webkit-slider-runnable-track {
|
|
41
41
|
-webkit-appearance: none;
|
|
42
42
|
appearance: none;
|
|
43
43
|
|
|
44
44
|
height: var(--st-slider-track-height);
|
|
45
|
-
border-radius: var(--st-border-radius
|
|
45
|
+
border-radius: var(--st-slider-track-border-radius);
|
|
46
46
|
background-color: var(--st-slider-track-color);
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -51,7 +51,7 @@ st-slider {
|
|
|
51
51
|
appearance: none;
|
|
52
52
|
|
|
53
53
|
height: var(--st-slider-track-height);
|
|
54
|
-
border-radius: var(--st-border-radius
|
|
54
|
+
border-radius: var(--st-slider-track-border-radius);
|
|
55
55
|
background-color: var(--st-slider-track-color);
|
|
56
56
|
}
|
|
57
57
|
|
|
@@ -33,6 +33,11 @@ table.st-table {
|
|
|
33
33
|
|
|
34
34
|
tbody tr {
|
|
35
35
|
border-bottom: 1px solid var(--st-table-divider-color);
|
|
36
|
+
transition: background-color var(--st-transition-fast);
|
|
37
|
+
|
|
38
|
+
&:hover {
|
|
39
|
+
background-color: var(--st-color-control-bg-hover);
|
|
40
|
+
}
|
|
36
41
|
|
|
37
42
|
td {
|
|
38
43
|
padding: var(--st-size-xxxs);
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
st-tabs {
|
|
2
|
+
--st-tabs-border-radius: var(--st-border-radius-sm);
|
|
3
|
+
|
|
2
4
|
display: block;
|
|
3
5
|
width: 100%;
|
|
4
6
|
|
|
@@ -18,9 +20,9 @@ st-tabs {
|
|
|
18
20
|
|
|
19
21
|
cursor: pointer;
|
|
20
22
|
user-select: none;
|
|
21
|
-
transition: color
|
|
23
|
+
transition: color var(--st-transition-fast);
|
|
22
24
|
border-bottom: 2px solid transparent;
|
|
23
|
-
margin-bottom: -1px;
|
|
25
|
+
margin-bottom: -1px;
|
|
24
26
|
outline: none;
|
|
25
27
|
|
|
26
28
|
&:focus,
|
|
@@ -32,13 +34,13 @@ st-tabs {
|
|
|
32
34
|
background-image: linear-gradient(var(--st-border-muted), var(--st-border-muted));
|
|
33
35
|
background-size: 100% calc(100% - 2px);
|
|
34
36
|
background-repeat: no-repeat;
|
|
35
|
-
border-radius: var(--st-border-radius
|
|
37
|
+
border-radius: var(--st-tabs-border-radius);
|
|
36
38
|
}
|
|
37
39
|
|
|
38
40
|
&:focus-visible {
|
|
39
41
|
outline: none;
|
|
40
42
|
background-color: var(--st-color-bg-raised);
|
|
41
|
-
border-radius: var(--st-border-radius
|
|
43
|
+
border-radius: var(--st-tabs-border-radius);
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
&:hover:not(.disabled):not(.active) {
|
|
@@ -62,6 +64,7 @@ st-tabs {
|
|
|
62
64
|
position: absolute;
|
|
63
65
|
bottom: 0;
|
|
64
66
|
height: 2px;
|
|
67
|
+
border-radius: 2px 2px 0 0;
|
|
65
68
|
background-color: var(--st-color-accent-default);
|
|
66
69
|
|
|
67
70
|
transition:
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
st-tag {
|
|
2
2
|
--st-tag-border-color: transparent;
|
|
3
|
-
--st-tag-background-color: var(--st-color-
|
|
4
|
-
--st-tag-text-color: var(--st-color-
|
|
3
|
+
--st-tag-background-color: var(--st-color-control-bg);
|
|
4
|
+
--st-tag-text-color: var(--st-color-text-secondary);
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
--st-tag-border-radius: var(--st-border-radius-sm);
|
|
8
|
+
|
|
7
9
|
color: var(--st-tag-text-color);
|
|
8
10
|
border: 1px solid var(--st-tag-border-color);
|
|
9
|
-
border-radius: var(--st-border-radius
|
|
11
|
+
border-radius: var(--st-tag-border-radius);
|
|
10
12
|
background-color: var(--st-tag-background-color);
|
|
11
13
|
width: max-content;
|
|
12
14
|
height: fit-content;
|
|
@@ -17,7 +19,7 @@ st-tag {
|
|
|
17
19
|
&.sm {
|
|
18
20
|
padding: 0 8px;
|
|
19
21
|
height: var(--st-size-sm);
|
|
20
|
-
border-radius: var(--st-
|
|
22
|
+
border-radius: var(--st-border-radius-xs);
|
|
21
23
|
font-size: 10px;
|
|
22
24
|
}
|
|
23
25
|
|
|
@@ -25,14 +27,14 @@ st-tag {
|
|
|
25
27
|
padding: 0 10px;
|
|
26
28
|
font-size: 12px;
|
|
27
29
|
height: var(--st-size-md);
|
|
28
|
-
border-radius: var(--st-
|
|
30
|
+
border-radius: var(--st-border-radius-sm);
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
&.lg {
|
|
32
34
|
padding: 0 12px;
|
|
33
35
|
font-size: 14px;
|
|
34
36
|
height: var(--st-size-lg);
|
|
35
|
-
border-radius: var(--st-
|
|
37
|
+
border-radius: var(--st-border-radius-md);
|
|
36
38
|
}
|
|
37
39
|
|
|
38
40
|
&.st-theme-brand {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
st-toggle {
|
|
2
|
-
// Internal component hooks
|
|
3
2
|
--st-toggle-height: var(--st-size-md);
|
|
4
3
|
--st-toggle-width: var(--st-space-10);
|
|
5
4
|
--st-toggle-padding: var(--st-size-xxxs);
|
|
@@ -9,6 +8,8 @@ st-toggle {
|
|
|
9
8
|
--st-toggle-bg-unchecked: var(--st-color-input-default);
|
|
10
9
|
--st-toggle-bg-checked: var(--st-color-accent-default);
|
|
11
10
|
--st-toggle-handle-bg: var(--st-color-neutral-50);
|
|
11
|
+
--st-toggle-border-radius: var(--st-border-radius-md);
|
|
12
|
+
--st-toggle-handle-radius: var(--st-border-radius-xs);
|
|
12
13
|
|
|
13
14
|
display: inline-flex;
|
|
14
15
|
align-items: center;
|
|
@@ -22,7 +23,6 @@ st-toggle {
|
|
|
22
23
|
flex-direction: row-reverse;
|
|
23
24
|
}
|
|
24
25
|
|
|
25
|
-
// Accessibility
|
|
26
26
|
&:focus-visible {
|
|
27
27
|
outline: none;
|
|
28
28
|
.st-toggle-track {
|
|
@@ -44,7 +44,7 @@ st-toggle {
|
|
|
44
44
|
width: var(--st-toggle-width);
|
|
45
45
|
padding: var(--st-toggle-padding);
|
|
46
46
|
background-color: var(--st-toggle-bg-unchecked);
|
|
47
|
-
border-radius: var(--st-
|
|
47
|
+
border-radius: var(--st-toggle-border-radius);
|
|
48
48
|
transition: background-color 0.2s ease;
|
|
49
49
|
}
|
|
50
50
|
|
|
@@ -59,9 +59,9 @@ st-toggle {
|
|
|
59
59
|
height: var(--st-toggle-handle-size);
|
|
60
60
|
width: var(--st-toggle-handle-size);
|
|
61
61
|
background-color: var(--st-toggle-handle-bg);
|
|
62
|
-
border-radius: var(--st-
|
|
62
|
+
border-radius: var(--st-toggle-handle-radius);
|
|
63
63
|
transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
64
|
-
box-shadow: 0 1px
|
|
64
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.2);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
&[data-checked='true'] {
|
|
@@ -70,7 +70,6 @@ st-toggle {
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
.toggle-handle {
|
|
73
|
-
// Move by: Width (40) - Padding (4) - Handle (16) - Padding (4) = 16px
|
|
74
73
|
transform: translateX(calc(var(--st-toggle-width) - var(--st-toggle-handle-size) - (var(--st-toggle-padding) * 2)));
|
|
75
74
|
}
|
|
76
75
|
}
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
.st-tooltip {
|
|
2
2
|
--st-tooltip-bg: var(--st-color-bg-inverse);
|
|
3
3
|
--st-tooltip-color: var(--st-color-text-inverse);
|
|
4
|
+
--st-tooltip-border-radius: var(--st-border-radius-sm);
|
|
4
5
|
|
|
5
|
-
/* Float on top of the UI */
|
|
6
6
|
position: absolute;
|
|
7
|
-
|
|
8
|
-
/* Avoid layout interference */
|
|
9
7
|
width: max-content;
|
|
10
8
|
top: 0;
|
|
11
9
|
left: 0;
|
|
12
10
|
visibility: hidden;
|
|
13
|
-
border-radius:
|
|
11
|
+
border-radius: var(--st-tooltip-border-radius);
|
|
14
12
|
background-color: var(--st-tooltip-bg);
|
|
15
13
|
color: var(--st-tooltip-color);
|
|
16
|
-
box-shadow:
|
|
17
|
-
0px 4px 16px 0px rgba(0, 0, 0, 0.1),
|
|
18
|
-
0px 2px 4px 0px rgba(0, 0, 0, 0.05);
|
|
14
|
+
box-shadow: var(--st-shadow-2);
|
|
19
15
|
|
|
20
16
|
p {
|
|
21
17
|
position: relative;
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
|
|
23
23
|
:root {
|
|
24
24
|
--st-scrollbar-width: var(--st-size-xs);
|
|
25
|
-
--st-scrollbar-border-radius: var(--st-border-radius-
|
|
25
|
+
--st-scrollbar-border-radius: var(--st-border-radius-xs);
|
|
26
26
|
--st-scrollbar-track-color: transparent;
|
|
27
|
-
--st-scrollbar-thumb-color:
|
|
28
|
-
--st-scrollbar-thumb-color-hover:
|
|
27
|
+
--st-scrollbar-thumb-color: var(--st-color-border-strong);
|
|
28
|
+
--st-scrollbar-thumb-color-hover: var(--st-color-text-tertiary);
|
|
29
29
|
}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--st-shadow-1:
|
|
3
|
-
--st-shadow-2:
|
|
4
|
-
--st-shadow-3:
|
|
2
|
+
--st-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
|
|
3
|
+
--st-shadow-2: 0 4px 12px -2px rgba(0, 0, 0, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
|
|
4
|
+
--st-shadow-3: 0 12px 28px -4px rgba(0, 0, 0, 0.12), 0 6px 14px -2px rgba(0, 0, 0, 0.06);
|
|
5
|
+
--st-shadow-4: 0 20px 40px -8px rgba(0, 0, 0, 0.16), 0 8px 20px -4px rgba(0, 0, 0, 0.08);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
[data-theme='dark'] {
|
|
9
|
+
--st-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.05);
|
|
10
|
+
--st-shadow-2: 0 4px 14px -2px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.07);
|
|
11
|
+
--st-shadow-3: 0 12px 32px -4px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08);
|
|
12
|
+
--st-shadow-4: 0 24px 48px -8px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
|
|
5
13
|
}
|
|
@@ -38,24 +38,28 @@ a {
|
|
|
38
38
|
font-size: 4.5rem;
|
|
39
39
|
font-weight: var(--st-font-weight-bold);
|
|
40
40
|
line-height: 1.1;
|
|
41
|
+
letter-spacing: -0.025em;
|
|
41
42
|
}
|
|
42
43
|
|
|
43
44
|
.st-headline-l {
|
|
44
45
|
font-size: 3rem;
|
|
45
46
|
font-weight: var(--st-font-weight-bold);
|
|
46
47
|
line-height: 1.15;
|
|
48
|
+
letter-spacing: -0.02em;
|
|
47
49
|
}
|
|
48
50
|
|
|
49
51
|
.st-headline-m {
|
|
50
52
|
font-size: 2rem;
|
|
51
53
|
font-weight: var(--st-font-weight-semibold);
|
|
52
54
|
line-height: 1.2;
|
|
55
|
+
letter-spacing: -0.015em;
|
|
53
56
|
}
|
|
54
57
|
|
|
55
58
|
.st-headline-s {
|
|
56
59
|
font-size: 1.5rem;
|
|
57
60
|
font-weight: var(--st-font-weight-semibold);
|
|
58
61
|
line-height: 1.25;
|
|
62
|
+
letter-spacing: -0.01em;
|
|
59
63
|
}
|
|
60
64
|
|
|
61
65
|
.st-body-l {
|