@jsb188/css 1.1.8 → 1.1.10
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/_colors.generated.css +320 -0
- package/css/_global.css +365 -562
- package/css/_responsive.css +1951 -0
- package/css/_responsive.generated.css +8283 -0
- package/css/_sizing.css +141 -1437
- package/css/alert.css +25 -5
- package/css/animate.css +29 -4
- package/css/form.css +86 -38
- package/css/layout.css +125 -75
- package/css/loading.css +5 -1
- package/css/modal.css +2 -1
- package/css/popover.css +7 -6
- package/package.json +3 -2
- package/scripts/generateResponsiveCss.js +188 -0
- package/css/list.css +0 -282
package/css/alert.css
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
|
|
2
2
|
/* Modal cover for alerts & screens */
|
|
3
3
|
|
|
4
|
-
.
|
|
5
|
-
background: linear-gradient(360deg, rgba(var(--color-modal), 1) 0%, rgba(var(--color-modal), .
|
|
4
|
+
.gr_modal {
|
|
5
|
+
background: linear-gradient(360deg, rgba(var(--color-modal), 1) 0%, rgba(var(--color-modal), .58) 50%);
|
|
6
|
+
backdrop-filter: saturate(125%) blur(1px);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.gr_modal_content {
|
|
10
|
+
background-image: url('https://assets.chiefhappiness.co/marketday/static/modal-content.jpg');
|
|
11
|
+
background-position: top center;
|
|
12
|
+
background-repeat: no-repeat;
|
|
13
|
+
background-size: 100% auto;
|
|
6
14
|
}
|
|
7
15
|
|
|
8
16
|
.modal_main_content {
|
|
@@ -11,14 +19,26 @@
|
|
|
11
19
|
|
|
12
20
|
/* Alert black-to-transparent background */
|
|
13
21
|
|
|
14
|
-
.
|
|
15
|
-
background-color: rgba(var(--color-darker-rgb), .
|
|
22
|
+
.gr_modal_alert_w_screen {
|
|
23
|
+
background-color: rgba(var(--color-darker-rgb), .064);
|
|
16
24
|
}
|
|
17
25
|
|
|
18
26
|
/* Different outlines + shadows for each modal type */
|
|
19
27
|
|
|
20
28
|
.alert_shadow_default {
|
|
21
|
-
box-shadow: 0 0 20px rgb(var(--color-modal));
|
|
29
|
+
/* box-shadow: 0 0 20px rgb(var(--color-modal)), 0 4px 12px rgba(0,0,0,.04); */
|
|
30
|
+
/* box-shadow: 0 0 40px 10px rgb(var(--color-modal)); */
|
|
31
|
+
box-shadow: 0 0 0 3px rgba(0,0,0,.04), 0 20px 40px rgb(var(--color-modal)), 0 0 100px rgba(255,255,255, 1);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.alert_shadow_drawer {
|
|
35
|
+
/* box-shadow: 0 0 0 3px rgba(0,0,0,.04), 0 0 40px rgb(var(--color-modal)), -75px 0 75px rgba(255,255,255, 1); */
|
|
36
|
+
box-shadow: 0 0 0 3px rgba(var(--color-modal),.5), 0 0 30px rgb(var(--color-bg-medium)), -75px 0 75px rgba(255,255,255, 1);
|
|
37
|
+
/* box-shadow: 0 0 0 3px rgba(0,0,0,.04), 0 20px 40px rgb(var(--color-modal)), 0 0 100px rgba(255,255,255, 1); */
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.full.alert_shadow_default {
|
|
41
|
+
box-shadow: 0 0 0 3px rgba(0,0,0,.04), 0 20px 40px rgb(var(--color-modal));
|
|
22
42
|
}
|
|
23
43
|
|
|
24
44
|
.alert_shadow_error {
|
package/css/animate.css
CHANGED
|
@@ -268,10 +268,15 @@
|
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
@keyframes keyframes_zoom_in_fade {
|
|
271
|
-
from { transform: scale3d(0.
|
|
271
|
+
from { transform: scale3d(0.97, 0.97, 0.97); opacity: 0; }
|
|
272
272
|
to { transform: scale3d(1, 1, 1); opacity: 1; }
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
+
@keyframes keyframes_zoom_in {
|
|
276
|
+
from { transform: scale3d(0.97, 0.97, 0.97); }
|
|
277
|
+
to { transform: scale3d(1, 1, 1); }
|
|
278
|
+
}
|
|
279
|
+
|
|
275
280
|
.anim_zoom_in.on_mount, .anim_zoom_in.reverse {
|
|
276
281
|
animation-name: keyframes_zoom_in;
|
|
277
282
|
animation-duration: 125ms;
|
|
@@ -279,9 +284,29 @@
|
|
|
279
284
|
animation-fill-mode: both;
|
|
280
285
|
}
|
|
281
286
|
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
287
|
+
/* Slide in from right */
|
|
288
|
+
|
|
289
|
+
.anim_slide_from_right .target:not(.anim_inner), .anim_slide_from_right.target {
|
|
290
|
+
transition-property: transform;
|
|
291
|
+
transition-timing-function: ease-in-out;
|
|
292
|
+
transition-duration: 150ms;
|
|
293
|
+
transform: translate(100%);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.anim_slide_from_right.visible .target:not(.anim_inner), .anim_slide_from_right.visible.target {
|
|
297
|
+
transform: translate(0%);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
@keyframes keyframes_slide_from_right {
|
|
301
|
+
from { transform: translate(100%); }
|
|
302
|
+
to { transform: translate(0%); }
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.anim_slide_from_right.on_mount, .anim_slide_from_right.reverse {
|
|
306
|
+
animation-name: keyframes_slide_from_right;
|
|
307
|
+
animation-duration: 125ms;
|
|
308
|
+
animation-timing-function: ease-out;
|
|
309
|
+
animation-fill-mode: both;
|
|
285
310
|
}
|
|
286
311
|
|
|
287
312
|
/* Drop & fade down from slightly elevated position */
|
package/css/form.css
CHANGED
|
@@ -17,6 +17,10 @@
|
|
|
17
17
|
padding: .58rem;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
fieldset.form_cnt {
|
|
21
|
+
padding-bottom: 1rem;
|
|
22
|
+
}
|
|
23
|
+
|
|
20
24
|
.form_cnt.smaller,
|
|
21
25
|
.form_el.smaller input, .form_el.smaller textarea, .form_el.smaller .tx_virtualizer {
|
|
22
26
|
/* If less is needed, use .lh_1 .lh_2 to further flatten the height */
|
|
@@ -40,7 +44,7 @@
|
|
|
40
44
|
background-color: rgba(0,0,0,0);
|
|
41
45
|
}
|
|
42
46
|
|
|
43
|
-
.invis_input:focus {
|
|
47
|
+
.invis_input:focus, .stock:focus {
|
|
44
48
|
outline: none;
|
|
45
49
|
}
|
|
46
50
|
|
|
@@ -61,32 +65,71 @@ input.invis_input::-webkit-inner-spin-button {
|
|
|
61
65
|
margin: 0;
|
|
62
66
|
}
|
|
63
67
|
|
|
64
|
-
/* Input */
|
|
68
|
+
/* Input; focus, placeholder */
|
|
65
69
|
|
|
66
|
-
.
|
|
67
|
-
|
|
70
|
+
input.error, textarea.error, [contenteditable='true'].error,
|
|
71
|
+
.form_el.error .form_input, .form_el .form_input.error {
|
|
72
|
+
border-color: rgb(var(--color-error)) !important;
|
|
73
|
+
background-color: rgba(var(--color-error-faded), .1) !important;
|
|
74
|
+
}
|
|
75
|
+
input.error:focus, textarea.error:focus, [contenteditable='true'].error:focus,
|
|
76
|
+
.form_el.error .form_input:focus, .form_el .form_input.error:focus {
|
|
77
|
+
outline: 2px solid rgb(var(--color-error)) !important;
|
|
68
78
|
}
|
|
69
79
|
|
|
70
|
-
|
|
71
|
-
|
|
80
|
+
input:not(.stock):focus, textarea:not(.stock):focus, [contenteditable='true']:not(.stock):focus,
|
|
81
|
+
.form_el input.focus, .form_el.focused textarea.form_el, .form_el.focused input, .form_el.focused textarea,
|
|
82
|
+
.form_el.error.focused .form_input, .form_el.focused .form_input.error {
|
|
83
|
+
outline: 2px solid rgb(var(--color-main));
|
|
84
|
+
border-color: rgb(var(--color-main)) !important;
|
|
85
|
+
/* box-shadow: 0 0 20px rgba(0,0,0,.05); */
|
|
86
|
+
box-shadow: 0 0 40px rgba(var(--color-main),.1);
|
|
72
87
|
}
|
|
73
88
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
89
|
+
.form_input:not(.disabled):not(.error):hover,
|
|
90
|
+
.form_el:hover .form_input:not(.disabled):not(.error),
|
|
91
|
+
.form_el_hv:hover {
|
|
92
|
+
background-color: rgba(var(--color-main), .04);
|
|
93
|
+
}
|
|
78
94
|
|
|
79
|
-
.
|
|
80
|
-
|
|
95
|
+
input:not(.error):not(.disabled):not(.stock):focus, textarea:not(.error):not(.disabled):not(.stock):focus, [contenteditable='true']:not(.error):not(.disabled):not(.stock):focus,
|
|
96
|
+
.form_input:not(.disabled):not(.error):focus:hover,
|
|
97
|
+
.form_el.focused .form_input:not(.error):not(.disabled) {
|
|
98
|
+
/* background-color: rgba(var(--color-main), .075) !important; */
|
|
99
|
+
background-color: rgba(var(--color-main), .075);
|
|
81
100
|
}
|
|
82
101
|
|
|
83
|
-
.
|
|
84
|
-
background-color:
|
|
102
|
+
input.focus_bg:focus, textarea.focus_bg:focus, [contenteditable='true'].focus_bg:focus {
|
|
103
|
+
background-color: rgb(var(--color-bg)) !important;
|
|
85
104
|
}
|
|
86
105
|
|
|
87
|
-
.form_el .form_input:not(.error):not(.disabled):focus, .form_el:not(.error):not(.disabled):hover .form_input:not(.error):not(.disabled):focus,
|
|
106
|
+
/* .form_el .form_input:not(.error):not(.disabled):focus, .form_el:not(.error):not(.disabled):hover .form_input:not(.error):not(.disabled):focus,
|
|
88
107
|
.form_el.focused .form_input:not(.error):not(.disabled) {
|
|
89
108
|
background-color: rgba(var(--color-main), .075) !important;
|
|
109
|
+
} */
|
|
110
|
+
|
|
111
|
+
/* Input; focus, placeholder for black single outlines */
|
|
112
|
+
|
|
113
|
+
/* .form_el input::placeholder, .form_el textarea::placeholder {
|
|
114
|
+
color: var(--color-text-light);
|
|
115
|
+
} */
|
|
116
|
+
|
|
117
|
+
/* .form_el input:focus, .form_el textarea:focus, [contenteditable='true']:focus {
|
|
118
|
+
outline: none;
|
|
119
|
+
} */
|
|
120
|
+
|
|
121
|
+
/* .form_el .form_input:not(.disabled):not(.error):focus, .form_el.focused .form_input:not(.disabled):not(.error) {
|
|
122
|
+
border-color: var(--color-text-default) !important;
|
|
123
|
+
} */
|
|
124
|
+
|
|
125
|
+
/* Input; form element; various styles */
|
|
126
|
+
|
|
127
|
+
/* .focus_shadow input:focus, .focus_shadow textarea:focus, .focus_shadow [contenteditable='true']:focus {
|
|
128
|
+
box-shadow: 0 0 40px rgba(var(--color-main),.15), 0 0 1px rgba(0,0,0,.32);
|
|
129
|
+
} */
|
|
130
|
+
|
|
131
|
+
.form_not_allowed input, .form_not_allowed textarea, .form_not_allowed [role="button"] {
|
|
132
|
+
cursor: not-allowed !important;
|
|
90
133
|
}
|
|
91
134
|
|
|
92
135
|
.form_el:not(.disabled):hover .form_el_r,
|
|
@@ -94,25 +137,17 @@ input.invis_input::-webkit-inner-spin-button {
|
|
|
94
137
|
background: linear-gradient(to left, var(--color-main-bg) 50%, rgba(var(--color-main), 0)) !important;
|
|
95
138
|
}
|
|
96
139
|
|
|
97
|
-
.form_el .form_input:not(.disabled):not(.error):focus, .form_el.focused .form_input:not(.disabled):not(.error) {
|
|
98
|
-
border-color: var(--color-text-default) !important;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
140
|
[contenteditable='true']:empty:before {
|
|
102
141
|
content: attr(data-placeholder);
|
|
103
142
|
color: var(--color-text-light);
|
|
104
143
|
}
|
|
105
144
|
|
|
106
|
-
.form_el.error .form_input, .form_el .form_input.error {
|
|
107
|
-
border-color: rgb(var(--color-error)) !important;
|
|
108
|
-
background-color: rgba(var(--color-error-faded), .1) !important;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
145
|
.form_el.c input {
|
|
112
146
|
text-align: center;
|
|
113
147
|
}
|
|
114
148
|
|
|
115
149
|
/* Input preset: lighter */
|
|
150
|
+
|
|
116
151
|
.form_el.lighter .form_input, .form_el.lighter .tx_virtualizer {
|
|
117
152
|
border: solid 1px var(--color-darker-light);
|
|
118
153
|
}
|
|
@@ -124,6 +159,20 @@ input.invis_input::-webkit-inner-spin-button {
|
|
|
124
159
|
padding: .35rem;
|
|
125
160
|
}
|
|
126
161
|
|
|
162
|
+
/* Input preset; condensed */
|
|
163
|
+
|
|
164
|
+
.form_el.condensed {
|
|
165
|
+
margin-top: .9rem;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.form_el.condensed label {
|
|
169
|
+
position: absolute; z-index: 5;
|
|
170
|
+
top: -9px; left: 9px;
|
|
171
|
+
padding: 0 1px !important;
|
|
172
|
+
font-size: var(--text-xxsmall);
|
|
173
|
+
background-color: rgb(var(--color-bg));
|
|
174
|
+
}
|
|
175
|
+
|
|
127
176
|
/* Textarea */
|
|
128
177
|
|
|
129
178
|
.form_el.fs textarea {
|
|
@@ -143,7 +192,7 @@ input.invis_input::-webkit-inner-spin-button {
|
|
|
143
192
|
|
|
144
193
|
/* Label */
|
|
145
194
|
|
|
146
|
-
.form_el label {
|
|
195
|
+
.form_el label, label.form_el {
|
|
147
196
|
color: var(--color-text-medium);
|
|
148
197
|
}
|
|
149
198
|
|
|
@@ -161,26 +210,17 @@ fieldset {
|
|
|
161
210
|
padding: 0;
|
|
162
211
|
margin: 0;
|
|
163
212
|
border: none;
|
|
213
|
+
}
|
|
164
214
|
|
|
215
|
+
fieldset legend {
|
|
216
|
+
padding: 0 2px;
|
|
217
|
+
margin-left: -2px;
|
|
165
218
|
}
|
|
166
219
|
|
|
167
220
|
fieldset input[type="radio"] {
|
|
168
221
|
display: none;
|
|
169
222
|
}
|
|
170
223
|
|
|
171
|
-
.form_opt {
|
|
172
|
-
padding: .3rem .3rem .4rem;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.form_opt:hover {
|
|
176
|
-
/* I have to figure out where this is used and change it to vars */
|
|
177
|
-
background-color: rgba(230, 230, 230, .5);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.form_opt .ic_cnt {
|
|
181
|
-
width: 25px;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
224
|
/* Clickable button at right; use this for inputs */
|
|
185
225
|
|
|
186
226
|
.form_el.has_r .form_el_r {
|
|
@@ -319,6 +359,10 @@ fieldset input[type="radio"] {
|
|
|
319
359
|
background-color: rgba(0,0,0,.1);
|
|
320
360
|
}
|
|
321
361
|
|
|
362
|
+
a.btn.subtle, a.btn.outline {
|
|
363
|
+
color: inherit;
|
|
364
|
+
}
|
|
365
|
+
|
|
322
366
|
.btn.subtle:disabled, .btn.subtle.disabled {
|
|
323
367
|
color: var(--color-text-medium);
|
|
324
368
|
}
|
|
@@ -464,6 +508,10 @@ fieldset input[type="radio"] {
|
|
|
464
508
|
border: solid 1px var(--color-darker-light);
|
|
465
509
|
}
|
|
466
510
|
|
|
511
|
+
.ib_label.outline.bg_bf:before {
|
|
512
|
+
border-color: var(--color-darker-medium);
|
|
513
|
+
}
|
|
514
|
+
|
|
467
515
|
/* Color indicators */
|
|
468
516
|
|
|
469
517
|
.ib_label .indicator, .color_indicator {
|
package/css/layout.css
CHANGED
|
@@ -9,44 +9,74 @@ body.p_auth {
|
|
|
9
9
|
|
|
10
10
|
.cw, .mw {
|
|
11
11
|
width: 100%;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.cw, .mw, .mx_auto {
|
|
12
15
|
margin-left: auto;
|
|
13
16
|
margin-right: auto;
|
|
14
17
|
}
|
|
15
18
|
|
|
16
19
|
.mw {
|
|
17
|
-
|
|
20
|
+
--toolbar-ht: 50px;
|
|
21
|
+
|
|
22
|
+
max-height: calc(100vh - var(--toolbar-ht));
|
|
18
23
|
/* max-height: calc(100vh - var(--rem-medium) - var(--rem-medium)); */
|
|
19
24
|
}
|
|
20
25
|
|
|
21
26
|
.mw .scr_area {
|
|
22
|
-
|
|
23
|
-
max-height: calc(100vh - 50px - 45px);
|
|
27
|
+
max-height: calc(100vh - var(--toolbar-ht) - var(--toolbar-ht));
|
|
24
28
|
/* max-height: calc(100vh - var(--rem-medium) - var(--rem-medium) - 45px); */
|
|
25
29
|
}
|
|
26
30
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
31
|
+
/* Top-fixed position modal content wrappers */
|
|
32
|
+
|
|
33
|
+
.mw_page {
|
|
34
|
+
padding-top: 6vh;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.mw_page .modal_main_content {
|
|
38
|
+
max-height: calc(94vh + 10px);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* Special sizing for mobile */
|
|
42
|
+
|
|
43
|
+
.max_h_extend_bottom { max-height: 87.5vh; }
|
|
44
|
+
.mw_page .max_h_extend_bottom { max-height: calc(94vh - var(--toolbar-ht) + 10); padding-bottom: 10px; }
|
|
45
|
+
|
|
46
|
+
@media (max-height: 1140px) {
|
|
47
|
+
/* Designed for modal wrapper layout content while accounting for mobile header area */
|
|
48
|
+
.max_h_extend_bottom { max-height: 85vh; }
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@media (max-height: 1024px) {
|
|
52
|
+
/* Designed for modal wrapper layout content while accounting for mobile header area */
|
|
53
|
+
.max_h_extend_bottom { max-height: 82.5vh; }
|
|
54
|
+
|
|
55
|
+
/* .mw_page responsive design */
|
|
56
|
+
.mw_page { padding-top: 7.5vh; }
|
|
57
|
+
.mw_page .modal_main_content { max-height: calc(92.5vh + 10px); }
|
|
58
|
+
.mw_page .max_h_extend_bottom { max-height: calc(92.5vh - var(--toolbar-ht) + 10); }
|
|
30
59
|
}
|
|
31
60
|
|
|
32
|
-
|
|
33
|
-
/*
|
|
34
|
-
max-height:
|
|
35
|
-
/* max-height: calc(100vh - var(--rem-medium) - var(--rem-medium) + 14px); */
|
|
61
|
+
@media (max-height: 768px) {
|
|
62
|
+
/* Designed for modal wrapper layout content while accounting for mobile header area */
|
|
63
|
+
.max_h_extend_bottom { max-height: 80vh; }
|
|
36
64
|
}
|
|
37
65
|
|
|
38
|
-
|
|
39
|
-
/*
|
|
40
|
-
max-height:
|
|
66
|
+
@media (max-height: 640px) {
|
|
67
|
+
/* Designed for modal wrapper layout content while accounting for mobile header area */
|
|
68
|
+
.max_h_extend_bottom { max-height: 75vh; }
|
|
41
69
|
}
|
|
42
70
|
|
|
71
|
+
/* Common, standardized content wrapper sizes */
|
|
72
|
+
|
|
43
73
|
.cw.tn, .mw.tn {
|
|
44
74
|
/* was .tiny */
|
|
45
75
|
max-width: 380px;
|
|
46
76
|
}
|
|
47
77
|
|
|
48
78
|
.cw.xs, .mw.xs {
|
|
49
|
-
max-width:
|
|
79
|
+
max-width: 425px;
|
|
50
80
|
}
|
|
51
81
|
|
|
52
82
|
.cw.sm, .mw.sm {
|
|
@@ -82,10 +112,10 @@ body.p_auth {
|
|
|
82
112
|
/* Max size modals */
|
|
83
113
|
|
|
84
114
|
.mw.max {
|
|
85
|
-
background: radial-gradient(ellipse at center, rgba(var(--color-bg-alt), .
|
|
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%);
|
|
115
|
+
background: radial-gradient(ellipse at center, rgba(var(--color-bg-alt), .7) 50%, rgba(var(--color-bg-alt), 0) 100%);
|
|
116
|
+
/* background: radial-gradient(ellipse at center, rgba(var(--color-bg-active), .9) 50%, rgba(var(--color-bg-active), 0) 100%); */
|
|
117
|
+
/* background: radial-gradient(ellipse at center, rgba(var(--color-bg-medium), .9) 50%, rgba(var(--color-bg-medium), 0) 100%); */
|
|
118
|
+
/* background: radial-gradient(ellipse at center, rgba(var(--color-bg-strong), .9) 50%, rgba(var(--color-bg-strong), 0) 100%); */
|
|
89
119
|
}
|
|
90
120
|
|
|
91
121
|
/* Sidebar */
|
|
@@ -97,15 +127,13 @@ body.p_auth {
|
|
|
97
127
|
/* Content with right <aside /> sticky sidebar */
|
|
98
128
|
|
|
99
129
|
.w_app_side {
|
|
100
|
-
|
|
130
|
+
margin-right: var(--aside-wt);
|
|
101
131
|
}
|
|
102
132
|
|
|
103
133
|
.app_aside {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
padding-
|
|
107
|
-
max-height: calc(100vh - var(--toolbar-ht));
|
|
108
|
-
top: var(--toolbar-ht); left: 0;
|
|
134
|
+
max-height: 100vh;
|
|
135
|
+
top: 0; right: 0;
|
|
136
|
+
padding-top: var(--toolbar-ht);
|
|
109
137
|
}
|
|
110
138
|
|
|
111
139
|
/* Floating message */
|
|
@@ -113,16 +141,6 @@ body.p_auth {
|
|
|
113
141
|
.floating_msg_cnt {
|
|
114
142
|
transition: transform .2s ease-in-out, opacity .2s ease-in-out;
|
|
115
143
|
transform: translateY(0);
|
|
116
|
-
opacity: 0;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.floating_msg_cnt.active {
|
|
120
|
-
transform: translateY(var(--toolbar-ht));
|
|
121
|
-
opacity: 1;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.floating_msg {
|
|
125
|
-
margin: 0 -1rem;
|
|
126
144
|
}
|
|
127
145
|
|
|
128
146
|
/* Helpers, to work with layout variables */
|
|
@@ -135,13 +153,6 @@ body.p_auth {
|
|
|
135
153
|
max-height: calc(100vh - var(--toolbar-ht));
|
|
136
154
|
}
|
|
137
155
|
|
|
138
|
-
/* App layout; toolbar title */
|
|
139
|
-
|
|
140
|
-
#app_toolbar_title {
|
|
141
|
-
height: var(--toolbar-ht);
|
|
142
|
-
flex-shrink: 0;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
156
|
/* App layout; account nav */
|
|
146
157
|
|
|
147
158
|
#app_toolbar_right {
|
|
@@ -154,26 +165,35 @@ body.p_auth {
|
|
|
154
165
|
|
|
155
166
|
#app_sidebar {
|
|
156
167
|
position: relative;
|
|
157
|
-
width:
|
|
168
|
+
width: 0;
|
|
169
|
+
overflow: hidden;
|
|
158
170
|
transition: width ease .2s;
|
|
159
171
|
}
|
|
160
172
|
|
|
173
|
+
.open #app_sidebar {
|
|
174
|
+
width: var(--sidebar-wt);
|
|
175
|
+
}
|
|
176
|
+
|
|
161
177
|
.app_sidebar_inside {
|
|
162
178
|
position: absolute;
|
|
163
179
|
top: 0;
|
|
164
|
-
left:
|
|
180
|
+
left: calc(var(--sidebar-wt) * -1);
|
|
165
181
|
bottom: 0;
|
|
166
182
|
width: var(--sidebar-wt);
|
|
167
183
|
transition: left ease .2s;
|
|
168
184
|
}
|
|
169
185
|
|
|
186
|
+
.open .app_sidebar_inside {
|
|
187
|
+
left: 0;
|
|
188
|
+
}
|
|
189
|
+
|
|
170
190
|
.app_sidebar_inside_width {
|
|
171
|
-
width: calc(var(--sidebar-wt) -
|
|
191
|
+
width: calc(var(--sidebar-wt) - 23px);
|
|
172
192
|
}
|
|
173
193
|
|
|
174
194
|
/* App layout; sidebar mobile responsive design */
|
|
175
195
|
|
|
176
|
-
@media (
|
|
196
|
+
@media (--responsive-mobile-portrait) {
|
|
177
197
|
#app_sidebar {
|
|
178
198
|
width: 0;
|
|
179
199
|
}
|
|
@@ -185,40 +205,70 @@ body.p_auth {
|
|
|
185
205
|
/* position: relative; */
|
|
186
206
|
overflow-x: hidden;
|
|
187
207
|
overflow-y: scroll;
|
|
188
|
-
-webkit-overflow-scrolling: touch;
|
|
189
|
-
/* scroll-behavior: smooth; */
|
|
190
|
-
/* After a recent update, this no longer works in Chrome */
|
|
191
|
-
/* overflow-y: overlay; */
|
|
192
|
-
scrollbar-gutter: auto;
|
|
193
|
-
/* In "new" Google Chrome, this will make the scrollbar invisible, so we must turn it off. */
|
|
194
|
-
/* scrollbar-width: thin; */
|
|
195
|
-
|
|
196
|
-
/* This is for bottom-up chat style virtualized list */
|
|
197
|
-
overflow-anchor: none;
|
|
198
208
|
}
|
|
199
209
|
|
|
200
|
-
.app_scr
|
|
201
|
-
|
|
202
|
-
/* background-color: rgb(var(--color-bg-alt)); */
|
|
210
|
+
.app_scr.of_x {
|
|
211
|
+
overflow-x: scroll;
|
|
203
212
|
}
|
|
204
213
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
214
|
+
@media (--gte-mobile-portrait) {
|
|
215
|
+
.app_scr {
|
|
216
|
+
-webkit-overflow-scrolling: touch;
|
|
217
|
+
/* scroll-behavior: smooth; */
|
|
218
|
+
/* After a recent update, this no longer works in Chrome */
|
|
219
|
+
/* overflow-y: overlay; */
|
|
220
|
+
scrollbar-gutter: auto;
|
|
221
|
+
/* In "new" Google Chrome, this will make the scrollbar invisible, so we must turn it off. */
|
|
222
|
+
/* scrollbar-width: thin; */
|
|
209
223
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
224
|
+
/* This is for bottom-up chat style virtualized list */
|
|
225
|
+
overflow-anchor: none;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.app_scr::-webkit-scrollbar {
|
|
229
|
+
width: 18px;
|
|
230
|
+
height: 18px;
|
|
231
|
+
/* background-color: rgb(var(--color-bg-active)); */
|
|
232
|
+
background-color: rgb(var(--color-bg));
|
|
233
|
+
/* border: solid 1px red; */
|
|
234
|
+
}
|
|
220
235
|
|
|
221
|
-
.app_scr
|
|
222
|
-
|
|
223
|
-
|
|
236
|
+
.app_scr::-webkit-scrollbar:vertical {
|
|
237
|
+
border-left: solid 1px rgb(var(--color-bg-active));
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.app_scr::-webkit-scrollbar:horizontal {
|
|
241
|
+
border-top: solid 1px rgb(var(--color-bg-active));
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.app_scr::-webkit-scrollbar-track {
|
|
245
|
+
/* box-shadow: inset 0 0 0 5px rgb(var(--color-bg)); */
|
|
246
|
+
border-radius: 9px;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.app_scr::-webkit-scrollbar-thumb {
|
|
250
|
+
z-index: -1;
|
|
251
|
+
/* Use this for invisible style */
|
|
252
|
+
/* background-color: rgb(var(--color-bg-active)); */
|
|
253
|
+
background-color: transparent;
|
|
254
|
+
box-shadow: inset 0 0 0 5px rgb(var(--color-bg));
|
|
255
|
+
/* transform: scale(.5); */
|
|
256
|
+
border-radius: 9px;
|
|
257
|
+
min-height: 100px;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.app_scr::-webkit-scrollbar-thumb {
|
|
261
|
+
background-color: rgb(var(--color-bg-medium));
|
|
262
|
+
/* background-color: rgb(var(--color-bg-active)); */
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.app_scr:hover::-webkit-scrollbar-thumb {
|
|
266
|
+
background-color: rgb(var(--color-bg-medium));
|
|
267
|
+
/* background-color: rgb(var(--color-bg-active)); */
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.app_scr::-webkit-scrollbar-thumb:active {
|
|
271
|
+
background-color: rgb(var(--color-bg-strong));
|
|
272
|
+
/* background-color: rgb(var(--color-bg-active)); */
|
|
273
|
+
}
|
|
224
274
|
}
|
package/css/loading.css
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
.dot.tn {
|
|
17
17
|
width: 0.3rem;
|
|
18
18
|
height: 0.3rem;
|
|
19
|
-
margin: 0 .
|
|
19
|
+
margin: 0 .09rem;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.dot.sm {
|
|
@@ -49,6 +49,10 @@
|
|
|
49
49
|
background-color: var(--color-text);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
+
.bg_err .dot, .bg_primary .dot, .bg_secondary .dot {
|
|
53
|
+
background-color: var(--color-solid);
|
|
54
|
+
}
|
|
55
|
+
|
|
52
56
|
.bg_main .activity .dot, .bg_primary .activity .dot, .bg_secondary .activity .dot {
|
|
53
57
|
background-color: var(--color-solid);
|
|
54
58
|
}
|
package/css/modal.css
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
.mw_content {
|
|
5
5
|
flex: 1;
|
|
6
6
|
height: 100%;
|
|
7
|
+
overflow-y: auto;
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
.mw_content.w_pad {
|
|
@@ -79,7 +80,7 @@
|
|
|
79
80
|
/* Modal tabs nav */
|
|
80
81
|
|
|
81
82
|
.mw_tabs_nav .tab_item:hover .indicator {
|
|
82
|
-
background-color: rgba(var(--color-darker-rgb)
|
|
83
|
+
background-color: rgba(var(--color-darker-rgb), .1);
|
|
83
84
|
}
|
|
84
85
|
|
|
85
86
|
/* Modal side nav */
|
package/css/popover.css
CHANGED
|
@@ -27,10 +27,11 @@
|
|
|
27
27
|
/* Pop over; list */
|
|
28
28
|
|
|
29
29
|
.po_list {
|
|
30
|
-
border-radius:
|
|
30
|
+
border-radius: 6px;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.po_list .inside {
|
|
34
|
+
/* padding: 5px; */
|
|
34
35
|
padding: 5px;
|
|
35
36
|
display: flex; flex-direction: column;
|
|
36
37
|
justify-content: flex-start;
|
|
@@ -68,8 +69,8 @@
|
|
|
68
69
|
}
|
|
69
70
|
|
|
70
71
|
.po_opt {
|
|
71
|
-
padding: 5px 0 5px .
|
|
72
|
-
border-radius:
|
|
72
|
+
padding: 5px 0 5px .4375rem;
|
|
73
|
+
border-radius: 5px;
|
|
73
74
|
}
|
|
74
75
|
|
|
75
76
|
.po_opt.default:first-child {
|
|
@@ -83,7 +84,7 @@
|
|
|
83
84
|
/* Pop over; text item */
|
|
84
85
|
|
|
85
86
|
.po_opt.text_item {
|
|
86
|
-
padding: 5px .
|
|
87
|
+
padding: 5px .4375rem;
|
|
87
88
|
margin-bottom: 0;
|
|
88
89
|
}
|
|
89
90
|
|
|
@@ -95,13 +96,13 @@
|
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
.po_opt.preset_small {
|
|
98
|
-
padding: .5rem 0 .5rem .
|
|
99
|
+
padding: .5rem 0 .5rem .4375rem;
|
|
99
100
|
}
|
|
100
101
|
|
|
101
102
|
/* Pop over; list break */
|
|
102
103
|
|
|
103
104
|
.po_list_break {
|
|
104
|
-
margin:
|
|
105
|
+
margin: 4px 0;
|
|
105
106
|
border-top: solid 1px var(--color-darker-light);
|
|
106
107
|
}
|
|
107
108
|
|