@jsb188/css 1.0.4 → 1.1.2
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 +530 -0
- package/css/_global.css +2669 -560
- package/css/_responsive.css +8085 -0
- package/css/_responsive.generated.css +13983 -0
- package/css/_sizing.css +1680 -393
- package/css/alert.css +88 -37
- package/css/animate.css +734 -0
- package/css/form.css +517 -236
- package/css/layout.css +375 -78
- package/css/loading.css +127 -118
- package/css/misc.css +3 -75
- package/css/modal.css +41 -176
- package/css/popover.css +74 -247
- package/package.json +23 -20
- package/scripts/generateResponsiveCss.js +274 -0
- package/css/list.css +0 -292
package/css/list.css
DELETED
|
@@ -1,292 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/* List container */
|
|
3
|
-
|
|
4
|
-
.li_cnt .li_item:last-child, /* Used for stand alone list */
|
|
5
|
-
.li_body:last-child .li_item:last-child, .li_body.end .li_item:last-child { /* Used for virtualized lists */
|
|
6
|
-
border-bottom: none;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
/* List item */
|
|
10
|
-
|
|
11
|
-
.p_li {
|
|
12
|
-
padding: .55rem var(--rem-default);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.p_li.subtitle {
|
|
16
|
-
padding-top: .25rem;
|
|
17
|
-
padding-bottom: .25rem;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.li_item {
|
|
21
|
-
position: relative;
|
|
22
|
-
border-bottom: solid 1px var(--color-bg-alt);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.li_item .content {
|
|
26
|
-
box-sizing: border-box;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.li_item a.content:hover,
|
|
30
|
-
.li_item button.content:hover,
|
|
31
|
-
.li_item div[role='button'].content:hover {
|
|
32
|
-
z-index: 11;
|
|
33
|
-
background-color: var(--color-bg-alt);
|
|
34
|
-
/* background-color: var(--opaque-default); */
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.li_item.selected a.content {
|
|
38
|
-
z-index: 11;
|
|
39
|
-
background-color: var(--color-bg-alt);
|
|
40
|
-
box-shadow: inset 0 0 0 1px var(--color-primary);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/* List item; options button */
|
|
44
|
-
|
|
45
|
-
.li_opts_btn {
|
|
46
|
-
position: relative; z-index: 2;
|
|
47
|
-
display: none;
|
|
48
|
-
background-color: var(--color-bg);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.li_opts_btn:hover {
|
|
52
|
-
background-color: var(--color-bg-alt);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.li_opts_btn:active {
|
|
56
|
-
background-color: var(--color-bg-active);
|
|
57
|
-
transform: translateY(1px);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.li_item:hover .li_opts_btn, .li_opts_btn.active {
|
|
61
|
-
display: flex;
|
|
62
|
-
margin: 0 -4px 0 4px;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/* Unread dot & right icon */
|
|
66
|
-
|
|
67
|
-
.li_right {
|
|
68
|
-
position: absolute; z-index: 1;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.li_item.default .li_right {
|
|
72
|
-
top: 50%;
|
|
73
|
-
right: .75rem;
|
|
74
|
-
transform: translateY(-50%);
|
|
75
|
-
background-color: var(--color-bg);
|
|
76
|
-
box-shadow: 0 0 10px 5px var(--color-bg);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.li_item.em .li_right {
|
|
80
|
-
top: -9px;
|
|
81
|
-
right: -10px;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.li_item.default:hover .li_right,
|
|
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);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.unread_dot {
|
|
91
|
-
width: .5rem;
|
|
92
|
-
height: .5rem;
|
|
93
|
-
border-radius: 50%;
|
|
94
|
-
margin: 0 4px;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
/* List group with an outline */
|
|
98
|
-
|
|
99
|
-
.li_group {
|
|
100
|
-
position: relative;
|
|
101
|
-
margin: 10px 0;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.li_group .li_item {
|
|
105
|
-
border-bottom: none;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.li_group .li_item a.content:hover,
|
|
109
|
-
.li_group .li_item.selected a.content {
|
|
110
|
-
background-color: var(--color-bg-active);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.li_group .li_item a.content:hover:before {
|
|
114
|
-
content: '';
|
|
115
|
-
position: absolute;
|
|
116
|
-
top: 0; bottom: 0; right: 0;
|
|
117
|
-
width: 1px;
|
|
118
|
-
background-color: var(--color-bg-medium);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.li_group .li_item:first-child a.content:hover:after {
|
|
122
|
-
content: '';
|
|
123
|
-
position: absolute;
|
|
124
|
-
top: 0; left: 0; right: 0;
|
|
125
|
-
height: 1px;
|
|
126
|
-
background-color: var(--color-bg-medium);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.li_group .li_item:last-child a.content:hover:after {
|
|
130
|
-
content: '';
|
|
131
|
-
position: absolute;
|
|
132
|
-
bottom: 0; left: 0; right: 0;
|
|
133
|
-
height: 1px;
|
|
134
|
-
background-color: var(--color-bg-medium);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.li_group .li_item.selected a.content:hover:before,
|
|
138
|
-
.li_group .li_item.selected:first-child a.content:hover:after,
|
|
139
|
-
.li_group .li_item.selected:last-child a.content:hover:after {
|
|
140
|
-
background-color: var(--color-primary);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.li_group:first-child {
|
|
144
|
-
margin-top: 0;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.li_group:before {
|
|
148
|
-
content: ' ';
|
|
149
|
-
position: absolute;
|
|
150
|
-
top: 0;
|
|
151
|
-
left: 0;
|
|
152
|
-
right: 0;
|
|
153
|
-
bottom: 0;
|
|
154
|
-
box-shadow: inset 0 0 0 1px var(--color-bg-medium);
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.li_group_line {
|
|
158
|
-
position: absolute;
|
|
159
|
-
bottom: -11px;
|
|
160
|
-
/* left: 100%; right: -74px; */
|
|
161
|
-
left: 334px; right: -63px;
|
|
162
|
-
height: 10px;
|
|
163
|
-
background-color: var(--color-bg-alt);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
/* Preset: em */
|
|
167
|
-
|
|
168
|
-
.li_item.em {
|
|
169
|
-
display: flex;
|
|
170
|
-
flex-direction: column;
|
|
171
|
-
margin: 0 var(--rem-default) 2px;
|
|
172
|
-
border: none;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.li_item.em:first-child .content, .li_item.em.first .content,
|
|
176
|
-
.ln_item.em:first-child, .ln_item.em.first {
|
|
177
|
-
margin-top: var(--rem-small);
|
|
178
|
-
border-top-left-radius: var(--radius-small);
|
|
179
|
-
border-top-right-radius: var(--radius-small);
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.li_item.em:last-child .content, .li_item.em.last .content,
|
|
183
|
-
.ln_item.em:last-child, .ln_item.em.last {
|
|
184
|
-
margin-bottom: var(--rem-small);
|
|
185
|
-
border-bottom-left-radius: var(--radius-small);
|
|
186
|
-
border-bottom-right-radius: var(--radius-small);
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.li_item.em .content {
|
|
190
|
-
padding: var(--rem-small) var(--rem-default) var(--rem-small) var(--rem-small);
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.li_item.em .content,
|
|
194
|
-
.ln_item.em {
|
|
195
|
-
background-color: var(--color-bg-alt);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.li_item.em .content .mock_av, .li_item.em .content .mock:before {
|
|
199
|
-
background-color: var(--color-darker-light);
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.li_item.em a.content:hover,
|
|
203
|
-
.li_item.em button.content:hover,
|
|
204
|
-
.li_item.em [role='button'].content:hover,
|
|
205
|
-
.ln_item.em.link:hover {
|
|
206
|
-
background-color: var(--color-bg-active);
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
/* Line list item */
|
|
210
|
-
|
|
211
|
-
.ln_item.normal:not(.mb_xs):not(.mb_sm) {
|
|
212
|
-
margin-bottom: .4rem;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.ln_item.normal:last-child {
|
|
216
|
-
margin-bottom: 0;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
/* Line list item: .em preset */
|
|
220
|
-
|
|
221
|
-
.ln_item.em {
|
|
222
|
-
padding: .5rem 0;
|
|
223
|
-
margin: 0 var(--rem-default) 2px;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
.ln_item.em .av_w_df {
|
|
227
|
-
margin: 0 var(--rem-small) 0 var(--rem-default);
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
/* Line item; subtitle */
|
|
231
|
-
|
|
232
|
-
.ln_item.subtitle {
|
|
233
|
-
min-height: 32px;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
/* Thumbnail item */
|
|
237
|
-
|
|
238
|
-
.th_item {
|
|
239
|
-
position: relative;
|
|
240
|
-
padding: 100% 0 0;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
/* Subtitle */
|
|
244
|
-
|
|
245
|
-
.subtitle.p_li .icon_cnt {
|
|
246
|
-
width: 2.3rem;
|
|
247
|
-
margin-right: .2rem;
|
|
248
|
-
}
|
|
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
|
-
/* Preset: small & tiny */
|
|
263
|
-
|
|
264
|
-
.li_item.small, .li_item.tiny, .li_item.xtiny {
|
|
265
|
-
border-bottom: none;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
.li_item.small .p_li, .li_item.tiny .p_li, .li_item.xtiny .p_li {
|
|
269
|
-
padding: .25rem 7px;
|
|
270
|
-
margin: 0 7px;
|
|
271
|
-
border-radius: var(--radius-small);
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.li_faded .li_item .li_item_body, .li_faded .li_item .av.main {
|
|
275
|
-
opacity: .5;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
/* Sticky footer */
|
|
279
|
-
|
|
280
|
-
.btn_area {
|
|
281
|
-
padding: 1rem 0;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
.btn_area.sticky {
|
|
285
|
-
position: sticky;
|
|
286
|
-
/* Need the -1px for DOM scroll behavior cover */
|
|
287
|
-
bottom: -1px;
|
|
288
|
-
padding: 1rem 10px;
|
|
289
|
-
margin-left: -10px;
|
|
290
|
-
margin-right: -10px;
|
|
291
|
-
background: transparent linear-gradient(180deg, transparent 0%, var(--color-bg) 50%, var(--color-bg) 100%);
|
|
292
|
-
}
|