@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/_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 {
@@ -49,7 +50,7 @@ body, body, input, textarea, button, [data-mode="light"], [data-mode="dark"] {
49
50
 
50
51
  a {
51
52
  cursor: pointer;
52
- color: var(--color-main);
53
+ color: var(--color-primary);
53
54
  text-decoration: none;
54
55
  position: relative;
55
56
  }
@@ -61,29 +62,30 @@ a.em:before {
61
62
  left: 0;
62
63
  right: 0;
63
64
  height: 4px;
64
- background-color: var(--color-main);
65
+ background-color: var(--color-primary);
65
66
  }
66
67
 
67
- a.bg:not(:disabled):hover, button.bg:not(:disabled):hover, .link.bg:not(:disabled):hover,
68
- 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 {
71
- background-color: var(--color-bg-active);
68
+ .bg_active_hv:hover {
69
+ background-color: var(--color-bg-active) !important;
72
70
  }
73
71
 
74
- .bg_alt_hover: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
81
  }
82
82
 
83
- button:not(:disabled):active,
84
- a.bg:not(:disabled):active, button.bg:not(:disabled):active, .link.bg:not(:disabled):active,
85
- 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 {
83
+ .bg_medium_hv:hover, .bg_medium_before:before {
84
+ background-color: var(--color-bg-medium) !important;
85
+ }
86
+
87
+ button:not(:disabled):not(.disabled):active,
88
+ .link:not(:disabled):not(.disabled):active {
87
89
  transform: translateY(1px);
88
90
  }
89
91
 
@@ -212,6 +214,10 @@ p:last-child {
212
214
  max-width: 100%;
213
215
  }
214
216
 
217
+ .nowrap {
218
+ white-space: nowrap;
219
+ }
220
+
215
221
  .ellip_dbl {
216
222
  overflow: hidden;
217
223
  text-overflow: ellipsis;
@@ -250,11 +256,151 @@ p:last-child {
250
256
 
251
257
  .h_f { height: 100%; }
252
258
  .h_toolbar { height: var(--toolbar-ht); }
259
+
260
+ .h_1 { height: 10px; }
261
+ .h_2 { height: 20px; }
262
+ .h_3 { height: 30px; }
263
+ .h_4 { height: 40px; }
264
+ .h_5 { height: 50px; }
265
+ .h_6 { height: 60px; }
266
+ .h_7 { height: 70px; }
267
+ .h_8 { height: 80px; }
268
+ .h_9 { height: 90px; }
269
+ .h_10 { height: 100px; }
270
+ .h_15 { height: 150px; }
271
+ .h_20 { height: 200px; }
272
+ .h_25 { height: 250px; }
273
+ .h_30 { height: 300px; }
274
+ .h_35 { height: 350px; }
275
+ .h_40 { height: 400px; }
276
+ .h_45 { height: 450px; }
277
+ .h_50 { height: 500px; }
278
+ .h_55 { height: 550px; }
279
+ .h_60 { height: 600px; }
280
+ .h_65 { height: 650px; }
281
+ .h_70 { height: 700px; }
282
+
253
283
  .w_f { width: 100%; }
254
284
  .w_sidebar { width: var(--sidebar-wt); }
255
285
 
256
- .mh_f { min-height: 100%; }
257
- .mw_f { min-width: 100%; }
286
+ .w_1 { width: 10px; }
287
+ .w_2 { width: 20px; }
288
+ .w_3 { width: 30px; }
289
+ .w_4 { width: 40px; }
290
+ .w_5 { width: 50px; }
291
+ .w_6 { width: 60px; }
292
+ .w_7 { width: 70px; }
293
+ .w_8 { width: 80px; }
294
+ .w_9 { width: 90px; }
295
+ .w_10 { width: 100px; }
296
+ .w_15 { width: 150px; }
297
+ .w_20 { width: 200px; }
298
+ .w_25 { width: 250px; }
299
+ .w_30 { width: 300px; }
300
+ .w_35 { width: 350px; }
301
+ .w_40 { width: 400px; }
302
+ .w_45 { width: 450px; }
303
+ .w_50 { width: 500px; }
304
+ .w_55 { width: 550px; }
305
+ .w_60 { width: 600px; }
306
+ .w_65 { width: 650px; }
307
+ .w_70 { width: 700px; }
308
+
309
+ .min_h_f { min-height: 100%; }
310
+ .min_h_1 { min-height: 10px; }
311
+ .min_h_2 { min-height: 20px; }
312
+ .min_h_3 { min-height: 30px; }
313
+ .min_h_4 { min-height: 40px; }
314
+ .min_h_5 { min-height: 50px; }
315
+ .min_h_6 { min-height: 60px; }
316
+ .min_h_7 { min-height: 70px; }
317
+ .min_h_8 { min-height: 80px; }
318
+ .min_h_9 { min-height: 90px; }
319
+ .min_h_10 { min-height: 100px; }
320
+ .min_h_15 { min-height: 150px; }
321
+ .min_h_20 { min-height: 200px; }
322
+ .min_h_25 { min-height: 250px; }
323
+ .min_h_30 { min-height: 300px; }
324
+ .min_h_35 { min-height: 350px; }
325
+ .min_h_40 { min-height: 400px; }
326
+ .min_h_45 { min-height: 450px; }
327
+ .min_h_50 { min-height: 500px; }
328
+ .min_h_55 { min-height: 550px; }
329
+ .min_h_60 { min-height: 600px; }
330
+ .min_h_65 { min-height: 650px; }
331
+ .min_h_70 { min-height: 700px; }
332
+
333
+ .max_h_f { max-height: 100%; }
334
+ .max_h_1 { max-height: 10px; }
335
+ .max_h_2 { max-height: 20px; }
336
+ .max_h_3 { max-height: 30px; }
337
+ .max_h_4 { max-height: 40px; }
338
+ .max_h_5 { max-height: 50px; }
339
+ .max_h_6 { max-height: 60px; }
340
+ .max_h_7 { max-height: 70px; }
341
+ .max_h_8 { max-height: 80px; }
342
+ .max_h_9 { max-height: 90px; }
343
+ .max_h_10 { max-height: 100px; }
344
+ .max_h_15 { max-height: 150px; }
345
+ .max_h_20 { max-height: 200px; }
346
+ .max_h_25 { max-height: 250px; }
347
+ .max_h_30 { max-height: 300px; }
348
+ .max_h_35 { max-height: 350px; }
349
+ .max_h_40 { max-height: 400px; }
350
+ .max_h_45 { max-height: 450px; }
351
+ .max_h_50 { max-height: 500px; }
352
+ .max_h_55 { max-height: 550px; }
353
+ .max_h_60 { max-height: 600px; }
354
+ .max_h_65 { max-height: 650px; }
355
+ .max_h_70 { max-height: 700px; }
356
+
357
+ .min_w_f { min-width: 100%; }
358
+ .min_w_1 { min-width: 10px; }
359
+ .min_w_2 { min-width: 20px; }
360
+ .min_w_3 { min-width: 30px; }
361
+ .min_w_4 { min-width: 40px; }
362
+ .min_w_5 { min-width: 50px; }
363
+ .min_w_6 { min-width: 60px; }
364
+ .min_w_7 { min-width: 70px; }
365
+ .min_w_8 { min-width: 80px; }
366
+ .min_w_9 { min-width: 90px; }
367
+ .min_w_10 { min-width: 100px; }
368
+ .min_w_15 { min-width: 150px; }
369
+ .min_w_20 { min-width: 200px; }
370
+ .min_w_25 { min-width: 250px; }
371
+ .min_w_30 { min-width: 300px; }
372
+ .min_w_35 { min-width: 350px; }
373
+ .min_w_40 { min-width: 400px; }
374
+ .min_w_45 { min-width: 450px; }
375
+ .min_w_50 { min-width: 500px; }
376
+ .min_w_55 { min-width: 550px; }
377
+ .min_w_60 { min-width: 600px; }
378
+ .min_w_65 { min-width: 650px; }
379
+ .min_w_70 { min-width: 700px; }
380
+
381
+ .max_w_f { max-width: 100%; }
382
+ .max_w_1 { max-width: 10px; }
383
+ .max_w_2 { max-width: 20px; }
384
+ .max_w_3 { max-width: 30px; }
385
+ .max_w_4 { max-width: 40px; }
386
+ .max_w_5 { max-width: 50px; }
387
+ .max_w_6 { max-width: 60px; }
388
+ .max_w_7 { max-width: 70px; }
389
+ .max_w_8 { max-width: 80px; }
390
+ .max_w_9 { max-width: 90px; }
391
+ .max_w_10 { max-width: 100px; }
392
+ .max_w_15 { max-width: 150px; }
393
+ .max_w_20 { max-width: 200px; }
394
+ .max_w_25 { max-width: 250px; }
395
+ .max_w_30 { max-width: 300px; }
396
+ .max_w_35 { max-width: 350px; }
397
+ .max_w_40 { max-width: 400px; }
398
+ .max_w_45 { max-width: 450px; }
399
+ .max_w_50 { max-width: 500px; }
400
+ .max_w_55 { max-width: 550px; }
401
+ .max_w_60 { max-width: 600px; }
402
+ .max_w_65 { max-width: 650px; }
403
+ .max_w_70 { max-width: 700px; }
258
404
 
259
405
  .a_c { text-align: center; }
260
406
  .a_r { text-align: right; }
@@ -297,20 +443,6 @@ a.u, button.u {
297
443
  color: inherit;
298
444
  }
299
445
 
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
- .l_pop:not(.is_disabled) .icon {
305
- /* NOTE: transform must be applied to .icon, not the entire <a> or <button> itself, */
306
- /* because that changes the popOver mouse enter/leave zone */
307
- transition: transform .1s ease, color .1s ease;
308
- }
309
-
310
- .l_pop:not(.is_disabled) .icon:hover {
311
- transform: scale(1.1);
312
- }
313
-
314
446
  /* Mock (must be before colors so it can be overridden) */
315
447
 
316
448
  .mock, .mock_av {
@@ -346,32 +478,6 @@ a.u, button.u {
346
478
 
347
479
  /* Background colors */
348
480
 
349
- .bg_white {
350
- color: #111 !important;
351
- background-color: #FFF !important;
352
- }
353
-
354
- button.bg_white:not([disabled="true"]):hover, a.bg_white:not([disabled="true"]):hover {
355
- background-color: #EEE !important;
356
- }
357
-
358
- button.bg_white:not([disabled="true"]):active, a.bg_white:not([disabled="true"]):active {
359
- background-color: #DDD !important;
360
- }
361
-
362
- .bg_black {
363
- color: #EEE !important;
364
- background-color: #000 !important;
365
- }
366
-
367
- button.bg_black:not([disabled="true"]):hover, a.bg_black:not([disabled="true"]):hover {
368
- background-color: #111 !important;
369
- }
370
-
371
- button.bg_black:not([disabled="true"]):active, a.bg_black:not([disabled="true"]):active {
372
- background-color: #222 !important;
373
- }
374
-
375
481
  .bg_err {
376
482
  color: #FFF;
377
483
  background-color: rgb(var(--color-error)) !important;
@@ -418,62 +524,117 @@ button.bg_contrast:not([disabled="true"]):hover, a.bg_contrast:not([disabled="tr
418
524
  background-color: var(--color-main) !important;
419
525
  }
420
526
 
421
- button.bg_main:hover, a.bg_main:hover {
527
+ .bg_main.link:not(:disabled):not(.disabled):hover {
422
528
  background-color: var(--color-main-hover) !important;
423
529
  }
424
530
 
425
- button.bg_main:active, a.bg_main:active {
531
+ .bg_main.link:active {
426
532
  background-color: var(--color-main-active) !important;
427
533
  }
428
534
 
429
- .bg_primary, .before_primary:before {
535
+ /* Primary background */
536
+
537
+ .bg_primary {
430
538
  color: var(--color-solid) !important;
431
539
  background-color: var(--color-primary) !important;
432
540
  }
433
541
 
434
- .bg_primary_hover,
435
- .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 {
436
544
  background-color: var(--color-primary-hover) !important;
437
545
  }
438
546
 
439
- .bg_secondary_hover,
440
- .bg_secondary.btn:hover, button.bg_secondary.pill:hover, a.bg_secondary.pill:hover, .bg_secondary.pill[role="button"]:hover {
441
- background-color: var(--color-secondary-hover) !important;
442
- }
443
-
444
547
  .bg_primary_active,
445
- .bg_primary_hover[role="button"]:hover,
446
- .bg_primary.btn:active, button.bg_primary.pill:active, a.bg_primary.pill:active, .bg_primary.pill[role="button"]:active,
447
- .bg_primary.btn:disabled, button.bg_primary.pill:disabled, a.bg_primary.pill:disabled, .bg_primary.pill[role="button"]:disabled,
448
- .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 {
449
552
  background-color: var(--color-primary-active) !important;
450
553
  }
451
554
 
452
- .bg_primary.btn.is_loading, .bg_primary.pill.is_loading {
453
- 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);
454
566
  }
455
567
 
456
- .bg_secondary, .bg_secondary_strict, .before_secondary:before {
568
+ /* Secondary background */
569
+
570
+ .bg_secondary {
457
571
  color: var(--color-solid) !important;
458
572
  background-color: var(--color-secondary) !important;
459
573
  }
460
574
 
461
- .cl_black { color: #000 !important; }
462
- .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
+ }
463
607
 
464
608
  .pill.with_loading_indicator {
465
609
  color: transparent !important;
466
610
  }
467
611
 
468
- .bg, .bg_subtle, .before_bg:before { background-color: var(--color-bg); }
469
- .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); }
470
619
  .bg_active { background-color: var(--color-bg-active); }
471
620
  .bg_medium { background-color: var(--color-bg-medium); }
472
621
 
473
- .bg_shadow { box-shadow: 0 4px 12px var(--color-bg); }
474
- .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); }
475
636
 
476
- .bg_active.btn:hover {
637
+ .bg_active.link:not(:disabled):not(.disabled):hover {
477
638
  background-color: var(--color-bg-medium) !important;
478
639
  }
479
640
 
@@ -510,12 +671,6 @@ button.pill.bg_active:active, button.pill.bg_alt:active, button.pill.bg:active {
510
671
  background-color: var(--color-bg-alt);
511
672
  }
512
673
 
513
- .op_light { background-color: var(--opaque-light); }
514
- .op_default { background-color: var(--opaque-default); }
515
- .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
-
519
674
  /* Colors - Palette */
520
675
 
521
676
  .cl_red_lt { color: var(--color-red-light); }
@@ -524,6 +679,9 @@ button.pill.bg_active:active, button.pill.bg_alt:active, button.pill.bg:active {
524
679
  .cl_orange_lt { color: var(--color-orange-light); }
525
680
  .cl_orange_md { color: var(--color-orange-medium); }
526
681
  .cl_orange_df { color: var(--color-orange-default); }
682
+ .cl_brown_lt { color: var(--color-brown-light); }
683
+ .cl_brown_md { color: var(--color-brown-medium); }
684
+ .cl_brown_df { color: var(--color-brown-default); }
527
685
  .cl_amber_lt { color: var(--color-amber-light); }
528
686
  .cl_amber_md { color: var(--color-amber-medium); }
529
687
  .cl_amber_df { color: var(--color-amber-default); }
@@ -585,6 +743,9 @@ button.pill.bg_active:active, button.pill.bg_alt:active, button.pill.bg:active {
585
743
  .bg_orange_lt { background-color: var(--color-orange-light); }
586
744
  .bg_orange_md { background-color: var(--color-orange-medium); }
587
745
  .bg_orange_df { background-color: var(--color-orange-default); }
746
+ .bg_brown_lt { background-color: var(--color-brown-light); }
747
+ .bg_brown_md { background-color: var(--color-brown-medium); }
748
+ .bg_brown_df { background-color: var(--color-brown-default); }
588
749
  .bg_amber_lt { background-color: var(--color-amber-light); }
589
750
  .bg_amber_md { background-color: var(--color-amber-medium); }
590
751
  .bg_amber_df { background-color: var(--color-amber-default); }
@@ -646,6 +807,9 @@ button.pill.bg_active:active, button.pill.bg_alt:active, button.pill.bg:active {
646
807
  .bd_orange_lt { border-color: var(--color-orange-light); }
647
808
  .bd_orange_md { border-color: var(--color-orange-medium); }
648
809
  .bd_orange_df { border-color: var(--color-orange-default); }
810
+ .bd_brown_lt { border-color: var(--color-brown-light); }
811
+ .bd_brown_md { border-color: var(--color-brown-medium); }
812
+ .bd_brown_df { border-color: var(--color-brown-default); }
649
813
  .bd_amber_lt { border-color: var(--color-amber-light); }
650
814
  .bd_amber_md { border-color: var(--color-amber-medium); }
651
815
  .bd_amber_df { border-color: var(--color-amber-default); }
@@ -703,13 +867,27 @@ button.pill.bg_active:active, button.pill.bg_alt:active, button.pill.bg:active {
703
867
 
704
868
  /* Colors - App (keep it below so !important can be overridden */
705
869
 
706
- .cl_df { color: var(--color-text); }
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
+
707
875
  .cl_lt { color: var(--color-text-light); }
708
876
  .cl_md { color: var(--color-text-medium); }
709
877
  .cl_bd { color: var(--color-text-bold); }
710
- .cl_main { color: var(--color-main) !important; }
711
- .cl_primary { color: var(--color-primary) !important; }
712
- .cl_secondary { color: var(--color-secondary) !important; }
878
+ .cl_df { color: var(--color-text); }
879
+
880
+ .cl_lt_hv:hover { color: var(--color-text-light) !important; }
881
+ .cl_md_hv:hover { color: var(--color-text-medium) !important; }
882
+ .cl_bd_hv:hover { color: var(--color-text-bold) !important; }
883
+
884
+ .cl_light { color: var(--color-darker-light); }
885
+ .cl_medium { color: var(--color-darker-medium); }
886
+ .cl_bold { color: var(--color-darker-bold); }
887
+
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; }
713
891
  .cl_solid { color: var(--color-solid) !important; }
714
892
  .cl_err, .cl_err_hv:hover { color: rgb(var(--color-error)) !important; border-color: rgb(var(--color-error)) !important; }
715
893
  .cl_err_fd { color: rgb(var(--color-error-faded)) !important; border-color: rgb(var(--color-error)) !important; }
@@ -717,15 +895,30 @@ button.pill.bg_active:active, button.pill.bg_alt:active, button.pill.bg:active {
717
895
  .cl_warn_fd { color: rgb(var(--color-warn-faded)) !important; border-color: rgb(var(--color-warn)) !important; }
718
896
  .cl_pass { color: rgb(var(--color-pass)) !important; }
719
897
 
720
- .bd_1 { border: solid 1px; }
721
- .bd_2 { border: solid 2px; }
722
- .bd_3 { border: solid 3px; }
723
- .bd_4 { border: solid 4px; }
724
-
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; }
898
+ .bd_1 { border-style: solid; border-width: 1px; }
899
+ .bd_2 { border-style: solid; border-width: 2px; }
900
+ .bd_3 { border-style: solid; border-width: 3px; }
901
+ .bd_4 { border-style: solid; border-width: 4px; }
902
+
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; }
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; }
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; }
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; }
919
+
920
+ .bd_dashed { border-style: dashed; }
921
+ .bd_dotted { border-style: dotted; }
729
922
 
730
923
  .bd_op, .bd_op_hv:hover { border-color: transparent; }
731
924
  .bd_lt, .bd_lt_hv:hover { border-color: var(--color-darker-light); }
@@ -733,8 +926,12 @@ button.pill.bg_active:active, button.pill.bg_alt:active, button.pill.bg:active {
733
926
  .bd_bd, .bd_bd_hv:hover { border-color: var(--color-darker-bold); }
734
927
  .bd_ih, .bd_ih_hv:hover { border-color: inherit; }
735
928
 
736
- 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); }
737
- 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); }
738
935
 
739
936
  a.normal {
740
937
  color: var(--color-text);
@@ -742,14 +939,36 @@ a.normal {
742
939
 
743
940
  a.text, button.text {
744
941
  position: relative;
942
+ display: inline-block;
745
943
  color: var(--color-text);
746
944
  }
747
945
 
748
- a.text:before, button.text:before {
946
+ a.text:before, button.text:before,
947
+ a.text:after, button.text:after {
749
948
  content: ' ';
750
949
  position: absolute;
751
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;
752
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;
753
972
  }
754
973
 
755
974
  a.text.cl_md, button.text.cl_md {
@@ -760,10 +979,6 @@ a.text.cl_bd, button.text.cl_bd {
760
979
  color: var(--color-text-bold);
761
980
  }
762
981
 
763
- a.text:hover:before, button.text:hover:before {
764
- border-bottom: .3125em solid var(--color-highlight);
765
- }
766
-
767
982
  a.text.cl_primary:before, button.text.cl_primary:before, a.text.cl_primary:hover:before, button.text.cl_primary:hover:before {
768
983
  border-bottom-color: var(--color-primary);
769
984
  }
@@ -776,72 +991,39 @@ a.text.cl_main:before, button.text.cl_main:before, a.text.cl_main:hover:before,
776
991
  border-bottom-color: var(--color-main);
777
992
  }
778
993
 
994
+ /* Blurs */
995
+
996
+ .blur {
997
+ backdrop-filter: saturate(180%) blur(20px);
998
+ -webkit-backdrop-filter: saturate(180%) blur(20px);
999
+ }
1000
+
779
1001
  /* Shadow */
780
1002
  .shadow { box-shadow: var(--shadow); }
781
1003
  .shadow_line { box-shadow: var(--shadow-line); }
782
1004
  .shadow_light { box-shadow: var(--shadow-light); }
783
1005
  .shadow_float { box-shadow: var(--shadow-float); }
784
- .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); }
785
1008
  .shadow_full { box-shadow: var(--shadow-full); }
786
1009
  .shadow_bg { box-shadow: 0 0 7px var(--color-bg); }
787
-
788
- /* Opaque background-colors; use sparingly (too much will hinder browser performance) */
789
- /* :root .bg_shadow, [data-mode="light"] .bg_shadow { background-color: rgba(0,0,0,.087); } */
790
- /* [data-mode="dark"] .bg_shadow { background-color: rgba(255,255,255,.087); } */
1010
+ .shadow_bg_alt_lg { box-shadow: 0 0 25px var(--color-bg-alt); }
791
1011
 
792
1012
  /* Minor effects */
793
1013
 
794
1014
  .op_btn:hover { opacity: .58; }
795
1015
 
796
- /* Animations */
1016
+ /* Transitions */
797
1017
 
798
1018
  .trans { transition: all .25s ease-in-out; }
799
- .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; }
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; }
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; }
801
1022
  .trans_transform { transition: transform .1s ease-in-out; }
802
1023
  .trans_none, .trans_none *, .trans_none_inner * { transition: none !important; }
803
1024
  .trans_fast { transition-duration: .1s; }
804
1025
 
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 */
1026
+ /* Y-axis scroller */
845
1027
 
846
1028
  .y_scr {
847
1029
  overflow-x: hidden;
@@ -900,6 +1082,8 @@ a.text.cl_main:before, button.text.cl_main:before, a.text.cl_main:hover:before,
900
1082
 
901
1083
  .x_scr_hidden {
902
1084
  overflow: auto hidden;
1085
+ scrollbar-width: none; /* Firefox */
1086
+ -ms-overflow-style: none; /* IE 10+ */
903
1087
  }
904
1088
 
905
1089
  /* Status colors */
@@ -940,97 +1124,30 @@ rect.s_dot_away {
940
1124
  fill: #f0b232;
941
1125
  }
942
1126
 
943
- /* Theme */
944
-
945
- .bg_theme {
946
- background: var(--color-main) linear-gradient(45deg, var(--color-main-alt), var(--color-main));
947
- }
948
-
949
- /* Corner light effects */
1127
+ /* Theme specific */
950
1128
 
951
- .ring_tr:before, .ring_tr:after,
952
- .ring_r:before, .ring_r:after {
1129
+ .pattern:before {
953
1130
  content: ' ';
954
- position: absolute; z-index: 1;
955
- border-radius: 100vmax;
956
- }
957
-
958
- .ring_tr:before, .ring_r:before {
959
- opacity: .36;
960
- }
961
-
962
- .ring_tr:after, .ring_r:after {
963
- opacity: .225;
964
- }
965
-
966
- .ring_tr:before, .ring_tr:after {
967
- width: 170px; height: 170px;
968
- }
969
-
970
- .ring_r:before {
971
- top: -50%; right: -50%;
972
- width: 100%;
973
- padding: 100% 0 0;
974
- }
975
-
976
- .ring_r:after {
977
- top: -40%; right: -40%;
978
- width: 75%;
979
- padding: 75% 0 0;
980
- }
981
-
982
- .ring_tr:before {
983
- top: -28%; right: -28%;
984
- }
985
-
986
- .ring_tr:after {
987
- top: -14%; right: -14%;
988
- }
989
-
990
- .ring_tr.contrast:before, .ring_r.contrast:before {
991
- opacity: .2;
992
- }
993
-
994
- .ring_tr.contrast:after, .ring_r.contrast:after {
995
- opacity: .125;
996
- }
997
-
998
- .ring_tr.solid:before, .ring_r.solid:before {
999
- opacity: .1;
1000
- }
1001
-
1002
- .ring_tr.solid:after, .ring_r.solid:after {
1003
- opacity: .05;
1004
- }
1005
-
1006
- .ring_tr.contrast:before, .ring_tr.contrast:after,
1007
- .ring_r.contrast:before, .ring_r.contrast:after {
1008
- background-color: var(--color-contrast);
1009
- }
1010
-
1011
- .ring_tr.solid:before, .ring_tr.solid:after,
1012
- .ring_r.solid:before, .ring_r.solid:after {
1013
- 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;
1014
1137
  }
1015
1138
 
1016
- .ring_tr.main_active:before, .ring_tr.main_active:after,
1017
- .ring_r.main_active:before, .ring_r.main_active:after {
1018
- background-color: var(--color-main-active);
1019
- }
1139
+ /* Pattern colors */
1020
1140
 
1021
- .ring_tr.primary:before, .ring_tr.primary:after,
1022
- .ring_r.primary:before, .ring_r.primary:after {
1023
- background-color: var(--color-primary);
1141
+ .active_bf:before {
1142
+ background-color: var(--color-bg-active);
1024
1143
  }
1025
1144
 
1026
- .ring_tr.primary_active:before, .ring_tr.primary_active:after,
1027
- .ring_r.primary_active:before, .ring_r.primary_active:after {
1028
- background-color: var(--color-primary-active);
1145
+ .alt_bf:before {
1146
+ background-color: var(--color-bg-alt);
1029
1147
  }
1030
1148
 
1031
- .ring_tr.main:before, .ring_tr.main:after,
1032
- .ring_r.main:before, .ring_r.main:after {
1033
- background-color: var(--color-main);
1149
+ .bg_bf:before {
1150
+ background-color: var(--color-bg);
1034
1151
  }
1035
1152
 
1036
1153
  /* Unused CSS for reference - Pinstriped error container */
@@ -1044,3 +1161,4 @@ rect.s_dot_away {
1044
1161
  mask-size: auto;
1045
1162
  mask-position: center;
1046
1163
  } */
1164
+