@jsb188/css 1.1.3 → 1.1.5
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 +374 -435
- package/css/_sizing.css +687 -143
- package/css/alert.css +12 -48
- package/css/animate.css +144 -48
- package/css/form.css +98 -133
- package/css/layout.css +26 -70
- package/css/list.css +23 -35
- package/css/loading.css +17 -17
- package/css/misc.css +4 -4
- package/css/modal.css +6 -112
- package/css/popover.css +27 -20
- package/package.json +1 -1
package/css/form.css
CHANGED
|
@@ -4,7 +4,10 @@
|
|
|
4
4
|
.form_el {
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-direction: column;
|
|
7
|
-
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.no_resize {
|
|
10
|
+
resize: none;
|
|
8
11
|
}
|
|
9
12
|
|
|
10
13
|
/* Form containers - same padding for all form elements */
|
|
@@ -18,30 +21,71 @@
|
|
|
18
21
|
|
|
19
22
|
.form_cnt.outline,
|
|
20
23
|
.form_el input, .form_el textarea, .form_el .tx_virtualizer {
|
|
21
|
-
border: solid 1px var(--color-
|
|
24
|
+
border: solid 1px var(--color-darker-light);
|
|
22
25
|
background-color: transparent;
|
|
23
|
-
/* opacity: .2; */
|
|
24
|
-
/* box-shadow: 0 2px 4px var(--color-main), 0 4px 10px var(--color-main); */
|
|
25
26
|
}
|
|
26
27
|
|
|
27
|
-
/*
|
|
28
|
+
/* Invisible input (use this to make inputs clickable with separate render component) */
|
|
28
29
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
.invis_input {
|
|
31
|
+
border: none;
|
|
32
|
+
padding: 0; margin: 0;
|
|
33
|
+
color: rgba(0,0,0,0);
|
|
34
|
+
background-color: rgba(0,0,0,0);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.invis_input:focus {
|
|
38
|
+
outline: none;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.invis_input::selection {
|
|
42
|
+
background: rgba(0,0,0,0);
|
|
43
|
+
color: rgba(0,0,0,0);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
input.invis_input[type="number"] {
|
|
47
|
+
appearance: none;
|
|
48
|
+
-webkit-appearance: none;
|
|
49
|
+
-moz-appearance: textfield;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
input.invis_input::-webkit-outer-spin-button,
|
|
53
|
+
input.invis_input::-webkit-inner-spin-button {
|
|
54
|
+
-webkit-appearance: none;
|
|
55
|
+
margin: 0;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* Input */
|
|
33
59
|
|
|
34
60
|
.form_el input::placeholder, .form_el textarea::placeholder {
|
|
35
|
-
color: var(--color-text-
|
|
61
|
+
color: var(--color-text-light);
|
|
36
62
|
}
|
|
37
63
|
|
|
38
64
|
.form_el input:focus, .form_el textarea:focus, [contenteditable='true']:focus {
|
|
39
65
|
outline: none;
|
|
40
66
|
}
|
|
41
67
|
|
|
42
|
-
.
|
|
43
|
-
|
|
44
|
-
box-shadow: var(--
|
|
68
|
+
/* .focus_shadow input:focus, .focus_shadow textarea:focus, .focus_shadow [contenteditable='true']:focus {
|
|
69
|
+
box-shadow: 0 0 20px rgba(0,0,0,.05);
|
|
70
|
+
box-shadow: 0 0 40px rgba(var(--color-main),.15), 0 0 1px rgba(0,0,0,.32);
|
|
71
|
+
} */
|
|
72
|
+
|
|
73
|
+
.form_el:hover .form_input:not(.disabled):not(.error) {
|
|
74
|
+
background-color: rgba(var(--color-main), .04) !important;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.form_el .form_input:not(.error):focus, .form_el:not(.error):hover .form_input:not(.error):focus,
|
|
78
|
+
.form_el.focused .form_input:not(.error) {
|
|
79
|
+
background-color: rgba(var(--color-main), .075) !important;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.form_el:not(.disabled):hover .form_el_r,
|
|
83
|
+
.form_el:not(.disabled).focused .form_el_r {
|
|
84
|
+
background: linear-gradient(to left, var(--color-main-bg) 50%, rgba(var(--color-main), 0)) !important;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.form_el .form_input:focus, .form_el.focused .form_input {
|
|
88
|
+
border-color: var(--color-text-default) !important;
|
|
45
89
|
}
|
|
46
90
|
|
|
47
91
|
[contenteditable='true']:empty:before {
|
|
@@ -49,50 +93,29 @@ input.is_disabled, textarea.is_disabled {
|
|
|
49
93
|
color: var(--color-text-light);
|
|
50
94
|
}
|
|
51
95
|
|
|
52
|
-
.form_el.error
|
|
53
|
-
border-color: rgb(var(--color-error));
|
|
54
|
-
background-color:
|
|
96
|
+
.form_el.error .form_input, .form_el .form_input.error {
|
|
97
|
+
border-color: rgb(var(--color-error)) !important;
|
|
98
|
+
background-color: rgba(var(--color-error-faded), .1) !important;
|
|
55
99
|
}
|
|
56
100
|
|
|
57
101
|
.form_el.c input {
|
|
58
102
|
text-align: center;
|
|
59
103
|
}
|
|
60
104
|
|
|
61
|
-
/* Input:
|
|
105
|
+
/* Input preset: lighter */
|
|
106
|
+
.form_el.lighter .form_input, .form_el.lighter .tx_virtualizer {
|
|
107
|
+
border: solid 1px var(--color-darker-light);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* Input preset: subtle */
|
|
62
111
|
|
|
63
112
|
.form_el.subtle input {
|
|
64
113
|
width: 120px;
|
|
65
114
|
padding: .35rem;
|
|
66
115
|
}
|
|
67
116
|
|
|
68
|
-
/* Use this for file input click, etc */
|
|
69
|
-
|
|
70
|
-
.invis_input {
|
|
71
|
-
visibility: hidden;
|
|
72
|
-
position: absolute;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
117
|
/* Textarea */
|
|
76
118
|
|
|
77
|
-
.form_el textarea {
|
|
78
|
-
position: relative;
|
|
79
|
-
z-index: 1;
|
|
80
|
-
min-height: 150px;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.form_el.in_modal textarea {
|
|
84
|
-
width: 300px;
|
|
85
|
-
max-width: 100%;
|
|
86
|
-
resize: none;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.form_el.in_modal_large textarea {
|
|
90
|
-
width: 375px;
|
|
91
|
-
max-width: 100%;
|
|
92
|
-
min-height: 400px;
|
|
93
|
-
resize: none;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
119
|
.form_el.fs textarea {
|
|
97
120
|
width: 100% !important;
|
|
98
121
|
}
|
|
@@ -110,6 +133,14 @@ input.is_disabled, textarea.is_disabled {
|
|
|
110
133
|
|
|
111
134
|
/* Label */
|
|
112
135
|
|
|
136
|
+
.form_el label {
|
|
137
|
+
color: var(--color-text-medium);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.form_el:has(input:focus) label {
|
|
141
|
+
color: var(--color-text-bold);
|
|
142
|
+
}
|
|
143
|
+
|
|
113
144
|
.form_el label .label_r .icon {
|
|
114
145
|
transform: translateY(1px);
|
|
115
146
|
}
|
|
@@ -132,7 +163,8 @@ fieldset input[type="radio"] {
|
|
|
132
163
|
}
|
|
133
164
|
|
|
134
165
|
.form_opt:hover {
|
|
135
|
-
|
|
166
|
+
/* I have to figure out where this is used and change it to vars */
|
|
167
|
+
background-color: rgba(230, 230, 230, .5);
|
|
136
168
|
}
|
|
137
169
|
|
|
138
170
|
.form_opt .ic_cnt {
|
|
@@ -141,36 +173,20 @@ fieldset input[type="radio"] {
|
|
|
141
173
|
|
|
142
174
|
/* Clickable button at right; use this for inputs */
|
|
143
175
|
|
|
144
|
-
.form_el.has_r input {
|
|
145
|
-
padding-right: 3rem;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
176
|
.form_el.has_r .form_el_r {
|
|
149
|
-
position:
|
|
150
|
-
top:
|
|
151
|
-
width:
|
|
152
|
-
padding-left: .5rem;
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
.form_el.has_r .form_el_r.a_r {
|
|
156
|
-
width: 3rem;
|
|
157
|
-
text-decoration: underline;
|
|
158
|
-
padding-left: 0;
|
|
159
|
-
padding-right: .5875rem;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.form_el_r {
|
|
163
|
-
color: var(--color-text-medium);
|
|
177
|
+
position:absolute;
|
|
178
|
+
top: 1px; right: 1px; bottom: 1px;
|
|
179
|
+
width: 3.5rem;
|
|
180
|
+
padding-left: 1.5rem;
|
|
181
|
+
background: linear-gradient(to left, rgba(var(--color-bg), 1) 50%, rgba(var(--color-bg), 0));
|
|
164
182
|
}
|
|
165
183
|
|
|
166
|
-
.
|
|
184
|
+
/* .active is for <PopOverButton /> active state, not ::active */
|
|
185
|
+
.active .form_el_r,
|
|
186
|
+
.focused .form_el_r, .form_el_r.btn:hover {
|
|
167
187
|
color: var(--color-text);
|
|
168
188
|
}
|
|
169
189
|
|
|
170
|
-
.btn:active:not(:disabled) {
|
|
171
|
-
transform: translateY(1px);
|
|
172
|
-
}
|
|
173
|
-
|
|
174
190
|
/* Preset; none */
|
|
175
191
|
|
|
176
192
|
.form_el.none input, .form_el.none textarea {
|
|
@@ -186,27 +202,10 @@ fieldset input[type="radio"] {
|
|
|
186
202
|
|
|
187
203
|
.form_el.fill input, .form_el.fill textarea {
|
|
188
204
|
border: none;
|
|
189
|
-
background-color: var(--color-bg-alt);
|
|
205
|
+
background-color: rgb(var(--color-bg-alt));
|
|
190
206
|
/* border-radius: var(--radius-default); */
|
|
191
207
|
}
|
|
192
208
|
|
|
193
|
-
/* Preset: fill large */
|
|
194
|
-
|
|
195
|
-
.form_el.fill_large input {
|
|
196
|
-
border: none;
|
|
197
|
-
background-color: var(--color-reverse-opaque);
|
|
198
|
-
padding: var(--rem-default);
|
|
199
|
-
font-size: var(--text-xlarge);
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.form_el.fill_large.has_r input {
|
|
203
|
-
padding-right: 3.25rem;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
.form_el.fill_large.has_r .form_el_r {
|
|
207
|
-
right: .5rem;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
209
|
/* Preset: inside outline container */
|
|
211
210
|
|
|
212
211
|
.form_el.inside_outline {
|
|
@@ -216,14 +215,14 @@ fieldset input[type="radio"] {
|
|
|
216
215
|
|
|
217
216
|
.stripe_form_line {
|
|
218
217
|
padding-bottom: .5rem;
|
|
219
|
-
border-bottom: solid 1px var(--color-
|
|
218
|
+
border-bottom: solid 1px var(--color-darker-light);
|
|
220
219
|
}
|
|
221
220
|
|
|
222
221
|
.form_el.inside_outline input {
|
|
223
222
|
border: none;
|
|
224
223
|
border-radius: 0;
|
|
225
|
-
border-bottom: solid 1px var(--color-
|
|
226
|
-
/* background-color: var(--color-bg-alt); */
|
|
224
|
+
border-bottom: solid 1px var(--color-darker-light);
|
|
225
|
+
/* background-color: rgb(var(--color-bg-alt)); */
|
|
227
226
|
padding-top: 0; padding-left: 0; padding-right: 0;
|
|
228
227
|
margin-bottom: .05rem;
|
|
229
228
|
transform: translateY(-.1rem);
|
|
@@ -259,7 +258,7 @@ fieldset input[type="radio"] {
|
|
|
259
258
|
height: 2.64em;
|
|
260
259
|
padding: 0 var(--rem-small);
|
|
261
260
|
/* border-bottom-width: 4px; */
|
|
262
|
-
/* background-color: var(--color-bg); */
|
|
261
|
+
/* background-color: rgb(var(--color-bg)); */
|
|
263
262
|
}
|
|
264
263
|
|
|
265
264
|
.btn.full {
|
|
@@ -271,7 +270,7 @@ fieldset input[type="radio"] {
|
|
|
271
270
|
}
|
|
272
271
|
|
|
273
272
|
.btn.fw:hover:not(:disabled), .btn.fw:active:not(:disabled) {
|
|
274
|
-
background-color: var(--color-bg-alt);
|
|
273
|
+
background-color: rgb(var(--color-bg-alt));
|
|
275
274
|
}
|
|
276
275
|
|
|
277
276
|
.btn.fw:active:not(:disabled) {
|
|
@@ -326,15 +325,15 @@ fieldset input[type="radio"] {
|
|
|
326
325
|
|
|
327
326
|
.btn.outline {
|
|
328
327
|
border: solid 2px var(--color-text-light);
|
|
329
|
-
background-color: var(--color-bg-alt);
|
|
328
|
+
background-color: rgb(var(--color-bg-alt));
|
|
330
329
|
}
|
|
331
330
|
|
|
332
331
|
.btn.outline:not(:disabled):hover {
|
|
333
|
-
background-color: var(--color-bg-active);
|
|
332
|
+
background-color: rgb(var(--color-bg-active));
|
|
334
333
|
}
|
|
335
334
|
|
|
336
335
|
.btn.outline:not(:disabled):active {
|
|
337
|
-
background-color: var(--color-bg-medium);
|
|
336
|
+
background-color: rgb(var(--color-bg-medium));
|
|
338
337
|
}
|
|
339
338
|
|
|
340
339
|
/* Inline button */
|
|
@@ -348,12 +347,14 @@ fieldset input[type="radio"] {
|
|
|
348
347
|
/* Button sizes */
|
|
349
348
|
|
|
350
349
|
.btn.sm {
|
|
351
|
-
|
|
350
|
+
min-width: 52px;
|
|
351
|
+
padding: .35rem .45rem;
|
|
352
352
|
border-radius: var(--radius-small);
|
|
353
353
|
}
|
|
354
354
|
|
|
355
355
|
.btn.df {
|
|
356
|
-
|
|
356
|
+
min-width: 58px;
|
|
357
|
+
padding: .5rem .64rem;
|
|
357
358
|
border-radius: var(--radius-small);
|
|
358
359
|
}
|
|
359
360
|
|
|
@@ -367,38 +368,6 @@ fieldset input[type="radio"] {
|
|
|
367
368
|
border-radius: var(--radius-small-wrap);
|
|
368
369
|
}
|
|
369
370
|
|
|
370
|
-
/* Form break */
|
|
371
|
-
|
|
372
|
-
.form_break {
|
|
373
|
-
position: relative;
|
|
374
|
-
color: var(--color-text-medium);
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
.form_break .line:before {
|
|
378
|
-
content: '.';
|
|
379
|
-
color: transparent;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
.form_break .text:before, .form_break .text:after, .form_break .line:after {
|
|
383
|
-
content: ' ';
|
|
384
|
-
position: absolute;
|
|
385
|
-
top: 50%;
|
|
386
|
-
height: 1px;
|
|
387
|
-
background-color: var(--color-text-light);
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
.form_break .line:after {
|
|
391
|
-
left: 0; right: 0;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
.form_break .text:before {
|
|
395
|
-
left: 0; right: 57%;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
.form_break .text:after {
|
|
399
|
-
left: 57%; right: 0;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
371
|
/* Side input button */
|
|
403
372
|
|
|
404
373
|
.form_input_btn {
|
|
@@ -467,10 +436,6 @@ fieldset input[type="radio"] {
|
|
|
467
436
|
border-radius: 5px;
|
|
468
437
|
}
|
|
469
438
|
|
|
470
|
-
.ib_label.outline {
|
|
471
|
-
transform: translateX(-1px);
|
|
472
|
-
}
|
|
473
|
-
|
|
474
439
|
.ib_label.outline:before {
|
|
475
440
|
border: solid 1px var(--color-darker-light);
|
|
476
441
|
}
|
|
@@ -485,4 +450,4 @@ fieldset input[type="radio"] {
|
|
|
485
450
|
*/
|
|
486
451
|
height: 14px;
|
|
487
452
|
border-radius: 3px;
|
|
488
|
-
}
|
|
453
|
+
}
|
package/css/layout.css
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* Route based styles */
|
|
3
3
|
|
|
4
4
|
body.p_auth {
|
|
5
|
-
background-color: var(--color-bg-alt);
|
|
5
|
+
background-color: rgb(var(--color-bg-alt));
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
/* Content & Modal wrapper */
|
|
@@ -13,23 +13,22 @@ body.p_auth {
|
|
|
13
13
|
margin-right: auto;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
.mw {
|
|
17
|
+
max-height: calc(100vh - var(--rem-medium) - var(--rem-medium));
|
|
18
|
+
}
|
|
19
|
+
|
|
16
20
|
.cw.tn, .mw.tn {
|
|
17
21
|
/* was .tiny */
|
|
18
22
|
max-width: 380px;
|
|
19
23
|
}
|
|
20
24
|
|
|
21
|
-
.cw.xxs, .mw.xxs {
|
|
22
|
-
/* was .small */
|
|
23
|
-
max-width: 450px;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
25
|
.cw.xs, .mw.xs {
|
|
27
|
-
max-width:
|
|
26
|
+
max-width: 420px;
|
|
28
27
|
}
|
|
29
28
|
|
|
30
29
|
.cw.sm, .mw.sm {
|
|
31
30
|
/* was .default_alt */
|
|
32
|
-
max-width:
|
|
31
|
+
max-width: 640px;
|
|
33
32
|
}
|
|
34
33
|
|
|
35
34
|
.cw.df, .mw.df {
|
|
@@ -41,6 +40,10 @@ body.p_auth {
|
|
|
41
40
|
}
|
|
42
41
|
|
|
43
42
|
.cw.lg, .mw.lg {
|
|
43
|
+
max-width: 1280px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.cw.xl, .mw.xl {
|
|
44
47
|
max-width: 1440px;
|
|
45
48
|
}
|
|
46
49
|
|
|
@@ -53,79 +56,32 @@ body.p_auth {
|
|
|
53
56
|
max-height: 100%;
|
|
54
57
|
}
|
|
55
58
|
|
|
56
|
-
/*
|
|
59
|
+
/* Sidebar */
|
|
57
60
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
min-height: 822px;
|
|
61
|
-
max-height: 1280px;
|
|
61
|
+
.w_lsidebar {
|
|
62
|
+
padding-right: var(--sidebar-wt);
|
|
62
63
|
}
|
|
63
64
|
|
|
64
|
-
/*
|
|
65
|
+
/* Content with right <aside /> sticky sidebar */
|
|
65
66
|
|
|
66
|
-
.
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
left: 0;
|
|
70
|
-
right: 0;
|
|
67
|
+
.pg_aside {
|
|
68
|
+
width: var(--aside-wt);
|
|
69
|
+
top: var(--rem-medium);
|
|
71
70
|
}
|
|
72
71
|
|
|
73
|
-
/*
|
|
72
|
+
/* Floating message */
|
|
74
73
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
box-shadow: 0 10px 0 rgba(0,0,0,.1);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.tn_hidden {
|
|
82
|
-
overflow: hidden;
|
|
83
|
-
transition: max-width .3s ease, opacity .15s ease;
|
|
84
|
-
max-width: 0;
|
|
74
|
+
.floating_msg_cnt {
|
|
75
|
+
transition: transform .2s ease-in-out, opacity .2s ease-in-out;
|
|
76
|
+
transform: translateY(0);
|
|
85
77
|
opacity: 0;
|
|
86
78
|
}
|
|
87
79
|
|
|
88
|
-
.
|
|
89
|
-
|
|
80
|
+
.floating_msg_cnt.active {
|
|
81
|
+
transform: translateY(var(--toolbar-ht));
|
|
90
82
|
opacity: 1;
|
|
91
83
|
}
|
|
92
84
|
|
|
93
|
-
|
|
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);
|
|
85
|
+
.floating_msg {
|
|
86
|
+
margin: 0 -1rem;
|
|
131
87
|
}
|
package/css/list.css
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
.li_item {
|
|
21
21
|
position: relative;
|
|
22
|
-
border-bottom: solid 1px var(--color-bg-alt);
|
|
22
|
+
border-bottom: solid 1px rgb(var(--color-bg-alt));
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.li_item .content {
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
.li_item button.content:hover,
|
|
31
31
|
.li_item div[role='button'].content:hover {
|
|
32
32
|
z-index: 11;
|
|
33
|
-
background-color: var(--color-bg-alt);
|
|
33
|
+
background-color: rgb(var(--color-bg-alt));
|
|
34
34
|
/* background-color: var(--opaque-default); */
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.li_item.selected a.content {
|
|
38
38
|
z-index: 11;
|
|
39
|
-
background-color: var(--color-bg-alt);
|
|
40
|
-
box-shadow: inset 0 0 0 1px var(--color-primary);
|
|
39
|
+
background-color: rgb(var(--color-bg-alt));
|
|
40
|
+
box-shadow: inset 0 0 0 1px rgb(var(--color-primary));
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/* List item; options button */
|
|
@@ -45,15 +45,15 @@
|
|
|
45
45
|
.li_opts_btn {
|
|
46
46
|
position: relative; z-index: 2;
|
|
47
47
|
display: none;
|
|
48
|
-
background-color: var(--color-bg);
|
|
48
|
+
background-color: rgb(var(--color-bg));
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.li_opts_btn:hover {
|
|
52
|
-
background-color: var(--color-bg-alt);
|
|
52
|
+
background-color: rgb(var(--color-bg-alt));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.li_opts_btn:active {
|
|
56
|
-
background-color: var(--color-bg-active);
|
|
56
|
+
background-color: rgb(var(--color-bg-active));
|
|
57
57
|
transform: translateY(1px);
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
top: 50%;
|
|
73
73
|
right: .75rem;
|
|
74
74
|
transform: translateY(-50%);
|
|
75
|
-
background-color: var(--color-bg);
|
|
76
|
-
box-shadow: 0 0 10px 5px var(--color-bg);
|
|
75
|
+
background-color: rgb(var(--color-bg));
|
|
76
|
+
box-shadow: 0 0 10px 5px rgb(var(--color-bg));
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.li_item.em .li_right {
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
|
|
84
84
|
.li_item.default:hover .li_right,
|
|
85
85
|
.li_item.default.selected .li_right {
|
|
86
|
-
background-color: var(--color-bg-alt);
|
|
87
|
-
box-shadow: 0 0 10px 5px var(--color-bg-alt);
|
|
86
|
+
background-color: rgb(var(--color-bg-alt));
|
|
87
|
+
box-shadow: 0 0 10px 5px rgb(var(--color-bg-alt));
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
.unread_dot {
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
|
|
108
108
|
.li_group .li_item a.content:hover,
|
|
109
109
|
.li_group .li_item.selected a.content {
|
|
110
|
-
background-color: var(--color-bg-active);
|
|
110
|
+
background-color: rgb(var(--color-bg-active));
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
.li_group .li_item a.content:hover:before {
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
position: absolute;
|
|
116
116
|
top: 0; bottom: 0; right: 0;
|
|
117
117
|
width: 1px;
|
|
118
|
-
background-color: var(--color-bg-medium);
|
|
118
|
+
background-color: rgb(var(--color-bg-medium));
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
.li_group .li_item:first-child a.content:hover:after {
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
position: absolute;
|
|
124
124
|
top: 0; left: 0; right: 0;
|
|
125
125
|
height: 1px;
|
|
126
|
-
background-color: var(--color-bg-medium);
|
|
126
|
+
background-color: rgb(var(--color-bg-medium));
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
.li_group .li_item:last-child a.content:hover:after {
|
|
@@ -131,13 +131,13 @@
|
|
|
131
131
|
position: absolute;
|
|
132
132
|
bottom: 0; left: 0; right: 0;
|
|
133
133
|
height: 1px;
|
|
134
|
-
background-color: var(--color-bg-medium);
|
|
134
|
+
background-color: rgb(var(--color-bg-medium));
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
.li_group .li_item.selected a.content:hover:before,
|
|
138
138
|
.li_group .li_item.selected:first-child a.content:hover:after,
|
|
139
139
|
.li_group .li_item.selected:last-child a.content:hover:after {
|
|
140
|
-
background-color: var(--color-primary);
|
|
140
|
+
background-color: rgb(var(--color-primary));
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
.li_group:first-child {
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
left: 0;
|
|
152
152
|
right: 0;
|
|
153
153
|
bottom: 0;
|
|
154
|
-
box-shadow: inset 0 0 0 1px var(--color-bg-medium);
|
|
154
|
+
box-shadow: inset 0 0 0 1px rgb(var(--color-bg-medium));
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
.li_group_line {
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
/* left: 100%; right: -74px; */
|
|
161
161
|
left: 334px; right: -63px;
|
|
162
162
|
height: 10px;
|
|
163
|
-
background-color: var(--color-bg-alt);
|
|
163
|
+
background-color: rgb(var(--color-bg-alt));
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
/* Preset: em */
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
|
|
193
193
|
.li_item.em .content,
|
|
194
194
|
.ln_item.em {
|
|
195
|
-
background-color: var(--color-bg-alt);
|
|
195
|
+
background-color: rgb(var(--color-bg-alt));
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
.li_item.em .content .mock_av, .li_item.em .content .mock:before {
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
.li_item.em button.content:hover,
|
|
204
204
|
.li_item.em [role='button'].content:hover,
|
|
205
205
|
.ln_item.em.link:hover {
|
|
206
|
-
background-color: var(--color-bg-active);
|
|
206
|
+
background-color: rgb(var(--color-bg-active));
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
/* Line list item */
|
|
@@ -247,18 +247,6 @@
|
|
|
247
247
|
margin-right: .2rem;
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
/* Virtualized list */
|
|
251
|
-
|
|
252
|
-
.vl_list {
|
|
253
|
-
padding-bottom: var(--rem-default);
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.vl_list .li_body.top {
|
|
257
|
-
display: flex;
|
|
258
|
-
flex-direction: column;
|
|
259
|
-
justify-content: flex-end;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
250
|
/* Preset: small & tiny */
|
|
263
251
|
|
|
264
252
|
.li_item.small, .li_item.tiny, .li_item.xtiny {
|
|
@@ -278,7 +266,7 @@
|
|
|
278
266
|
/* Sticky footer */
|
|
279
267
|
|
|
280
268
|
.btn_area {
|
|
281
|
-
padding: 1rem 0;
|
|
269
|
+
padding: 1rem 0 0;
|
|
282
270
|
}
|
|
283
271
|
|
|
284
272
|
.btn_area.sticky {
|
|
@@ -287,8 +275,8 @@
|
|
|
287
275
|
top: 0; left: 0; right: 0;
|
|
288
276
|
bottom: -1px;
|
|
289
277
|
|
|
290
|
-
padding: 1rem 10px;
|
|
278
|
+
padding: 1rem 10px 0;
|
|
291
279
|
margin-left: -10px;
|
|
292
280
|
margin-right: -10px;
|
|
293
|
-
background: transparent linear-gradient(180deg, transparent 0%, var(--color-bg) 50%, var(--color-bg) 100%);
|
|
281
|
+
background: transparent linear-gradient(180deg, transparent 0%, rgb(var(--color-bg)) 50%, rgb(var(--color-bg)) 100%);
|
|
294
282
|
}
|