@nulllogic/scssleon 1.0.38 → 1.1.0
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/README.md +247 -40
- package/package.json +6 -13
- package/scss/_base.scss +22 -3
- package/scss/_config.scss +11 -37
- package/scss/_content.scss +14 -6
- package/scss/_functions.scss +4 -4
- package/scss/_mixins.scss +0 -15
- package/scss/_reset.scss +26 -6
- package/scss/_root.scss +8 -12
- package/scss/components/_container.scss +19 -17
- package/scss/components/_dropdown.scss +7 -1
- package/scss/components/_form.scss +3 -44
- package/scss/components/_megamenu.scss +15 -0
- package/scss/components/_placeholder.scss +1 -20
- package/scss/components/_tooltip.scss +15 -0
- package/scss/forms/_checkbox.scss +1 -1
- package/scss/mixins/generators/_components.scss +31 -16
- package/scss/mixins/generators/_properties.scss +164 -44
- package/scss/scssleon.scss +36 -37
- package/scss/themes/_default.scss +1368 -303
- package/scss/_utilities.scss +0 -356
- package/scss/animations/_placeholder.scss +0 -12
- package/scss/helpers/_clearfix.scss +0 -5
- package/scss/helpers/_screen_reader.scss +0 -11
- package/scss/helpers/_text_truncate.scss +0 -5
- package/scss/mixins/_border-radius.scss +0 -3
- package/scss/mixins/_box-shadow.scss +0 -16
- package/scss/mixins/_clearfix.scss +0 -9
- package/scss/mixins/_forms.scss +0 -152
- package/scss/mixins/_gradients.scss +0 -6
- package/scss/mixins/_grid.scss +0 -93
- package/scss/mixins/_transition.scss +0 -30
- package/scss/mixins/_utilities.scss +0 -15
- package/scss/mixins/generators/_color-sheme.scss +0 -17
- package/scss/mixins/generators/_wrapper.scss +0 -16
- package/scss/utilities/_api.scss +0 -24
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use "sass:string";
|
|
3
|
+
@use '../functions' as functions;
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
$config: () !default;
|
|
6
|
+
|
|
7
|
+
// Main theme _colors
|
|
5
8
|
$theme: () !default;
|
|
6
9
|
$updated-theme: () !default;
|
|
7
10
|
|
|
@@ -14,7 +17,6 @@ $html-config: (
|
|
|
14
17
|
),
|
|
15
18
|
|
|
16
19
|
html : (
|
|
17
|
-
|
|
18
20
|
body : (
|
|
19
21
|
-webkit-text-size-adjust: 100%,
|
|
20
22
|
-webkit-font-smoothing: antialiased,
|
|
@@ -31,70 +33,121 @@ $html-config: (
|
|
|
31
33
|
color: var(--color),
|
|
32
34
|
background: var(--background),
|
|
33
35
|
|
|
34
|
-
|
|
36
|
+
_colors: (
|
|
35
37
|
light : (
|
|
36
|
-
background:
|
|
38
|
+
background: rgb(244, 245, 250) linear-gradient(to top, #ffffff, #fefefe, #f3f2f8, #f3f4f9, #f4f5fa),
|
|
37
39
|
color: '#ccc',
|
|
38
40
|
),
|
|
39
41
|
dark : (
|
|
40
42
|
background : rgba(18, 20, 23, 1),
|
|
41
43
|
color: '#ccc'
|
|
42
44
|
)
|
|
45
|
+
),
|
|
46
|
+
|
|
47
|
+
_subclasses : (
|
|
48
|
+
'&[scroll-lock]' : (
|
|
49
|
+
overflow: hidden
|
|
50
|
+
)
|
|
43
51
|
)
|
|
44
52
|
),
|
|
45
53
|
|
|
46
54
|
a : (
|
|
47
|
-
text-decoration :
|
|
55
|
+
text-decoration : none,
|
|
48
56
|
color: var(--color),
|
|
49
57
|
|
|
50
|
-
|
|
58
|
+
_colors: (
|
|
51
59
|
light : (
|
|
52
|
-
color: '#
|
|
60
|
+
color: '#333',
|
|
53
61
|
),
|
|
54
62
|
dark : (
|
|
55
63
|
color: '#ccc'
|
|
56
64
|
)
|
|
57
65
|
),
|
|
58
66
|
|
|
59
|
-
|
|
60
|
-
|
|
67
|
+
_subclasses : (
|
|
68
|
+
'&:hover': (
|
|
61
69
|
text-decoration: none
|
|
62
70
|
),
|
|
63
|
-
"&[target='_blank']" : (
|
|
64
|
-
subclasses : (
|
|
65
|
-
"&:after" : (
|
|
66
|
-
background: red,
|
|
67
|
-
display: inline-flex,
|
|
68
|
-
width: 12px,
|
|
69
|
-
height: 12px,
|
|
70
|
-
content : ''
|
|
71
|
-
)
|
|
72
|
-
),
|
|
73
|
-
)
|
|
74
71
|
)
|
|
75
72
|
|
|
76
73
|
),
|
|
77
74
|
ol: (
|
|
78
75
|
margin: 0,
|
|
79
76
|
padding: 0,
|
|
80
|
-
list-style-type: none,
|
|
77
|
+
//list-style-type: none,
|
|
81
78
|
),
|
|
82
79
|
ul: (
|
|
83
80
|
margin: 0,
|
|
84
81
|
padding: 0,
|
|
85
|
-
list-style-type: none,
|
|
82
|
+
//list-style-type: none,
|
|
86
83
|
),
|
|
87
84
|
dl: (
|
|
88
85
|
margin: 0,
|
|
89
86
|
padding: 0,
|
|
90
|
-
list-style-type: none,
|
|
87
|
+
//list-style-type: none,
|
|
91
88
|
),
|
|
92
89
|
img : (
|
|
93
90
|
vertical-align: middle,
|
|
94
91
|
width: auto,
|
|
95
92
|
height: auto,
|
|
96
93
|
max-width: 100%,
|
|
97
|
-
)
|
|
94
|
+
),
|
|
95
|
+
|
|
96
|
+
code : (
|
|
97
|
+
|
|
98
|
+
//margin-block: -.125rem,
|
|
99
|
+
//padding: .125rem .375rem,
|
|
100
|
+
|
|
101
|
+
color: var(--color),
|
|
102
|
+
background: var(--background),
|
|
103
|
+
|
|
104
|
+
_colors: (
|
|
105
|
+
light : (
|
|
106
|
+
background: rgba(228, 221, 83, 0.65),
|
|
107
|
+
color: inherit,
|
|
108
|
+
),
|
|
109
|
+
dark : (
|
|
110
|
+
background : oklch(0.63 0.14 106.66 / 0.54),
|
|
111
|
+
color: inherit,
|
|
112
|
+
)
|
|
113
|
+
),
|
|
114
|
+
),
|
|
115
|
+
|
|
116
|
+
kbd: (
|
|
117
|
+
font-family: var(global(--font-family-monospace)),
|
|
118
|
+
|
|
119
|
+
margin-block: -.125rem,
|
|
120
|
+
padding: .125rem .375rem,
|
|
121
|
+
|
|
122
|
+
border: var(--border),
|
|
123
|
+
background: var(--background),
|
|
124
|
+
color: var(--color),
|
|
125
|
+
|
|
126
|
+
//font-size: 11px,
|
|
127
|
+
//color: #4e4e4e,
|
|
128
|
+
//text-shadow: none,
|
|
129
|
+
//background-color: #f7f7f7,
|
|
130
|
+
//padding: 4px 7px,
|
|
131
|
+
//border: 1px solid rgba(0,0,0,0.2),
|
|
132
|
+
//border-radius: 7px,
|
|
133
|
+
//box-shadow: 0 2px 0 0 rgba(0,0,0,0.2), 0 0 0 1px #fafafa inset,
|
|
134
|
+
//margin: 0 1px,
|
|
135
|
+
|
|
136
|
+
_colors: (
|
|
137
|
+
light : (
|
|
138
|
+
background: rgb(255, 255, 255),
|
|
139
|
+
color: inherit,
|
|
140
|
+
border: 1px solid rgba(19, 19, 19, 0.2),
|
|
141
|
+
shadow: string.unquote(' rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px'),
|
|
142
|
+
),
|
|
143
|
+
dark : (
|
|
144
|
+
background : oklch(.205 0 0),
|
|
145
|
+
color: inherit,
|
|
146
|
+
border: 1px solid rgba(19, 19, 19, 0.2),
|
|
147
|
+
shadow: string.unquote(' rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px'),
|
|
148
|
+
)
|
|
149
|
+
)
|
|
150
|
+
),
|
|
98
151
|
)
|
|
99
152
|
);
|
|
100
153
|
|
|
@@ -102,44 +155,52 @@ $updated-theme: map.deep-merge($updated-theme, $html-config);
|
|
|
102
155
|
|
|
103
156
|
$content-config: (
|
|
104
157
|
content : (
|
|
158
|
+
a : (
|
|
159
|
+
text-decoration: underline,
|
|
160
|
+
_subclasses : (
|
|
161
|
+
'&:hover' : (
|
|
162
|
+
text-decoration: none,
|
|
163
|
+
)
|
|
164
|
+
)
|
|
165
|
+
),
|
|
105
166
|
h1 : (
|
|
106
|
-
font-size:
|
|
167
|
+
font-size: clamp(2.0273rem, 1.8053rem + 0.8833vw, 2.5341rem),
|
|
107
168
|
line-height: 1,
|
|
108
169
|
font-weight: 500,
|
|
109
170
|
margin: 0,
|
|
110
171
|
padding: 0 0 15px 0
|
|
111
172
|
),
|
|
112
173
|
h2 : (
|
|
113
|
-
font-size:
|
|
174
|
+
font-size: clamp(1.802rem, 1.7034rem + 0.3926vw, 2.0273rem),
|
|
114
175
|
line-height: 1,
|
|
115
176
|
font-weight: 500,
|
|
116
177
|
margin: 0,
|
|
117
178
|
padding: 0 0 15px 0
|
|
118
179
|
),
|
|
119
180
|
h3 : (
|
|
120
|
-
font-size:
|
|
121
|
-
line-height: 1
|
|
181
|
+
font-size: clamp(1.6018rem, 1.5141rem + 0.349vw, 1.802rem),
|
|
182
|
+
line-height: 1,
|
|
122
183
|
font-weight: 500,
|
|
123
184
|
margin: 0,
|
|
124
185
|
padding: 0 0 15px 0
|
|
125
186
|
),
|
|
126
187
|
h4 : (
|
|
127
|
-
font-size: 1.
|
|
128
|
-
line-height: 1
|
|
188
|
+
font-size: clamp(1.4238rem, 1.3459rem + 0.3102vw, 1.6018rem),
|
|
189
|
+
line-height: 1,
|
|
129
190
|
font-weight: 500,
|
|
130
191
|
margin: 0,
|
|
131
192
|
padding: 0 0 15px 0
|
|
132
193
|
),
|
|
133
194
|
h5 : (
|
|
134
|
-
font-size: 1.
|
|
135
|
-
line-height: 1
|
|
195
|
+
font-size: clamp(1.2656rem, 1.1963rem + 0.2757vw, 1.4238rem),
|
|
196
|
+
line-height: 1,
|
|
136
197
|
font-weight: 500,
|
|
137
198
|
margin: 0,
|
|
138
199
|
padding: 0 0 15px 0
|
|
139
200
|
),
|
|
140
201
|
h6 : (
|
|
141
|
-
font-size: 1.
|
|
142
|
-
line-height: 1
|
|
202
|
+
font-size: clamp(1.125rem, 1.0634rem + 0.2451vw, 1.2656rem),
|
|
203
|
+
line-height: 1,
|
|
143
204
|
font-weight: 500,
|
|
144
205
|
margin: 0,
|
|
145
206
|
padding: 0 0 15px 0
|
|
@@ -147,7 +208,31 @@ $content-config: (
|
|
|
147
208
|
p : (
|
|
148
209
|
margin: 0,
|
|
149
210
|
padding: 0 0 15px 0,
|
|
211
|
+
line-height: clamp(1.5rem, calc(1rem * pow(1.618, 1)), 1.618rem),
|
|
212
|
+
),
|
|
213
|
+
blockquote: (
|
|
214
|
+
margin: 0px 0px 15px,
|
|
150
215
|
line-height: clamp(1.25em, 4vw, 1.5em),
|
|
216
|
+
padding: 1rem,
|
|
217
|
+
font-style: italic,
|
|
218
|
+
|
|
219
|
+
border-left: var(--blockquote-border),
|
|
220
|
+
|
|
221
|
+
_colors: (
|
|
222
|
+
light: (
|
|
223
|
+
blockquote-border: 3px solid #939393,
|
|
224
|
+
//blockquote-background: rgba(0, 0, 0, 0.65),
|
|
225
|
+
),
|
|
226
|
+
dark: (
|
|
227
|
+
blockquote-border: 3px solid #ccc,
|
|
228
|
+
//blockquote-background: rgba(0, 0, 0, 0.65),
|
|
229
|
+
)
|
|
230
|
+
),
|
|
231
|
+
_subclasses : (
|
|
232
|
+
cite : (
|
|
233
|
+
|
|
234
|
+
)
|
|
235
|
+
)
|
|
151
236
|
),
|
|
152
237
|
abbr: (
|
|
153
238
|
attributes : (
|
|
@@ -162,12 +247,32 @@ $content-config: (
|
|
|
162
247
|
),
|
|
163
248
|
ol: (
|
|
164
249
|
margin-bottom: 15px,
|
|
250
|
+
line-height: clamp(1.25em, 4vw, 1.5em),
|
|
251
|
+
//list-style-type: attr(type),
|
|
252
|
+
margin-left: 1rem,
|
|
253
|
+
_subclasses : (
|
|
254
|
+
'& ol': (
|
|
255
|
+
//list-style-type: attr(type),
|
|
256
|
+
margin-bottom: 0.5rem,
|
|
257
|
+
margin-inline-start: 1rem,
|
|
258
|
+
)
|
|
259
|
+
)
|
|
165
260
|
),
|
|
166
261
|
ul: (
|
|
167
|
-
margin-bottom:
|
|
262
|
+
margin-bottom: 0.5rem,
|
|
263
|
+
margin-inline-start: 1rem,
|
|
264
|
+
line-height: clamp(1.25em, 4vw, 1.5em),
|
|
265
|
+
list-style-type: inherit,
|
|
266
|
+
_subclasses : (
|
|
267
|
+
'& ul': (
|
|
268
|
+
margin-bottom: 0.5rem,
|
|
269
|
+
margin-inline-start: 1rem,
|
|
270
|
+
)
|
|
271
|
+
)
|
|
168
272
|
),
|
|
169
273
|
dl: (
|
|
170
274
|
margin-bottom: 15px,
|
|
275
|
+
line-height: clamp(1.25em, 4vw, 1.5em),
|
|
171
276
|
),
|
|
172
277
|
dt: (
|
|
173
278
|
font-weight: normal,
|
|
@@ -199,24 +304,18 @@ $content-config: (
|
|
|
199
304
|
),
|
|
200
305
|
pre: (
|
|
201
306
|
font-family: var(global(--font-family-monospace)),
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
),
|
|
212
|
-
dark : (
|
|
213
|
-
background : rgba(38, 69, 116, 1),
|
|
214
|
-
color: '#fff'
|
|
307
|
+
margin-block: -.125rem,
|
|
308
|
+
padding: .575rem .375rem,
|
|
309
|
+
margin: 0 0 15px 0,
|
|
310
|
+
line-height: 1.1,
|
|
311
|
+
display: block,
|
|
312
|
+
border-radius: 0.5rem,
|
|
313
|
+
_subclasses : (
|
|
314
|
+
code : (
|
|
315
|
+
background: none,
|
|
215
316
|
)
|
|
216
317
|
)
|
|
217
318
|
),
|
|
218
|
-
kbd: (
|
|
219
|
-
),
|
|
220
319
|
figure: (
|
|
221
320
|
margin: 0 0 15px 0,
|
|
222
321
|
),
|
|
@@ -282,7 +381,7 @@ $content-config: (
|
|
|
282
381
|
border-top-width: 1px,
|
|
283
382
|
border-top-style: solid,
|
|
284
383
|
border-top-color: var(--border-top-color),
|
|
285
|
-
|
|
384
|
+
_colors: (
|
|
286
385
|
light: (
|
|
287
386
|
border-top-color: #ccc
|
|
288
387
|
),
|
|
@@ -290,7 +389,7 @@ $content-config: (
|
|
|
290
389
|
border-top-color: #555
|
|
291
390
|
)
|
|
292
391
|
)
|
|
293
|
-
)
|
|
392
|
+
),
|
|
294
393
|
)
|
|
295
394
|
);
|
|
296
395
|
|
|
@@ -298,23 +397,21 @@ $updated-theme: map.deep-merge($updated-theme, $content-config);
|
|
|
298
397
|
|
|
299
398
|
$components-config: (
|
|
300
399
|
components: (
|
|
400
|
+
|
|
301
401
|
alert: (
|
|
302
402
|
|
|
303
403
|
--border-radius: .5rem,
|
|
304
|
-
--grid-template-columns:
|
|
404
|
+
--grid-template-columns: 20px auto 30px,
|
|
305
405
|
--gap : 0.5rem,
|
|
306
406
|
--padding: 0.825rem,
|
|
307
|
-
--left-column-justify-self: start,
|
|
308
|
-
--left-column-align-self: start,
|
|
309
|
-
--center-column-justify-self: center,
|
|
310
|
-
--center-column-align-self: center,
|
|
311
|
-
--right-column-justify-self: end,
|
|
312
|
-
--right-column-align-self: start,
|
|
313
407
|
|
|
314
|
-
box-shadow: var(--shadow),
|
|
315
408
|
background: var(--background),
|
|
316
409
|
border-radius: var(--border-radius),
|
|
317
410
|
border: var(--border),
|
|
411
|
+
grid-template-columns: var(--grid-template-columns),
|
|
412
|
+
grid-gap: var(--gap),
|
|
413
|
+
padding: var(--padding),
|
|
414
|
+
|
|
318
415
|
outline: 1px solid transparent,
|
|
319
416
|
position: relative,
|
|
320
417
|
display: grid,
|
|
@@ -322,46 +419,33 @@ $components-config: (
|
|
|
322
419
|
max-width: 100%,
|
|
323
420
|
align-items: center,
|
|
324
421
|
line-height: 1rem,
|
|
325
|
-
grid-template-columns: var(--grid-template-columns),
|
|
326
|
-
grid-gap: var(--gap),
|
|
327
|
-
padding: var(--padding),
|
|
328
422
|
|
|
329
|
-
|
|
423
|
+
_colors: (
|
|
330
424
|
light : (
|
|
331
425
|
background: rgba(246, 246, 247, 1),
|
|
332
|
-
|
|
426
|
+
border: 1px solid rgb(219, 219, 219),
|
|
333
427
|
),
|
|
334
428
|
dark : (
|
|
335
429
|
background: rgb(18, 18, 24),
|
|
336
430
|
border: 1px solid rgba(48, 54, 61, 0.75),
|
|
337
|
-
shadow: string.unquote("rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px"),
|
|
338
431
|
)
|
|
339
432
|
),
|
|
340
433
|
|
|
341
|
-
subclasses : (
|
|
342
|
-
'.left' : (
|
|
343
|
-
justify-self: var(--left-column-justify-self),
|
|
344
|
-
align-self: var(--left-column-align-self),
|
|
345
|
-
),
|
|
346
|
-
'.center' : (
|
|
347
|
-
justify-self: var(--center-column-justify-self),
|
|
348
|
-
align-self: var(--center-column-align-self),
|
|
349
|
-
),
|
|
350
|
-
'.right' : (
|
|
351
|
-
justify-self: var(--right-column-justify-self),
|
|
352
|
-
align-self: var(--right-column-align-self),
|
|
353
|
-
),
|
|
354
|
-
)
|
|
355
|
-
|
|
356
434
|
),
|
|
435
|
+
|
|
357
436
|
accordion : (
|
|
358
437
|
|
|
359
438
|
--border-radius: .25rem,
|
|
360
|
-
--padding:
|
|
439
|
+
--padding: 0.5rem,
|
|
440
|
+
--item-padding: 0 0 .5rem 0,
|
|
361
441
|
|
|
442
|
+
border-radius: var(--border-radius),
|
|
362
443
|
position: relative,
|
|
363
444
|
width: 100%,
|
|
364
|
-
|
|
445
|
+
|
|
446
|
+
padding: var(--padding),
|
|
447
|
+
|
|
448
|
+
_colors: (
|
|
365
449
|
light : (
|
|
366
450
|
),
|
|
367
451
|
dark : (
|
|
@@ -369,16 +453,20 @@ $components-config: (
|
|
|
369
453
|
background: rgb(46, 56, 66),
|
|
370
454
|
)
|
|
371
455
|
),
|
|
372
|
-
|
|
456
|
+
|
|
457
|
+
_subclasses : (
|
|
373
458
|
|
|
374
459
|
'.item' : (
|
|
375
|
-
padding
|
|
460
|
+
padding: var(--item-padding),
|
|
461
|
+
|
|
462
|
+
_subclasses : (
|
|
463
|
+
'.question' : (
|
|
376
464
|
|
|
377
|
-
subclasses : (
|
|
378
|
-
'.title' : (
|
|
379
465
|
display: flex,
|
|
380
|
-
|
|
381
|
-
|
|
466
|
+
border-bottom: 1px solid #ccc,
|
|
467
|
+
justify-content: space-between,
|
|
468
|
+
|
|
469
|
+
_subclasses : (
|
|
382
470
|
'> button' : (
|
|
383
471
|
color: inherit,
|
|
384
472
|
background: none,
|
|
@@ -389,31 +477,63 @@ $components-config: (
|
|
|
389
477
|
font-size: inherit,
|
|
390
478
|
width: 100%,
|
|
391
479
|
align-items: center,
|
|
392
|
-
justify-content: space-between
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
justify-self: var(--center-column-alignment),
|
|
400
|
-
),
|
|
401
|
-
'.right' : (
|
|
402
|
-
justify-self: var(--right-column-alignment)
|
|
480
|
+
justify-content: space-between
|
|
481
|
+
),
|
|
482
|
+
|
|
483
|
+
'&.open' : (
|
|
484
|
+
_subclasses : (
|
|
485
|
+
'.icon' : (
|
|
486
|
+
transform: rotate(180deg)
|
|
403
487
|
)
|
|
404
488
|
)
|
|
489
|
+
),
|
|
490
|
+
'.icon' : (
|
|
491
|
+
|
|
492
|
+
)
|
|
493
|
+
)
|
|
494
|
+
),
|
|
495
|
+
|
|
496
|
+
'.answer' : (
|
|
497
|
+
|
|
498
|
+
display: block,
|
|
499
|
+
padding: 0.5rem 0,
|
|
500
|
+
height: auto,
|
|
501
|
+
opacity: 1,
|
|
502
|
+
|
|
503
|
+
transition: string.unquote('opacity 0.15s ease-in, display 0.15s ease-in allow-discrete'),
|
|
504
|
+
|
|
505
|
+
_subclasses : (
|
|
506
|
+
'&[hidden]' : (
|
|
507
|
+
display: none,
|
|
508
|
+
opacity: 0,
|
|
509
|
+
transition: string.unquote('opacity 0.15s ease-out, display 0.15s ease-out allow-discrete'),
|
|
405
510
|
)
|
|
406
511
|
)
|
|
407
512
|
),
|
|
408
|
-
|
|
513
|
+
|
|
514
|
+
'&:last-child' : (
|
|
515
|
+
padding-bottom: 0,
|
|
516
|
+
),
|
|
517
|
+
|
|
518
|
+
// Avoid running animation onload and add animation, when user hover the element
|
|
519
|
+
// @TODO Add focus later, when user navigate by keyboard
|
|
520
|
+
'&:hover .answer' : (
|
|
521
|
+
_atrule : (
|
|
522
|
+
'@starting-style' : (
|
|
523
|
+
opacity: 0
|
|
524
|
+
)
|
|
525
|
+
),
|
|
409
526
|
)
|
|
410
527
|
)
|
|
411
528
|
)
|
|
412
529
|
)
|
|
413
530
|
),
|
|
531
|
+
|
|
414
532
|
badge : (
|
|
533
|
+
|
|
415
534
|
--border-radius: .25rem,
|
|
416
535
|
--padding: .125rem .625rem,
|
|
536
|
+
|
|
417
537
|
font-size: .75rem,
|
|
418
538
|
line-height: 1rem,
|
|
419
539
|
font-weight: 500,
|
|
@@ -421,58 +541,59 @@ $components-config: (
|
|
|
421
541
|
vertical-align: middle,
|
|
422
542
|
align-items: center,
|
|
423
543
|
display: inline-flex,
|
|
544
|
+
|
|
424
545
|
padding: var(--padding),
|
|
425
546
|
border-radius: var(--border-radius),
|
|
426
|
-
color: var(--color),
|
|
427
547
|
background: var(--background),
|
|
428
548
|
box-shadow: var(--box-shadow),
|
|
429
549
|
border: var(--border),
|
|
430
|
-
|
|
550
|
+
|
|
551
|
+
_colors: (
|
|
431
552
|
light : (
|
|
432
|
-
|
|
433
|
-
|
|
553
|
+
box-shadow: none,
|
|
554
|
+
border: 1px solid rgba(33, 33, 33, 0.15),
|
|
555
|
+
background: rgba(247, 247, 247, 0.85),
|
|
434
556
|
),
|
|
435
557
|
dark : (
|
|
436
|
-
|
|
437
|
-
background: rgb(40, 50, 60),
|
|
558
|
+
background: rgba(40, 50, 60, 0.85),
|
|
438
559
|
box-shadow: none,
|
|
439
|
-
border: 1px solid
|
|
560
|
+
border: 1px solid rgba(255, 255, 255, 0.15),
|
|
440
561
|
)
|
|
441
562
|
)
|
|
442
563
|
),
|
|
564
|
+
|
|
443
565
|
breadcrumb : (
|
|
444
|
-
|
|
566
|
+
|
|
445
567
|
list-style: none,
|
|
446
568
|
align-items: center,
|
|
447
569
|
display: flex,
|
|
448
570
|
flex-wrap: wrap,
|
|
449
|
-
|
|
571
|
+
|
|
450
572
|
margin: 0,
|
|
451
|
-
|
|
573
|
+
|
|
574
|
+
_colors: (
|
|
452
575
|
light : (
|
|
453
576
|
),
|
|
454
577
|
dark : (
|
|
455
578
|
)
|
|
456
579
|
),
|
|
457
|
-
|
|
458
|
-
|
|
580
|
+
|
|
581
|
+
_subclasses : (
|
|
582
|
+
'.item' : (
|
|
459
583
|
display: inline-flex,
|
|
460
|
-
|
|
461
|
-
|
|
584
|
+
_subclasses : (
|
|
585
|
+
'.link' : (
|
|
462
586
|
)
|
|
463
587
|
)
|
|
464
588
|
)
|
|
465
589
|
)
|
|
466
590
|
),
|
|
591
|
+
|
|
467
592
|
button : (
|
|
593
|
+
|
|
468
594
|
--padding: .5rem .75rem,
|
|
469
595
|
--border-radius: .25rem,
|
|
470
|
-
|
|
471
|
-
inset 0 0 0 1px rgba(0, 0, 0, 0.05),
|
|
472
|
-
inset 0 1px 2px 0 rgba(78, 83, 90, 0.1) // inset -0.0625rem 0 0 #e3e3e3,
|
|
473
|
-
// inset 0.0625rem 0 0 #e3e3e3,
|
|
474
|
-
// inset 0 0.0625rem 0 #e3e3e3
|
|
475
|
-
),
|
|
596
|
+
|
|
476
597
|
display: inline-flex,
|
|
477
598
|
align-items: center,
|
|
478
599
|
align-content: center,
|
|
@@ -486,18 +607,34 @@ $components-config: (
|
|
|
486
607
|
background: var(--background),
|
|
487
608
|
color: var(--color),
|
|
488
609
|
border-radius: var(--border-radius),
|
|
610
|
+
box-shadow: var(--box-shadow),
|
|
489
611
|
// This one is required for button group use
|
|
490
612
|
position: relative,
|
|
613
|
+
|
|
491
614
|
transition: (
|
|
492
615
|
color .15s ease-in-out,
|
|
493
616
|
background-color .15s ease-in-out,
|
|
494
617
|
border-color .15s ease-in-out,
|
|
495
618
|
box-shadow .15s ease-in-out
|
|
496
619
|
),
|
|
497
|
-
|
|
620
|
+
|
|
621
|
+
_colors: (
|
|
498
622
|
light: (
|
|
499
|
-
|
|
500
|
-
|
|
623
|
+
// Default
|
|
624
|
+
color: inherit,
|
|
625
|
+
background: rgb(250, 250, 250),
|
|
626
|
+
border: 1px solid rgb(188, 188, 188),
|
|
627
|
+
// Hover state
|
|
628
|
+
hover-color: inherit,
|
|
629
|
+
hover-background: rgb(235, 235, 235),
|
|
630
|
+
hover-border: 1px solid rgb(180, 180, 180),
|
|
631
|
+
// Active state
|
|
632
|
+
active-color: inherit,
|
|
633
|
+
active-background: rgb(235, 235, 235),
|
|
634
|
+
active-border: 1px solid rgb(180, 180, 180),
|
|
635
|
+
active-shadow: string.unquote('-0.0625rem 0rem 0.0625rem 0rem rgba(33,33,33,.1) inset,0.0625rem 0rem 0.0625rem 0rem rgba(3,33,33,.15) inset,0rem 0.125rem 0.0625rem 0rem rgba(44,44,44,0.15) inset'),
|
|
636
|
+
// Focus
|
|
637
|
+
focus : 0 0 0 0.2rem rgba(98, 175, 97, .5),
|
|
501
638
|
),
|
|
502
639
|
dark: (
|
|
503
640
|
// Default
|
|
@@ -508,81 +645,115 @@ $components-config: (
|
|
|
508
645
|
hover-color: #fff,
|
|
509
646
|
hover-background: rgb(59, 68, 81),
|
|
510
647
|
hover-border: 1px solid rgba(229, 235, 240, .55),
|
|
511
|
-
// Disabled state
|
|
512
|
-
disabled-color: #484f58,
|
|
513
|
-
disabled-background: #21262d,
|
|
514
|
-
disabled-border: 1px solid rgba(240, 246, 252, 0.1),
|
|
515
648
|
// Active state
|
|
516
649
|
active-color: #fff,
|
|
517
650
|
active-background: rgb(39, 45, 53),
|
|
518
651
|
active-border: 1px solid rgba(240, 246, 252, .25),
|
|
519
|
-
active-shadow: string.unquote(
|
|
652
|
+
active-shadow: string.unquote('-0.0625rem 0rem 0.0625rem 0rem rgba(15,15,15,.35) inset,0.0625rem 0rem 0.0625rem 0rem rgba(13,13,13, .35) inset,0rem 0.125rem 0.0625rem 0rem rgba(15,15,15,0.35) inset'),
|
|
653
|
+
// Focus
|
|
654
|
+
focus : 0 0 0 0.2rem rgba(98, 175, 97, .5),
|
|
520
655
|
)
|
|
521
656
|
),
|
|
522
|
-
|
|
523
|
-
|
|
657
|
+
|
|
658
|
+
_subclasses : (
|
|
659
|
+
'&:focus-visible:not([disabled])' : (
|
|
660
|
+
outline: none,
|
|
661
|
+
box-shadow: var(--focus)
|
|
662
|
+
),
|
|
663
|
+
'&:hover:not(.loading, [disabled], .link, .blank)' : (
|
|
524
664
|
color: var(--hover-color),
|
|
525
665
|
background: var(--hover-background),
|
|
526
666
|
border: var(--hover-border),
|
|
527
667
|
),
|
|
528
|
-
|
|
668
|
+
'&:active:not(.loading, [disabled], .link, .blank)' : (
|
|
529
669
|
color: var(--active-color),
|
|
530
670
|
background: var(--active-background),
|
|
531
671
|
border: var(--active-border),
|
|
532
672
|
box-shadow: var(--active-shadow),
|
|
533
673
|
),
|
|
534
|
-
|
|
674
|
+
|
|
675
|
+
'&.link' : (
|
|
676
|
+
display: inline-flex,
|
|
677
|
+
align-items: center,
|
|
535
678
|
background: transparent,
|
|
679
|
+
padding: var(--padding),
|
|
536
680
|
border: none,
|
|
537
681
|
box-shadow: none,
|
|
538
682
|
text-decoration: underline,
|
|
539
|
-
|
|
540
|
-
|
|
683
|
+
_subclasses: (
|
|
684
|
+
'&:hover': (
|
|
541
685
|
text-decoration: none,
|
|
542
686
|
)
|
|
543
687
|
)
|
|
544
688
|
),
|
|
545
|
-
|
|
689
|
+
|
|
690
|
+
'&.blank' : (
|
|
691
|
+
display: inline-flex,
|
|
692
|
+
align-items: center,
|
|
693
|
+
padding: 0,
|
|
694
|
+
border: none,
|
|
695
|
+
box-shadow: none,
|
|
696
|
+
background: transparent,
|
|
697
|
+
text-decoration: none,
|
|
698
|
+
),
|
|
699
|
+
|
|
700
|
+
'&.loading' : (
|
|
546
701
|
cursor: wait,
|
|
547
702
|
),
|
|
548
|
-
|
|
703
|
+
|
|
704
|
+
'&[disabled]' : (
|
|
549
705
|
cursor: not-allowed,
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
706
|
+
|
|
707
|
+
color: var(--color),
|
|
708
|
+
background: var(--background),
|
|
709
|
+
border: var(--border),
|
|
553
710
|
box-shadow: none,
|
|
711
|
+
|
|
712
|
+
_colors: (
|
|
713
|
+
light: (
|
|
714
|
+
color: rgba(28, 29, 31, 0.5),
|
|
715
|
+
background: rgb(235, 235, 235),
|
|
716
|
+
border: 1px solid rgb(188, 188, 188),
|
|
717
|
+
),
|
|
718
|
+
dark: (
|
|
719
|
+
color: inherit,
|
|
720
|
+
background: #21262d,
|
|
721
|
+
border: 1px solid rgba(240, 246, 252, 0.1),
|
|
722
|
+
)
|
|
723
|
+
)
|
|
554
724
|
)
|
|
555
725
|
)
|
|
556
726
|
),
|
|
727
|
+
|
|
557
728
|
button-group: (
|
|
558
729
|
--gap: 10px,
|
|
559
730
|
display: flex,
|
|
560
731
|
flex-wrap: wrap,
|
|
561
|
-
|
|
562
|
-
|
|
732
|
+
_subclasses : (
|
|
733
|
+
'.btn:first-child' : (
|
|
563
734
|
border-start-end-radius: 0,
|
|
564
735
|
border-end-end-radius: 0,
|
|
565
736
|
),
|
|
566
|
-
|
|
737
|
+
'.btn:last-child' : (
|
|
567
738
|
border-start-start-radius: 0,
|
|
568
739
|
border-end-start-radius: 0,
|
|
569
740
|
),
|
|
570
|
-
|
|
741
|
+
'.btn:not(:first-child)' : (
|
|
571
742
|
margin-left: - 1px
|
|
572
743
|
),
|
|
573
|
-
|
|
744
|
+
'.btn:not(:first-child, :last-child)' : (
|
|
574
745
|
border-radius: 0
|
|
575
746
|
),
|
|
576
|
-
|
|
747
|
+
'.btn:only-child' : (
|
|
577
748
|
),
|
|
578
|
-
|
|
749
|
+
'.btn:hover, .btn:focus' : (
|
|
579
750
|
z-index: 1
|
|
580
751
|
),
|
|
581
|
-
|
|
752
|
+
'&.separated' : (
|
|
582
753
|
gap: var(--gap),
|
|
583
754
|
--border-radius: 5px,
|
|
584
|
-
|
|
585
|
-
|
|
755
|
+
_subclasses : (
|
|
756
|
+
'.btn' : (
|
|
586
757
|
margin: 0,
|
|
587
758
|
border-radius: var(--border-radius)
|
|
588
759
|
)
|
|
@@ -590,133 +761,666 @@ $components-config: (
|
|
|
590
761
|
)
|
|
591
762
|
)
|
|
592
763
|
),
|
|
764
|
+
|
|
765
|
+
dropdown: (
|
|
766
|
+
|
|
767
|
+
position: relative,
|
|
768
|
+
display: inline-block,
|
|
769
|
+
|
|
770
|
+
z-index: functions.get-config($config, 'z-index.dropdown'),
|
|
771
|
+
|
|
772
|
+
_colors: (
|
|
773
|
+
light : (
|
|
774
|
+
background: rgba(246, 246, 247, 1),
|
|
775
|
+
border: 1px solid rgb(219, 219, 219),
|
|
776
|
+
shadow: string.unquote('rgba(37, 41, 46, 0.04) 0px 6px 12px -3px, rgba(37, 41, 46, 0.12) 0px 6px 18px 0px'),
|
|
777
|
+
),
|
|
778
|
+
dark : (
|
|
779
|
+
background: rgb(18, 18, 24),
|
|
780
|
+
border: 1px solid rgba(48, 54, 61, 0.75),
|
|
781
|
+
shadow: string.unquote('rgba(37, 41, 46, 0.04) 0px 6px 12px -3px, rgba(37, 41, 46, 0.12) 0px 6px 18px 0px'),
|
|
782
|
+
)
|
|
783
|
+
),
|
|
784
|
+
|
|
785
|
+
_subclasses : (
|
|
786
|
+
'&.on-hover:hover' : (
|
|
787
|
+
_subclasses : (
|
|
788
|
+
'& > .dropdown' : (
|
|
789
|
+
display: block,
|
|
790
|
+
opacity: 1,
|
|
791
|
+
transform: translateY(0),
|
|
792
|
+
|
|
793
|
+
_atrule : (
|
|
794
|
+
'@starting-style' : (
|
|
795
|
+
opacity: 0,
|
|
796
|
+
transform: translateY(-5px)
|
|
797
|
+
)
|
|
798
|
+
),
|
|
799
|
+
)
|
|
800
|
+
)
|
|
801
|
+
),
|
|
802
|
+
|
|
803
|
+
'.dropdown' : (
|
|
804
|
+
|
|
805
|
+
display: none,
|
|
806
|
+
position: absolute,
|
|
807
|
+
top: 100%,
|
|
808
|
+
left: 0,
|
|
809
|
+
border-radius: 0.25rem,
|
|
810
|
+
padding: .5rem,
|
|
811
|
+
width: 200px,
|
|
812
|
+
height: auto,
|
|
813
|
+
|
|
814
|
+
border: var(--border),
|
|
815
|
+
background: var(--background),
|
|
816
|
+
box-shadow: var(--shadow),
|
|
817
|
+
|
|
818
|
+
transition: string.unquote('opacity 0.15s ease-in, transform 0.15s ease-in, display 0.15s ease-in allow-discrete'),
|
|
819
|
+
transform: translateY(-5px),
|
|
820
|
+
opacity: 0,
|
|
821
|
+
|
|
822
|
+
_subclasses : (
|
|
823
|
+
'&:before': (
|
|
824
|
+
content: ' ',
|
|
825
|
+
left: 0,
|
|
826
|
+
top: -5px,
|
|
827
|
+
height: 5px,
|
|
828
|
+
width: 100%,
|
|
829
|
+
display: block,
|
|
830
|
+
position: absolute,
|
|
831
|
+
),
|
|
832
|
+
'&.to-right' : (
|
|
833
|
+
top: 0,
|
|
834
|
+
left: 100%,
|
|
835
|
+
)
|
|
836
|
+
)
|
|
837
|
+
)
|
|
838
|
+
)
|
|
839
|
+
),
|
|
840
|
+
|
|
593
841
|
card : (
|
|
594
|
-
|
|
595
|
-
--
|
|
842
|
+
|
|
843
|
+
--border-radius: .5rem,
|
|
844
|
+
--padding: .825rem,
|
|
845
|
+
|
|
596
846
|
background: var(--background),
|
|
597
847
|
padding: var(--padding),
|
|
598
848
|
border-radius: var(--border-radius),
|
|
599
849
|
box-shadow: var(--shadow),
|
|
600
850
|
border: var(--border),
|
|
851
|
+
|
|
601
852
|
height: 100%,
|
|
602
853
|
margin: 0,
|
|
603
|
-
|
|
854
|
+
|
|
855
|
+
_colors: (
|
|
604
856
|
light : (
|
|
605
|
-
background: rgb(
|
|
857
|
+
background: rgb(250, 250, 250),
|
|
858
|
+
border : 1px solid rgb(219, 219, 219),
|
|
859
|
+
shadow: string.unquote('0 4px 12px rgba(224,224,224,0.5)')
|
|
606
860
|
),
|
|
607
861
|
dark : (
|
|
608
|
-
border: 1px solid
|
|
862
|
+
border: 1px solid #3d444d,
|
|
609
863
|
background: rgb(22, 27, 34),
|
|
610
864
|
shadow: rgba(1, 4, 9, 0.4) 0 1px 0 0
|
|
611
865
|
)
|
|
612
866
|
)
|
|
613
867
|
),
|
|
868
|
+
|
|
614
869
|
container : (
|
|
615
870
|
margin: 0 auto,
|
|
616
871
|
width: 100%,
|
|
617
|
-
colors: (
|
|
618
|
-
light : (),
|
|
619
|
-
dark : ()
|
|
620
|
-
),
|
|
621
872
|
),
|
|
873
|
+
|
|
622
874
|
form : (
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
light : (
|
|
633
|
-
),
|
|
634
|
-
dark : (
|
|
635
|
-
color: #fff,
|
|
636
|
-
background: rgb(48, 56, 66),
|
|
637
|
-
border: 1px solid rgba(240, 246, 252, .25),
|
|
638
|
-
)
|
|
639
|
-
)
|
|
640
|
-
),
|
|
641
|
-
select : (
|
|
642
|
-
--border-radius: .25rem,
|
|
643
|
-
--padding: .5rem .75rem,
|
|
644
|
-
display: block,
|
|
645
|
-
colors: (
|
|
646
|
-
light : (
|
|
647
|
-
),
|
|
648
|
-
dark : (
|
|
649
|
-
color: #fff,
|
|
650
|
-
background: rgb(48, 56, 66),
|
|
651
|
-
border: 1px solid rgba(240, 246, 252, .25),
|
|
652
|
-
)
|
|
653
|
-
)
|
|
654
|
-
),
|
|
655
|
-
checkbox : (
|
|
656
|
-
--border-radius: .25rem,
|
|
657
|
-
--padding: .5rem .75rem,
|
|
658
|
-
colors: (
|
|
659
|
-
light : (
|
|
660
|
-
),
|
|
661
|
-
dark : (
|
|
662
|
-
color: #fff,
|
|
663
|
-
background: rgb(48, 56, 66),
|
|
664
|
-
border: 1px solid rgba(240, 246, 252, .25),
|
|
665
|
-
)
|
|
666
|
-
)
|
|
667
|
-
),
|
|
668
|
-
radio : (
|
|
669
|
-
--border-radius: .25rem,
|
|
670
|
-
--padding: .5rem .75rem,
|
|
671
|
-
colors: (
|
|
672
|
-
light : (
|
|
673
|
-
),
|
|
674
|
-
dark : (
|
|
675
|
-
color: #fff,
|
|
676
|
-
background: rgb(48, 56, 66),
|
|
677
|
-
border: 1px solid rgba(240, 246, 252, .25),
|
|
678
|
-
)
|
|
875
|
+
|
|
876
|
+
_colors: (
|
|
877
|
+
light : (
|
|
878
|
+
caret-color: oklch(0.442 0.143 142.163),
|
|
879
|
+
box-shadow-focus: 0 0 0 .25rem rgba(13, 110, 253, .25),
|
|
880
|
+
),
|
|
881
|
+
dark : (
|
|
882
|
+
caret-color: oklch(0.442 0.143 142.163),
|
|
883
|
+
box-shadow-focus: 0 0 0 .25rem rgba(13, 110, 253, .25),
|
|
679
884
|
)
|
|
680
885
|
),
|
|
681
|
-
validation : (
|
|
682
|
-
)
|
|
683
|
-
),
|
|
684
|
-
table : (
|
|
685
|
-
width: 100%,
|
|
686
|
-
),
|
|
687
886
|
|
|
688
|
-
|
|
887
|
+
_subclasses : (
|
|
888
|
+
'.field' : (
|
|
889
|
+
margin-bottom: 1rem,
|
|
689
890
|
|
|
690
|
-
|
|
891
|
+
_subclasses : (
|
|
892
|
+
'.inline' : (
|
|
893
|
+
display: inline-flex,
|
|
894
|
+
gap: .5rem,
|
|
895
|
+
),
|
|
896
|
+
'&.is-invalid' : (
|
|
897
|
+
_subclasses : (
|
|
898
|
+
'.input, .textarea, .select' : (
|
|
899
|
+
border: 1px solid oklch(0.535 0.213 27.297),
|
|
900
|
+
margin-bottom: 10px,
|
|
901
|
+
background: var(--xii-form-background) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='oklch(0.535 0.213 27.297)'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") no-repeat calc(100% - 9px) 50% / 16px 16px,
|
|
902
|
+
),
|
|
903
|
+
'.invalid-feedback' : (
|
|
904
|
+
display: block,
|
|
905
|
+
)
|
|
906
|
+
)
|
|
907
|
+
),
|
|
908
|
+
'.invalid-feedback' : (
|
|
909
|
+
display: none,
|
|
910
|
+
color: oklch(0.535 0.213 27.297),
|
|
911
|
+
font-size: 0.825rem,
|
|
912
|
+
),
|
|
691
913
|
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
914
|
+
'.note' : (
|
|
915
|
+
color : oklch(55.1% .027 264.364),
|
|
916
|
+
)
|
|
917
|
+
)
|
|
918
|
+
),
|
|
697
919
|
|
|
698
|
-
|
|
699
|
-
|
|
920
|
+
'.label' : (
|
|
921
|
+
display: block,
|
|
922
|
+
margin-bottom: 10px,
|
|
923
|
+
),
|
|
700
924
|
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
925
|
+
'.input' : (
|
|
926
|
+
|
|
927
|
+
--border-radius: .25rem,
|
|
928
|
+
--padding: .5rem .75rem,
|
|
929
|
+
|
|
930
|
+
font-size: inherit,
|
|
931
|
+
font-weight: inherit,
|
|
932
|
+
display: block,
|
|
933
|
+
|
|
934
|
+
appearance: none,
|
|
935
|
+
outline: none,
|
|
936
|
+
|
|
937
|
+
padding: var(--padding),
|
|
938
|
+
border-radius: var(--border-radius),
|
|
939
|
+
border: var(--border),
|
|
940
|
+
caret-color: var(--caret-color),
|
|
941
|
+
|
|
942
|
+
width: 100%,
|
|
943
|
+
|
|
944
|
+
transition: box-shadow .15s ease-in-out,
|
|
945
|
+
|
|
946
|
+
_colors: (
|
|
947
|
+
light : (
|
|
948
|
+
color: inherit,
|
|
949
|
+
background: rgb(250, 250, 250),
|
|
950
|
+
border: 1px solid rgb(219, 219, 219),
|
|
951
|
+
focus-shadow: 0 0 0 0.2rem rgba(98, 175, 97, .5),
|
|
952
|
+
focus-border: 1px solid oklch(0.69 0.18 142.52),
|
|
953
|
+
),
|
|
954
|
+
dark : (
|
|
955
|
+
color: #fff,
|
|
956
|
+
background: rgb(48, 56, 66),
|
|
957
|
+
border: 1px solid rgba(240, 246, 252, .25),
|
|
958
|
+
focus-shadow: 0 0 0 0.2rem rgba(98, 175, 97, .5),
|
|
959
|
+
focus-border: 1px solid oklch(0.69 0.18 142.52),
|
|
960
|
+
)
|
|
961
|
+
),
|
|
962
|
+
|
|
963
|
+
_subclasses : (
|
|
964
|
+
'&:focus-visible, &:focus' : (
|
|
965
|
+
box-shadow: var(--focus-shadow),
|
|
966
|
+
border: var(--focus-border),
|
|
967
|
+
)
|
|
968
|
+
)
|
|
969
|
+
),
|
|
970
|
+
|
|
971
|
+
'.textarea' : (
|
|
972
|
+
|
|
973
|
+
--border-radius: .25rem,
|
|
974
|
+
--padding: .5rem .75rem,
|
|
975
|
+
|
|
976
|
+
font-size: inherit,
|
|
977
|
+
font-weight: inherit,
|
|
978
|
+
font-family: inherit,
|
|
979
|
+
|
|
980
|
+
display: block,
|
|
981
|
+
|
|
982
|
+
appearance: none,
|
|
983
|
+
outline: none,
|
|
984
|
+
|
|
985
|
+
padding: var(--padding),
|
|
986
|
+
border-radius: var(--border-radius),
|
|
987
|
+
border: var(--border),
|
|
988
|
+
caret-color: var(--caret-color),
|
|
989
|
+
|
|
990
|
+
width: 100%,
|
|
991
|
+
|
|
992
|
+
transition: box-shadow .15s ease-in-out,
|
|
993
|
+
|
|
994
|
+
_colors: (
|
|
995
|
+
light : (
|
|
996
|
+
color: inherit,
|
|
997
|
+
background: rgb(250, 250, 250),
|
|
998
|
+
border: 1px solid rgb(219, 219, 219),
|
|
999
|
+
focus-shadow: 0 0 0 0.2rem rgba(98, 175, 97, .5),
|
|
1000
|
+
focus-border: 1px solid oklch(0.69 0.18 142.52),
|
|
1001
|
+
),
|
|
1002
|
+
dark : (
|
|
1003
|
+
color: #fff,
|
|
1004
|
+
background: rgb(48, 56, 66),
|
|
1005
|
+
border: 1px solid rgba(240, 246, 252, .25),
|
|
1006
|
+
focus-shadow: 0 0 0 0.2rem rgba(98, 175, 97, .5),
|
|
1007
|
+
focus-border: 1px solid oklch(0.69 0.18 142.52),
|
|
1008
|
+
)
|
|
1009
|
+
),
|
|
1010
|
+
|
|
1011
|
+
_subclasses : (
|
|
1012
|
+
'&:focus-visible, &:focus' : (
|
|
1013
|
+
box-shadow: var(--focus-shadow),
|
|
1014
|
+
border: var(--focus-border),
|
|
1015
|
+
)
|
|
1016
|
+
)
|
|
1017
|
+
),
|
|
1018
|
+
|
|
1019
|
+
'.select' : (
|
|
1020
|
+
|
|
1021
|
+
--border-radius: .25rem,
|
|
1022
|
+
--padding: .5rem .75rem,
|
|
1023
|
+
|
|
1024
|
+
font-size: inherit,
|
|
1025
|
+
font-weight: inherit,
|
|
1026
|
+
display: block,
|
|
1027
|
+
|
|
1028
|
+
appearance: none,
|
|
1029
|
+
outline: none,
|
|
1030
|
+
|
|
1031
|
+
padding: var(--padding),
|
|
1032
|
+
border-radius: var(--border-radius),
|
|
1033
|
+
border: var(--border),
|
|
1034
|
+
|
|
1035
|
+
width: 100%,
|
|
1036
|
+
|
|
1037
|
+
transition: box-shadow .15s ease-in-out,
|
|
1038
|
+
|
|
1039
|
+
_colors: (
|
|
1040
|
+
light : (
|
|
1041
|
+
color: inherit,
|
|
1042
|
+
background: rgb(250, 250, 250),
|
|
1043
|
+
border: 1px solid rgb(219, 219, 219),
|
|
1044
|
+
focus-shadow: 0 0 0 0.2rem rgba(98, 175, 97, .5),
|
|
1045
|
+
focus-border: 1px solid oklch(0.69 0.18 142.52),
|
|
1046
|
+
),
|
|
1047
|
+
dark : (
|
|
1048
|
+
color: #fff,
|
|
1049
|
+
background: rgb(48, 56, 66),
|
|
1050
|
+
border: 1px solid rgba(240, 246, 252, .25),
|
|
1051
|
+
focus-shadow: 0 0 0 0.2rem rgba(98, 175, 97, .5),
|
|
1052
|
+
focus-border: 1px solid oklch(0.69 0.18 142.52),
|
|
1053
|
+
)
|
|
1054
|
+
),
|
|
1055
|
+
|
|
1056
|
+
_subclasses : (
|
|
1057
|
+
'&:focus-visible, &:focus' : (
|
|
1058
|
+
box-shadow: var(--focus-shadow),
|
|
1059
|
+
border: var(--focus-border),
|
|
1060
|
+
)
|
|
1061
|
+
)
|
|
1062
|
+
),
|
|
704
1063
|
|
|
705
|
-
|
|
1064
|
+
'.checkbox' : (
|
|
1065
|
+
|
|
1066
|
+
--border-radius: .25rem,
|
|
1067
|
+
--padding: .5rem .75rem,
|
|
1068
|
+
|
|
1069
|
+
//padding: var(--padding),
|
|
1070
|
+
border-radius: var(--border-radius),
|
|
1071
|
+
border: var(--border),
|
|
1072
|
+
background: var(--background),
|
|
1073
|
+
//box-shadow: var(--shadow),
|
|
1074
|
+
|
|
1075
|
+
width: 16px,
|
|
1076
|
+
height: 16px,
|
|
1077
|
+
appearance: none,
|
|
1078
|
+
outline : none,
|
|
1079
|
+
|
|
1080
|
+
transition: box-shadow .15s ease-in-out,
|
|
1081
|
+
|
|
1082
|
+
_colors: (
|
|
1083
|
+
light : (
|
|
1084
|
+
background: rgba(250, 250, 250, .75),
|
|
1085
|
+
border: 1px solid rgb(219, 219, 219),
|
|
1086
|
+
//shadow: string.unquote('rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px ')
|
|
1087
|
+
focus-shadow: 0 0 0 0.2rem rgba(98, 175, 97, .5),
|
|
1088
|
+
focus-border: 1px solid oklch(0.69 0.18 142.52),
|
|
1089
|
+
),
|
|
1090
|
+
dark : (
|
|
1091
|
+
background: rgba(48, 56, 66, .85),
|
|
1092
|
+
border: 1px solid rgb(74, 109, 71, .25),
|
|
1093
|
+
//shadow: string.unquote('rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px ')
|
|
1094
|
+
focus-shadow: 0 0 0 0.2rem rgba(98, 175, 97, .5),
|
|
1095
|
+
focus-border: 1px solid oklch(0.69 0.18 142.52),
|
|
1096
|
+
)
|
|
1097
|
+
),
|
|
1098
|
+
|
|
1099
|
+
_subclasses : (
|
|
1100
|
+
'&:focus-visible, &:focus' : (
|
|
1101
|
+
box-shadow: var(--focus-shadow),
|
|
1102
|
+
border: var(--focus-border),
|
|
1103
|
+
),
|
|
1104
|
+
'&:checked' : (
|
|
1105
|
+
_colors: (
|
|
1106
|
+
light : (
|
|
1107
|
+
background: rgb(74, 109, 71) string.unquote(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")),
|
|
1108
|
+
border: 1px solid rgba(11, 47, 10, .25),
|
|
1109
|
+
),
|
|
1110
|
+
dark : (
|
|
1111
|
+
background: rgb(74, 109, 71) string.unquote(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")),
|
|
1112
|
+
border: 1px solid rgba(240, 246, 252, .25),
|
|
1113
|
+
)
|
|
1114
|
+
),
|
|
1115
|
+
),
|
|
1116
|
+
'&:indeterminate' : (
|
|
1117
|
+
_colors: (
|
|
1118
|
+
light : (
|
|
1119
|
+
border: 1px solid rgba(11, 47, 10, .25),
|
|
1120
|
+
background: rgb(74, 109, 71) string.unquote(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")),
|
|
1121
|
+
),
|
|
1122
|
+
dark : (
|
|
1123
|
+
background: rgb(74, 109, 71) string.unquote(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")),
|
|
1124
|
+
border: 1px solid rgba(240, 246, 252, .25),
|
|
1125
|
+
)
|
|
1126
|
+
),
|
|
1127
|
+
)
|
|
1128
|
+
)
|
|
1129
|
+
),
|
|
1130
|
+
|
|
1131
|
+
'.radio' : (
|
|
1132
|
+
|
|
1133
|
+
--border-radius: 50%,
|
|
1134
|
+
--padding: .5rem .75rem,
|
|
1135
|
+
|
|
1136
|
+
border-radius: var(--border-radius),
|
|
1137
|
+
border: var(--border),
|
|
1138
|
+
background: var(--background),
|
|
1139
|
+
|
|
1140
|
+
width: 16px,
|
|
1141
|
+
height: 16px,
|
|
1142
|
+
appearance: none,
|
|
1143
|
+
outline : none,
|
|
1144
|
+
|
|
1145
|
+
transition: string.unquote('box-shadow .15s ease-in-out'),
|
|
1146
|
+
|
|
1147
|
+
_colors: (
|
|
1148
|
+
light : (
|
|
1149
|
+
background: rgba(250, 250, 250, .75),
|
|
1150
|
+
border: 1px solid rgb(219, 219, 219),
|
|
1151
|
+
//shadow: string.unquote('rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px ')
|
|
1152
|
+
focus-shadow: 0 0 0 0.2rem rgba(98, 175, 97, .5),
|
|
1153
|
+
focus-border: 1px solid oklch(0.69 0.18 142.52),
|
|
1154
|
+
),
|
|
1155
|
+
dark : (
|
|
1156
|
+
background: rgba(48, 56, 66, .85),
|
|
1157
|
+
border: 1px solid rgb(74, 109, 71, .25),
|
|
1158
|
+
//shadow: string.unquote('rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px ')
|
|
1159
|
+
focus-shadow: 0 0 0 0.2rem rgba(98, 175, 97, .5),
|
|
1160
|
+
focus-border: 1px solid oklch(0.69 0.18 142.52),
|
|
1161
|
+
)
|
|
1162
|
+
),
|
|
1163
|
+
|
|
1164
|
+
_subclasses : (
|
|
1165
|
+
'&:focus-visible, &:focus' : (
|
|
1166
|
+
box-shadow: var(--focus-shadow),
|
|
1167
|
+
border: var(--focus-border),
|
|
1168
|
+
),
|
|
1169
|
+
'&:checked' : (
|
|
1170
|
+
_colors: (
|
|
1171
|
+
light : (
|
|
1172
|
+
background: rgb(74, 109, 71) string.unquote(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")),
|
|
1173
|
+
border: 1px solid rgba(11, 47, 10, .25),
|
|
1174
|
+
),
|
|
1175
|
+
dark : (
|
|
1176
|
+
background: rgb(74, 109, 71) string.unquote(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")),
|
|
1177
|
+
border: 1px solid rgba(240, 246, 252, .25),
|
|
1178
|
+
)
|
|
1179
|
+
),
|
|
1180
|
+
),
|
|
1181
|
+
)
|
|
1182
|
+
),
|
|
1183
|
+
|
|
1184
|
+
'.switcher' : (
|
|
1185
|
+
|
|
1186
|
+
_subclasses : (
|
|
1187
|
+
// .qhs:is(:where(.qhq):has(:checked) *)
|
|
1188
|
+
'&:has(:checked) .toggle' : (
|
|
1189
|
+
background: rgb(74, 109, 71),
|
|
1190
|
+
border: 1px solid rgba(11, 47, 10, 0.25),
|
|
1191
|
+
),
|
|
1192
|
+
'.toggle' : (
|
|
1193
|
+
background: var(--background),
|
|
1194
|
+
border: var(--border),
|
|
1195
|
+
border-radius: 1rem,
|
|
1196
|
+
display: inline-flex,
|
|
1197
|
+
position: relative,
|
|
1198
|
+
width: 2.75rem,
|
|
1199
|
+
height: 1.5rem,
|
|
1200
|
+
|
|
1201
|
+
_colors: (
|
|
1202
|
+
light : (
|
|
1203
|
+
background: oklch(0.985 0 89.876),
|
|
1204
|
+
border: 1px solid rgb(219, 219, 219),
|
|
1205
|
+
focus-shadow: 0 0 0 0.2rem rgba(98, 175, 97, .5),
|
|
1206
|
+
),
|
|
1207
|
+
dark : (
|
|
1208
|
+
background: rgba(48, 56, 66, 0.85),
|
|
1209
|
+
border: 1px solid rgba(74, 109, 71, 0.25),
|
|
1210
|
+
focus-shadow: 0 0 0 0.2rem rgba(98, 175, 97, .5),
|
|
1211
|
+
)
|
|
1212
|
+
),
|
|
1213
|
+
|
|
1214
|
+
_subclasses : (
|
|
1215
|
+
'.span' : (
|
|
1216
|
+
|
|
1217
|
+
width: 1.25rem,
|
|
1218
|
+
//height: calc(100% - 2px),
|
|
1219
|
+
display: flex,
|
|
1220
|
+
align-items: center,
|
|
1221
|
+
justify-content: center,
|
|
1222
|
+
position: absolute,
|
|
1223
|
+
inset: 1px,
|
|
1224
|
+
|
|
1225
|
+
border-radius: 50%,
|
|
1226
|
+
|
|
1227
|
+
transition: transform .2s cubic-bezier(.4,0,.2,1),
|
|
1228
|
+
pointer-events: none,
|
|
1229
|
+
|
|
1230
|
+
border: var(--switcher-border),
|
|
1231
|
+
background: var(--switcher-background),
|
|
1232
|
+
//box-shadow: string.unquote('rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(9, 9, 11, 0.25) 0px 1px 2px 0px'),
|
|
1233
|
+
|
|
1234
|
+
_colors: (
|
|
1235
|
+
light : (
|
|
1236
|
+
switcher-background: white,
|
|
1237
|
+
switcher-border: 1px solid rgb(219, 219, 219),
|
|
1238
|
+
),
|
|
1239
|
+
dark : (
|
|
1240
|
+
switcher-background: white,
|
|
1241
|
+
switcher-border: 1px solid rgba(41, 50, 57, 1),
|
|
1242
|
+
)
|
|
1243
|
+
),
|
|
1244
|
+
|
|
1245
|
+
_subclasses : (
|
|
1246
|
+
'.icon' : (
|
|
1247
|
+
width: .75rem,
|
|
1248
|
+
height: .75rem,
|
|
1249
|
+
opacity: 0,
|
|
1250
|
+
display: none,
|
|
1251
|
+
color: oklch(70.7% .022 261.325),
|
|
1252
|
+
),
|
|
1253
|
+
'.icon:first-child' : (
|
|
1254
|
+
opacity: 1,
|
|
1255
|
+
display: inherit,
|
|
1256
|
+
)
|
|
1257
|
+
)
|
|
1258
|
+
),
|
|
1259
|
+
'.span:is(:where(.switcher):has(:checked) *)' : (
|
|
1260
|
+
background: white,
|
|
1261
|
+
opacity: 1,
|
|
1262
|
+
transform: translateX(100%),
|
|
1263
|
+
border: 1px solid #3b5e38,
|
|
1264
|
+
|
|
1265
|
+
_subclasses : (
|
|
1266
|
+
'.icon' : (
|
|
1267
|
+
opacity: 0,
|
|
1268
|
+
display: none
|
|
1269
|
+
|
|
1270
|
+
),
|
|
1271
|
+
'.icon:last-child' : (
|
|
1272
|
+
opacity: 1,
|
|
1273
|
+
display: inherit,
|
|
1274
|
+
color: rgb(74, 109, 71),
|
|
1275
|
+
)
|
|
1276
|
+
)
|
|
1277
|
+
)
|
|
1278
|
+
)
|
|
1279
|
+
),
|
|
1280
|
+
'.switch' : (
|
|
1281
|
+
appearance: none,
|
|
1282
|
+
position: absolute,
|
|
1283
|
+
inset: 0,
|
|
1284
|
+
)
|
|
1285
|
+
)
|
|
1286
|
+
)
|
|
1287
|
+
),
|
|
1288
|
+
),
|
|
1289
|
+
|
|
1290
|
+
loader : (
|
|
1291
|
+
animation: loader-rotation 2s linear infinite,
|
|
1292
|
+
|
|
1293
|
+
_subclasses : (
|
|
1294
|
+
'& .circle' : (
|
|
1295
|
+
transform-origin: 50% 50%,
|
|
1296
|
+
stroke-width : 6,
|
|
1297
|
+
stroke-dasharray: 283,
|
|
1298
|
+
stroke-dashoffset: 280,
|
|
1299
|
+
stroke-linecap: round,
|
|
1300
|
+
stroke: var(--stroke),
|
|
1301
|
+
animation: loader-rotation-cicle 1.4s linear infinite,
|
|
1302
|
+
)
|
|
1303
|
+
),
|
|
1304
|
+
|
|
1305
|
+
_colors : (
|
|
1306
|
+
light : (
|
|
1307
|
+
stroke : rgba(0,0, 0, 0.85),
|
|
1308
|
+
),
|
|
1309
|
+
dark : (
|
|
1310
|
+
stroke : rgba(255,255, 255, 0.85),
|
|
1311
|
+
)
|
|
1312
|
+
),
|
|
1313
|
+
|
|
1314
|
+
_animations : (
|
|
1315
|
+
'loader-rotation' : (
|
|
1316
|
+
'0%' : (
|
|
1317
|
+
transform: rotate(0deg),
|
|
1318
|
+
),
|
|
1319
|
+
'100%' : (
|
|
1320
|
+
transform: rotate(360deg),
|
|
1321
|
+
)
|
|
1322
|
+
),
|
|
1323
|
+
'loader-rotation-cicle' : (
|
|
1324
|
+
'0%' : (
|
|
1325
|
+
stroke-dashoffset: 280,
|
|
1326
|
+
transform: rotate(0),
|
|
1327
|
+
),
|
|
1328
|
+
'15%' : (
|
|
1329
|
+
stroke-width : 6,
|
|
1330
|
+
),
|
|
1331
|
+
'40%' : (
|
|
1332
|
+
stroke-dasharray: 220,
|
|
1333
|
+
stroke-dashoffset: 150,
|
|
1334
|
+
),
|
|
1335
|
+
'100%' : (
|
|
1336
|
+
stroke-dashoffset: 280,
|
|
1337
|
+
transform: rotate(720deg),
|
|
1338
|
+
)
|
|
1339
|
+
)
|
|
1340
|
+
),
|
|
1341
|
+
),
|
|
1342
|
+
|
|
1343
|
+
table : (
|
|
1344
|
+
width: 100%,
|
|
1345
|
+
_subclasses : (
|
|
1346
|
+
'.top > * > *' : (
|
|
1347
|
+
padding: 0.5rem 0,
|
|
1348
|
+
border-bottom: 1px solid rgb(73, 80, 87),
|
|
1349
|
+
),
|
|
1350
|
+
'.middle > * > *' : (
|
|
1351
|
+
padding: 0.5rem 0,
|
|
1352
|
+
border-bottom: 1px solid rgb(73, 80, 87),
|
|
1353
|
+
),
|
|
1354
|
+
'.bottom > * > *' : (
|
|
1355
|
+
padding: 0.5rem 0,
|
|
1356
|
+
),
|
|
1357
|
+
'&.stripe' : (
|
|
1358
|
+
_subclasses : (
|
|
1359
|
+
'tbody tr:nth-child(odd) td' : (
|
|
1360
|
+
background: rgba(33, 37, 41, 0.95),
|
|
1361
|
+
)
|
|
1362
|
+
)
|
|
1363
|
+
),
|
|
1364
|
+
'&.hover' : (
|
|
1365
|
+
_subclasses : (
|
|
1366
|
+
'tbody tr:hover td' : (
|
|
1367
|
+
background: rgba(33, 37, 41, 0.95),
|
|
1368
|
+
)
|
|
1369
|
+
)
|
|
1370
|
+
)
|
|
1371
|
+
)
|
|
1372
|
+
),
|
|
1373
|
+
|
|
1374
|
+
overlay : (
|
|
1375
|
+
|
|
1376
|
+
--align-items : center,
|
|
1377
|
+
--justify-content : center,
|
|
1378
|
+
|
|
1379
|
+
background : var(--background),
|
|
1380
|
+
|
|
1381
|
+
position: absolute,
|
|
1382
|
+
top: 0,
|
|
1383
|
+
bottom: 0,
|
|
1384
|
+
left: 0,
|
|
1385
|
+
right: 0,
|
|
1386
|
+
|
|
1387
|
+
width: 100%,
|
|
1388
|
+
height: 100%,
|
|
1389
|
+
|
|
1390
|
+
display: none,
|
|
1391
|
+
|
|
1392
|
+
align-items: var(--align-items),
|
|
1393
|
+
justify-content: var(--justify-content),
|
|
1394
|
+
|
|
1395
|
+
z-index: functions.get-config($config, 'z-index.overlay'),
|
|
1396
|
+
|
|
1397
|
+
_colors: (
|
|
706
1398
|
light : (
|
|
707
1399
|
),
|
|
708
1400
|
dark : (
|
|
709
|
-
background: rgba(
|
|
1401
|
+
background: rgba(20, 20, 20, .85),
|
|
1402
|
+
)
|
|
1403
|
+
),
|
|
1404
|
+
|
|
1405
|
+
_subclasses : (
|
|
1406
|
+
'&.show' : (
|
|
1407
|
+
display: flex
|
|
1408
|
+
),
|
|
1409
|
+
'&.blurred' : (
|
|
1410
|
+
-webkit-backdrop-filter: blur(5px),
|
|
1411
|
+
backdrop-filter: blur(5px),
|
|
710
1412
|
)
|
|
711
1413
|
)
|
|
712
1414
|
),
|
|
713
1415
|
|
|
714
1416
|
pagination : (
|
|
1417
|
+
|
|
715
1418
|
--grid-template-columns: auto auto 1fr,
|
|
716
1419
|
--gap : 10px,
|
|
717
1420
|
--left-column-aligment: start,
|
|
718
1421
|
--center-column-alignment: center,
|
|
719
1422
|
--right-column-alignment: end,
|
|
1423
|
+
|
|
720
1424
|
position: relative,
|
|
721
1425
|
display: grid,
|
|
722
1426
|
width: 100%,
|
|
@@ -724,50 +1428,56 @@ $components-config: (
|
|
|
724
1428
|
align-items: center,
|
|
725
1429
|
grid-template-columns: var(--grid-template-columns),
|
|
726
1430
|
grid-gap: var(--gap),
|
|
727
|
-
|
|
728
|
-
|
|
1431
|
+
|
|
1432
|
+
_subclasses : (
|
|
1433
|
+
'.left' : (
|
|
729
1434
|
justify-self: var(--left-column-alignment),
|
|
730
1435
|
),
|
|
731
|
-
|
|
1436
|
+
'.center' : (
|
|
732
1437
|
justify-self: var(--center-column-alignment),
|
|
733
1438
|
),
|
|
734
|
-
|
|
1439
|
+
'.right' : (
|
|
735
1440
|
justify-self: var(--right-column-alignment)
|
|
736
1441
|
)
|
|
737
1442
|
),
|
|
738
1443
|
),
|
|
1444
|
+
|
|
739
1445
|
placeholder : (
|
|
1446
|
+
|
|
740
1447
|
--min-height: 0.55rem,
|
|
741
1448
|
--border-radius: .1875rem,
|
|
742
1449
|
--gap: .6rem,
|
|
1450
|
+
|
|
743
1451
|
cursor: wait,
|
|
744
1452
|
display: flex,
|
|
745
1453
|
flex-direction: column,
|
|
1454
|
+
|
|
746
1455
|
gap: var(--gap),
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
),
|
|
751
|
-
dark : (
|
|
752
|
-
background: #ccc
|
|
753
|
-
)
|
|
754
|
-
),
|
|
755
|
-
subclasses : (
|
|
756
|
-
".el" : (
|
|
1456
|
+
|
|
1457
|
+
_subclasses : (
|
|
1458
|
+
'.el' : (
|
|
757
1459
|
min-height: var(--min-height),
|
|
758
1460
|
border-radius: var(--border-radius),
|
|
759
|
-
background: var(--background)
|
|
1461
|
+
background: var(--background),
|
|
1462
|
+
_colors: (
|
|
1463
|
+
light : (
|
|
1464
|
+
background: rgba(190, 190, 190, 0.75),
|
|
1465
|
+
),
|
|
1466
|
+
dark : (
|
|
1467
|
+
background: #ccc
|
|
1468
|
+
)
|
|
1469
|
+
),
|
|
760
1470
|
),
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
1471
|
+
'&.glow' : (
|
|
1472
|
+
_subclasses : (
|
|
1473
|
+
'.el' : (
|
|
764
1474
|
animation: placeholder-glow 2s ease-in-out infinite,
|
|
765
1475
|
)
|
|
766
1476
|
)
|
|
767
1477
|
),
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
1478
|
+
'&.wave' : (
|
|
1479
|
+
_subclasses : (
|
|
1480
|
+
'.el' : (
|
|
771
1481
|
mask-size: 200% 100%,
|
|
772
1482
|
-webkit-mask-size: 200% 100%,
|
|
773
1483
|
mask-image: linear-gradient(90deg, #0000, #fff, #0000),
|
|
@@ -776,6 +1486,158 @@ $components-config: (
|
|
|
776
1486
|
)
|
|
777
1487
|
)
|
|
778
1488
|
)
|
|
1489
|
+
),
|
|
1490
|
+
|
|
1491
|
+
_animations : (
|
|
1492
|
+
'placeholder-glow' : (
|
|
1493
|
+
'50%' : (
|
|
1494
|
+
opacity: 0.5,
|
|
1495
|
+
)
|
|
1496
|
+
),
|
|
1497
|
+
'placeholder-wave' : (
|
|
1498
|
+
'100%' : (
|
|
1499
|
+
mask-position: -200% 0,
|
|
1500
|
+
-webkit-mask-position: -200% 0,
|
|
1501
|
+
)
|
|
1502
|
+
)
|
|
1503
|
+
)
|
|
1504
|
+
),
|
|
1505
|
+
|
|
1506
|
+
megamenu : (
|
|
1507
|
+
position: relative,
|
|
1508
|
+
_subclasses : (
|
|
1509
|
+
'& .mega-link:hover' : (
|
|
1510
|
+
_subclasses : (
|
|
1511
|
+
'& .megamenu' : (
|
|
1512
|
+
display: block,
|
|
1513
|
+
|
|
1514
|
+
opacity: 1,
|
|
1515
|
+
transform: translateY(0),
|
|
1516
|
+
|
|
1517
|
+
_atrule : (
|
|
1518
|
+
'@starting-style' : (
|
|
1519
|
+
opacity: 0,
|
|
1520
|
+
transform: translateY(-5px)
|
|
1521
|
+
)
|
|
1522
|
+
),
|
|
1523
|
+
)
|
|
1524
|
+
)
|
|
1525
|
+
),
|
|
1526
|
+
'& .megamenu' : (
|
|
1527
|
+
--padding: 0.75rem,
|
|
1528
|
+
|
|
1529
|
+
display: none,
|
|
1530
|
+
|
|
1531
|
+
position: absolute,
|
|
1532
|
+
left: 0,
|
|
1533
|
+
right: 0,
|
|
1534
|
+
width: 100%,
|
|
1535
|
+
|
|
1536
|
+
margin-top: 5px,
|
|
1537
|
+
border-radius: 0.25rem,
|
|
1538
|
+
|
|
1539
|
+
transition: string.unquote('opacity 0.15s ease-in, transform 0.15s ease-in, display 0.15s ease-in allow-discrete'),
|
|
1540
|
+
transform: translateY(-5px),
|
|
1541
|
+
opacity: 0,
|
|
1542
|
+
|
|
1543
|
+
background: var(--background),
|
|
1544
|
+
border: var(--border),
|
|
1545
|
+
box-shadow: var(--shadow),
|
|
1546
|
+
padding: var(--padding),
|
|
1547
|
+
|
|
1548
|
+
_colors: (
|
|
1549
|
+
light : (
|
|
1550
|
+
background: rgba(246, 246, 247, 1),
|
|
1551
|
+
border: 1px solid rgb(219, 219, 219),
|
|
1552
|
+
shadow: string.unquote('rgba(37, 41, 46, 0.04) 0px 6px 12px -3px, rgba(37, 41, 46, 0.12) 0px 6px 18px 0px'),
|
|
1553
|
+
),
|
|
1554
|
+
dark : (
|
|
1555
|
+
background: rgb(18, 18, 24),
|
|
1556
|
+
border: 1px solid rgba(48, 54, 61, 0.75),
|
|
1557
|
+
shadow: string.unquote('rgba(37, 41, 46, 0.04) 0px 6px 12px -3px, rgba(37, 41, 46, 0.12) 0px 6px 18px 0px'),
|
|
1558
|
+
)
|
|
1559
|
+
)
|
|
1560
|
+
|
|
1561
|
+
),
|
|
1562
|
+
)
|
|
1563
|
+
),
|
|
1564
|
+
|
|
1565
|
+
modal : (
|
|
1566
|
+
|
|
1567
|
+
display: none,
|
|
1568
|
+
height: auto,
|
|
1569
|
+
flex-direction: column,
|
|
1570
|
+
padding: 0,
|
|
1571
|
+
|
|
1572
|
+
//background: var(--background),
|
|
1573
|
+
//box-shadow: var(--box-shadow),
|
|
1574
|
+
//border-left: 1px solid rgb(4, 90, 195),
|
|
1575
|
+
|
|
1576
|
+
//will-change: transform,
|
|
1577
|
+
//transition: transform 300ms cubic-bezier(0.25,0.1,0.25,1),
|
|
1578
|
+
//transform-origin: right,
|
|
1579
|
+
//transform: translateX(100%),
|
|
1580
|
+
|
|
1581
|
+
background: var(--background),
|
|
1582
|
+
border: var(--border),
|
|
1583
|
+
|
|
1584
|
+
max-width: 42rem,
|
|
1585
|
+
width: 100%,
|
|
1586
|
+
margin: 0 auto,
|
|
1587
|
+
border-radius: 7px,
|
|
1588
|
+
transition: string.unquote('opacity 0.15s ease-in, display 0.15s ease-in allow-discrete, transform 0.15s ease-in'),
|
|
1589
|
+
transform: scale(.75),
|
|
1590
|
+
|
|
1591
|
+
box-shadow: string.unquote('rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.1) 0px 8px 10px -6px;'),
|
|
1592
|
+
opacity: 0,
|
|
1593
|
+
//transition: string.unquote('opacity 1s, display 1s allow-discrete'),
|
|
1594
|
+
|
|
1595
|
+
z-index: functions.get-config($config, 'z-index.modal'),
|
|
1596
|
+
|
|
1597
|
+
_colors: (
|
|
1598
|
+
light : (
|
|
1599
|
+
border: 1px solid rgba(198, 198, 198, .75),
|
|
1600
|
+
background : rgba(246, 246, 247, 1),
|
|
1601
|
+
box-shadow: string.unquote('0rem 1.25rem 1.25rem -0.5rem rgba(26,26,26,.28)'),
|
|
1602
|
+
),
|
|
1603
|
+
dark: (
|
|
1604
|
+
border: 1px solid rgba(48, 54, 61, 0.75),
|
|
1605
|
+
background: rgb(13, 17, 23),
|
|
1606
|
+
box-shadow: string.unquote('rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.1) 0px 8px 10px -6px;'),
|
|
1607
|
+
)
|
|
1608
|
+
),
|
|
1609
|
+
|
|
1610
|
+
_subclasses : (
|
|
1611
|
+
'&[open]' : (
|
|
1612
|
+
display: flex,
|
|
1613
|
+
opacity: 1,
|
|
1614
|
+
transform: scale(1),
|
|
1615
|
+
transition: string.unquote('opacity 0.3s ease-out, display 0.3s ease-out allow-discrete, transform 0.3s ease-out'),
|
|
1616
|
+
_atrule : (
|
|
1617
|
+
'@starting-style' : (
|
|
1618
|
+
opacity: 0,
|
|
1619
|
+
transform: scale(.75)
|
|
1620
|
+
)
|
|
1621
|
+
),
|
|
1622
|
+
),
|
|
1623
|
+
'& > :nth-child(1)' : (
|
|
1624
|
+
display: flex,
|
|
1625
|
+
justify-content: space-between,
|
|
1626
|
+
),
|
|
1627
|
+
'& > :nth-child(2)' : (
|
|
1628
|
+
height: 100%,
|
|
1629
|
+
padding: 1rem 0,
|
|
1630
|
+
),
|
|
1631
|
+
'& > :nth-child(3)' : (
|
|
1632
|
+
display: flex,
|
|
1633
|
+
justify-content: flex-end,
|
|
1634
|
+
)
|
|
1635
|
+
),
|
|
1636
|
+
|
|
1637
|
+
_animations : (
|
|
1638
|
+
'modal_animation_toggle' : (
|
|
1639
|
+
|
|
1640
|
+
)
|
|
779
1641
|
)
|
|
780
1642
|
),
|
|
781
1643
|
|
|
@@ -793,14 +1655,7 @@ $components-config: (
|
|
|
793
1655
|
padding: 0,
|
|
794
1656
|
list-style-type: none,
|
|
795
1657
|
|
|
796
|
-
|
|
797
|
-
light : (
|
|
798
|
-
),
|
|
799
|
-
dark: (
|
|
800
|
-
)
|
|
801
|
-
),
|
|
802
|
-
|
|
803
|
-
subclasses : (
|
|
1658
|
+
_subclasses : (
|
|
804
1659
|
'&.horizontal' : (
|
|
805
1660
|
--align-items: center,
|
|
806
1661
|
--flex-direction : row,
|
|
@@ -809,6 +1664,7 @@ $components-config: (
|
|
|
809
1664
|
'&.vertical' : (
|
|
810
1665
|
--flex-direction : column,
|
|
811
1666
|
--align-items: auto,
|
|
1667
|
+
--gap : 0.5rem,
|
|
812
1668
|
),
|
|
813
1669
|
'&.tabs' : (
|
|
814
1670
|
),
|
|
@@ -816,19 +1672,10 @@ $components-config: (
|
|
|
816
1672
|
),
|
|
817
1673
|
'.item' : (
|
|
818
1674
|
width: auto,
|
|
819
|
-
|
|
1675
|
+
_subclasses : (
|
|
820
1676
|
'.link' : (
|
|
821
1677
|
display: inline-flex,
|
|
822
|
-
|
|
823
|
-
colors: (
|
|
824
|
-
light : (
|
|
825
|
-
color: '#333',
|
|
826
|
-
),
|
|
827
|
-
dark : (
|
|
828
|
-
color: '#fff'
|
|
829
|
-
)
|
|
830
|
-
),
|
|
831
|
-
subclasses: (
|
|
1678
|
+
_subclasses: (
|
|
832
1679
|
'&:hover' : (
|
|
833
1680
|
text-decoration : none
|
|
834
1681
|
)
|
|
@@ -838,60 +1685,278 @@ $components-config: (
|
|
|
838
1685
|
)
|
|
839
1686
|
)
|
|
840
1687
|
),
|
|
1688
|
+
|
|
841
1689
|
navbar : (
|
|
842
1690
|
|
|
843
1691
|
--grid-template-columns: auto auto 1fr,
|
|
844
1692
|
--gap : 10px,
|
|
845
|
-
|
|
846
|
-
--center-column-alignnent: center,
|
|
847
|
-
--right-column-alignment: end,
|
|
848
|
-
position: relative,
|
|
1693
|
+
|
|
849
1694
|
display: grid,
|
|
850
1695
|
width: 100%,
|
|
851
1696
|
max-width: 100%,
|
|
852
1697
|
align-items: center,
|
|
853
1698
|
margin: 0,
|
|
854
1699
|
padding: 0,
|
|
1700
|
+
|
|
855
1701
|
grid-template-columns: var(--grid-template-columns),
|
|
856
1702
|
grid-gap: var(--gap),
|
|
857
|
-
|
|
1703
|
+
),
|
|
1704
|
+
|
|
1705
|
+
sidecap : (
|
|
1706
|
+
|
|
1707
|
+
--width : 20.75rem,
|
|
1708
|
+
|
|
1709
|
+
display: none,
|
|
1710
|
+
flex-direction: column,
|
|
1711
|
+
|
|
1712
|
+
position: fixed,
|
|
1713
|
+
top: 0,
|
|
1714
|
+
right: 0,
|
|
1715
|
+
height: 100%,
|
|
1716
|
+
|
|
1717
|
+
width: var(--width),
|
|
1718
|
+
background: var(--background),
|
|
1719
|
+
box-shadow: var(--box-shadow),
|
|
1720
|
+
border-left: var(--border),
|
|
1721
|
+
transform: translateX(100%),
|
|
1722
|
+
transition: string.unquote('opacity 0.3s ease-in, transform 0.3s ease-in, display 0.3s ease-in allow-discrete'),
|
|
1723
|
+
opacity : 0,
|
|
1724
|
+
|
|
1725
|
+
_colors: (
|
|
858
1726
|
light : (
|
|
1727
|
+
background: rgba(246, 246, 247, 1),
|
|
1728
|
+
border: 1px solid rgb(219, 219, 219),
|
|
1729
|
+
box-shadow: string.unquote('0rem 1.25rem 1.25rem -0.5rem rgba(26,26,26,.28)'),
|
|
859
1730
|
),
|
|
860
1731
|
dark: (
|
|
1732
|
+
background: rgb(18, 18, 24),
|
|
1733
|
+
border: 1px solid rgba(48, 54, 61, 0.75),
|
|
1734
|
+
box-shadow: string.unquote('rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.1) 0px 8px 10px -6px;'),
|
|
861
1735
|
)
|
|
862
1736
|
),
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
1737
|
+
|
|
1738
|
+
_subclasses : (
|
|
1739
|
+
'&.open' : (
|
|
1740
|
+
transform: translateX(0),
|
|
1741
|
+
display: flex,
|
|
1742
|
+
opacity: 1,
|
|
1743
|
+
transition: string.unquote('opacity 0.3s ease-out, transform 0.3s ease-out, display 0.3s ease-out allow-discrete'),
|
|
1744
|
+
_atrule : (
|
|
1745
|
+
'@starting-style' : (
|
|
1746
|
+
opacity: 0,
|
|
1747
|
+
transform: translateX(100%),
|
|
1748
|
+
)
|
|
1749
|
+
),
|
|
866
1750
|
),
|
|
867
|
-
|
|
868
|
-
|
|
1751
|
+
'& > :nth-child(1)' : (
|
|
1752
|
+
display: flex,
|
|
1753
|
+
padding: 0.25rem,
|
|
1754
|
+
justify-content: space-between,
|
|
869
1755
|
),
|
|
870
|
-
|
|
871
|
-
|
|
1756
|
+
'& > :nth-child(2)' : (
|
|
1757
|
+
height: 100%,
|
|
1758
|
+
padding: 0.25rem,
|
|
1759
|
+
),
|
|
1760
|
+
'& > :nth-child(3)' : (
|
|
1761
|
+
display: flex,
|
|
1762
|
+
padding: 0.25rem,
|
|
872
1763
|
)
|
|
873
1764
|
)
|
|
874
1765
|
),
|
|
875
1766
|
|
|
876
|
-
|
|
1767
|
+
tooltip : (
|
|
877
1768
|
|
|
878
|
-
position:
|
|
879
|
-
top: 0,
|
|
880
|
-
right: 0,
|
|
881
|
-
height: 100%,
|
|
882
|
-
display: flex,
|
|
883
|
-
flex-direction: column,
|
|
884
|
-
width: 300px,
|
|
1769
|
+
position: relative,
|
|
885
1770
|
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
1771
|
+
_subclasses : (
|
|
1772
|
+
|
|
1773
|
+
'&.on-hover:hover .tooltip, .tooltip.show' : (
|
|
1774
|
+
display: block,
|
|
1775
|
+
opacity: 1,
|
|
1776
|
+
transform: translateY(5px),
|
|
1777
|
+
|
|
1778
|
+
transition: string.unquote('transform 0.15s ease-out, opacity 0.15s ease-out, display 0.15s ease-out allow-discrete'),
|
|
1779
|
+
|
|
1780
|
+
_atrule : (
|
|
1781
|
+
'@starting-style' : (
|
|
1782
|
+
opacity: 0,
|
|
1783
|
+
transform: translateY(-3px)
|
|
1784
|
+
)
|
|
1785
|
+
),
|
|
1786
|
+
|
|
1787
|
+
_subclasses : (
|
|
1788
|
+
'&.to-left' : (
|
|
1789
|
+
transform: translateX(-3px),
|
|
1790
|
+
_atrule : (
|
|
1791
|
+
'@starting-style' : (
|
|
1792
|
+
opacity: 0,
|
|
1793
|
+
transform: translateX(-2px)
|
|
1794
|
+
)
|
|
1795
|
+
),
|
|
1796
|
+
),
|
|
1797
|
+
'&.to-right' : (
|
|
1798
|
+
transform: translateX(3px),
|
|
1799
|
+
_atrule : (
|
|
1800
|
+
'@starting-style' : (
|
|
1801
|
+
opacity: 0,
|
|
1802
|
+
transform: translateX(-2px)
|
|
1803
|
+
)
|
|
1804
|
+
),
|
|
1805
|
+
)
|
|
1806
|
+
)
|
|
1807
|
+
),
|
|
1808
|
+
|
|
1809
|
+
'.tooltip' : (
|
|
1810
|
+
|
|
1811
|
+
--padding: 0.25rem 0.5rem,
|
|
1812
|
+
|
|
1813
|
+
border: var(--border),
|
|
1814
|
+
background: var(--background),
|
|
1815
|
+
padding: var(--padding),
|
|
1816
|
+
|
|
1817
|
+
opacity: 0,
|
|
1818
|
+
display: none,
|
|
1819
|
+
|
|
1820
|
+
position: absolute,
|
|
1821
|
+
bottom: calc(100% + 10px),
|
|
1822
|
+
left: calc(50% - 1px),
|
|
1823
|
+
width: auto,
|
|
1824
|
+
|
|
1825
|
+
font-size: 0.875rem,
|
|
1826
|
+
border-radius: 5px,
|
|
1827
|
+
|
|
1828
|
+
z-index: functions.get-config($config, 'z-index.tooltip'),
|
|
1829
|
+
|
|
1830
|
+
color: inherit,
|
|
1831
|
+
|
|
1832
|
+
transition: string.unquote('transform 0.15s ease-in, opacity 0.15s ease-in, display 0.15s ease-in allow-discrete'),
|
|
1833
|
+
translate: -50% 0,
|
|
1834
|
+
|
|
1835
|
+
_colors : (
|
|
1836
|
+
light : (
|
|
1837
|
+
background: #fff,
|
|
1838
|
+
border: 1px solid #e5e6ea,
|
|
1839
|
+
),
|
|
1840
|
+
dark : (
|
|
1841
|
+
background: #18191b,
|
|
1842
|
+
border: 1px solid #35383c,
|
|
1843
|
+
)
|
|
1844
|
+
),
|
|
1845
|
+
|
|
1846
|
+
_atrule : (
|
|
1847
|
+
'@starting-style' : (
|
|
1848
|
+
opacity: 0,
|
|
1849
|
+
transform: translateY(-3px)
|
|
1850
|
+
)
|
|
1851
|
+
),
|
|
1852
|
+
|
|
1853
|
+
_subclasses : (
|
|
1854
|
+
|
|
1855
|
+
'& > :first-child' : (
|
|
1856
|
+
position: relative,
|
|
1857
|
+
z-index: functions.get-config($config, 'z-index.tooltip'),
|
|
1858
|
+
),
|
|
1859
|
+
|
|
1860
|
+
'&.to-bottom' : (
|
|
1861
|
+
bottom: unset,
|
|
1862
|
+
top: calc(100% + 5px),
|
|
1863
|
+
|
|
1864
|
+
_subclasses : (
|
|
1865
|
+
'&.with-arrow' : (
|
|
1866
|
+
_subclasses : (
|
|
1867
|
+
'&:before' : (
|
|
1868
|
+
left: calc(50% - 1px),
|
|
1869
|
+
top: -0.5px,
|
|
1870
|
+
),
|
|
1871
|
+
'&:after' : (
|
|
1872
|
+
left: calc(50% - 1px),
|
|
1873
|
+
top: -2px,
|
|
1874
|
+
)
|
|
1875
|
+
)
|
|
1876
|
+
)
|
|
1877
|
+
)
|
|
1878
|
+
),
|
|
1879
|
+
|
|
1880
|
+
'&.to-right' : (
|
|
1881
|
+
bottom: auto,
|
|
1882
|
+
right: -5px,
|
|
1883
|
+
left: unset,
|
|
1884
|
+
top: 50%,
|
|
1885
|
+
translate: 100% -50%,
|
|
1886
|
+
|
|
1887
|
+
_subclasses : (
|
|
1888
|
+
'&.with-arrow' : (
|
|
1889
|
+
_subclasses : (
|
|
1890
|
+
'&:before' : (
|
|
1891
|
+
left: -0.5px,
|
|
1892
|
+
top: 50%,
|
|
1893
|
+
),
|
|
1894
|
+
'&:after' : (
|
|
1895
|
+
left: -2px,
|
|
1896
|
+
top: 50%,
|
|
1897
|
+
)
|
|
1898
|
+
)
|
|
1899
|
+
)
|
|
1900
|
+
)
|
|
1901
|
+
),
|
|
1902
|
+
|
|
1903
|
+
'&.to-left' : (
|
|
1904
|
+
bottom: auto,
|
|
1905
|
+
top: 50%,
|
|
1906
|
+
left: -5px,
|
|
1907
|
+
right: unset,
|
|
1908
|
+
translate: -100% -50%,
|
|
1909
|
+
|
|
1910
|
+
_subclasses : (
|
|
1911
|
+
'&.with-arrow' : (
|
|
1912
|
+
_subclasses : (
|
|
1913
|
+
'&:before' : (
|
|
1914
|
+
left: calc(100% - 2px),
|
|
1915
|
+
top: 50%,
|
|
1916
|
+
),
|
|
1917
|
+
'&:after' : (
|
|
1918
|
+
left: calc(100% - 0.5px),
|
|
1919
|
+
top: 50%,
|
|
1920
|
+
)
|
|
1921
|
+
)
|
|
1922
|
+
)
|
|
1923
|
+
)
|
|
1924
|
+
),
|
|
1925
|
+
|
|
1926
|
+
'&.with-arrow' : (
|
|
1927
|
+
|
|
1928
|
+
_subclasses : (
|
|
1929
|
+
|
|
1930
|
+
'&:before' : (
|
|
1931
|
+
content: '',
|
|
1932
|
+
position: absolute,
|
|
1933
|
+
display: block,
|
|
1934
|
+
width: 8px,
|
|
1935
|
+
height: 8px,
|
|
1936
|
+
transform-origin: 50% 50%,
|
|
1937
|
+
transform: rotate(45deg) translateX(-50%),
|
|
1938
|
+
background-color: var(--background),
|
|
1939
|
+
left: calc(50% - 1px),
|
|
1940
|
+
top: calc(100% - 2px),
|
|
1941
|
+
),
|
|
1942
|
+
|
|
1943
|
+
'&:after' : (
|
|
1944
|
+
content: '',
|
|
1945
|
+
display: block,
|
|
1946
|
+
position: absolute,
|
|
1947
|
+
width: 8px,
|
|
1948
|
+
height: 8px,
|
|
1949
|
+
transform-origin: 50% 50%,
|
|
1950
|
+
transform: rotate(45deg) translateX(-50%),
|
|
1951
|
+
border: var(--border),
|
|
1952
|
+
left: calc(50% - 1px),
|
|
1953
|
+
top: calc(100% - 0.5px),
|
|
1954
|
+
z-index: -1,
|
|
1955
|
+
),
|
|
1956
|
+
)
|
|
1957
|
+
),
|
|
1958
|
+
)
|
|
890
1959
|
),
|
|
891
|
-
dark: (
|
|
892
|
-
background: rgb(45, 56, 66),
|
|
893
|
-
box-shadow: 0rem 1.25rem 1.25rem -0.5rem rgba(26, 26, 26, .28)
|
|
894
|
-
)
|
|
895
1960
|
)
|
|
896
1961
|
)
|
|
897
1962
|
)
|