@jsb188/css 1.1.3 → 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/_global.css CHANGED
@@ -50,7 +50,7 @@ body, body, input, textarea, button, [data-mode="light"], [data-mode="dark"] {
50
50
 
51
51
  a {
52
52
  cursor: pointer;
53
- color: var(--color-main);
53
+ color: var(--color-primary);
54
54
  text-decoration: none;
55
55
  position: relative;
56
56
  }
@@ -62,29 +62,30 @@ a.em:before {
62
62
  left: 0;
63
63
  right: 0;
64
64
  height: 4px;
65
- background-color: var(--color-main);
65
+ background-color: var(--color-primary);
66
66
  }
67
67
 
68
- a.bg:not(:disabled):hover, button.bg:not(:disabled):hover, .link.bg:not(:disabled):hover,
69
- a.bg:not(:disabled):active, button.bg:not(:disabled):active, .link.bg:not(:disabled):active,
70
68
  .bg_active_hv:hover {
71
- background-color: var(--color-bg-active);
69
+ background-color: var(--color-bg-active) !important;
72
70
  }
73
71
 
74
- .bg_alt_hv:hover,
75
- a.bg.click_alt:not(:disabled):hover, button.bg.click_alt:not(:disabled):hover, .link.bg.click_alt:not(:disabled):hover {
76
- background-color: var(--color-bg-alt);
72
+ .bg_alt_hv:hover, .bg_alt_before:before,
73
+ a.bg_link:not(:disabled):hover, button.bg_link:not(:disabled):hover, .link.bg_link:not(:disabled):hover,
74
+ a.bg:not(:disabled):hover, button.bg:not(:disabled):hover, .link.bg:not(:disabled):hover {
75
+ background-color: var(--color-bg-alt) !important;
77
76
  }
78
77
 
79
- a.bg.click_alt:not(:disabled):active, button.bg.click_alt:not(:disabled):active, .link.bg.click_alt:not(:disabled):active {
80
- background-color: var(--color-bg-medium);
78
+ a.bg_link:not(:disabled):active, button.bg_link:not(:disabled):active, .link.bg_link:not(:disabled):active,
79
+ .bg_active_hv:hover, .bg_active_before:before {
80
+ background-color: var(--color-bg-active) !important;
81
+ }
82
+
83
+ .bg_medium_hv:hover, .bg_medium_before:before {
84
+ background-color: var(--color-bg-medium) !important;
81
85
  }
82
86
 
83
87
  button:not(:disabled):not(.disabled):active,
84
88
  .link:not(:disabled):not(.disabled):active {
85
- /* a.bg:not(:disabled):active, button.bg:not(:disabled):active, .link.bg:not(:disabled):active,
86
- a.bg_alt:not(:disabled):active, button.bg_alt:not(:disabled):active, .link.bg_alt: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 { */
88
89
  transform: translateY(1px);
89
90
  }
90
91
 
@@ -213,6 +214,10 @@ p:last-child {
213
214
  max-width: 100%;
214
215
  }
215
216
 
217
+ .nowrap {
218
+ white-space: nowrap;
219
+ }
220
+
216
221
  .ellip_dbl {
217
222
  overflow: hidden;
218
223
  text-overflow: ellipsis;
@@ -438,16 +443,6 @@ a.u, button.u {
438
443
  color: inherit;
439
444
  }
440
445
 
441
- .l_pop:not(.is_disabled) .icon {
442
- /* NOTE: transform must be applied to .icon, not the entire <a> or <button> itself, */
443
- /* because that changes the popOver mouse enter/leave zone */
444
- transition: transform .1s ease, color .1s ease;
445
- }
446
-
447
- .l_pop:not(.is_disabled) .icon:hover {
448
- transform: scale(1.1);
449
- }
450
-
451
446
  /* Mock (must be before colors so it can be overridden) */
452
447
 
453
448
  .mock, .mock_av {
@@ -483,32 +478,6 @@ a.u, button.u {
483
478
 
484
479
  /* Background colors */
485
480
 
486
- .bg_white {
487
- color: #111 !important;
488
- background-color: #FFF !important;
489
- }
490
-
491
- button.bg_white:not([disabled="true"]):hover, a.bg_white:not([disabled="true"]):hover {
492
- background-color: #EEE !important;
493
- }
494
-
495
- button.bg_white:not([disabled="true"]):active, a.bg_white:not([disabled="true"]):active {
496
- background-color: #DDD !important;
497
- }
498
-
499
- .bg_black {
500
- color: #EEE !important;
501
- background-color: #000 !important;
502
- }
503
-
504
- button.bg_black:not([disabled="true"]):hover, a.bg_black:not([disabled="true"]):hover {
505
- background-color: #111 !important;
506
- }
507
-
508
- button.bg_black:not([disabled="true"]):active, a.bg_black:not([disabled="true"]):active {
509
- background-color: #222 !important;
510
- }
511
-
512
481
  .bg_err {
513
482
  color: #FFF;
514
483
  background-color: rgb(var(--color-error)) !important;
@@ -555,71 +524,117 @@ button.bg_contrast:not([disabled="true"]):hover, a.bg_contrast:not([disabled="tr
555
524
  background-color: var(--color-main) !important;
556
525
  }
557
526
 
558
- button.bg_main:not(:disabled):not(.disabled):hover, a.bg_main:not(:disabled):not(.disabled):hover {
527
+ .bg_main.link:not(:disabled):not(.disabled):hover {
559
528
  background-color: var(--color-main-hover) !important;
560
529
  }
561
530
 
562
- button.bg_main:active, a.bg_main:active {
531
+ .bg_main.link:active {
563
532
  background-color: var(--color-main-active) !important;
564
533
  }
565
534
 
566
- .bg_main_op {
567
- color: var(--color-main) !important;
568
- background-color: var(--color-main-opaque) !important;
569
- }
535
+ /* Primary background */
570
536
 
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
-
575
- .bg_primary, .before_primary:before {
537
+ .bg_primary {
576
538
  color: var(--color-solid) !important;
577
539
  background-color: var(--color-primary) !important;
578
540
  }
579
541
 
580
- .bg_primary_hover,
581
- .bg_primary.btn:hover, button.bg_primary.pill:hover, a.bg_primary.pill:hover, .bg_primary.pill[role="button"]:hover {
542
+ .bg_primary_hv,
543
+ .bg_primary.link:hover, button.bg_primary.pill:hover, a.bg_primary.pill:hover, .bg_primary.pill[role="button"]:hover {
582
544
  background-color: var(--color-primary-hover) !important;
583
545
  }
584
546
 
585
- .bg_secondary_hover,
586
- .bg_secondary.btn:hover, button.bg_secondary.pill:hover, a.bg_secondary.pill:hover, .bg_secondary.pill[role="button"]:hover {
587
- background-color: var(--color-secondary-hover) !important;
588
- }
589
-
590
547
  .bg_primary_active,
591
- .bg_primary_hover[role="button"]:hover,
592
- .bg_primary.btn:active, button.bg_primary.pill:active, a.bg_primary.pill:active, .bg_primary.pill[role="button"]:active,
593
- .bg_primary.btn:disabled, button.bg_primary.pill:disabled, a.bg_primary.pill:disabled, .bg_primary.pill[role="button"]:disabled,
594
- .bg_primary.btn.is_loading, .bg_primary.pill.is_loading {
548
+ .bg_primary_hv[role="button"]:hover,
549
+ .bg_primary.link:active, button.bg_primary.pill:active, a.bg_primary.pill:active, .bg_primary.pill[role="button"]:active,
550
+ .bg_primary.link:disabled, button.bg_primary.pill:disabled, a.bg_primary.pill:disabled, .bg_primary.pill[role="button"]:disabled,
551
+ .bg_primary.link.is_loading, .bg_primary.pill.is_loading {
595
552
  background-color: var(--color-primary-active) !important;
596
553
  }
597
554
 
598
- .bg_primary.btn.is_loading, .bg_primary.pill.is_loading {
599
- color: var(--color-solid-active) !important;
555
+ /* Primary opaque background */
556
+
557
+ .bg_primary_op {
558
+ background-color: var(--color-primary-opaque) !important;
559
+ color: var(--color-primary);
560
+ }
561
+
562
+ .bg_primary_op_hv,
563
+ .bg_primary_op.link:hover, button.bg_primary_op.pill:hover, a.bg_primary_op.pill:hover, .bg_primary_op.pill[role="button"]:hover {
564
+ background-color: var(--color-primary-opaque-hover) !important;
565
+ color: var(--color-primary-hover);
600
566
  }
601
567
 
602
- .bg_secondary, .bg_secondary_strict, .before_secondary:before {
568
+ /* Secondary background */
569
+
570
+ .bg_secondary {
603
571
  color: var(--color-solid) !important;
604
572
  background-color: var(--color-secondary) !important;
605
573
  }
606
574
 
607
- .cl_black { color: #000 !important; }
608
- .cl_white { color: #FFF !important; }
575
+ .bg_secondary_hv,
576
+ .bg_secondary.link:hover, button.bg_secondary.pill:hover, a.bg_secondary.pill:hover, .bg_secondary.pill[role="button"]:hover {
577
+ background-color: var(--color-secondary-hover) !important;
578
+ }
579
+
580
+ .bg_secondary_active,
581
+ .bg_secondary_hv[role="button"]:hover,
582
+ .bg_secondary.link:active, button.bg_secondary.pill:active, a.bg_secondary.pill:active, .bg_secondary.pill[role="button"]:active,
583
+ .bg_secondary.link:disabled, button.bg_secondary.pill:disabled, a.bg_secondary.pill:disabled, .bg_secondary.pill[role="button"]:disabled,
584
+ .bg_secondary.link.is_loading, .bg_secondary.pill.is_loading {
585
+ background-color: var(--color-secondary-active) !important;
586
+ }
587
+
588
+ /* Secondary opaque background */
589
+
590
+ .bg_secondary_op {
591
+ background-color: var(--color-secondary-opaque) !important;
592
+ color: var(--color-secondary);
593
+ }
594
+
595
+ .bg_secondary_op_hv,
596
+ .bg_secondary_op.link:hover, button.bg_secondary_op.pill:hover, a.bg_secondary_op.pill:hover, .bg_secondary_op.pill[role="button"]:hover {
597
+ background-color: var(--color-secondary-opaque-hover) !important;
598
+ /* Use regular secondary as hover color; don't use secondary-hover */
599
+ color: var(--color-secondary);
600
+ }
601
+
602
+ /* Other color details */
603
+
604
+ .bg_primary.link.is_loading, .bg_primary.pill.is_loading {
605
+ color: var(--color-solid-active) !important;
606
+ }
609
607
 
610
608
  .pill.with_loading_indicator {
611
609
  color: transparent !important;
612
610
  }
613
611
 
614
- .bg, .bg_subtle, .before_bg:before { background-color: var(--color-bg); }
615
- .bg_alt, .before_bg_alt:before { background-color: var(--color-bg-alt); }
612
+ /* Colors - Base */
613
+
614
+ .cl_black { color: #000 !important; }
615
+ .cl_white { color: #FFF !important; }
616
+
617
+ .bg, .bg_subtle { background-color: var(--color-bg); }
618
+ .bg_alt { background-color: var(--color-bg-alt); }
616
619
  .bg_active { background-color: var(--color-bg-active); }
617
620
  .bg_medium { background-color: var(--color-bg-medium); }
618
621
 
619
- .bg_shadow { box-shadow: 0 4px 12px var(--color-bg); }
620
- .bg_alt_shadow { box-shadow: 0 4px 12px var(--color-bg-alt); }
622
+ .bg_op_1 { background-color: rgba(var(--color-bg-opaque), .1); }
623
+ .bg_op_2 { background-color: rgba(var(--color-bg-opaque), .25); }
624
+ .bg_op_3 { background-color: rgba(var(--color-bg-opaque), .5); }
625
+ .bg_op_4 { background-color: rgba(var(--color-bg-opaque), .75); }
626
+
627
+ .bg_darker_1 { background-color: rgba(var(--color-darker-rgb),.1); }
628
+ .bg_darker_2 { background-color: rgba(var(--color-darker-rgb),.25); }
629
+ .bg_darker_3 { background-color: rgba(var(--color-darker-rgb),.5); }
630
+ .bg_darker_4 { background-color: rgba(var(--color-darker-rgb),.75); }
631
+
632
+ .bg_lighter_1 { background-color: rgba(var(--color-lighter-rgb),.1); }
633
+ .bg_lighter_2 { background-color: rgba(var(--color-lighter-rgb),.25); }
634
+ .bg_lighter_3 { background-color: rgba(var(--color-lighter-rgb),.5); }
635
+ .bg_lighter_4 { background-color: rgba(var(--color-lighter-rgb),.75); }
621
636
 
622
- .bg_active.btn:hover {
637
+ .bg_active.link:not(:disabled):not(.disabled):hover {
623
638
  background-color: var(--color-bg-medium) !important;
624
639
  }
625
640
 
@@ -656,10 +671,6 @@ button.pill.bg_active:active, button.pill.bg_alt:active, button.pill.bg:active {
656
671
  background-color: var(--color-bg-alt);
657
672
  }
658
673
 
659
- .op_light { background-color: var(--opaque-light); }
660
- .op_default { background-color: var(--opaque-default); }
661
- .op_strong { background-color: var(--opaque-strong); }
662
-
663
674
  /* Colors - Palette */
664
675
 
665
676
  .cl_red_lt { color: var(--color-red-light); }
@@ -856,6 +867,11 @@ button.pill.bg_active:active, button.pill.bg_alt:active, button.pill.bg:active {
856
867
 
857
868
  /* Colors - App (keep it below so !important can be overridden */
858
869
 
870
+ .cl_darker_1 { color: rgba(0,0,0,.1); }
871
+ .cl_darker_2 { color: rgba(0,0,0,.15); }
872
+ .cl_darker_3 { color: rgba(0,0,0,.2); }
873
+ .cl_darker_4 { color: rgba(0,0,0,.25); }
874
+
859
875
  .cl_lt { color: var(--color-text-light); }
860
876
  .cl_md { color: var(--color-text-medium); }
861
877
  .cl_bd { color: var(--color-text-bold); }
@@ -869,9 +885,9 @@ button.pill.bg_active:active, button.pill.bg_alt:active, button.pill.bg:active {
869
885
  .cl_medium { color: var(--color-darker-medium); }
870
886
  .cl_bold { color: var(--color-darker-bold); }
871
887
 
872
- .cl_main { color: var(--color-main) !important; }
873
- .cl_primary { color: var(--color-primary) !important; }
874
- .cl_secondary { color: var(--color-secondary) !important; }
888
+ .cl_main, .cl_main_hv:hover { color: var(--color-main) !important; }
889
+ .cl_primary, .cl_primary_hv:hover { color: var(--color-primary) !important; }
890
+ .cl_secondary, .cl_secondary_hv:hover { color: var(--color-secondary) !important; }
875
891
  .cl_solid { color: var(--color-solid) !important; }
876
892
  .cl_err, .cl_err_hv:hover { color: rgb(var(--color-error)) !important; border-color: rgb(var(--color-error)) !important; }
877
893
  .cl_err_fd { color: rgb(var(--color-error-faded)) !important; border-color: rgb(var(--color-error)) !important; }
@@ -885,9 +901,21 @@ button.pill.bg_active:active, button.pill.bg_alt:active, button.pill.bg:active {
885
901
  .bd_4 { border-style: solid; border-width: 4px; }
886
902
 
887
903
  .bd_t { border-top-style: solid; border-top-width: 1px; }
904
+ .bd_t_2 { border-top-style: solid; border-top-width: 2px; }
905
+ .bd_t_3 { border-top-style: solid; border-top-width: 3px; }
906
+ .bd_t_4 { border-top-style: solid; border-top-width: 4px; }
888
907
  .bd_r { border-right-style: solid; border-right-width: 1px; }
908
+ .bd_r_2 { border-right-style: solid; border-right-width: 2px; }
909
+ .bd_r_3 { border-right-style: solid; border-right-width: 3px; }
910
+ .bd_r_4 { border-right-style: solid; border-right-width: 4px; }
889
911
  .bd_b { border-bottom-style: solid; border-bottom-width: 1px; }
912
+ .bd_b_2 { border-bottom-style: solid; border-bottom-width: 2px; }
913
+ .bd_b_3 { border-bottom-style: solid; border-bottom-width: 3px; }
914
+ .bd_b_4 { border-bottom-style: solid; border-bottom-width: 4px; }
890
915
  .bd_l { border-left-style: solid; border-left-width: 1px; }
916
+ .bd_l_2 { border-left-style: solid; border-left-width: 2px; }
917
+ .bd_l_3 { border-left-style: solid; border-left-width: 3px; }
918
+ .bd_l_4 { border-left-style: solid; border-left-width: 4px; }
891
919
 
892
920
  .bd_dashed { border-style: dashed; }
893
921
  .bd_dotted { border-style: dotted; }
@@ -898,8 +926,12 @@ button.pill.bg_active:active, button.pill.bg_alt:active, button.pill.bg:active {
898
926
  .bd_bd, .bd_bd_hv:hover { border-color: var(--color-darker-bold); }
899
927
  .bd_ih, .bd_ih_hv:hover { border-color: inherit; }
900
928
 
901
- a.cl_md:not(.disabled):hover, button.cl_md:not(:disabled):hover, a.cl_bd:not(.disabled):hover, button.cl_bd:not(:disabled):hover { color: var(--color-text); }
902
- a.cl_lt:not(.disabled):hover, button.cl_lt:not(:disabled):hover { color: var(--color-text-medium); }
929
+ .bd_secondary, .bd_secondary_hv:hover { border-color: var(--color-secondary); }
930
+ .bd_primary, .bd_primary_hv:hover { border-color: var(--color-primary); }
931
+ .bd_main, .bd_main_hv:hover { border-color: var(--color-main); }
932
+
933
+ .cl_md.link:not(.disabled):hover, button.cl_md:not(:disabled):hover, .cl_bd.link:not(.disabled):hover, button.cl_bd:not(:disabled):hover { color: var(--color-text); }
934
+ .cl_lt.link:not(.disabled):hover, button.cl_lt:not(:disabled):hover { color: var(--color-text-medium); }
903
935
 
904
936
  a.normal {
905
937
  color: var(--color-text);
@@ -907,14 +939,36 @@ a.normal {
907
939
 
908
940
  a.text, button.text {
909
941
  position: relative;
942
+ display: inline-block;
910
943
  color: var(--color-text);
911
944
  }
912
945
 
913
- a.text:before, button.text:before {
946
+ a.text:before, button.text:before,
947
+ a.text:after, button.text:after {
914
948
  content: ' ';
915
949
  position: absolute;
916
950
  bottom: -.25em; left: 0; right: 0;
951
+ transition: opacity .1s ease-in-out;
952
+ }
953
+
954
+ a.text:before, button.text:before {
955
+ z-index: 1;
917
956
  border-bottom: .1875em dotted var(--color-text-light);
957
+ opacity: 1;
958
+ }
959
+
960
+ a.text:after, button.text:after {
961
+ z-index: 2;
962
+ border-bottom: .3125em solid var(--color-main);
963
+ opacity: 0;
964
+ }
965
+
966
+ a.text:hover:before, button.text:hover:before {
967
+ opacity: 0;
968
+ }
969
+
970
+ a.text:hover:after, button.text:hover:after {
971
+ opacity: 1;
918
972
  }
919
973
 
920
974
  a.text.cl_md, button.text.cl_md {
@@ -925,10 +979,6 @@ a.text.cl_bd, button.text.cl_bd {
925
979
  color: var(--color-text-bold);
926
980
  }
927
981
 
928
- a.text:hover:before, button.text:hover:before {
929
- border-bottom: .3125em solid var(--color-highlight);
930
- }
931
-
932
982
  a.text.cl_primary:before, button.text.cl_primary:before, a.text.cl_primary:hover:before, button.text.cl_primary:hover:before {
933
983
  border-bottom-color: var(--color-primary);
934
984
  }
@@ -941,20 +991,24 @@ a.text.cl_main:before, button.text.cl_main:before, a.text.cl_main:hover:before,
941
991
  border-bottom-color: var(--color-main);
942
992
  }
943
993
 
994
+ /* Blurs */
995
+
996
+ .blur {
997
+ backdrop-filter: saturate(180%) blur(20px);
998
+ -webkit-backdrop-filter: saturate(180%) blur(20px);
999
+ }
1000
+
944
1001
  /* Shadow */
945
1002
  .shadow { box-shadow: var(--shadow); }
946
1003
  .shadow_line { box-shadow: var(--shadow-line); }
947
1004
  .shadow_light { box-shadow: var(--shadow-light); }
948
1005
  .shadow_float { box-shadow: var(--shadow-float); }
949
- .shadow_float_light { box-shadow: var(--shadow-float-light); }
1006
+ .shadow_textarea { box-shadow: var(--shadow-textarea); }
1007
+ .shadow_textarea_focused { box-shadow: var(--shadow-textarea-focused); }
950
1008
  .shadow_full { box-shadow: var(--shadow-full); }
951
1009
  .shadow_bg { box-shadow: 0 0 7px var(--color-bg); }
952
1010
  .shadow_bg_alt_lg { box-shadow: 0 0 25px var(--color-bg-alt); }
953
1011
 
954
- /* Opaque background-colors; use sparingly (too much will hinder browser performance) */
955
- /* :root .bg_shadow, [data-mode="light"] .bg_shadow { background-color: rgba(0,0,0,.087); } */
956
- /* [data-mode="dark"] .bg_shadow { background-color: rgba(255,255,255,.087); } */
957
-
958
1012
  /* Minor effects */
959
1013
 
960
1014
  .op_btn:hover { opacity: .58; }
@@ -962,7 +1016,8 @@ a.text.cl_main:before, button.text.cl_main:before, a.text.cl_main:hover:before,
962
1016
  /* Transitions */
963
1017
 
964
1018
  .trans { transition: all .25s ease-in-out; }
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; }
1019
+ .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, box-shadow .25s ease-in-out; }
1020
+ .trans_shadow { transition: box-shadow .25s ease-in-out; }
966
1021
  .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; }
967
1022
  .trans_transform { transition: transform .1s ease-in-out; }
968
1023
  .trans_none, .trans_none *, .trans_none_inner * { transition: none !important; }
@@ -1069,97 +1124,30 @@ rect.s_dot_away {
1069
1124
  fill: #f0b232;
1070
1125
  }
1071
1126
 
1072
- /* Theme */
1127
+ /* Theme specific */
1073
1128
 
1074
- .bg_theme {
1075
- background: var(--color-main) linear-gradient(45deg, var(--color-main-alt), var(--color-main));
1076
- }
1077
-
1078
- /* Corner light effects */
1079
-
1080
- .ring_tr:before, .ring_tr:after,
1081
- .ring_r:before, .ring_r:after {
1129
+ .pattern:before {
1082
1130
  content: ' ';
1083
- position: absolute; z-index: 1;
1084
- border-radius: 100vmax;
1085
- }
1086
-
1087
- .ring_tr:before, .ring_r:before {
1088
- opacity: .36;
1089
- }
1090
-
1091
- .ring_tr:after, .ring_r:after {
1092
- opacity: .225;
1093
- }
1094
-
1095
- .ring_tr:before, .ring_tr:after {
1096
- width: 170px; height: 170px;
1097
- }
1098
-
1099
- .ring_r:before {
1100
- top: -50%; right: -50%;
1101
- width: 100%;
1102
- padding: 100% 0 0;
1103
- }
1104
-
1105
- .ring_r:after {
1106
- top: -40%; right: -40%;
1107
- width: 75%;
1108
- padding: 75% 0 0;
1109
- }
1110
-
1111
- .ring_tr:before {
1112
- top: -28%; right: -28%;
1113
- }
1114
-
1115
- .ring_tr:after {
1116
- top: -14%; right: -14%;
1117
- }
1118
-
1119
- .ring_tr.contrast:before, .ring_r.contrast:before {
1120
- opacity: .2;
1121
- }
1122
-
1123
- .ring_tr.contrast:after, .ring_r.contrast:after {
1124
- opacity: .125;
1125
- }
1126
-
1127
- .ring_tr.solid:before, .ring_r.solid:before {
1128
- opacity: .1;
1129
- }
1130
-
1131
- .ring_tr.solid:after, .ring_r.solid:after {
1132
- opacity: .05;
1133
- }
1134
-
1135
- .ring_tr.contrast:before, .ring_tr.contrast:after,
1136
- .ring_r.contrast:before, .ring_r.contrast:after {
1137
- background-color: var(--color-contrast);
1138
- }
1139
-
1140
- .ring_tr.solid:before, .ring_tr.solid:after,
1141
- .ring_r.solid:before, .ring_r.solid:after {
1142
- background-color: var(--color-solid);
1131
+ position: absolute; z-index: -1;
1132
+ inset: 0;
1133
+ mask-image: url('https://assets.chiefhappiness.co/marketday/static/dots.svg');
1134
+ mask-repeat: repeat;
1135
+ mask-size: auto;
1136
+ mask-position: center;
1143
1137
  }
1144
1138
 
1145
- .ring_tr.main_active:before, .ring_tr.main_active:after,
1146
- .ring_r.main_active:before, .ring_r.main_active:after {
1147
- background-color: var(--color-main-active);
1148
- }
1139
+ /* Pattern colors */
1149
1140
 
1150
- .ring_tr.primary:before, .ring_tr.primary:after,
1151
- .ring_r.primary:before, .ring_r.primary:after {
1152
- background-color: var(--color-primary);
1141
+ .active_bf:before {
1142
+ background-color: var(--color-bg-active);
1153
1143
  }
1154
1144
 
1155
- .ring_tr.primary_active:before, .ring_tr.primary_active:after,
1156
- .ring_r.primary_active:before, .ring_r.primary_active:after {
1157
- background-color: var(--color-primary-active);
1145
+ .alt_bf:before {
1146
+ background-color: var(--color-bg-alt);
1158
1147
  }
1159
1148
 
1160
- .ring_tr.main:before, .ring_tr.main:after,
1161
- .ring_r.main:before, .ring_r.main:after {
1162
- background-color: var(--color-main);
1149
+ .bg_bf:before {
1150
+ background-color: var(--color-bg);
1163
1151
  }
1164
1152
 
1165
1153
  /* Unused CSS for reference - Pinstriped error container */
@@ -1173,3 +1161,4 @@ rect.s_dot_away {
1173
1161
  mask-size: auto;
1174
1162
  mask-position: center;
1175
1163
  } */
1164
+
package/css/_sizing.css CHANGED
@@ -19,16 +19,22 @@
19
19
 
20
20
  .abs_l {
21
21
  position: absolute;
22
- top: 0;
23
- bottom: 0;
24
- left: 0;
22
+ top: 0; left: 0; bottom: 0;
25
23
  }
26
24
 
27
25
  .abs_r {
28
26
  position: absolute;
29
- top: 0;
30
- bottom: 0;
31
- 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;
32
38
  }
33
39
 
34
40
  .abs_corner {
@@ -59,7 +65,7 @@ h1, h2, h3, h4, h5, h6 {
59
65
  font-weight: normal;
60
66
  font-size: 2em; /* This is em (not rem) on purpose */
61
67
  line-height: 1.3;
62
- letter-spacing: -.0075em;
68
+ letter-spacing: -.01em;
63
69
  text-indent: -.0075em;
64
70
 
65
71
  padding: .5em 0 .25em;
@@ -76,13 +82,18 @@ h5, h6, strong, .ft_bold {
76
82
  font-weight: normal;
77
83
  }
78
84
 
85
+ .ft_medium {
86
+ font-family: var(--font-sans-medium);
87
+ font-weight: normal;
88
+ }
89
+
79
90
  .ft_normal {
80
91
  font-family: var(--font-sans);
81
92
  }
82
93
 
83
94
  p {
84
95
  padding: 0;
85
- margin: 0 0 .64em;
96
+ margin: 0 0 .5em;
86
97
  }
87
98
 
88
99
  div, p {
@@ -98,17 +109,19 @@ div, p {
98
109
  .ft_xl { font-size: var(--text-xlarge); }
99
110
 
100
111
  .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;}
112
+ .ft_2 { font-size: 1.35em;}
113
+ .ft_3 { font-size: 1.7em;}
114
+ .ft_4 { font-size: 2.2em;}
104
115
 
105
116
  .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; }
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; }
109
121
 
110
- .ls_1 { letter-spacing: -.1em; text-indent: -.1em; }
122
+ .ls_1 { letter-spacing: -.08em; text-indent: -.08em; }
111
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); }
@@ -150,13 +163,13 @@ h1.ft_xl, h2.ft_xl, h3.ft_xl, h4.ft_xl, h5.ft_xl, h6.ft_xl { font-size: var(--he
150
163
  .move_left { transform: translateX(-4px); }
151
164
  .move_right { transform: translateX(4px); }
152
165
 
153
- .icon {
154
- width: 1em;
155
- height: 1em;
156
- }
166
+ .icon { width: 1em; height: 1em; }
157
167
 
158
- .icon .back_fill {
159
- fill: var(--color-bg-alt);
168
+ .ic_abs { position: relative; }
169
+ .ic_abs .icon {
170
+ position: absolute;
171
+ top: 50%;
172
+ transform: translateY(-55%);
160
173
  }
161
174
 
162
175
  /* Emojis */
@@ -202,9 +215,11 @@ h1.ft_xl, h2.ft_xl, h3.ft_xl, h4.ft_xl, h5.ft_xl, h6.ft_xl { font-size: var(--he
202
215
 
203
216
  /* Gap */
204
217
 
205
- .gap_1 { gap: .25rem; }
206
- .gap_2 { gap: .4rem; }
207
- .gap_3 { gap: .55rem; }
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; }
208
223
 
209
224
  .g_fill { grid-column: 1 / -1; }
210
225
 
@@ -213,7 +228,6 @@ h1.ft_xl, h2.ft_xl, h3.ft_xl, h4.ft_xl, h5.ft_xl, h6.ft_xl { font-size: var(--he
213
228
  .gap_df { gap: var(--rem-default); }
214
229
  .gap_md { gap: var(--rem-medium); }
215
230
  .gap_lg { gap: var(--rem-large); }
216
- .gap_xl { gap: var(--rem-xlarge); }
217
231
 
218
232
  /* Padding */
219
233
 
@@ -221,6 +235,10 @@ h1.ft_xl, h2.ft_xl, h3.ft_xl, h4.ft_xl, h5.ft_xl, h6.ft_xl { font-size: var(--he
221
235
  .px_n { padding-left: 0; padding-right: 0; }
222
236
  .py_n { padding-top: 0; padding-bottom: 0; }
223
237
 
238
+ .p_1 { padding: 1px; }
239
+ .py_1 { padding-top: 1px; padding-bottom: 1px; }
240
+ .px_1 { padding-left: 1px; padding-right: 1px; }
241
+
224
242
  .p_2 { padding: 2px; }
225
243
  .py_2 { padding-top: 2px; padding-bottom: 2px; }
226
244
  .px_2 { padding-left: 2px; padding-right: 2px; }
@@ -233,6 +251,10 @@ h1.ft_xl, h2.ft_xl, h3.ft_xl, h4.ft_xl, h5.ft_xl, h6.ft_xl { font-size: var(--he
233
251
  .py_4 { padding-top: 4px; padding-bottom: 4px; }
234
252
  .px_4 { padding-left: 4px; padding-right: 4px; }
235
253
 
254
+ .p_5 { padding: 5px; }
255
+ .py_5 { padding-top: 5px; padding-bottom: 5px; }
256
+ .px_5 { padding-left: 5px; padding-right: 5px; }
257
+
236
258
  .p_xs { padding: var(--rem-xsmall); }
237
259
  .py_xs { padding-top: var(--rem-xsmall); padding-bottom: var(--rem-xsmall); }
238
260
  .px_xs { padding-left: var(--rem-xsmall); padding-right: var(--rem-xsmall); }
@@ -262,6 +284,11 @@ h1.ft_xl, h2.ft_xl, h3.ft_xl, h4.ft_xl, h5.ft_xl, h6.ft_xl { font-size: var(--he
262
284
  .pb_n { padding-bottom: 0; }
263
285
  .pl_n { padding-left: 0; }
264
286
 
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
+
265
292
  .pt_2 { padding-top: 2px; }
266
293
  .pr_2 { padding-right: 2px; }
267
294
  .pb_2 { padding-bottom: 2px; }
@@ -277,6 +304,11 @@ h1.ft_xl, h2.ft_xl, h3.ft_xl, h4.ft_xl, h5.ft_xl, h6.ft_xl { font-size: var(--he
277
304
  .pb_4 { padding-bottom: 4px; }
278
305
  .pl_4 { padding-left: 4px; }
279
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; }
311
+
280
312
  .pt_xs { padding-top: var(--rem-xsmall); }
281
313
  .pr_xs { padding-right: var(--rem-xsmall); }
282
314
  .pb_xs { padding-bottom: var(--rem-xsmall); }
@@ -313,6 +345,10 @@ h1.ft_xl, h2.ft_xl, h3.ft_xl, h4.ft_xl, h5.ft_xl, h6.ft_xl { font-size: var(--he
313
345
  .mx_n { margin-left: 0; margin-right: 0; }
314
346
  .my_n { margin-top: 0; margin-bottom: 0; }
315
347
 
348
+ .m_1 { margin: 1px; }
349
+ .my_1 { margin-top: 1px; margin-bottom: 1px; }
350
+ .mx_1 { margin-left: 1px; margin-right: 1px; }
351
+
316
352
  .m_2 { margin: 2px; }
317
353
  .my_2 { margin-top: 2px; margin-bottom: 2px; }
318
354
  .mx_2 { margin-left: 2px; margin-right: 2px; }
@@ -325,6 +361,10 @@ h1.ft_xl, h2.ft_xl, h3.ft_xl, h4.ft_xl, h5.ft_xl, h6.ft_xl { font-size: var(--he
325
361
  .my_4 { margin-top: 4px; margin-bottom: 4px; }
326
362
  .mx_4 { margin-left: 4px; margin-right: 4px; }
327
363
 
364
+ .m_5 { margin: 5px; }
365
+ .my_5 { margin-top: 5px; margin-bottom: 5px; }
366
+ .mx_5 { margin-left: 5px; margin-right: 5px; }
367
+
328
368
  .m_xs { margin: var(--rem-xsmall); }
329
369
  .my_xs { margin-top: var(--rem-xsmall); margin-bottom: var(--rem-xsmall); }
330
370
  .mx_xs { margin-left: var(--rem-xsmall); margin-right: var(--rem-xsmall); }
@@ -354,6 +394,11 @@ h1.ft_xl, h2.ft_xl, h3.ft_xl, h4.ft_xl, h5.ft_xl, h6.ft_xl { font-size: var(--he
354
394
  .mb_n { margin-bottom: 0; }
355
395
  .ml_n { margin-left: 0; }
356
396
 
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
+
357
402
  .mt_2 { margin-top: 2px; }
358
403
  .mr_2 { margin-right: 2px; }
359
404
  .mb_2 { margin-bottom: 2px; }
@@ -369,6 +414,11 @@ h1.ft_xl, h2.ft_xl, h3.ft_xl, h4.ft_xl, h5.ft_xl, h6.ft_xl { font-size: var(--he
369
414
  .mb_4 { margin-bottom: 4px; }
370
415
  .ml_4 { margin-left: 4px; }
371
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; }
421
+
372
422
  .mt_xs { margin-top: var(--rem-xsmall); }
373
423
  .mr_xs { margin-right: var(--rem-xsmall); }
374
424
  .mb_xs { margin-bottom: var(--rem-xsmall); }
@@ -463,11 +513,19 @@ h1.ft_xl, h2.ft_xl, h3.ft_xl, h4.ft_xl, h5.ft_xl, h6.ft_xl { font-size: var(--he
463
513
  .rtr_sm { border-top-right-radius: var(--radius-small); }
464
514
  .rbr_sm { border-bottom-right-radius: var(--radius-small); }
465
515
  .rt_sm { border-top-left-radius: var(--radius-small); border-top-right-radius: var(--radius-small); }
466
- .rb_sm { border-bottom-left-radius: var(--radius-small); border-bottom-right-radius: var(--radius-small);}
467
- .rl_sm { border-top-left-radius: var(--radius-small); border-bottom-left-radius: var(--radius-small);}
468
- .rr_sm { border-top-right-radius: var(--radius-small); border-bottom-right-radius: var(--radius-small);}
469
-
470
- .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); }
471
529
 
472
530
  .r_df { border-radius: var(--radius-default); }
473
531
  .rtl_df { border-top-left-radius: var(--radius-default); }
@@ -475,11 +533,19 @@ h1.ft_xl, h2.ft_xl, h3.ft_xl, h4.ft_xl, h5.ft_xl, h6.ft_xl { font-size: var(--he
475
533
  .rtr_df { border-top-right-radius: var(--radius-default); }
476
534
  .rbr_df { border-bottom-right-radius: var(--radius-default); }
477
535
  .rt_df { border-top-left-radius: var(--radius-default); border-top-right-radius: var(--radius-default); }
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); }
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); }
483
549
 
484
550
  .r_md { border-radius: var(--radius-medium); }
485
551
  .rtl_md { border-top-left-radius: var(--radius-medium); }
@@ -487,9 +553,9 @@ h1.ft_xl, h2.ft_xl, h3.ft_xl, h4.ft_xl, h5.ft_xl, h6.ft_xl { font-size: var(--he
487
553
  .rtr_md { border-top-right-radius: var(--radius-medium); }
488
554
  .rbr_md { border-bottom-right-radius: var(--radius-medium); }
489
555
  .rt_md { border-top-left-radius: var(--radius-medium); border-top-right-radius: var(--radius-medium); }
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);}
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); }
493
559
 
494
560
  .r_lg { border-radius: var(--radius-large); }
495
561
  .rtl_lg { border-top-left-radius: var(--radius-large); }
@@ -706,25 +772,15 @@ svg.av_xl .s_dot {
706
772
  column-gap: 1rem;
707
773
  }
708
774
 
709
- .ggap_xs {
710
- row-gap: .25rem;
711
- column-gap: .25rem;
712
- }
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); }
713
780
 
714
- .ggap_sm {
715
- row-gap: .5rem;
716
- column-gap: .5rem;
717
- }
781
+ .grid.gap_n { row-gap: 0; column-gap: 0; }
718
782
 
719
- .ggap_md {
720
- row-gap: 2rem;
721
- column-gap: 2rem;
722
- }
723
-
724
- .ggap_n {
725
- row-gap: 0;
726
- column-gap: 0;
727
- }
783
+ .g_fill { grid-column: 1 / -1; }
728
784
 
729
785
  /* Grid; column spans */
730
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 {
package/css/form.css CHANGED
@@ -26,11 +26,6 @@
26
26
 
27
27
  /* Input */
28
28
 
29
- /* I like it better without the gray
30
- input.is_disabled, textarea.is_disabled {
31
- color: var(--color-text-medium);
32
- } */
33
-
34
29
  .form_el input::placeholder, .form_el textarea::placeholder {
35
30
  color: var(--color-text-medium);
36
31
  }
@@ -132,7 +127,8 @@ fieldset input[type="radio"] {
132
127
  }
133
128
 
134
129
  .form_opt:hover {
135
- background-color: var(--opaque-default);
130
+ /* I have to figure out where this is used and change it to vars */
131
+ background-color: rgba(230, 230, 230, .5);
136
132
  }
137
133
 
138
134
  .form_opt .ic_cnt {
@@ -467,10 +463,6 @@ fieldset input[type="radio"] {
467
463
  border-radius: 5px;
468
464
  }
469
465
 
470
- .ib_label.outline {
471
- transform: translateX(-1px);
472
- }
473
-
474
466
  .ib_label.outline:before {
475
467
  border: solid 1px var(--color-darker-light);
476
468
  }
package/css/layout.css CHANGED
@@ -18,18 +18,13 @@ body.p_auth {
18
18
  max-width: 380px;
19
19
  }
20
20
 
21
- .cw.xxs, .mw.xxs {
22
- /* was .small */
23
- max-width: 450px;
24
- }
25
-
26
21
  .cw.xs, .mw.xs {
27
- max-width: 530px;
22
+ max-width: 420px;
28
23
  }
29
24
 
30
25
  .cw.sm, .mw.sm {
31
26
  /* was .default_alt */
32
- max-width: 600px;
27
+ max-width: 640px;
33
28
  }
34
29
 
35
30
  .cw.df, .mw.df {
@@ -53,79 +48,32 @@ body.p_auth {
53
48
  max-height: 100%;
54
49
  }
55
50
 
56
- /* Modal wrapper heights */
51
+ /* Sidebar */
57
52
 
58
- #modal_edit_chat {
59
- /* 822px is the minimum size of one of the edit chat panels */
60
- min-height: 822px;
61
- max-height: 1280px;
53
+ .w_lsidebar {
54
+ padding-right: var(--sidebar-wt);
62
55
  }
63
56
 
64
- /* Fixed position footer */
57
+ /* Content with right <aside /> sticky sidebar */
65
58
 
66
- .abs_footer_bottom {
67
- position: absolute;
68
- bottom: 0;
69
- left: 0;
70
- right: 0;
59
+ .pg_aside {
60
+ width: var(--aside-wt);
61
+ top: var(--rem-medium);
71
62
  }
72
63
 
73
- /* Top nav */
74
-
75
- #top_nav {
76
- position: fixed;
77
- top: 0; left: 0; right: 0;
78
- box-shadow: 0 10px 0 rgba(0,0,0,.1);
79
- }
64
+ /* Floating message */
80
65
 
81
- .tn_hidden {
82
- overflow: hidden;
83
- transition: max-width .3s ease, opacity .15s ease;
84
- max-width: 0;
66
+ .floating_msg_cnt {
67
+ transition: transform .2s ease-in-out, opacity .2s ease-in-out;
68
+ transform: translateY(0);
85
69
  opacity: 0;
86
70
  }
87
71
 
88
- .tn_hidden.visible {
89
- max-width: 100%;
72
+ .floating_msg_cnt.active {
73
+ transform: translateY(var(--toolbar-ht));
90
74
  opacity: 1;
91
75
  }
92
76
 
93
- /* Page & content elements; text highlights */
94
-
95
- .hl {
96
- position: relative;
97
- }
98
-
99
- .hl .text {
100
- position: relative;
101
- z-index: 2;
102
- }
103
-
104
- .hl.thin:before {
105
- height: .1em;
106
- }
107
-
108
- .hl:before {
109
- content: ' ';
110
- position: absolute; z-index: 1;
111
- height: .35em;
112
- bottom: .15em; left: 0; right: 0;
113
- z-index: 1;
114
-
115
- /* background-color: var(--color-main); */
116
- background: var(--color-main) linear-gradient(45deg, var(--color-main-alt), var(--color-main));
117
- opacity: .5;
118
- }
119
-
120
- /* Sidebar */
121
-
122
- .w_lsidebar {
123
- padding-right: var(--sidebar-wt);
124
- }
125
-
126
- /* Content with right <aside /> sticky sidebar */
127
-
128
- .pg_aside {
129
- width: var(--aside-wt);
130
- top: var(--rem-medium);
77
+ .floating_msg {
78
+ margin: 0 -1rem;
131
79
  }
package/css/list.css CHANGED
@@ -278,7 +278,7 @@
278
278
  /* Sticky footer */
279
279
 
280
280
  .btn_area {
281
- padding: 1rem 0;
281
+ padding: 1rem 0 0;
282
282
  }
283
283
 
284
284
  .btn_area.sticky {
@@ -287,7 +287,7 @@
287
287
  top: 0; left: 0; right: 0;
288
288
  bottom: -1px;
289
289
 
290
- padding: 1rem 10px;
290
+ padding: 1rem 10px 0;
291
291
  margin-left: -10px;
292
292
  margin-right: -10px;
293
293
  background: transparent linear-gradient(180deg, transparent 0%, var(--color-bg) 50%, var(--color-bg) 100%);
package/css/popover.css CHANGED
@@ -14,7 +14,6 @@
14
14
  padding: .55rem .68rem;
15
15
  /* box-shadow: var(--shadow-light); */
16
16
  box-shadow: var(--shadow);
17
- /* box-shadow: var(--shadow-float-light); */
18
17
  }
19
18
 
20
19
  .popover.small .tooltip {
@@ -32,7 +31,7 @@
32
31
  }
33
32
 
34
33
  .po_list .inside {
35
- padding: .3rem;
34
+ padding: 5px;
36
35
  display: flex; flex-direction: column;
37
36
  justify-content: flex-start;
38
37
  align-items: stretch;
@@ -57,17 +56,6 @@
57
56
 
58
57
  /* Pop over; list item */
59
58
 
60
- .po_opt.link:not(:disabled):hover,
61
- .po_opt.link:not(.disabled):hover {
62
- background-color: var(--color-darker-soft);
63
- }
64
-
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); */
69
- }
70
-
71
59
  .po_opt .saving_area {
72
60
  width: 24px;
73
61
  transform: translateX(-4px);
@@ -75,7 +63,7 @@
75
63
 
76
64
  .po_opt {
77
65
  min-width: 150px;
78
- padding: .35rem 0 .35rem .5rem;
66
+ padding: 5px 0 5px .5rem;
79
67
  white-space: nowrap;
80
68
  border-radius: var(--radius-small);
81
69
  }
@@ -94,7 +82,7 @@
94
82
  /* Pop over; list break */
95
83
 
96
84
  .po_list_break {
97
- margin: .3rem 0;
85
+ margin: 3px 0;
98
86
  border-top: solid 1px var(--color-darker-light);
99
87
  }
100
88
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsb188/css",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "Re-usable, base CSS styles for any app (NOTE: Bring your own variables).",
5
5
  "license": "ISC",
6
6
  "author": "jsb188",