@jsb188/css 1.1.7 → 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
@@ -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;
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.7",
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",