@jsb188/css 1.0.4 → 1.1.3
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/css/_global.css +497 -156
- package/css/_sizing.css +250 -45
- package/css/animate.css +183 -0
- package/css/form.css +60 -19
- package/css/layout.css +23 -23
- package/css/list.css +2 -0
- package/css/loading.css +5 -16
- package/css/modal.css +4 -4
- package/css/popover.css +43 -222
- package/package.json +2 -1
package/css/_sizing.css
CHANGED
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
.page_ht { min-height: 100vh; }
|
|
5
5
|
.rel { position: relative; }
|
|
6
|
-
.sticky { position: sticky; top: 0; left: 0; right: 0; }
|
|
7
6
|
.fixed { position: fixed; }
|
|
8
|
-
.
|
|
7
|
+
.sticky { position: sticky; }
|
|
8
|
+
.sticky_top { position: sticky; top: 0; left: 0; right: 0; }
|
|
9
|
+
.sticky_bottom { position: sticky; bottom: 0; left: 0; right: 0; }
|
|
9
10
|
|
|
10
11
|
.abs {
|
|
11
12
|
position: absolute;
|
|
@@ -55,16 +56,22 @@
|
|
|
55
56
|
/* Typography */
|
|
56
57
|
|
|
57
58
|
h1, h2, h3, h4, h5, h6 {
|
|
58
|
-
font-family: var(--font-heading);
|
|
59
59
|
font-weight: normal;
|
|
60
|
+
font-size: 2em; /* This is em (not rem) on purpose */
|
|
60
61
|
line-height: 1.3;
|
|
62
|
+
letter-spacing: -.0075em;
|
|
63
|
+
text-indent: -.0075em;
|
|
61
64
|
|
|
62
|
-
padding: .
|
|
65
|
+
padding: .5em 0 .25em;
|
|
63
66
|
margin: 0;
|
|
64
67
|
word-wrap: break-word;
|
|
65
68
|
}
|
|
66
69
|
|
|
67
|
-
|
|
70
|
+
h1, h2, h3, h4 {
|
|
71
|
+
font-family: var(--font-heading);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
h5, h6, strong, .ft_bold {
|
|
68
75
|
font-family: var(--font-sans-bold);
|
|
69
76
|
font-weight: normal;
|
|
70
77
|
}
|
|
@@ -82,32 +89,34 @@ div, p {
|
|
|
82
89
|
word-wrap: break-word;
|
|
83
90
|
}
|
|
84
91
|
|
|
85
|
-
.
|
|
86
|
-
.
|
|
87
|
-
.
|
|
88
|
-
.
|
|
89
|
-
.
|
|
90
|
-
.
|
|
92
|
+
.ft_tn { font-size: var(--text-xxsmall); }
|
|
93
|
+
.ft_xs { font-size: var(--text-xsmall); }
|
|
94
|
+
.ft_sm { font-size: var(--text-small); }
|
|
95
|
+
.ft_df { font-size: var(--text-default); }
|
|
96
|
+
.ft_md { font-size: var(--text-medium); }
|
|
97
|
+
.ft_lg { font-size: var(--text-large); }
|
|
91
98
|
.ft_xl { font-size: var(--text-xlarge); }
|
|
92
99
|
|
|
93
|
-
.
|
|
94
|
-
.
|
|
95
|
-
.
|
|
96
|
-
.
|
|
97
|
-
.lh_l { line-height: 1.9; }
|
|
100
|
+
.ft_1 { font-size: 1.1em;}
|
|
101
|
+
.ft_2 { font-size: 1.5em;}
|
|
102
|
+
.ft_3 { font-size: 2em;}
|
|
103
|
+
.ft_4 { font-size: 2.5em;}
|
|
98
104
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
105
|
+
.lh_1 { line-height: 1.1; }
|
|
106
|
+
.lh_2 { line-height: 1.3; }
|
|
107
|
+
.lh_3 { line-height: 1.5; }
|
|
108
|
+
.lh_4 { line-height: 1.7; }
|
|
109
|
+
|
|
110
|
+
.ls_1 { letter-spacing: -.1em; text-indent: -.1em; }
|
|
111
|
+
.ls_2 { letter-spacing: -.04em; text-indent: -.04em; }
|
|
104
112
|
|
|
105
|
-
h1.
|
|
106
|
-
h1.
|
|
107
|
-
h1.
|
|
108
|
-
h1.
|
|
109
|
-
h1.
|
|
110
|
-
h1.
|
|
113
|
+
h1.ft_tn, h2.ft_tn, h3.ft_tn, h4.ft_tn, h5.ft_tn, h6.ft_tn { font-size: var(--heading-xxsmall); }
|
|
114
|
+
h1.ft_xs, h2.ft_xs, h3.ft_xs, h4.ft_xs, h5.ft_xs, h6.ft_xs { font-size: var(--heading-xsmall); }
|
|
115
|
+
h1.ft_sm, h2.ft_sm, h3.ft_sm, h4.ft_sm, h5.ft_sm, h6.ft_sm { font-size: var(--heading-small); }
|
|
116
|
+
h1.ft_df, h2.ft_df, h3.ft_df, h4.ft_df, h5.ft_df, h6.ft_df { font-size: var(--heading-default); }
|
|
117
|
+
h1.ft_md, h2.ft_md, h3.ft_md, h4.ft_md, h5.ft_md, h6.ft_md { font-size: var(--heading-medium); }
|
|
118
|
+
h1.ft_lg, h2.ft_lg, h3.ft_lg, h4.ft_lg, h5.ft_lg, h6.ft_lg { font-size: var(--heading-large); }
|
|
119
|
+
h1.ft_xl, h2.ft_xl, h3.ft_xl, h4.ft_xl, h5.ft_xl, h6.ft_xl { font-size: var(--heading-xlarge); }
|
|
111
120
|
|
|
112
121
|
/* Icon */
|
|
113
122
|
|
|
@@ -132,7 +141,14 @@ h1.ft_l, h2.ft_l, h3.ft_l, h4.ft_l, h5.ft_l, h6.ft_l { font-size: var(--heading-
|
|
|
132
141
|
.ic_sm .ic_special { width: 14px; height: 14px; }
|
|
133
142
|
|
|
134
143
|
.shift_up { transform: translateY(-1px); }
|
|
135
|
-
.
|
|
144
|
+
.shift_down { transform: translateY(1px); }
|
|
145
|
+
.shift_left { transform: translateX(-1px); }
|
|
146
|
+
.shift_right { transform: translateX(1px); }
|
|
147
|
+
|
|
148
|
+
.move_up { transform: translateY(-4px); }
|
|
149
|
+
.move_down { transform: translateY(4px); }
|
|
150
|
+
.move_left { transform: translateX(-4px); }
|
|
151
|
+
.move_right { transform: translateX(4px); }
|
|
136
152
|
|
|
137
153
|
.icon {
|
|
138
154
|
width: 1em;
|
|
@@ -149,9 +165,19 @@ h1.ft_l, h2.ft_l, h3.ft_l, h4.ft_l, h5.ft_l, h6.ft_l { font-size: var(--heading-
|
|
|
149
165
|
font-family: 'Noto Color Emoji', sans-serif;
|
|
150
166
|
font-weight: 400;
|
|
151
167
|
font-style: normal;
|
|
168
|
+
line-height: 1;
|
|
169
|
+
margin: 0 .15em;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.noto_emoji:first-child {
|
|
173
|
+
margin-left: 0;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.noto_emoji:last-child {
|
|
177
|
+
margin-right: 0;
|
|
152
178
|
}
|
|
153
179
|
|
|
154
|
-
.
|
|
180
|
+
.ft_lg .noto_emoji {
|
|
155
181
|
display: inline-block;
|
|
156
182
|
transform: translateY(-2px);
|
|
157
183
|
}
|
|
@@ -174,13 +200,38 @@ h1.ft_l, h2.ft_l, h3.ft_l, h4.ft_l, h5.ft_l, h6.ft_l { font-size: var(--heading-
|
|
|
174
200
|
height: 1.25em;
|
|
175
201
|
}
|
|
176
202
|
|
|
203
|
+
/* Gap */
|
|
204
|
+
|
|
205
|
+
.gap_1 { gap: .25rem; }
|
|
206
|
+
.gap_2 { gap: .4rem; }
|
|
207
|
+
.gap_3 { gap: .55rem; }
|
|
208
|
+
|
|
209
|
+
.g_fill { grid-column: 1 / -1; }
|
|
210
|
+
|
|
211
|
+
.gap_xs { gap: var(--rem-xsmall); }
|
|
212
|
+
.gap_sm { gap: var(--rem-small); }
|
|
213
|
+
.gap_df { gap: var(--rem-default); }
|
|
214
|
+
.gap_md { gap: var(--rem-medium); }
|
|
215
|
+
.gap_lg { gap: var(--rem-large); }
|
|
216
|
+
.gap_xl { gap: var(--rem-xlarge); }
|
|
217
|
+
|
|
177
218
|
/* Padding */
|
|
178
219
|
|
|
179
220
|
.p_n { padding: 0 !important; }
|
|
221
|
+
.px_n { padding-left: 0; padding-right: 0; }
|
|
222
|
+
.py_n { padding-top: 0; padding-bottom: 0; }
|
|
223
|
+
|
|
224
|
+
.p_2 { padding: 2px; }
|
|
225
|
+
.py_2 { padding-top: 2px; padding-bottom: 2px; }
|
|
226
|
+
.px_2 { padding-left: 2px; padding-right: 2px; }
|
|
227
|
+
|
|
228
|
+
.p_3 { padding: 3px; }
|
|
229
|
+
.py_3 { padding-top: 3px; padding-bottom: 3px; }
|
|
230
|
+
.px_3 { padding-left: 3px; padding-right: 3px; }
|
|
180
231
|
|
|
181
|
-
.
|
|
182
|
-
.
|
|
183
|
-
.
|
|
232
|
+
.p_4 { padding: 4px; }
|
|
233
|
+
.py_4 { padding-top: 4px; padding-bottom: 4px; }
|
|
234
|
+
.px_4 { padding-left: 4px; padding-right: 4px; }
|
|
184
235
|
|
|
185
236
|
.p_xs { padding: var(--rem-xsmall); }
|
|
186
237
|
.py_xs { padding-top: var(--rem-xsmall); padding-bottom: var(--rem-xsmall); }
|
|
@@ -202,10 +253,29 @@ h1.ft_l, h2.ft_l, h3.ft_l, h4.ft_l, h5.ft_l, h6.ft_l { font-size: var(--heading-
|
|
|
202
253
|
.py_lg { padding-top: var(--rem-large); padding-bottom: var(--rem-large); }
|
|
203
254
|
.px_lg { padding-left: var(--rem-large); padding-right: var(--rem-large); }
|
|
204
255
|
|
|
205
|
-
.
|
|
206
|
-
.
|
|
207
|
-
.
|
|
208
|
-
|
|
256
|
+
.p_xl { padding: var(--rem-xlarge); }
|
|
257
|
+
.py_xl { padding-top: var(--rem-xlarge); padding-bottom: var(--rem-xlarge); }
|
|
258
|
+
.px_xl { padding-left: var(--rem-xlarge); padding-right: var(--rem-xlarge); }
|
|
259
|
+
|
|
260
|
+
.pt_n { padding-top: 0; }
|
|
261
|
+
.pr_n { padding-right: 0; }
|
|
262
|
+
.pb_n { padding-bottom: 0; }
|
|
263
|
+
.pl_n { padding-left: 0; }
|
|
264
|
+
|
|
265
|
+
.pt_2 { padding-top: 2px; }
|
|
266
|
+
.pr_2 { padding-right: 2px; }
|
|
267
|
+
.pb_2 { padding-bottom: 2px; }
|
|
268
|
+
.pl_2 { padding-left: 2px; }
|
|
269
|
+
|
|
270
|
+
.pt_3 { padding-top: 3px; }
|
|
271
|
+
.pr_3 { padding-right: 3px; }
|
|
272
|
+
.pb_3 { padding-bottom: 3px; }
|
|
273
|
+
.pl_3 { padding-left: 3px; }
|
|
274
|
+
|
|
275
|
+
.pt_4 { padding-top: 4px; }
|
|
276
|
+
.pr_4 { padding-right: 4px; }
|
|
277
|
+
.pb_4 { padding-bottom: 4px; }
|
|
278
|
+
.pl_4 { padding-left: 4px; }
|
|
209
279
|
|
|
210
280
|
.pt_xs { padding-top: var(--rem-xsmall); }
|
|
211
281
|
.pr_xs { padding-right: var(--rem-xsmall); }
|
|
@@ -232,15 +302,30 @@ h1.ft_l, h2.ft_l, h3.ft_l, h4.ft_l, h5.ft_l, h6.ft_l { font-size: var(--heading-
|
|
|
232
302
|
.pb_lg { padding-bottom: var(--rem-large); }
|
|
233
303
|
.pl_lg { padding-left: var(--rem-large); }
|
|
234
304
|
|
|
305
|
+
.pt_xl { padding-top: var(--rem-xlarge); }
|
|
306
|
+
.pr_xl { padding-right: var(--rem-xlarge); }
|
|
307
|
+
.pb_xl { padding-bottom: var(--rem-xlarge); }
|
|
308
|
+
.pl_xl { padding-left: var(--rem-xlarge); }
|
|
309
|
+
|
|
235
310
|
/* Margin */
|
|
236
311
|
|
|
237
312
|
.m_n { margin: 0 !important; }
|
|
313
|
+
.mx_n { margin-left: 0; margin-right: 0; }
|
|
314
|
+
.my_n { margin-top: 0; margin-bottom: 0; }
|
|
315
|
+
|
|
316
|
+
.m_2 { margin: 2px; }
|
|
317
|
+
.my_2 { margin-top: 2px; margin-bottom: 2px; }
|
|
318
|
+
.mx_2 { margin-left: 2px; margin-right: 2px; }
|
|
319
|
+
|
|
320
|
+
.m_3 { margin: 3px; }
|
|
321
|
+
.my_3 { margin-top: 3px; margin-bottom: 3px; }
|
|
322
|
+
.mx_3 { margin-left: 3px; margin-right: 3px; }
|
|
238
323
|
|
|
239
|
-
.
|
|
240
|
-
.
|
|
241
|
-
.
|
|
324
|
+
.m_4 { margin: 4px; }
|
|
325
|
+
.my_4 { margin-top: 4px; margin-bottom: 4px; }
|
|
326
|
+
.mx_4 { margin-left: 4px; margin-right: 4px; }
|
|
242
327
|
|
|
243
|
-
.
|
|
328
|
+
.m_xs { margin: var(--rem-xsmall); }
|
|
244
329
|
.my_xs { margin-top: var(--rem-xsmall); margin-bottom: var(--rem-xsmall); }
|
|
245
330
|
.mx_xs { margin-left: var(--rem-xsmall); margin-right: var(--rem-xsmall); }
|
|
246
331
|
|
|
@@ -260,10 +345,29 @@ h1.ft_l, h2.ft_l, h3.ft_l, h4.ft_l, h5.ft_l, h6.ft_l { font-size: var(--heading-
|
|
|
260
345
|
.my_lg { margin-top: var(--rem-large); margin-bottom: var(--rem-large); }
|
|
261
346
|
.mx_lg { margin-left: var(--rem-large); margin-right: var(--rem-large); }
|
|
262
347
|
|
|
263
|
-
.
|
|
264
|
-
.
|
|
265
|
-
.
|
|
266
|
-
|
|
348
|
+
.m_xl { margin: var(--rem-xlarge); }
|
|
349
|
+
.my_xl { margin-top: var(--rem-xlarge); margin-bottom: var(--rem-xlarge); }
|
|
350
|
+
.mx_xl { margin-left: var(--rem-xlarge); margin-right: var(--rem-xlarge); }
|
|
351
|
+
|
|
352
|
+
.mt_n { margin-top: 0; }
|
|
353
|
+
.mr_n { margin-right: 0; }
|
|
354
|
+
.mb_n { margin-bottom: 0; }
|
|
355
|
+
.ml_n { margin-left: 0; }
|
|
356
|
+
|
|
357
|
+
.mt_2 { margin-top: 2px; }
|
|
358
|
+
.mr_2 { margin-right: 2px; }
|
|
359
|
+
.mb_2 { margin-bottom: 2px; }
|
|
360
|
+
.ml_2 { margin-left: 2px; }
|
|
361
|
+
|
|
362
|
+
.mt_3 { margin-top: 3px; }
|
|
363
|
+
.mr_3 { margin-right: 3px; }
|
|
364
|
+
.mb_3 { margin-bottom: 3px; }
|
|
365
|
+
.ml_3 { margin-left: 3px; }
|
|
366
|
+
|
|
367
|
+
.mt_4 { margin-top: 4px; }
|
|
368
|
+
.mr_4 { margin-right: 4px; }
|
|
369
|
+
.mb_4 { margin-bottom: 4px; }
|
|
370
|
+
.ml_4 { margin-left: 4px; }
|
|
267
371
|
|
|
268
372
|
.mt_xs { margin-top: var(--rem-xsmall); }
|
|
269
373
|
.mr_xs { margin-right: var(--rem-xsmall); }
|
|
@@ -290,6 +394,63 @@ h1.ft_l, h2.ft_l, h3.ft_l, h4.ft_l, h5.ft_l, h6.ft_l { font-size: var(--heading-
|
|
|
290
394
|
.mb_lg { margin-bottom: var(--rem-large); }
|
|
291
395
|
.ml_lg { margin-left: var(--rem-large); }
|
|
292
396
|
|
|
397
|
+
.mt_xl { margin-top: var(--rem-xlarge); }
|
|
398
|
+
.mr_xl { margin-right: var(--rem-xlarge); }
|
|
399
|
+
.mb_xl { margin-bottom: var(--rem-xlarge); }
|
|
400
|
+
.ml_xl { margin-left: var(--rem-xlarge); }
|
|
401
|
+
|
|
402
|
+
/* Negative margins */
|
|
403
|
+
|
|
404
|
+
.-mt_1 { margin-top: -.625rem; }
|
|
405
|
+
.-mt_2 { margin-top: -1.25rem; }
|
|
406
|
+
.-mt_3 { margin-top: -1.875rem; }
|
|
407
|
+
.-mt_4 { margin-top: -2.5rem; }
|
|
408
|
+
.-mt_5 { margin-top: -3.125rem; }
|
|
409
|
+
|
|
410
|
+
.-mr_1 { margin-right: -.625rem; }
|
|
411
|
+
.-mr_2 { margin-right: -1.25rem; }
|
|
412
|
+
.-mr_3 { margin-right: -1.875rem; }
|
|
413
|
+
.-mr_4 { margin-right: -2.5rem; }
|
|
414
|
+
.-mr_5 { margin-right: -3.125rem; }
|
|
415
|
+
|
|
416
|
+
.-mb_1 { margin-bottom: -.625rem; }
|
|
417
|
+
.-mb_2 { margin-bottom: -1.25rem; }
|
|
418
|
+
.-mb_3 { margin-bottom: -1.875rem; }
|
|
419
|
+
.-mb_4 { margin-bottom: -2.5rem; }
|
|
420
|
+
.-mb_5 { margin-bottom: -3.125rem; }
|
|
421
|
+
|
|
422
|
+
.-ml_1 { margin-left: -.625rem; }
|
|
423
|
+
.-ml_2 { margin-left: -1.25rem; }
|
|
424
|
+
.-ml_3 { margin-left: -1.875rem; }
|
|
425
|
+
.-ml_4 { margin-left: -2.5rem; }
|
|
426
|
+
.-ml_5 { margin-left: -3.125rem; }
|
|
427
|
+
|
|
428
|
+
/* Mobile responsive design */
|
|
429
|
+
|
|
430
|
+
@media (max-width: 1024px) { /* Tablet landscape */
|
|
431
|
+
.hide_tablet_landscape { display: none !important; }
|
|
432
|
+
.responsive.p_lg { padding: var(--rem-medium); }
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
@media (max-width: 768px) { /* Tablet portrait */
|
|
436
|
+
.hide_tablet_portrait { display: none !important; }
|
|
437
|
+
.responsive.p_lg { padding: var(--rem-medium) var(--rem-default); }
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
@media (max-width: 600px) { /* Mobile landscape */
|
|
441
|
+
.hide_mobile_landscape { display: none !important; }
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
@media (max-width: 480px) { /* Mobile portrait */
|
|
445
|
+
.hide_mobile_portrait { display: none !important; }
|
|
446
|
+
.responsive.p_lg { padding: var(--rem-medium) var(--rem-small); }
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
@media (max-width: 360px) { /* Small device */
|
|
450
|
+
.hide_small_landscape { display: none !important; }
|
|
451
|
+
.responsive.p_lg { padding: var(--rem-default) var(--rem-xsmall); }
|
|
452
|
+
}
|
|
453
|
+
|
|
293
454
|
/* Radius */
|
|
294
455
|
|
|
295
456
|
.r, .r .img_auto { border-radius: 100vmax; }
|
|
@@ -297,25 +458,56 @@ h1.ft_l, h2.ft_l, h3.ft_l, h4.ft_l, h5.ft_l, h6.ft_l { font-size: var(--heading-
|
|
|
297
458
|
.rr { border-top-right-radius: 100vmax; border-bottom-right-radius: 100vmax; }
|
|
298
459
|
|
|
299
460
|
.r_sm { border-radius: var(--radius-small); }
|
|
461
|
+
.rtl_sm { border-top-left-radius: var(--radius-small); }
|
|
462
|
+
.rbl_sm { border-bottom-left-radius: var(--radius-small); }
|
|
463
|
+
.rtr_sm { border-top-right-radius: var(--radius-small); }
|
|
464
|
+
.rbr_sm { border-bottom-right-radius: var(--radius-small); }
|
|
300
465
|
.rt_sm { border-top-left-radius: var(--radius-small); border-top-right-radius: var(--radius-small); }
|
|
301
466
|
.rb_sm { border-bottom-left-radius: var(--radius-small); border-bottom-right-radius: var(--radius-small);}
|
|
302
467
|
.rl_sm { border-top-left-radius: var(--radius-small); border-bottom-left-radius: var(--radius-small);}
|
|
303
468
|
.rr_sm { border-top-right-radius: var(--radius-small); border-bottom-right-radius: var(--radius-small);}
|
|
304
469
|
|
|
470
|
+
.r_sm_wrap { border-radius: var(--radius-small-wrap); }
|
|
471
|
+
|
|
305
472
|
.r_df { border-radius: var(--radius-default); }
|
|
473
|
+
.rtl_df { border-top-left-radius: var(--radius-default); }
|
|
474
|
+
.rbl_df { border-bottom-left-radius: var(--radius-default); }
|
|
475
|
+
.rtr_df { border-top-right-radius: var(--radius-default); }
|
|
476
|
+
.rbr_df { border-bottom-right-radius: var(--radius-default); }
|
|
306
477
|
.rt_df { border-top-left-radius: var(--radius-default); border-top-right-radius: var(--radius-default); }
|
|
307
478
|
.rb_df { border-bottom-left-radius: var(--radius-default); border-bottom-right-radius: var(--radius-default);}
|
|
479
|
+
.rl_df { border-top-left-radius: var(--radius-default); border-bottom-left-radius: var(--radius-default);}
|
|
480
|
+
.rr_df { border-top-right-radius: var(--radius-default); border-bottom-right-radius: var(--radius-default);}
|
|
481
|
+
|
|
482
|
+
.r_df_wrap { border-radius: var(--radius-default-wrap); }
|
|
308
483
|
|
|
309
484
|
.r_md { border-radius: var(--radius-medium); }
|
|
485
|
+
.rtl_md { border-top-left-radius: var(--radius-medium); }
|
|
486
|
+
.rbl_md { border-bottom-left-radius: var(--radius-medium); }
|
|
487
|
+
.rtr_md { border-top-right-radius: var(--radius-medium); }
|
|
488
|
+
.rbr_md { border-bottom-right-radius: var(--radius-medium); }
|
|
310
489
|
.rt_md { border-top-left-radius: var(--radius-medium); border-top-right-radius: var(--radius-medium); }
|
|
311
490
|
.rb_md { border-bottom-left-radius: var(--radius-medium); border-bottom-right-radius: var(--radius-medium);}
|
|
491
|
+
.rl_md { border-top-left-radius: var(--radius-medium); border-bottom-left-radius: var(--radius-medium);}
|
|
492
|
+
.rr_md { border-top-right-radius: var(--radius-medium); border-bottom-right-radius: var(--radius-medium);}
|
|
312
493
|
|
|
313
494
|
.r_lg { border-radius: var(--radius-large); }
|
|
495
|
+
.rtl_lg { border-top-left-radius: var(--radius-large); }
|
|
496
|
+
.rbl_lg { border-bottom-left-radius: var(--radius-large); }
|
|
497
|
+
.rtr_lg { border-top-right-radius: var(--radius-large); }
|
|
498
|
+
.rbr_lg { border-bottom-right-radius: var(--radius-large); }
|
|
314
499
|
.rt_lg { border-top-left-radius: var(--radius-large); border-top-right-radius: var(--radius-large); }
|
|
315
500
|
.rb_lg { border-bottom-left-radius: var(--radius-large); border-bottom-right-radius: var(--radius-large);}
|
|
501
|
+
.rl_lg { border-top-left-radius: var(--radius-large); border-bottom-left-radius: var(--radius-large);}
|
|
502
|
+
.rr_lg { border-top-right-radius: var(--radius-large); border-bottom-right-radius: var(--radius-large);}
|
|
316
503
|
|
|
317
504
|
/* Avatar */
|
|
318
505
|
|
|
506
|
+
.av_xxxs, .av_xxs, .av_xs, .av_sm, .av_df, .av_md, .av_lg, .av_xl,
|
|
507
|
+
.av_w_xs, .av_w_sm, .av_w_df, .av_w_md, .av_w_lg, .av_w_xl {
|
|
508
|
+
flex-shrink: 0;
|
|
509
|
+
}
|
|
510
|
+
|
|
319
511
|
.av_xxxs { width: 1.25rem; height: 1.25rem; }
|
|
320
512
|
.av_xxs { width: 1.5rem; height: 1.5rem; }
|
|
321
513
|
.av_xs, svg.av_xs foreignObject { width: var(--av-xsmall); height: var(--av-xsmall); }
|
|
@@ -460,10 +652,18 @@ svg.av_xl .s_dot {
|
|
|
460
652
|
}
|
|
461
653
|
|
|
462
654
|
.pill_xs {
|
|
463
|
-
min-width: 1.85rem;
|
|
655
|
+
/* min-width: 1.85rem;
|
|
464
656
|
height: 1.85rem;
|
|
657
|
+
padding-left: .475em;
|
|
658
|
+
padding-right: .475em; */
|
|
659
|
+
min-width: 1.9rem;
|
|
660
|
+
height: 1.9rem;
|
|
465
661
|
padding-left: .55em;
|
|
466
662
|
padding-right: .55em;
|
|
663
|
+
/* min-width: 2rem;
|
|
664
|
+
height: 2rem;
|
|
665
|
+
padding-left: .55em;
|
|
666
|
+
padding-right: .55em; */
|
|
467
667
|
}
|
|
468
668
|
|
|
469
669
|
.pill_sm {
|
|
@@ -506,6 +706,11 @@ svg.av_xl .s_dot {
|
|
|
506
706
|
column-gap: 1rem;
|
|
507
707
|
}
|
|
508
708
|
|
|
709
|
+
.ggap_xs {
|
|
710
|
+
row-gap: .25rem;
|
|
711
|
+
column-gap: .25rem;
|
|
712
|
+
}
|
|
713
|
+
|
|
509
714
|
.ggap_sm {
|
|
510
715
|
row-gap: .5rem;
|
|
511
716
|
column-gap: .5rem;
|
package/css/animate.css
ADDED
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
|
|
2
|
+
/* Dropdown from top */
|
|
3
|
+
|
|
4
|
+
.anim_dropdown_top .target, .anim_dropdown_top.target {
|
|
5
|
+
transition-property: transform;
|
|
6
|
+
transition-timing-function: ease-out;
|
|
7
|
+
transition-duration: 125ms;
|
|
8
|
+
transform-origin: top right;
|
|
9
|
+
transform: translate(0, -10px) scale(.95);
|
|
10
|
+
opacity: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.anim_dropdown_top.visible .target, .anim_dropdown_top.visible.target {
|
|
14
|
+
transform: translate(0, 0) scale(1);
|
|
15
|
+
opacity: 1;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.anim_dropdown_top.on_mount, .anim_dropdown_top.reverse {
|
|
19
|
+
animation-name: keyframes_dropdown_top;
|
|
20
|
+
animation-duration: 125ms;
|
|
21
|
+
animation-timing-function: ease-out;
|
|
22
|
+
animation-fill-mode: both;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@keyframes keyframes_dropdown_top {
|
|
26
|
+
from { transform: translate(0, -10px) scale(.95); opacity: 0; }
|
|
27
|
+
to { transform: translate(0, 0) scale(1); opacity: 1; }
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* Dropdown from top left corner */
|
|
31
|
+
|
|
32
|
+
.anim_dropdown_top_left .target, .anim_dropdown_top_left.target {
|
|
33
|
+
transition-property: transform;
|
|
34
|
+
transition-timing-function: ease-out;
|
|
35
|
+
transition-duration: 125ms;
|
|
36
|
+
transform-origin: top left;
|
|
37
|
+
transform: translate(-2px, -10px) scale(.95);
|
|
38
|
+
opacity: 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.anim_dropdown_top_left.visible .target, .anim_dropdown_top_left.visible.target {
|
|
42
|
+
transform: translate(0, 0) scale(1);
|
|
43
|
+
opacity: 1;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.anim_dropdown_top_left.on_mount, .anim_dropdown_top_left.reverse {
|
|
47
|
+
animation-name: keyframes_dropdown_top_left;
|
|
48
|
+
animation-duration: 125ms;
|
|
49
|
+
animation-timing-function: ease-out;
|
|
50
|
+
animation-fill-mode: both;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@keyframes keyframes_dropdown_top_left {
|
|
54
|
+
from { transform: translate(-2px, -10px) scale(.95); opacity: 0; }
|
|
55
|
+
to { transform: translate(0, 0) scale(1); opacity: 1; }
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* Dropdown from top right corner */
|
|
59
|
+
|
|
60
|
+
.anim_dropdown_top_right .target, .anim_dropdown_top_right.target {
|
|
61
|
+
transition-property: transform;
|
|
62
|
+
transition-timing-function: ease-out;
|
|
63
|
+
transition-duration: 125ms;
|
|
64
|
+
transform-origin: top right;
|
|
65
|
+
transform: translate(2px, -10px) scale(.95);
|
|
66
|
+
opacity: 0;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.anim_dropdown_top_right.visible .target, .anim_dropdown_top_right.visible.target {
|
|
70
|
+
transform: translate(0, 0) scale(1);
|
|
71
|
+
opacity: 1;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.anim_dropdown_top_right.on_mount, .anim_dropdown_top_right.reverse {
|
|
75
|
+
animation-name: keyframes_dropdown_top_right;
|
|
76
|
+
animation-duration: 125ms;
|
|
77
|
+
animation-timing-function: ease-out;
|
|
78
|
+
animation-fill-mode: both;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@keyframes keyframes_dropdown_top_right {
|
|
82
|
+
from { transform: translate(2px, -10px) scale(.95); opacity: 0; }
|
|
83
|
+
to { transform: translate(0, 0) scale(1); opacity: 1; }
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/* Lift up & expand (scale transform) from sunken position */
|
|
87
|
+
|
|
88
|
+
.anim_lift_center .target, .anim_lift_center.target {
|
|
89
|
+
transition-property: transform;
|
|
90
|
+
transition-timing-function: ease-out;
|
|
91
|
+
transition-duration: 250ms;
|
|
92
|
+
transform: translateY(100%) scale(.9);
|
|
93
|
+
opacity: 0;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.anim_lift_center.visible .target, .anim_lift_center.visible.target {
|
|
97
|
+
transform: translateY(0) scale(1);
|
|
98
|
+
opacity: 1;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.anim_lift_center.on_mount, .anim_lift_center.reverse {
|
|
102
|
+
animation-name: keyframes_lift_center;
|
|
103
|
+
animation-duration: 250ms;
|
|
104
|
+
animation-timing-function: ease-out;
|
|
105
|
+
animation-fill-mode: both;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.anim_lift_center.on_mount.spd_1 { animation-duration: 150ms; }
|
|
109
|
+
.anim_lift_center.on_mount.spd_2 { animation-duration: 700ms; }
|
|
110
|
+
.anim_lift_center.on_mount.spd_3 { animation-duration: 2000ms; }
|
|
111
|
+
|
|
112
|
+
@keyframes keyframes_lift_center {
|
|
113
|
+
from { transform: translateY(100%) scale(.9); opacity: 0; }
|
|
114
|
+
to { transform: translateY(0) scale(1); opacity: 1; }
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/* Drop down & expand (scale transform) from elevated position (no fade) */
|
|
118
|
+
|
|
119
|
+
.anim_drop_center .target, .anim_drop_center.target {
|
|
120
|
+
transition-property: transform;
|
|
121
|
+
transition-timing-function: ease-out;
|
|
122
|
+
transition-duration: 250ms;
|
|
123
|
+
transform: translateY(-100%) scale(.9);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.anim_drop_center.visible .target, .anim_drop_center.visible.target {
|
|
127
|
+
transform: translateY(0) scale(1);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/* Zoom & fade in with a slight scale effect */
|
|
131
|
+
|
|
132
|
+
.anim_zoom_in_fade .target, .anim_zoom_in_fade.target,
|
|
133
|
+
.anim_zoom_in .target, .anim_zoom_in.target {
|
|
134
|
+
transition-property: transform, opacity;
|
|
135
|
+
transition-timing-function: ease-in-out;
|
|
136
|
+
transition-duration: 150ms;
|
|
137
|
+
transform: scale3d(0.9, 0.9, 0.9);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.anim_zoom_in_fade.visible .target, .anim_zoom_in_fade.visible.target,
|
|
141
|
+
.anim_zoom_in.visible .target, .anim_zoom_in.visible.target {
|
|
142
|
+
transform: scale3d(1, 1, 1);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.anim_zoom_in_fade .target, .anim_zoom_in_fade.target {
|
|
146
|
+
opacity: 0;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.anim_zoom_in_fade.visible .target, .anim_zoom_in_fade.visible.target {
|
|
150
|
+
opacity: 1;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/* Drop & fade down from slightly elevated position */
|
|
154
|
+
|
|
155
|
+
.anim_drop_down .target, .anim_drop_down.target {
|
|
156
|
+
transition-property: transform, opacity;
|
|
157
|
+
transition-timing-function: ease-out;
|
|
158
|
+
transition-duration: 75ms;
|
|
159
|
+
|
|
160
|
+
transform: translateY(-15px);
|
|
161
|
+
opacity: 0;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.anim_drop_down.visible .target, .anim_drop_down.visible.target {
|
|
165
|
+
transform: translateY(0);
|
|
166
|
+
opacity: 1;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/* Animation utility config classes */
|
|
170
|
+
|
|
171
|
+
.reverse { animation-direction: reverse; }
|
|
172
|
+
|
|
173
|
+
.spd_1 { transition-duration: 1000ms; }
|
|
174
|
+
.spd_2 { transition-duration: 500ms; }
|
|
175
|
+
.spd_3 { transition-duration: 200ms; }
|
|
176
|
+
.spd_4 { transition-duration: 125ms; }
|
|
177
|
+
.spd_5 { transition-duration: 50ms; }
|
|
178
|
+
|
|
179
|
+
.delay_1 { animation-delay: 0.5s; }
|
|
180
|
+
.delay_2 { animation-delay: 1s; }
|
|
181
|
+
.delay_3 { animation-delay: 2s; }
|
|
182
|
+
.delay_4 { animation-delay: 5s; }
|
|
183
|
+
.delay_5 { animation-delay: 10s; }
|