@jsb188/css 1.1.1 → 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 CHANGED
@@ -11,6 +11,7 @@ body {
11
11
  scroll-behavior: smooth;
12
12
  padding: 0;
13
13
  margin: 0;
14
+ letter-spacing: -.0025em;
14
15
  }
15
16
 
16
17
  body, input, textarea, button {
@@ -66,12 +67,11 @@ a.em:before {
66
67
 
67
68
  a.bg:not(:disabled):hover, button.bg:not(:disabled):hover, .link.bg:not(:disabled):hover,
68
69
  a.bg:not(:disabled):active, button.bg:not(:disabled):active, .link.bg:not(:disabled):active,
69
- a.bg_alt:not(:disabled):hover, button.bg_alt:not(:disabled):hover, .link.bg_alt:not(:disabled):hover,
70
- a.bg_alt_trans:not(:disabled):hover, button.bg_alt_trans:not(:disabled):hover, .link.bg_alt_trans:not(:disabled):hover {
70
+ .bg_active_hv:hover {
71
71
  background-color: var(--color-bg-active);
72
72
  }
73
73
 
74
- .bg_alt_hover:hover,
74
+ .bg_alt_hv:hover,
75
75
  a.bg.click_alt:not(:disabled):hover, button.bg.click_alt:not(:disabled):hover, .link.bg.click_alt:not(:disabled):hover {
76
76
  background-color: var(--color-bg-alt);
77
77
  }
@@ -80,10 +80,11 @@ a.bg.click_alt:not(:disabled):active, button.bg.click_alt:not(:disabled):active,
80
80
  background-color: var(--color-bg-medium);
81
81
  }
82
82
 
83
- button:not(:disabled):active,
84
- a.bg:not(:disabled):active, button.bg:not(:disabled):active, .link.bg:not(:disabled):active,
83
+ button:not(:disabled):not(.disabled):active,
84
+ .link:not(:disabled):not(.disabled):active {
85
+ /* a.bg:not(:disabled):active, button.bg:not(:disabled):active, .link.bg:not(:disabled):active,
85
86
  a.bg_alt:not(:disabled):active, button.bg_alt:not(:disabled):active, .link.bg_alt:not(:disabled):active,
86
- a.bg_alt_trans:not(:disabled):active, button.bg_alt_trans:not(:disabled):active, .link.bg_alt_trans:not(:disabled):active {
87
+ a.bg_alt_op:not(:disabled):active, button.bg_alt_op:not(:disabled):active, .link.bg_alt_op:not(:disabled):active { */
87
88
  transform: translateY(1px);
88
89
  }
89
90
 
@@ -250,11 +251,151 @@ p:last-child {
250
251
 
251
252
  .h_f { height: 100%; }
252
253
  .h_toolbar { height: var(--toolbar-ht); }
254
+
255
+ .h_1 { height: 10px; }
256
+ .h_2 { height: 20px; }
257
+ .h_3 { height: 30px; }
258
+ .h_4 { height: 40px; }
259
+ .h_5 { height: 50px; }
260
+ .h_6 { height: 60px; }
261
+ .h_7 { height: 70px; }
262
+ .h_8 { height: 80px; }
263
+ .h_9 { height: 90px; }
264
+ .h_10 { height: 100px; }
265
+ .h_15 { height: 150px; }
266
+ .h_20 { height: 200px; }
267
+ .h_25 { height: 250px; }
268
+ .h_30 { height: 300px; }
269
+ .h_35 { height: 350px; }
270
+ .h_40 { height: 400px; }
271
+ .h_45 { height: 450px; }
272
+ .h_50 { height: 500px; }
273
+ .h_55 { height: 550px; }
274
+ .h_60 { height: 600px; }
275
+ .h_65 { height: 650px; }
276
+ .h_70 { height: 700px; }
277
+
253
278
  .w_f { width: 100%; }
254
279
  .w_sidebar { width: var(--sidebar-wt); }
255
280
 
256
- .mh_f { min-height: 100%; }
257
- .mw_f { min-width: 100%; }
281
+ .w_1 { width: 10px; }
282
+ .w_2 { width: 20px; }
283
+ .w_3 { width: 30px; }
284
+ .w_4 { width: 40px; }
285
+ .w_5 { width: 50px; }
286
+ .w_6 { width: 60px; }
287
+ .w_7 { width: 70px; }
288
+ .w_8 { width: 80px; }
289
+ .w_9 { width: 90px; }
290
+ .w_10 { width: 100px; }
291
+ .w_15 { width: 150px; }
292
+ .w_20 { width: 200px; }
293
+ .w_25 { width: 250px; }
294
+ .w_30 { width: 300px; }
295
+ .w_35 { width: 350px; }
296
+ .w_40 { width: 400px; }
297
+ .w_45 { width: 450px; }
298
+ .w_50 { width: 500px; }
299
+ .w_55 { width: 550px; }
300
+ .w_60 { width: 600px; }
301
+ .w_65 { width: 650px; }
302
+ .w_70 { width: 700px; }
303
+
304
+ .min_h_f { min-height: 100%; }
305
+ .min_h_1 { min-height: 10px; }
306
+ .min_h_2 { min-height: 20px; }
307
+ .min_h_3 { min-height: 30px; }
308
+ .min_h_4 { min-height: 40px; }
309
+ .min_h_5 { min-height: 50px; }
310
+ .min_h_6 { min-height: 60px; }
311
+ .min_h_7 { min-height: 70px; }
312
+ .min_h_8 { min-height: 80px; }
313
+ .min_h_9 { min-height: 90px; }
314
+ .min_h_10 { min-height: 100px; }
315
+ .min_h_15 { min-height: 150px; }
316
+ .min_h_20 { min-height: 200px; }
317
+ .min_h_25 { min-height: 250px; }
318
+ .min_h_30 { min-height: 300px; }
319
+ .min_h_35 { min-height: 350px; }
320
+ .min_h_40 { min-height: 400px; }
321
+ .min_h_45 { min-height: 450px; }
322
+ .min_h_50 { min-height: 500px; }
323
+ .min_h_55 { min-height: 550px; }
324
+ .min_h_60 { min-height: 600px; }
325
+ .min_h_65 { min-height: 650px; }
326
+ .min_h_70 { min-height: 700px; }
327
+
328
+ .max_h_f { max-height: 100%; }
329
+ .max_h_1 { max-height: 10px; }
330
+ .max_h_2 { max-height: 20px; }
331
+ .max_h_3 { max-height: 30px; }
332
+ .max_h_4 { max-height: 40px; }
333
+ .max_h_5 { max-height: 50px; }
334
+ .max_h_6 { max-height: 60px; }
335
+ .max_h_7 { max-height: 70px; }
336
+ .max_h_8 { max-height: 80px; }
337
+ .max_h_9 { max-height: 90px; }
338
+ .max_h_10 { max-height: 100px; }
339
+ .max_h_15 { max-height: 150px; }
340
+ .max_h_20 { max-height: 200px; }
341
+ .max_h_25 { max-height: 250px; }
342
+ .max_h_30 { max-height: 300px; }
343
+ .max_h_35 { max-height: 350px; }
344
+ .max_h_40 { max-height: 400px; }
345
+ .max_h_45 { max-height: 450px; }
346
+ .max_h_50 { max-height: 500px; }
347
+ .max_h_55 { max-height: 550px; }
348
+ .max_h_60 { max-height: 600px; }
349
+ .max_h_65 { max-height: 650px; }
350
+ .max_h_70 { max-height: 700px; }
351
+
352
+ .min_w_f { min-width: 100%; }
353
+ .min_w_1 { min-width: 10px; }
354
+ .min_w_2 { min-width: 20px; }
355
+ .min_w_3 { min-width: 30px; }
356
+ .min_w_4 { min-width: 40px; }
357
+ .min_w_5 { min-width: 50px; }
358
+ .min_w_6 { min-width: 60px; }
359
+ .min_w_7 { min-width: 70px; }
360
+ .min_w_8 { min-width: 80px; }
361
+ .min_w_9 { min-width: 90px; }
362
+ .min_w_10 { min-width: 100px; }
363
+ .min_w_15 { min-width: 150px; }
364
+ .min_w_20 { min-width: 200px; }
365
+ .min_w_25 { min-width: 250px; }
366
+ .min_w_30 { min-width: 300px; }
367
+ .min_w_35 { min-width: 350px; }
368
+ .min_w_40 { min-width: 400px; }
369
+ .min_w_45 { min-width: 450px; }
370
+ .min_w_50 { min-width: 500px; }
371
+ .min_w_55 { min-width: 550px; }
372
+ .min_w_60 { min-width: 600px; }
373
+ .min_w_65 { min-width: 650px; }
374
+ .min_w_70 { min-width: 700px; }
375
+
376
+ .max_w_f { max-width: 100%; }
377
+ .max_w_1 { max-width: 10px; }
378
+ .max_w_2 { max-width: 20px; }
379
+ .max_w_3 { max-width: 30px; }
380
+ .max_w_4 { max-width: 40px; }
381
+ .max_w_5 { max-width: 50px; }
382
+ .max_w_6 { max-width: 60px; }
383
+ .max_w_7 { max-width: 70px; }
384
+ .max_w_8 { max-width: 80px; }
385
+ .max_w_9 { max-width: 90px; }
386
+ .max_w_10 { max-width: 100px; }
387
+ .max_w_15 { max-width: 150px; }
388
+ .max_w_20 { max-width: 200px; }
389
+ .max_w_25 { max-width: 250px; }
390
+ .max_w_30 { max-width: 300px; }
391
+ .max_w_35 { max-width: 350px; }
392
+ .max_w_40 { max-width: 400px; }
393
+ .max_w_45 { max-width: 450px; }
394
+ .max_w_50 { max-width: 500px; }
395
+ .max_w_55 { max-width: 550px; }
396
+ .max_w_60 { max-width: 600px; }
397
+ .max_w_65 { max-width: 650px; }
398
+ .max_w_70 { max-width: 700px; }
258
399
 
259
400
  .a_c { text-align: center; }
260
401
  .a_r { text-align: right; }
@@ -297,10 +438,6 @@ a.u, button.u {
297
438
  color: inherit;
298
439
  }
299
440
 
300
- .cl_md a.u:hover, button.u:hover, a.u.cl_md:hover, button.u.cl_md:hover {
301
- color: var(--color-text);
302
- }
303
-
304
441
  .l_pop:not(.is_disabled) .icon {
305
442
  /* NOTE: transform must be applied to .icon, not the entire <a> or <button> itself, */
306
443
  /* because that changes the popOver mouse enter/leave zone */
@@ -418,7 +555,7 @@ button.bg_contrast:not([disabled="true"]):hover, a.bg_contrast:not([disabled="tr
418
555
  background-color: var(--color-main) !important;
419
556
  }
420
557
 
421
- button.bg_main:hover, a.bg_main:hover {
558
+ button.bg_main:not(:disabled):not(.disabled):hover, a.bg_main:not(:disabled):not(.disabled):hover {
422
559
  background-color: var(--color-main-hover) !important;
423
560
  }
424
561
 
@@ -426,6 +563,15 @@ button.bg_main:active, a.bg_main:active {
426
563
  background-color: var(--color-main-active) !important;
427
564
  }
428
565
 
566
+ .bg_main_op {
567
+ color: var(--color-main) !important;
568
+ background-color: var(--color-main-opaque) !important;
569
+ }
570
+
571
+ button.bg_main_op:not(:disabled):not(.disabled):hover, a.bg_main_op:not(:disabled):not(.disabled):hover {
572
+ background-color: var(--color-main-opaque-hover) !important;
573
+ }
574
+
429
575
  .bg_primary, .before_primary:before {
430
576
  color: var(--color-solid) !important;
431
577
  background-color: var(--color-primary) !important;
@@ -513,8 +659,6 @@ button.pill.bg_active:active, button.pill.bg_alt:active, button.pill.bg:active {
513
659
  .op_light { background-color: var(--opaque-light); }
514
660
  .op_default { background-color: var(--opaque-default); }
515
661
  .op_strong { background-color: var(--opaque-strong); }
516
- /* .op_darker_light { background-color: var(--color-darker-light); }
517
- .op_darker_default { background-color: var(--color-darker-default); } */
518
662
 
519
663
  /* Colors - Palette */
520
664
 
@@ -524,6 +668,9 @@ button.pill.bg_active:active, button.pill.bg_alt:active, button.pill.bg:active {
524
668
  .cl_orange_lt { color: var(--color-orange-light); }
525
669
  .cl_orange_md { color: var(--color-orange-medium); }
526
670
  .cl_orange_df { color: var(--color-orange-default); }
671
+ .cl_brown_lt { color: var(--color-brown-light); }
672
+ .cl_brown_md { color: var(--color-brown-medium); }
673
+ .cl_brown_df { color: var(--color-brown-default); }
527
674
  .cl_amber_lt { color: var(--color-amber-light); }
528
675
  .cl_amber_md { color: var(--color-amber-medium); }
529
676
  .cl_amber_df { color: var(--color-amber-default); }
@@ -585,6 +732,9 @@ button.pill.bg_active:active, button.pill.bg_alt:active, button.pill.bg:active {
585
732
  .bg_orange_lt { background-color: var(--color-orange-light); }
586
733
  .bg_orange_md { background-color: var(--color-orange-medium); }
587
734
  .bg_orange_df { background-color: var(--color-orange-default); }
735
+ .bg_brown_lt { background-color: var(--color-brown-light); }
736
+ .bg_brown_md { background-color: var(--color-brown-medium); }
737
+ .bg_brown_df { background-color: var(--color-brown-default); }
588
738
  .bg_amber_lt { background-color: var(--color-amber-light); }
589
739
  .bg_amber_md { background-color: var(--color-amber-medium); }
590
740
  .bg_amber_df { background-color: var(--color-amber-default); }
@@ -646,6 +796,9 @@ button.pill.bg_active:active, button.pill.bg_alt:active, button.pill.bg:active {
646
796
  .bd_orange_lt { border-color: var(--color-orange-light); }
647
797
  .bd_orange_md { border-color: var(--color-orange-medium); }
648
798
  .bd_orange_df { border-color: var(--color-orange-default); }
799
+ .bd_brown_lt { border-color: var(--color-brown-light); }
800
+ .bd_brown_md { border-color: var(--color-brown-medium); }
801
+ .bd_brown_df { border-color: var(--color-brown-default); }
649
802
  .bd_amber_lt { border-color: var(--color-amber-light); }
650
803
  .bd_amber_md { border-color: var(--color-amber-medium); }
651
804
  .bd_amber_df { border-color: var(--color-amber-default); }
@@ -703,10 +856,19 @@ button.pill.bg_active:active, button.pill.bg_alt:active, button.pill.bg:active {
703
856
 
704
857
  /* Colors - App (keep it below so !important can be overridden */
705
858
 
706
- .cl_df { color: var(--color-text); }
707
859
  .cl_lt { color: var(--color-text-light); }
708
860
  .cl_md { color: var(--color-text-medium); }
709
861
  .cl_bd { color: var(--color-text-bold); }
862
+ .cl_df { color: var(--color-text); }
863
+
864
+ .cl_lt_hv:hover { color: var(--color-text-light) !important; }
865
+ .cl_md_hv:hover { color: var(--color-text-medium) !important; }
866
+ .cl_bd_hv:hover { color: var(--color-text-bold) !important; }
867
+
868
+ .cl_light { color: var(--color-darker-light); }
869
+ .cl_medium { color: var(--color-darker-medium); }
870
+ .cl_bold { color: var(--color-darker-bold); }
871
+
710
872
  .cl_main { color: var(--color-main) !important; }
711
873
  .cl_primary { color: var(--color-primary) !important; }
712
874
  .cl_secondary { color: var(--color-secondary) !important; }
@@ -717,15 +879,18 @@ button.pill.bg_active:active, button.pill.bg_alt:active, button.pill.bg:active {
717
879
  .cl_warn_fd { color: rgb(var(--color-warn-faded)) !important; border-color: rgb(var(--color-warn)) !important; }
718
880
  .cl_pass { color: rgb(var(--color-pass)) !important; }
719
881
 
720
- .bd_1 { border: solid 1px; }
721
- .bd_2 { border: solid 2px; }
722
- .bd_3 { border: solid 3px; }
723
- .bd_4 { border: solid 4px; }
882
+ .bd_1 { border-style: solid; border-width: 1px; }
883
+ .bd_2 { border-style: solid; border-width: 2px; }
884
+ .bd_3 { border-style: solid; border-width: 3px; }
885
+ .bd_4 { border-style: solid; border-width: 4px; }
886
+
887
+ .bd_t { border-top-style: solid; border-top-width: 1px; }
888
+ .bd_r { border-right-style: solid; border-right-width: 1px; }
889
+ .bd_b { border-bottom-style: solid; border-bottom-width: 1px; }
890
+ .bd_l { border-left-style: solid; border-left-width: 1px; }
724
891
 
725
- .bd_t { border-top: solid 1px; }
726
- .bd_r { border-right: solid 1px; }
727
- .bd_b { border-bottom: solid 1px; }
728
- .bd_l { border-left: solid 1px; }
892
+ .bd_dashed { border-style: dashed; }
893
+ .bd_dotted { border-style: dotted; }
729
894
 
730
895
  .bd_op, .bd_op_hv:hover { border-color: transparent; }
731
896
  .bd_lt, .bd_lt_hv:hover { border-color: var(--color-darker-light); }
@@ -784,6 +949,7 @@ a.text.cl_main:before, button.text.cl_main:before, a.text.cl_main:hover:before,
784
949
  .shadow_float_light { box-shadow: var(--shadow-float-light); }
785
950
  .shadow_full { box-shadow: var(--shadow-full); }
786
951
  .shadow_bg { box-shadow: 0 0 7px var(--color-bg); }
952
+ .shadow_bg_alt_lg { box-shadow: 0 0 25px var(--color-bg-alt); }
787
953
 
788
954
  /* Opaque background-colors; use sparingly (too much will hinder browser performance) */
789
955
  /* :root .bg_shadow, [data-mode="light"] .bg_shadow { background-color: rgba(0,0,0,.087); } */
@@ -793,55 +959,16 @@ a.text.cl_main:before, button.text.cl_main:before, a.text.cl_main:hover:before,
793
959
 
794
960
  .op_btn:hover { opacity: .58; }
795
961
 
796
- /* Animations */
962
+ /* Transitions */
797
963
 
798
964
  .trans { transition: all .25s ease-in-out; }
799
965
  .trans_color { transition: color .25s ease-in-out, border-color .25s ease-in-out, background-color .25s ease-in-out, opacity .25s ease-in-out; }
800
- .trans_link { transition: color .1s ease-in-out, background-color .1s ease-in-out, opacity .1s ease-in-out; }
966
+ .trans_link, button:not(:disabled), .link[role="button"]:not(.disabled), a:not(.disabled) { transition: color .1s ease-in-out, background-color .1s ease-in-out, opacity .1s ease-in-out; }
801
967
  .trans_transform { transition: transform .1s ease-in-out; }
802
968
  .trans_none, .trans_none *, .trans_none_inner * { transition: none !important; }
803
969
  .trans_fast { transition-duration: .1s; }
804
970
 
805
- .anim_drop_center .main_content, .anim_drop_center.main_content {
806
- transition: transform .25s ease-out;
807
- transform: translateY(-100%) scale(.9);
808
- }
809
-
810
- .anim_drop_center.visible .main_content, .anim_drop_center.visible.main_content {
811
- transform: translateY(0) scale(1);
812
- }
813
-
814
- .anim_zoom_in_fade .main_content, .anim_zoom_in_fade.main_content,
815
- .anim_zoom_in .main_content, .anim_zoom_in.main_content {
816
- transition: transform .15s ease-in-out, opacity .15s ease-in-out;
817
- transform: scale3d(0.9, 0.9, 0.9);
818
- }
819
-
820
- .anim_zoom_in_fade.visible .main_content, .anim_zoom_in_fade.visible.main_content,
821
- .anim_zoom_in.visible .main_content, .anim_zoom_in.visible.main_content {
822
- transform: scale3d(1, 1, 1);
823
- }
824
-
825
- .anim_zoom_in_fade .main_content, .anim_zoom_in_fade.main_content {
826
- opacity: 0;
827
- }
828
-
829
- .anim_zoom_in_fade.visible .main_content, .anim_zoom_in_fade.visible.main_content {
830
- opacity: 1;
831
- }
832
-
833
- .anim_drop_down .main_content, .anim_drop_down.main_content {
834
- transition: transform .075s ease-out, opacity .075s ease-out;
835
- transform: translateY(-15px);
836
- opacity: 0;
837
- }
838
-
839
- .anim_drop_down.visible .main_content, .anim_drop_down.visible.main_content {
840
- transform: translateY(0);
841
- opacity: 1;
842
- }
843
-
844
- /* Scroller */
971
+ /* Y-axis scroller */
845
972
 
846
973
  .y_scr {
847
974
  overflow-x: hidden;
@@ -900,6 +1027,8 @@ a.text.cl_main:before, button.text.cl_main:before, a.text.cl_main:hover:before,
900
1027
 
901
1028
  .x_scr_hidden {
902
1029
  overflow: auto hidden;
1030
+ scrollbar-width: none; /* Firefox */
1031
+ -ms-overflow-style: none; /* IE 10+ */
903
1032
  }
904
1033
 
905
1034
  /* Status colors */
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;
@@ -54,14 +55,6 @@
54
55
 
55
56
  /* Typography */
56
57
 
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
58
  h1, h2, h3, h4, h5, h6 {
66
59
  font-weight: normal;
67
60
  font-size: 2em; /* This is em (not rem) on purpose */
@@ -78,7 +71,7 @@ h1, h2, h3, h4 {
78
71
  font-family: var(--font-heading);
79
72
  }
80
73
 
81
- h5, h6, strong, .bold {
74
+ h5, h6, strong, .ft_bold {
82
75
  font-family: var(--font-sans-bold);
83
76
  font-weight: normal;
84
77
  }
@@ -104,11 +97,18 @@ div, p {
104
97
  .ft_lg { font-size: var(--text-large); }
105
98
  .ft_xl { font-size: var(--text-xlarge); }
106
99
 
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; }
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;}
104
+
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; }
112
112
 
113
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
114
  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 +116,7 @@ h1.ft_sm, h2.ft_sm, h3.ft_sm, h4.ft_sm, h5.ft_sm, h6.ft_sm { font-size: var(--he
116
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
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
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); }
119
120
 
120
121
  /* Icon */
121
122
 
@@ -201,6 +202,12 @@ h1.ft_lg, h2.ft_lg, h3.ft_lg, h4.ft_lg, h5.ft_lg, h6.ft_lg { font-size: var(--he
201
202
 
202
203
  /* Gap */
203
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
+
204
211
  .gap_xs { gap: var(--rem-xsmall); }
205
212
  .gap_sm { gap: var(--rem-small); }
206
213
  .gap_df { gap: var(--rem-default); }
@@ -208,16 +215,23 @@ h1.ft_lg, h2.ft_lg, h3.ft_lg, h4.ft_lg, h5.ft_lg, h6.ft_lg { font-size: var(--he
208
215
  .gap_lg { gap: var(--rem-large); }
209
216
  .gap_xl { gap: var(--rem-xlarge); }
210
217
 
211
-
212
218
  /* Padding */
213
219
 
214
220
  .p_n { padding: 0 !important; }
215
221
  .px_n { padding-left: 0; padding-right: 0; }
216
222
  .py_n { padding-top: 0; padding-bottom: 0; }
217
223
 
218
- .p_xxs { padding: 3px; }
219
- .py_xxs { padding-top: 3px; padding-bottom: 3px; }
220
- .px_xxs { padding-left: 3px; padding-right: 3px; }
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; }
231
+
232
+ .p_4 { padding: 4px; }
233
+ .py_4 { padding-top: 4px; padding-bottom: 4px; }
234
+ .px_4 { padding-left: 4px; padding-right: 4px; }
221
235
 
222
236
  .p_xs { padding: var(--rem-xsmall); }
223
237
  .py_xs { padding-top: var(--rem-xsmall); padding-bottom: var(--rem-xsmall); }
@@ -248,10 +262,20 @@ h1.ft_lg, h2.ft_lg, h3.ft_lg, h4.ft_lg, h5.ft_lg, h6.ft_lg { font-size: var(--he
248
262
  .pb_n { padding-bottom: 0; }
249
263
  .pl_n { padding-left: 0; }
250
264
 
251
- .pt_xxs { padding-top: 3px; }
252
- .pr_xxs { padding-right: 3px; }
253
- .pb_xxs { padding-bottom: 3px; }
254
- .pl_xxs { padding-left: 3px; }
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; }
255
279
 
256
280
  .pt_xs { padding-top: var(--rem-xsmall); }
257
281
  .pr_xs { padding-right: var(--rem-xsmall); }
@@ -289,9 +313,17 @@ h1.ft_lg, h2.ft_lg, h3.ft_lg, h4.ft_lg, h5.ft_lg, h6.ft_lg { font-size: var(--he
289
313
  .mx_n { margin-left: 0; margin-right: 0; }
290
314
  .my_n { margin-top: 0; margin-bottom: 0; }
291
315
 
292
- .m_xxs { margin: 3px; }
293
- .my_xxs { margin-top: 3px; margin-bottom: 3px; }
294
- .mx_xxs { margin-left: 3px; margin-right: 3px; }
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; }
323
+
324
+ .m_4 { margin: 4px; }
325
+ .my_4 { margin-top: 4px; margin-bottom: 4px; }
326
+ .mx_4 { margin-left: 4px; margin-right: 4px; }
295
327
 
296
328
  .m_xs { margin: var(--rem-xsmall); }
297
329
  .my_xs { margin-top: var(--rem-xsmall); margin-bottom: var(--rem-xsmall); }
@@ -322,10 +354,20 @@ h1.ft_lg, h2.ft_lg, h3.ft_lg, h4.ft_lg, h5.ft_lg, h6.ft_lg { font-size: var(--he
322
354
  .mb_n { margin-bottom: 0; }
323
355
  .ml_n { margin-left: 0; }
324
356
 
325
- .mt_xxs { margin-top: 3px; }
326
- .mr_xxs { margin-right: 3px; }
327
- .mb_xxs { margin-bottom: 3px; }
328
- .ml_xxs { margin-left: 3px; }
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; }
329
371
 
330
372
  .mt_xs { margin-top: var(--rem-xsmall); }
331
373
  .mr_xs { margin-right: var(--rem-xsmall); }
@@ -357,6 +399,58 @@ h1.ft_lg, h2.ft_lg, h3.ft_lg, h4.ft_lg, h5.ft_lg, h6.ft_lg { font-size: var(--he
357
399
  .mb_xl { margin-bottom: var(--rem-xlarge); }
358
400
  .ml_xl { margin-left: var(--rem-xlarge); }
359
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
+
360
454
  /* Radius */
361
455
 
362
456
  .r, .r .img_auto { border-radius: 100vmax; }
@@ -558,10 +652,18 @@ svg.av_xl .s_dot {
558
652
  }
559
653
 
560
654
  .pill_xs {
561
- min-width: 1.85rem;
655
+ /* min-width: 1.85rem;
562
656
  height: 1.85rem;
657
+ padding-left: .475em;
658
+ padding-right: .475em; */
659
+ min-width: 1.9rem;
660
+ height: 1.9rem;
563
661
  padding-left: .55em;
564
662
  padding-right: .55em;
663
+ /* min-width: 2rem;
664
+ height: 2rem;
665
+ padding-left: .55em;
666
+ padding-right: .55em; */
565
667
  }
566
668
 
567
669
  .pill_sm {
@@ -571,13 +673,6 @@ svg.av_xl .s_dot {
571
673
  padding-right: .7em;
572
674
  }
573
675
 
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
676
  .pill_df {
582
677
  min-width: var(--av-default);
583
678
  height: var(--av-default);
@@ -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; }
package/css/form.css CHANGED
@@ -345,16 +345,26 @@ fieldset input[type="radio"] {
345
345
  border-radius: 4px;
346
346
  }
347
347
 
348
- /* Normal button */
348
+ /* Button sizes */
349
+
350
+ .btn.sm {
351
+ padding: .3rem .45rem;
352
+ border-radius: var(--radius-small);
353
+ }
349
354
 
350
355
  .btn.df {
351
- /* padding: .7rem .7rem .7rem; */
352
356
  padding: .58rem;
353
357
  border-radius: var(--radius-small);
354
358
  }
355
359
 
356
- .btn.df.ft_xs {
357
- padding: .3rem .45rem;
360
+ .btn.md {
361
+ padding: .7rem 1.05rem .7rem;
362
+ border-radius: var(--radius-small-wrap);
363
+ }
364
+
365
+ .btn.lg {
366
+ padding: .9rem 1.2rem .9rem;
367
+ border-radius: var(--radius-small-wrap);
358
368
  }
359
369
 
360
370
  /* Form break */
@@ -374,7 +384,7 @@ fieldset input[type="radio"] {
374
384
  position: absolute;
375
385
  top: 50%;
376
386
  height: 1px;
377
- background-color: var(--color-text-medium);
387
+ background-color: var(--color-text-light);
378
388
  }
379
389
 
380
390
  .form_break .line:after {
@@ -426,6 +436,7 @@ fieldset input[type="radio"] {
426
436
  padding: 0 5px;
427
437
  margin: 0 2px 0 3px;
428
438
  line-height: 1;
439
+ white-space: nowrap;
429
440
  }
430
441
 
431
442
  .ib_label .icon {
@@ -435,11 +446,8 @@ fieldset input[type="radio"] {
435
446
 
436
447
  .ib_label .indicator {
437
448
  display: block;
438
- width: 10px;
439
- height: 1em;
440
449
  margin-left: 2px;
441
450
  margin-right: 5px;
442
- border-radius: 3px;
443
451
  }
444
452
 
445
453
  .ib_label:first-child {
@@ -465,4 +473,16 @@ fieldset input[type="radio"] {
465
473
 
466
474
  .ib_label.outline:before {
467
475
  border: solid 1px var(--color-darker-light);
476
+ }
477
+
478
+ /* Color indicators */
479
+
480
+ .indicator {
481
+ width: 10px;
482
+ /*
483
+ height: 1em;
484
+ 14px is 1em of .ft_xs. I wanted it to be pixels so .ft_sm and .ft_xs has the same indicator height.
485
+ */
486
+ height: 14px;
487
+ border-radius: 3px;
468
488
  }
package/css/layout.css CHANGED
@@ -125,26 +125,7 @@ body.p_auth {
125
125
 
126
126
  /* Content with right <aside /> sticky sidebar */
127
127
 
128
- .ra_content_aside {
128
+ .pg_aside {
129
129
  width: var(--aside-wt);
130
130
  top: var(--rem-medium);
131
131
  }
132
-
133
- /* Page & content elements; page cards */
134
-
135
- .pg_card .title {
136
- padding: .5rem 0 .75rem;
137
- border-bottom: dashed 4px var(--color-bg-alt);
138
- }
139
-
140
- .pg_card:before {
141
- content: ' ';
142
- width: 7rem; height: 7rem;
143
- border-radius: 3.5rem;
144
-
145
- background-color: var(--color-main);
146
- opacity: .125;
147
-
148
- position: absolute;
149
- top: -2rem; left: -2rem;
150
- }
package/css/list.css CHANGED
@@ -284,7 +284,9 @@
284
284
  .btn_area.sticky {
285
285
  position: sticky;
286
286
  /* Need the -1px for DOM scroll behavior cover */
287
+ top: 0; left: 0; right: 0;
287
288
  bottom: -1px;
289
+
288
290
  padding: 1rem 10px;
289
291
  margin-left: -10px;
290
292
  margin-right: -10px;
package/css/modal.css CHANGED
@@ -131,7 +131,7 @@
131
131
  }
132
132
 
133
133
  .mw_tnav.sticky {
134
- top: -1.25rem;
134
+ top: -1.25rem; left: 0; right: 0;
135
135
  }
136
136
 
137
137
  /* Modal save button */
package/css/popover.css CHANGED
@@ -25,88 +25,77 @@
25
25
  max-width: 225px;
26
26
  }
27
27
 
28
- /* Pop over; options */
28
+ /* Pop over; list */
29
29
 
30
- .pop_over_options {
30
+ .po_list {
31
+ border-radius: var(--radius-small-wrap);
32
+ }
33
+
34
+ .po_list .inside {
35
+ padding: .3rem;
31
36
  display: flex; flex-direction: column;
32
37
  justify-content: flex-start;
33
38
  align-items: stretch;
34
- padding: .25rem .25rem;
35
- max-width: 225px;
36
39
  }
37
40
 
38
- .po_desc {
39
- min-width: 130px;
40
- padding: .4rem .64rem .7rem;
41
- margin-bottom: .25rem;
42
- }
43
-
44
- .po_opt .saving_area {
45
- width: 24px;
46
- transform: translateX(-7px);
41
+ .po_list.bg a:hover {
42
+ background-color: var(--color-darker-light);
47
43
  }
48
44
 
49
- .po_opt {
50
- min-width: 175px;
51
- padding: .25rem 0 .25rem .64rem;
52
- white-space: nowrap;
45
+ .po_list .av_item .av.main {
46
+ box-shadow: 0 0 10px var(--color-bg);
53
47
  }
54
48
 
55
- a.po_opt {
56
- border-radius: 4px;
57
- }
49
+ /* Pop over; subtitle */
58
50
 
59
- .po_opt .av.main {
60
- transform: translateX(-5px);
51
+ .po_subtitle {
52
+ position: sticky;
53
+ top: -.3rem; left: 0; right: 0;
54
+ padding: .35rem .4rem .4rem;
55
+ margin-bottom: .3rem;
61
56
  }
62
57
 
63
- .po_opt.break:before {
64
- content: ' ';
65
- position: absolute;
66
- left: 0; right: 0;
67
- height: 1px;
68
- }
58
+ /* Pop over; list item */
69
59
 
70
- .pop_over_options.bg_contrast .po_opt.break:before {
71
- background-color: var(--color-contrast-opaque);
60
+ .po_opt.link:not(:disabled):hover,
61
+ .po_opt.link:not(.disabled):hover {
62
+ background-color: var(--color-darker-soft);
72
63
  }
73
64
 
74
- .pop_over_options.bg_contrast .po_opt.title,
75
- .pop_over_options.bg_contrast .po_desc {
76
- border-bottom: solid 1px var(--color-contrast-opaque);
65
+ .po_opt.link:not(:disabled):active,
66
+ .po_opt.link:not(.disabled):active {
67
+ background-color: var(--color-darker-light);
68
+ /* transform: translateY(0); */
77
69
  }
78
70
 
79
- .pop_over_options.bg .po_opt.title,
80
- .pop_over_options.bg .po_opt.break:before {
81
- background-color: var(--color-text-light);
71
+ .po_opt .saving_area {
72
+ width: 24px;
73
+ transform: translateX(-4px);
82
74
  }
83
75
 
84
- .pop_over_options.bg .po_desc {
85
- border-bottom: solid 1px var(--color-text-light);
76
+ .po_opt {
77
+ min-width: 150px;
78
+ padding: .35rem 0 .35rem .5rem;
79
+ white-space: nowrap;
80
+ border-radius: var(--radius-small);
86
81
  }
87
82
 
88
- .pop_over_options.bg a {
89
- color: var(--color-text);
90
- }
83
+ /* Pop over; different presets for list item */
91
84
 
92
- .pop_over_options.bg a:hover {
93
- background-color: var(--color-darker-light);
85
+ .po_opt.av_item {
86
+ padding-top: .5rem;
87
+ padding-bottom: .5rem;
94
88
  }
95
89
 
96
- .po_desc:last-child {
97
- padding-bottom: .4rem;
98
- margin-bottom: 0;
99
- border-bottom: none !important;
90
+ .po_opt.preset_small {
91
+ padding: .5rem 0 .5rem .5rem;
100
92
  }
101
93
 
102
- .po_opt.title {
103
- padding-top: .4rem;
104
- padding-bottom: .4rem;
105
- margin-bottom: .25rem;
106
- }
94
+ /* Pop over; list break */
107
95
 
108
- .po_opt .av.main {
109
- margin: 0 .3rem 0 .2rem;
96
+ .po_list_break {
97
+ margin: .3rem 0;
98
+ border-top: solid 1px var(--color-darker-light);
110
99
  }
111
100
 
112
101
  /* Pop over container */
@@ -124,174 +113,6 @@ a.po_opt {
124
113
  min-height: 200px;
125
114
  /* max-height: calc(100vh - 20px); */
126
115
  max-height: 70vh;
127
- /* background: var(--color-main) linear-gradient(180deg, var(--color-main-alt), var(--color-main)) fixed; */
128
- }
129
-
130
- /* Profile; header */
131
-
132
- .pf_header_area {
133
- width: 100%;
134
- padding: 30% 0 0;
135
- object-fit: cover;
136
- background-color: var(--color-darker-light);
137
- }
138
-
139
- .pf_header_area.with_img {
140
- padding: 40% 0 0;
141
- }
142
-
143
- .pf_header_content.medium {
144
- margin-top: -40px;
145
- }
146
-
147
- .pf_header_content.large {
148
- margin-top: -70px;
149
- }
150
-
151
- .pf_header_content .mpf_shadow {
152
- box-shadow: 0 0 0 5px var(--color-primary);
153
- }
154
-
155
- .pf_header_content .ib_label {
156
- transform: translateY(3px);
157
- }
158
-
159
- .pf_header_content .ib_label .icon {
160
- display: inline-block;
161
- font-size: 1.6rem;
162
- }
163
-
164
- .pf_friend_status_dropdown {
165
- position: absolute;
166
- top: 94px;
167
- left: 100%;
168
- transform: translateX(-7px);
169
- }
170
-
171
- .pf_friend_status_dropdown.has_bg {
172
- top: 123px;
173
- }
174
-
175
- .pf_content_area {
176
- padding: 1rem 0;
177
- }
178
-
179
- /* .pf_header_content .mpf_shadow:before {
180
- content: ' ';
181
- position: absolute;
182
- left: -5px; top: 0; right: -5px; bottom: -10px;
183
- border-radius: 50%;
184
- background: radial-gradient(rgba(0,0,0,1), rgba(0,0,0,0));
185
- box-shadow: 0 0 10px rgba(0,0,0,.5);
186
- } */
187
-
188
- /* Mini profile buttons */
189
-
190
- .mpf_btns_cnt {
191
- display: grid;
192
- column-gap: .5rem;
193
- border-top: .1875em dashed var(--color-darker-light);
194
- }
195
-
196
- .pf_header_content {
197
- border-bottom: .1875em dashed var(--color-darker-light);
198
- }
199
-
200
- .mpf_btns_cnt.size-1 {
201
- grid-template-columns: repeat(1, 1fr);
202
- }
203
-
204
- .mpf_btns_cnt.size-2 {
205
- grid-template-columns: repeat(2, 1fr);
206
- }
207
-
208
- .mpf_btn {
209
- align-self: stretch;
210
- padding: 6px 4px 7px 6px;
211
- background-color: var(--color-darker-light);
212
- }
213
-
214
- .mpf_btn:not(:first-child) {
215
- margin-left: 5px;
216
- }
217
-
218
- .mpf_btn.icon_only {
219
- align-items: center;
220
- padding-left: 4px;
221
- padding-right: 4px;
222
- }
223
-
224
- .mpf_btn svg:first-child {
225
- margin-right: 3px;
226
- }
227
-
228
- .mpf_btn svg:last-child {
229
- margin-left: 3px;
230
- }
231
-
232
- button.mpf_btn:hover, a.mpf_btn:hover {
233
- background-color: var(--color-darker-default);
234
- }
235
-
236
- /* Card item */
237
-
238
- .crd_item {
239
- margin-top: 4px;
240
- }
241
-
242
- /* Card header */
243
-
244
- .crd_header {
245
- /* padding: 0; */
246
- background-color: var(--color-darker-light);
247
- }
248
-
249
- .crd_header[role="button"] {
250
- cursor: pointer;
251
- }
252
-
253
- .crd_header .av.main {
254
- transform: scale(.8);
255
- }
256
-
257
- .crd_header .text {
258
- padding: 6px 0 7px;
259
- }
260
-
261
- .crd_side {
262
- width: 32px;
263
- height: var(--av-xsmall);
264
- }
265
-
266
- .crd_side.expanded {
267
- transform: rotate(45deg);
268
- }
269
-
270
- /* Card links */
271
-
272
- .crd_links_cnt {
273
- display: grid;
274
- grid-template-columns: repeat(3, 1fr);
275
- row-gap: 4px;
276
- column-gap: 4px;
277
- padding: 14px 0 10px;
278
- }
279
-
280
- .crd_link {
281
- padding: 10px 4px 8px;
282
- background-color: var(--color-darker-light);
283
- }
284
-
285
- .crd_link .av.no_img {
286
- background-color: var(--color-darker-light);
287
- }
288
-
289
- button.crd_link:hover {
290
- background-color: var(--color-darker-default);
291
- }
292
-
293
- .crd_link .av.main {
294
- margin-bottom: 2px;
295
116
  }
296
117
 
297
118
  /* Pop over image */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsb188/css",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "Re-usable, base CSS styles for any app (NOTE: Bring your own variables).",
5
5
  "license": "ISC",
6
6
  "author": "jsb188",
@@ -8,6 +8,7 @@
8
8
  "exports": {
9
9
  "./_global.css": "./css/_global.css",
10
10
  "./alert.css": "./css/alert.css",
11
+ "./animate.css": "./css/animate.css",
11
12
  "./form.css": "./css/form.css",
12
13
  "./layout.css": "./css/layout.css",
13
14
  "./list.css": "./css/list.css",