@jsb188/css 1.1.6 → 1.1.8

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
@@ -170,7 +170,7 @@ button {
170
170
  }
171
171
 
172
172
  .not_allowed {
173
- cursor: not-allowed;
173
+ cursor: not-allowed !important;
174
174
  }
175
175
 
176
176
  button, .link[role="button"] {
@@ -240,6 +240,10 @@ p:last-child {
240
240
  user-select: none;
241
241
  }
242
242
 
243
+ .img_contain {
244
+ object-fit: contain;
245
+ }
246
+
243
247
  .bg_cover {
244
248
  background-size: cover;
245
249
  background-position: center;
@@ -421,12 +425,12 @@ a.u, button.u {
421
425
  .bg_err { background-color: rgb(var(--color-error)) !important; color: #FFF; }
422
426
  a.bg_err:active, button.bg_err:active, .bg_err_av { background-color: rgb(var(--color-error-active)) !important; color: rgba(255, 255, 255, .64); }
423
427
  .bg_err_hv:hover { background-color: rgb(var(--color-error-active)) !important; }
424
- .bg_err_faded_hv:hover { background-color: rgb(var(--color-error-faded), .1) !important; }
428
+ .bg_err_fd_hv:hover { background-color: rgb(var(--color-error-faded), .1) !important; }
425
429
 
426
430
  .bg_warn { background-color: rgb(var(--color-warn)) !important; color: #FFF; }
427
431
  a.bg_warn:active, button.bg_warn:active, .bg_warn_av { background-color: rgb(var(--color-warn-active)) !important; color: rgba(255, 255, 255, .64); }
428
432
  .bg_warn_hv:hover { background-color: rgb(var(--color-warn-active)) !important; }
429
- .bg_warn_faded_hv:hover { background-color: rgb(var(--color-warn-faded), .1) !important; }
433
+ .bg_warn_fd_hv:hover { background-color: rgb(var(--color-warn-faded), .1) !important; }
430
434
 
431
435
  .bg_pass { background-color: rgb(var(--color-pass)) !important; color: #FFF; }
432
436
  a.bg_pass:active, button.bg_pass:active { background-color: rgb(var(--color-pass-active)) !important; }
@@ -1261,7 +1265,7 @@ rect.s_dot_away {
1261
1265
  content: ' ';
1262
1266
  position: absolute; z-index: 0;
1263
1267
  inset: 0;
1264
- mask-image: url('https://assets.chiefhappiness.co/marketday/static/dots.svg');
1268
+ mask-image: url('https://assets.chiefhappiness.co/marketday/static/dot.svg');
1265
1269
  mask-repeat: repeat;
1266
1270
  mask-size: auto;
1267
1271
  mask-position: center;
@@ -1271,7 +1275,7 @@ rect.s_dot_away {
1271
1275
  content: ' ';
1272
1276
  position: absolute; z-index: 0;
1273
1277
  inset: 0;
1274
- mask-image: url('https://assets.chiefhappiness.co/marketday/static/stripes-5.svg');
1278
+ mask-image: url('https://assets.chiefhappiness.co/marketday/static/stripe-5.svg');
1275
1279
  mask-repeat: repeat;
1276
1280
  mask-size: auto;
1277
1281
  mask-position: center;
@@ -1281,7 +1285,7 @@ rect.s_dot_away {
1281
1285
  content: ' ';
1282
1286
  position: absolute; z-index: 0;
1283
1287
  inset: 0;
1284
- mask-image: url('https://assets.chiefhappiness.co/marketday/static/texture-dot.svg');
1288
+ mask-image: url('https://assets.chiefhappiness.co/marketday/static/texture-dots.svg');
1285
1289
  mask-repeat: repeat;
1286
1290
  mask-size: auto;
1287
1291
  mask-position: center;
package/css/_sizing.css CHANGED
@@ -361,6 +361,22 @@ h1.ft_xl, h2.ft_xl, h3.ft_xl, h4.ft_xl, h5.ft_xl, h6.ft_xl, .ft_heading_xl { fon
361
361
  .py_15 { padding-top: 15px; padding-bottom: 15px; }
362
362
  .px_15 { padding-left: 15px; padding-right: 15px; }
363
363
 
364
+ .p_16 { padding: 16px; }
365
+ .py_16 { padding-top: 16px; padding-bottom: 16px; }
366
+ .px_16 { padding-left: 16px; padding-right: 16px; }
367
+
368
+ .p_17 { padding: 17px; }
369
+ .py_17 { padding-top: 17px; padding-bottom: 17px; }
370
+ .px_17 { padding-left: 17px; padding-right: 17px; }
371
+
372
+ .p_18 { padding: 18px; }
373
+ .py_18 { padding-top: 18px; padding-bottom: 18px; }
374
+ .px_18 { padding-left: 18px; padding-right: 18px; }
375
+
376
+ .p_19 { padding: 19px; }
377
+ .py_19 { padding-top: 19px; padding-bottom: 19px; }
378
+ .px_19 { padding-left: 19px; padding-right: 19px; }
379
+
364
380
  .p_20 { padding: 20px; }
365
381
  .py_20 { padding-top: 20px; padding-bottom: 20px; }
366
382
  .px_20 { padding-left: 20px; padding-right: 20px; }
@@ -481,6 +497,26 @@ h1.ft_xl, h2.ft_xl, h3.ft_xl, h4.ft_xl, h5.ft_xl, h6.ft_xl, .ft_heading_xl { fon
481
497
  .pb_15 { padding-bottom: 15px; }
482
498
  .pl_15 { padding-left: 15px; }
483
499
 
500
+ .pt_16 { padding-top: 16px; }
501
+ .pr_16 { padding-right: 16px; }
502
+ .pb_16 { padding-bottom: 16px; }
503
+ .pl_16 { padding-left: 16px; }
504
+
505
+ .pt_17 { padding-top: 17px; }
506
+ .pr_17 { padding-right: 17px; }
507
+ .pb_17 { padding-bottom: 17px; }
508
+ .pl_17 { padding-left: 17px; }
509
+
510
+ .pt_18 { padding-top: 18px; }
511
+ .pr_18 { padding-right: 18px; }
512
+ .pb_18 { padding-bottom: 18px; }
513
+ .pl_18 { padding-left: 18px; }
514
+
515
+ .pt_19 { padding-top: 19px; }
516
+ .pr_19 { padding-right: 19px; }
517
+ .pb_19 { padding-bottom: 19px; }
518
+ .pl_19 { padding-left: 19px; }
519
+
484
520
  .pt_20 { padding-top: 20px; }
485
521
  .pr_20 { padding-right: 20px; }
486
522
  .pb_20 { padding-bottom: 20px; }
@@ -613,6 +649,22 @@ h1.ft_xl, h2.ft_xl, h3.ft_xl, h4.ft_xl, h5.ft_xl, h6.ft_xl, .ft_heading_xl { fon
613
649
  .my_15 { margin-top: 15px; margin-bottom: 15px; }
614
650
  .mx_15 { margin-left: 15px; margin-right: 15px; }
615
651
 
652
+ .m_16 { margin: 16px; }
653
+ .my_16 { margin-top: 16px; margin-bottom: 16px; }
654
+ .mx_16 { margin-left: 16px; margin-right: 16px; }
655
+
656
+ .m_17 { margin: 17px; }
657
+ .my_17 { margin-top: 17px; margin-bottom: 17px; }
658
+ .mx_17 { margin-left: 17px; margin-right: 17px; }
659
+
660
+ .m_18 { margin: 18px; }
661
+ .my_18 { margin-top: 18px; margin-bottom: 18px; }
662
+ .mx_18 { margin-left: 18px; margin-right: 18px; }
663
+
664
+ .m_19 { margin: 19px; }
665
+ .my_19 { margin-top: 19px; margin-bottom: 19px; }
666
+ .mx_19 { margin-left: 19px; margin-right: 19px; }
667
+
616
668
  .m_20 { margin: 20px; }
617
669
  .my_20 { margin-top: 20px; margin-bottom: 20px; }
618
670
  .mx_20 { margin-left: 20px; margin-right: 20px; }
@@ -733,6 +785,26 @@ h1.ft_xl, h2.ft_xl, h3.ft_xl, h4.ft_xl, h5.ft_xl, h6.ft_xl, .ft_heading_xl { fon
733
785
  .mb_15 { margin-bottom: 15px; }
734
786
  .ml_15 { margin-left: 15px; }
735
787
 
788
+ .mt_16 { margin-top: 16px; }
789
+ .mr_16 { margin-right: 16px; }
790
+ .mb_16 { margin-bottom: 16px; }
791
+ .ml_16 { margin-left: 16px; }
792
+
793
+ .mt_17 { margin-top: 17px; }
794
+ .mr_17 { margin-right: 17px; }
795
+ .mb_17 { margin-bottom: 17px; }
796
+ .ml_17 { margin-left: 17px; }
797
+
798
+ .mt_18 { margin-top: 18px; }
799
+ .mr_18 { margin-right: 18px; }
800
+ .mb_18 { margin-bottom: 18px; }
801
+ .ml_18 { margin-left: 18px; }
802
+
803
+ .mt_19 { margin-top: 19px; }
804
+ .mr_19 { margin-right: 19px; }
805
+ .mb_19 { margin-bottom: 19px; }
806
+ .ml_19 { margin-left: 19px; }
807
+
736
808
  .mt_20 { margin-top: 20px; }
737
809
  .mr_20 { margin-right: 20px; }
738
810
  .mb_20 { margin-bottom: 20px; }
package/css/form.css CHANGED
@@ -338,6 +338,10 @@ fieldset input[type="radio"] {
338
338
  background-color: rgb(var(--color-bg-alt));
339
339
  }
340
340
 
341
+ .btn.outline.bg {
342
+ background-color: rgb(var(--color-bg));
343
+ }
344
+
341
345
  .btn.outline:not(:disabled):not(.disabled):hover {
342
346
  background-color: rgb(var(--color-bg-active));
343
347
  }
package/css/layout.css CHANGED
@@ -70,15 +70,24 @@ body.p_auth {
70
70
  max-width: 1440px;
71
71
  }
72
72
 
73
- .cw.full, .mw.full {
73
+ .cw.full, .mw.full, .mw.max {
74
74
  flex: 1;
75
75
  max-height: 100%;
76
76
  }
77
77
 
78
- .cw.full .cw, .mw.full .cw {
78
+ .cw.full .cw, .mw.full .cw, .mw.max .cw {
79
79
  max-height: 100%;
80
80
  }
81
81
 
82
+ /* Max size modals */
83
+
84
+ .mw.max {
85
+ background: radial-gradient(ellipse at center, rgba(var(--color-bg-alt), .9) 50%, rgba(var(--color-bg-alt), 0) 100%);
86
+ background: radial-gradient(ellipse at center, rgba(var(--color-bg-active), .9) 50%, rgba(var(--color-bg-active), 0) 100%);
87
+ background: radial-gradient(ellipse at center, rgba(var(--color-bg-medium), .9) 50%, rgba(var(--color-bg-medium), 0) 100%);
88
+ background: radial-gradient(ellipse at center, rgba(var(--color-bg-strong), .9) 50%, rgba(var(--color-bg-strong), 0) 100%);
89
+ }
90
+
82
91
  /* Sidebar */
83
92
 
84
93
  .w_lsidebar {
@@ -87,9 +96,16 @@ body.p_auth {
87
96
 
88
97
  /* Content with right <aside /> sticky sidebar */
89
98
 
99
+ .w_app_side {
100
+ padding-left: calc(var(--aside-wt) + 30px);
101
+ }
102
+
90
103
  .app_aside {
104
+ position: absolute;
91
105
  width: var(--aside-wt);
92
- top: 0;
106
+ padding-right: 20px;
107
+ max-height: calc(100vh - var(--toolbar-ht));
108
+ top: var(--toolbar-ht); left: 0;
93
109
  }
94
110
 
95
111
  /* Floating message */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsb188/css",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
4
4
  "description": "Re-usable, base CSS styles for any app (NOTE: Bring your own variables).",
5
5
  "license": "ISC",
6
6
  "author": "jsb188",