@jsb188/css 1.1.1 → 1.1.4

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/_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
- .g_fill { grid-column: 1 / -1; }
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;
@@ -18,16 +19,22 @@
18
19
 
19
20
  .abs_l {
20
21
  position: absolute;
21
- top: 0;
22
- bottom: 0;
23
- left: 0;
22
+ top: 0; left: 0; bottom: 0;
24
23
  }
25
24
 
26
25
  .abs_r {
27
26
  position: absolute;
28
- top: 0;
29
- bottom: 0;
30
- right: 0;
27
+ top: 0; right: 0; bottom: 0;
28
+ }
29
+
30
+ .abs_t {
31
+ position: absolute;
32
+ top: 0; left: 0; right: 0;
33
+ }
34
+
35
+ .abs_b {
36
+ position: absolute;
37
+ left: 0; right: 0; bottom: 0;
31
38
  }
32
39
 
33
40
  .abs_corner {
@@ -54,19 +61,11 @@
54
61
 
55
62
  /* Typography */
56
63
 
57
- .font_mona, .font_mona strong {
58
- font-family: 'Mona Sans', sans-serif;
59
- }
60
-
61
- .font_mona strong {
62
- font-weight: bold;
63
- }
64
-
65
64
  h1, h2, h3, h4, h5, h6 {
66
65
  font-weight: normal;
67
66
  font-size: 2em; /* This is em (not rem) on purpose */
68
67
  line-height: 1.3;
69
- letter-spacing: -.0075em;
68
+ letter-spacing: -.01em;
70
69
  text-indent: -.0075em;
71
70
 
72
71
  padding: .5em 0 .25em;
@@ -78,18 +77,23 @@ h1, h2, h3, h4 {
78
77
  font-family: var(--font-heading);
79
78
  }
80
79
 
81
- h5, h6, strong, .bold {
80
+ h5, h6, strong, .ft_bold {
82
81
  font-family: var(--font-sans-bold);
83
82
  font-weight: normal;
84
83
  }
85
84
 
85
+ .ft_medium {
86
+ font-family: var(--font-sans-medium);
87
+ font-weight: normal;
88
+ }
89
+
86
90
  .ft_normal {
87
91
  font-family: var(--font-sans);
88
92
  }
89
93
 
90
94
  p {
91
95
  padding: 0;
92
- margin: 0 0 .64em;
96
+ margin: 0 0 .5em;
93
97
  }
94
98
 
95
99
  div, p {
@@ -104,11 +108,20 @@ div, p {
104
108
  .ft_lg { font-size: var(--text-large); }
105
109
  .ft_xl { font-size: var(--text-xlarge); }
106
110
 
107
- .lh_tn { line-height: 1.1; }
108
- .lh_sm { line-height: 1.3; }
109
- .lh_df { line-height: 1.5; }
110
- .lh_md { line-height: 1.7; }
111
- .lh_lg { line-height: 1.9; }
111
+ .ft_1 { font-size: 1.1em;}
112
+ .ft_2 { font-size: 1.35em;}
113
+ .ft_3 { font-size: 1.7em;}
114
+ .ft_4 { font-size: 2.2em;}
115
+
116
+ .lh_1 { line-height: 1.1; }
117
+ .lh_2 { line-height: 1.2; }
118
+ .lh_3 { line-height: 1.3; }
119
+ .lh_4 { line-height: 1.5; }
120
+ .lh_5 { line-height: 1.7; }
121
+
122
+ .ls_1 { letter-spacing: -.08em; text-indent: -.08em; }
123
+ .ls_2 { letter-spacing: -.04em; text-indent: -.04em; }
124
+ .ls_3 { letter-spacing: -.025em; text-indent: -.025em; }
112
125
 
113
126
  h1.ft_tn, h2.ft_tn, h3.ft_tn, h4.ft_tn, h5.ft_tn, h6.ft_tn { font-size: var(--heading-xxsmall); }
114
127
  h1.ft_xs, h2.ft_xs, h3.ft_xs, h4.ft_xs, h5.ft_xs, h6.ft_xs { font-size: var(--heading-xsmall); }
@@ -116,6 +129,7 @@ h1.ft_sm, h2.ft_sm, h3.ft_sm, h4.ft_sm, h5.ft_sm, h6.ft_sm { font-size: var(--he
116
129
  h1.ft_df, h2.ft_df, h3.ft_df, h4.ft_df, h5.ft_df, h6.ft_df { font-size: var(--heading-default); }
117
130
  h1.ft_md, h2.ft_md, h3.ft_md, h4.ft_md, h5.ft_md, h6.ft_md { font-size: var(--heading-medium); }
118
131
  h1.ft_lg, h2.ft_lg, h3.ft_lg, h4.ft_lg, h5.ft_lg, h6.ft_lg { font-size: var(--heading-large); }
132
+ h1.ft_xl, h2.ft_xl, h3.ft_xl, h4.ft_xl, h5.ft_xl, h6.ft_xl { font-size: var(--heading-xlarge); }
119
133
 
120
134
  /* Icon */
121
135
 
@@ -149,13 +163,13 @@ h1.ft_lg, h2.ft_lg, h3.ft_lg, h4.ft_lg, h5.ft_lg, h6.ft_lg { font-size: var(--he
149
163
  .move_left { transform: translateX(-4px); }
150
164
  .move_right { transform: translateX(4px); }
151
165
 
152
- .icon {
153
- width: 1em;
154
- height: 1em;
155
- }
166
+ .icon { width: 1em; height: 1em; }
156
167
 
157
- .icon .back_fill {
158
- fill: var(--color-bg-alt);
168
+ .ic_abs { position: relative; }
169
+ .ic_abs .icon {
170
+ position: absolute;
171
+ top: 50%;
172
+ transform: translateY(-55%);
159
173
  }
160
174
 
161
175
  /* Emojis */
@@ -201,13 +215,19 @@ h1.ft_lg, h2.ft_lg, h3.ft_lg, h4.ft_lg, h5.ft_lg, h6.ft_lg { font-size: var(--he
201
215
 
202
216
  /* Gap */
203
217
 
218
+ .gap_1 { gap: 1px; }
219
+ .gap_2 { gap: 2px; }
220
+ .gap_3 { gap: 3px; }
221
+ .gap_4 { gap: 4px; }
222
+ .gap_5 { gap: 5px; }
223
+
224
+ .g_fill { grid-column: 1 / -1; }
225
+
204
226
  .gap_xs { gap: var(--rem-xsmall); }
205
227
  .gap_sm { gap: var(--rem-small); }
206
228
  .gap_df { gap: var(--rem-default); }
207
229
  .gap_md { gap: var(--rem-medium); }
208
230
  .gap_lg { gap: var(--rem-large); }
209
- .gap_xl { gap: var(--rem-xlarge); }
210
-
211
231
 
212
232
  /* Padding */
213
233
 
@@ -215,9 +235,25 @@ h1.ft_lg, h2.ft_lg, h3.ft_lg, h4.ft_lg, h5.ft_lg, h6.ft_lg { font-size: var(--he
215
235
  .px_n { padding-left: 0; padding-right: 0; }
216
236
  .py_n { padding-top: 0; padding-bottom: 0; }
217
237
 
218
- .p_xxs { padding: 3px; }
219
- .py_xxs { padding-top: 3px; padding-bottom: 3px; }
220
- .px_xxs { padding-left: 3px; padding-right: 3px; }
238
+ .p_1 { padding: 1px; }
239
+ .py_1 { padding-top: 1px; padding-bottom: 1px; }
240
+ .px_1 { padding-left: 1px; padding-right: 1px; }
241
+
242
+ .p_2 { padding: 2px; }
243
+ .py_2 { padding-top: 2px; padding-bottom: 2px; }
244
+ .px_2 { padding-left: 2px; padding-right: 2px; }
245
+
246
+ .p_3 { padding: 3px; }
247
+ .py_3 { padding-top: 3px; padding-bottom: 3px; }
248
+ .px_3 { padding-left: 3px; padding-right: 3px; }
249
+
250
+ .p_4 { padding: 4px; }
251
+ .py_4 { padding-top: 4px; padding-bottom: 4px; }
252
+ .px_4 { padding-left: 4px; padding-right: 4px; }
253
+
254
+ .p_5 { padding: 5px; }
255
+ .py_5 { padding-top: 5px; padding-bottom: 5px; }
256
+ .px_5 { padding-left: 5px; padding-right: 5px; }
221
257
 
222
258
  .p_xs { padding: var(--rem-xsmall); }
223
259
  .py_xs { padding-top: var(--rem-xsmall); padding-bottom: var(--rem-xsmall); }
@@ -248,10 +284,30 @@ h1.ft_lg, h2.ft_lg, h3.ft_lg, h4.ft_lg, h5.ft_lg, h6.ft_lg { font-size: var(--he
248
284
  .pb_n { padding-bottom: 0; }
249
285
  .pl_n { padding-left: 0; }
250
286
 
251
- .pt_xxs { padding-top: 3px; }
252
- .pr_xxs { padding-right: 3px; }
253
- .pb_xxs { padding-bottom: 3px; }
254
- .pl_xxs { padding-left: 3px; }
287
+ .pt_1 { padding-top: 1px; }
288
+ .pr_1 { padding-right: 1px; }
289
+ .pb_1 { padding-bottom: 1px; }
290
+ .pl_1 { padding-left: 1px; }
291
+
292
+ .pt_2 { padding-top: 2px; }
293
+ .pr_2 { padding-right: 2px; }
294
+ .pb_2 { padding-bottom: 2px; }
295
+ .pl_2 { padding-left: 2px; }
296
+
297
+ .pt_3 { padding-top: 3px; }
298
+ .pr_3 { padding-right: 3px; }
299
+ .pb_3 { padding-bottom: 3px; }
300
+ .pl_3 { padding-left: 3px; }
301
+
302
+ .pt_4 { padding-top: 4px; }
303
+ .pr_4 { padding-right: 4px; }
304
+ .pb_4 { padding-bottom: 4px; }
305
+ .pl_4 { padding-left: 4px; }
306
+
307
+ .pt_5 { padding-top: 5px; }
308
+ .pr_5 { padding-right: 5px; }
309
+ .pb_5 { padding-bottom: 5px; }
310
+ .pl_5 { padding-left: 5px; }
255
311
 
256
312
  .pt_xs { padding-top: var(--rem-xsmall); }
257
313
  .pr_xs { padding-right: var(--rem-xsmall); }
@@ -289,9 +345,25 @@ h1.ft_lg, h2.ft_lg, h3.ft_lg, h4.ft_lg, h5.ft_lg, h6.ft_lg { font-size: var(--he
289
345
  .mx_n { margin-left: 0; margin-right: 0; }
290
346
  .my_n { margin-top: 0; margin-bottom: 0; }
291
347
 
292
- .m_xxs { margin: 3px; }
293
- .my_xxs { margin-top: 3px; margin-bottom: 3px; }
294
- .mx_xxs { margin-left: 3px; margin-right: 3px; }
348
+ .m_1 { margin: 1px; }
349
+ .my_1 { margin-top: 1px; margin-bottom: 1px; }
350
+ .mx_1 { margin-left: 1px; margin-right: 1px; }
351
+
352
+ .m_2 { margin: 2px; }
353
+ .my_2 { margin-top: 2px; margin-bottom: 2px; }
354
+ .mx_2 { margin-left: 2px; margin-right: 2px; }
355
+
356
+ .m_3 { margin: 3px; }
357
+ .my_3 { margin-top: 3px; margin-bottom: 3px; }
358
+ .mx_3 { margin-left: 3px; margin-right: 3px; }
359
+
360
+ .m_4 { margin: 4px; }
361
+ .my_4 { margin-top: 4px; margin-bottom: 4px; }
362
+ .mx_4 { margin-left: 4px; margin-right: 4px; }
363
+
364
+ .m_5 { margin: 5px; }
365
+ .my_5 { margin-top: 5px; margin-bottom: 5px; }
366
+ .mx_5 { margin-left: 5px; margin-right: 5px; }
295
367
 
296
368
  .m_xs { margin: var(--rem-xsmall); }
297
369
  .my_xs { margin-top: var(--rem-xsmall); margin-bottom: var(--rem-xsmall); }
@@ -322,10 +394,30 @@ h1.ft_lg, h2.ft_lg, h3.ft_lg, h4.ft_lg, h5.ft_lg, h6.ft_lg { font-size: var(--he
322
394
  .mb_n { margin-bottom: 0; }
323
395
  .ml_n { margin-left: 0; }
324
396
 
325
- .mt_xxs { margin-top: 3px; }
326
- .mr_xxs { margin-right: 3px; }
327
- .mb_xxs { margin-bottom: 3px; }
328
- .ml_xxs { margin-left: 3px; }
397
+ .mt_1 { margin-top: 1px; }
398
+ .mr_1 { margin-right: 1px; }
399
+ .mb_1 { margin-bottom: 1px; }
400
+ .ml_1 { margin-left: 1px; }
401
+
402
+ .mt_2 { margin-top: 2px; }
403
+ .mr_2 { margin-right: 2px; }
404
+ .mb_2 { margin-bottom: 2px; }
405
+ .ml_2 { margin-left: 2px; }
406
+
407
+ .mt_3 { margin-top: 3px; }
408
+ .mr_3 { margin-right: 3px; }
409
+ .mb_3 { margin-bottom: 3px; }
410
+ .ml_3 { margin-left: 3px; }
411
+
412
+ .mt_4 { margin-top: 4px; }
413
+ .mr_4 { margin-right: 4px; }
414
+ .mb_4 { margin-bottom: 4px; }
415
+ .ml_4 { margin-left: 4px; }
416
+
417
+ .mt_5 { margin-top: 5px; }
418
+ .mr_5 { margin-right: 5px; }
419
+ .mb_5 { margin-bottom: 5px; }
420
+ .ml_5 { margin-left: 5px; }
329
421
 
330
422
  .mt_xs { margin-top: var(--rem-xsmall); }
331
423
  .mr_xs { margin-right: var(--rem-xsmall); }
@@ -357,6 +449,58 @@ h1.ft_lg, h2.ft_lg, h3.ft_lg, h4.ft_lg, h5.ft_lg, h6.ft_lg { font-size: var(--he
357
449
  .mb_xl { margin-bottom: var(--rem-xlarge); }
358
450
  .ml_xl { margin-left: var(--rem-xlarge); }
359
451
 
452
+ /* Negative margins */
453
+
454
+ .-mt_1 { margin-top: -.625rem; }
455
+ .-mt_2 { margin-top: -1.25rem; }
456
+ .-mt_3 { margin-top: -1.875rem; }
457
+ .-mt_4 { margin-top: -2.5rem; }
458
+ .-mt_5 { margin-top: -3.125rem; }
459
+
460
+ .-mr_1 { margin-right: -.625rem; }
461
+ .-mr_2 { margin-right: -1.25rem; }
462
+ .-mr_3 { margin-right: -1.875rem; }
463
+ .-mr_4 { margin-right: -2.5rem; }
464
+ .-mr_5 { margin-right: -3.125rem; }
465
+
466
+ .-mb_1 { margin-bottom: -.625rem; }
467
+ .-mb_2 { margin-bottom: -1.25rem; }
468
+ .-mb_3 { margin-bottom: -1.875rem; }
469
+ .-mb_4 { margin-bottom: -2.5rem; }
470
+ .-mb_5 { margin-bottom: -3.125rem; }
471
+
472
+ .-ml_1 { margin-left: -.625rem; }
473
+ .-ml_2 { margin-left: -1.25rem; }
474
+ .-ml_3 { margin-left: -1.875rem; }
475
+ .-ml_4 { margin-left: -2.5rem; }
476
+ .-ml_5 { margin-left: -3.125rem; }
477
+
478
+ /* Mobile responsive design */
479
+
480
+ @media (max-width: 1024px) { /* Tablet landscape */
481
+ .hide_tablet_landscape { display: none !important; }
482
+ .responsive.p_lg { padding: var(--rem-medium); }
483
+ }
484
+
485
+ @media (max-width: 768px) { /* Tablet portrait */
486
+ .hide_tablet_portrait { display: none !important; }
487
+ .responsive.p_lg { padding: var(--rem-medium) var(--rem-default); }
488
+ }
489
+
490
+ @media (max-width: 600px) { /* Mobile landscape */
491
+ .hide_mobile_landscape { display: none !important; }
492
+ }
493
+
494
+ @media (max-width: 480px) { /* Mobile portrait */
495
+ .hide_mobile_portrait { display: none !important; }
496
+ .responsive.p_lg { padding: var(--rem-medium) var(--rem-small); }
497
+ }
498
+
499
+ @media (max-width: 360px) { /* Small device */
500
+ .hide_small_landscape { display: none !important; }
501
+ .responsive.p_lg { padding: var(--rem-default) var(--rem-xsmall); }
502
+ }
503
+
360
504
  /* Radius */
361
505
 
362
506
  .r, .r .img_auto { border-radius: 100vmax; }
@@ -369,11 +513,19 @@ h1.ft_lg, h2.ft_lg, h3.ft_lg, h4.ft_lg, h5.ft_lg, h6.ft_lg { font-size: var(--he
369
513
  .rtr_sm { border-top-right-radius: var(--radius-small); }
370
514
  .rbr_sm { border-bottom-right-radius: var(--radius-small); }
371
515
  .rt_sm { border-top-left-radius: var(--radius-small); border-top-right-radius: var(--radius-small); }
372
- .rb_sm { border-bottom-left-radius: var(--radius-small); border-bottom-right-radius: var(--radius-small);}
373
- .rl_sm { border-top-left-radius: var(--radius-small); border-bottom-left-radius: var(--radius-small);}
374
- .rr_sm { border-top-right-radius: var(--radius-small); border-bottom-right-radius: var(--radius-small);}
375
-
376
- .r_sm_wrap { border-radius: var(--radius-small-wrap); }
516
+ .rb_sm { border-bottom-left-radius: var(--radius-small); border-bottom-right-radius: var(--radius-small); }
517
+ .rl_sm { border-top-left-radius: var(--radius-small); border-bottom-left-radius: var(--radius-small); }
518
+ .rr_sm { border-top-right-radius: var(--radius-small); border-bottom-right-radius: var(--radius-small); }
519
+
520
+ .r_smw { border-radius: var(--radius-small-wrap); }
521
+ .rtl_smw { border-top-left-radius: var(--radius-small-wrap); }
522
+ .rbl_smw { border-bottom-left-radius: var(--radius-small-wrap); }
523
+ .rtr_smw { border-top-right-radius: var(--radius-small-wrap); }
524
+ .rbr_smw { border-bottom-right-radius: var(--radius-small-wrap); }
525
+ .rt_smw { border-top-left-radius: var(--radius-small-wrap); border-top-right-radius: var(--radius-small-wrap); }
526
+ .rb_smw { border-bottom-left-radius: var(--radius-small-wrap); border-bottom-right-radius: var(--radius-small-wrap); }
527
+ .rl_smw { border-top-left-radius: var(--radius-small-wrap); border-bottom-left-radius: var(--radius-small-wrap); }
528
+ .rr_smw { border-top-right-radius: var(--radius-small-wrap); border-bottom-right-radius: var(--radius-small-wrap); }
377
529
 
378
530
  .r_df { border-radius: var(--radius-default); }
379
531
  .rtl_df { border-top-left-radius: var(--radius-default); }
@@ -381,11 +533,19 @@ h1.ft_lg, h2.ft_lg, h3.ft_lg, h4.ft_lg, h5.ft_lg, h6.ft_lg { font-size: var(--he
381
533
  .rtr_df { border-top-right-radius: var(--radius-default); }
382
534
  .rbr_df { border-bottom-right-radius: var(--radius-default); }
383
535
  .rt_df { border-top-left-radius: var(--radius-default); border-top-right-radius: var(--radius-default); }
384
- .rb_df { border-bottom-left-radius: var(--radius-default); border-bottom-right-radius: var(--radius-default);}
385
- .rl_df { border-top-left-radius: var(--radius-default); border-bottom-left-radius: var(--radius-default);}
386
- .rr_df { border-top-right-radius: var(--radius-default); border-bottom-right-radius: var(--radius-default);}
387
-
388
- .r_df_wrap { border-radius: var(--radius-default-wrap); }
536
+ .rb_df { border-bottom-left-radius: var(--radius-default); border-bottom-right-radius: var(--radius-default); }
537
+ .rl_df { border-top-left-radius: var(--radius-default); border-bottom-left-radius: var(--radius-default); }
538
+ .rr_df { border-top-right-radius: var(--radius-default); border-bottom-right-radius: var(--radius-default); }
539
+
540
+ .r_dfw { border-radius: var(--radius-default-wrap); }
541
+ .rtl_dfw { border-top-left-radius: var(--radius-default-wrap); }
542
+ .rbl_dfw { border-bottom-left-radius: var(--radius-default-wrap); }
543
+ .rtr_dfw { border-top-right-radius: var(--radius-default-wrap); }
544
+ .rbr_dfw { border-bottom-right-radius: var(--radius-default-wrap); }
545
+ .rt_dfw { border-top-left-radius: var(--radius-default-wrap); border-top-right-radius: var(--radius-default-wrap); }
546
+ .rb_dfw { border-bottom-left-radius: var(--radius-default-wrap); border-bottom-right-radius: var(--radius-default-wrap); }
547
+ .rl_dfw { border-top-left-radius: var(--radius-default-wrap); border-bottom-left-radius: var(--radius-default-wrap); }
548
+ .rr_dfw { border-top-right-radius: var(--radius-default-wrap); border-bottom-right-radius: var(--radius-default-wrap); }
389
549
 
390
550
  .r_md { border-radius: var(--radius-medium); }
391
551
  .rtl_md { border-top-left-radius: var(--radius-medium); }
@@ -393,9 +553,9 @@ h1.ft_lg, h2.ft_lg, h3.ft_lg, h4.ft_lg, h5.ft_lg, h6.ft_lg { font-size: var(--he
393
553
  .rtr_md { border-top-right-radius: var(--radius-medium); }
394
554
  .rbr_md { border-bottom-right-radius: var(--radius-medium); }
395
555
  .rt_md { border-top-left-radius: var(--radius-medium); border-top-right-radius: var(--radius-medium); }
396
- .rb_md { border-bottom-left-radius: var(--radius-medium); border-bottom-right-radius: var(--radius-medium);}
397
- .rl_md { border-top-left-radius: var(--radius-medium); border-bottom-left-radius: var(--radius-medium);}
398
- .rr_md { border-top-right-radius: var(--radius-medium); border-bottom-right-radius: var(--radius-medium);}
556
+ .rb_md { border-bottom-left-radius: var(--radius-medium); border-bottom-right-radius: var(--radius-medium); }
557
+ .rl_md { border-top-left-radius: var(--radius-medium); border-bottom-left-radius: var(--radius-medium); }
558
+ .rr_md { border-top-right-radius: var(--radius-medium); border-bottom-right-radius: var(--radius-medium); }
399
559
 
400
560
  .r_lg { border-radius: var(--radius-large); }
401
561
  .rtl_lg { border-top-left-radius: var(--radius-large); }
@@ -558,10 +718,18 @@ svg.av_xl .s_dot {
558
718
  }
559
719
 
560
720
  .pill_xs {
561
- min-width: 1.85rem;
721
+ /* min-width: 1.85rem;
562
722
  height: 1.85rem;
723
+ padding-left: .475em;
724
+ padding-right: .475em; */
725
+ min-width: 1.9rem;
726
+ height: 1.9rem;
563
727
  padding-left: .55em;
564
728
  padding-right: .55em;
729
+ /* min-width: 2rem;
730
+ height: 2rem;
731
+ padding-left: .55em;
732
+ padding-right: .55em; */
565
733
  }
566
734
 
567
735
  .pill_sm {
@@ -571,13 +739,6 @@ svg.av_xl .s_dot {
571
739
  padding-right: .7em;
572
740
  }
573
741
 
574
- .pill_sm .label {
575
- height: calc(var(--av-small) - .65rem);
576
- padding-left: .64em;
577
- padding-right: .64em;
578
- margin-left: -.425em;
579
- }
580
-
581
742
  .pill_df {
582
743
  min-width: var(--av-default);
583
744
  height: var(--av-default);
@@ -611,25 +772,15 @@ svg.av_xl .s_dot {
611
772
  column-gap: 1rem;
612
773
  }
613
774
 
614
- .ggap_xs {
615
- row-gap: .25rem;
616
- column-gap: .25rem;
617
- }
618
-
619
- .ggap_sm {
620
- row-gap: .5rem;
621
- column-gap: .5rem;
622
- }
775
+ .grid.gap_xs { row-gap: var(--rem-xsmall); column-gap: var(--rem-xsmall); }
776
+ .grid.gap_sm { row-gap: var(--rem-small); column-gap: var(--rem-small); }
777
+ .grid.gap_df { row-gap: var(--rem-default); column-gap: var(--rem-default); }
778
+ .grid.gap_md { row-gap: var(--rem-medium); column-gap: var(--rem-medium); }
779
+ .grid.gap_lg { row-gap: var(--rem-large); column-gap: var(--rem-large); }
623
780
 
624
- .ggap_md {
625
- row-gap: 2rem;
626
- column-gap: 2rem;
627
- }
781
+ .grid.gap_n { row-gap: 0; column-gap: 0; }
628
782
 
629
- .ggap_n {
630
- row-gap: 0;
631
- column-gap: 0;
632
- }
783
+ .g_fill { grid-column: 1 / -1; }
633
784
 
634
785
  /* Grid; column spans */
635
786
 
package/css/alert.css CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  .modal_cover .main_content {
16
16
  cursor: auto;
17
- box-shadow: var(--shadow-float-light);
17
+ box-shadow: var(--shadow-float);
18
18
  }
19
19
 
20
20
  .alert_shadow {
@@ -52,8 +52,6 @@
52
52
  position: relative;
53
53
  padding: var(--rem-default);
54
54
  margin-bottom: var(--rem-small);
55
- background-color: var(--color-bg-active);
56
- /* border: solid 4px var(--color-bg-active); */
57
55
  }
58
56
 
59
57
  .m_err .m_close {
@@ -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; }