@jsb188/css 1.0.1
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 +834 -0
- package/css/_sizing.css +582 -0
- package/css/alert.css +62 -0
- package/css/form.css +447 -0
- package/css/layout.css +131 -0
- package/css/list.css +292 -0
- package/css/loading.css +170 -0
- package/css/misc.css +79 -0
- package/css/modal.css +233 -0
- package/css/popover.css +302 -0
- package/package.json +22 -0
package/css/form.css
ADDED
|
@@ -0,0 +1,447 @@
|
|
|
1
|
+
|
|
2
|
+
/* Form elements */
|
|
3
|
+
|
|
4
|
+
.form_el {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
/* margin-top: .35rem; */
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/* Form containers - same padding for all form elements */
|
|
11
|
+
|
|
12
|
+
.form_cnt,
|
|
13
|
+
.form_el input, .form_el textarea, .form_el .tx_virtualizer {
|
|
14
|
+
padding: .58rem;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* Input */
|
|
18
|
+
|
|
19
|
+
.form_cnt.outline,
|
|
20
|
+
.form_el input, .form_el textarea, .form_el .tx_virtualizer {
|
|
21
|
+
border: solid 1px var(--color-text-light);
|
|
22
|
+
background-color: transparent;
|
|
23
|
+
/* opacity: .2; */
|
|
24
|
+
/* box-shadow: 0 2px 4px var(--color-highlight), 0 4px 10px var(--color-highlight); */
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Input */
|
|
28
|
+
|
|
29
|
+
/* I like it better without the gray
|
|
30
|
+
input.is_disabled, textarea.is_disabled {
|
|
31
|
+
color: var(--color-text-medium);
|
|
32
|
+
} */
|
|
33
|
+
|
|
34
|
+
.form_el input::placeholder, .form_el textarea::placeholder {
|
|
35
|
+
color: var(--color-text-medium);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.form_el input:focus, .form_el textarea:focus, [contenteditable='true']:focus {
|
|
39
|
+
outline: none;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.form_el input:focus, .form_el textarea:focus {
|
|
43
|
+
/* Consider adding theme colors here */
|
|
44
|
+
box-shadow: var(--shadow-light);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
[contenteditable='true']:empty:before {
|
|
48
|
+
content: attr(data-placeholder);
|
|
49
|
+
color: var(--color-text-light);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.form_el.error input {
|
|
53
|
+
border-color: var(--color-error);
|
|
54
|
+
background-color: var(--color-error-faded);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.form_el.c input {
|
|
58
|
+
text-align: center;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* Input: subtle */
|
|
62
|
+
|
|
63
|
+
.form_el.subtle input {
|
|
64
|
+
width: 120px;
|
|
65
|
+
padding: .35rem;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* Use this for file input click, etc */
|
|
69
|
+
|
|
70
|
+
.invis_input {
|
|
71
|
+
visibility: hidden;
|
|
72
|
+
position: absolute;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* Textarea */
|
|
76
|
+
|
|
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
|
+
.form_el.fs textarea {
|
|
97
|
+
width: 100% !important;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.form_el .tx_virtualizer {
|
|
101
|
+
position: absolute; z-index: -1;
|
|
102
|
+
top: 0; left: 0; right: 0;
|
|
103
|
+
visibility: hidden;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.form_el .tx_virtualizer:after {
|
|
107
|
+
/* This allows trailing empty line breaks to be calculated */
|
|
108
|
+
content: '.';
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/* Label */
|
|
112
|
+
|
|
113
|
+
.form_el label .label_r .icon {
|
|
114
|
+
transform: translateY(1px);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/* Fieldset, radio group */
|
|
118
|
+
|
|
119
|
+
fieldset {
|
|
120
|
+
padding: 0;
|
|
121
|
+
margin: 0;
|
|
122
|
+
border: none;
|
|
123
|
+
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
fieldset input[type="radio"] {
|
|
127
|
+
display: none;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.form_opt {
|
|
131
|
+
padding: .3rem .3rem .4rem;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.form_opt:hover {
|
|
135
|
+
background-color: var(--opaque-default);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.form_opt .ic_cnt {
|
|
139
|
+
width: 25px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/* Clickable button at right; use this for inputs */
|
|
143
|
+
|
|
144
|
+
.form_el.has_r input {
|
|
145
|
+
padding-right: 3rem;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.form_el.has_r .form_el_r {
|
|
149
|
+
position: absolute;
|
|
150
|
+
top: 0; right: 0; bottom: 0;
|
|
151
|
+
width: 3rem;
|
|
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);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.form_el_r:hover {
|
|
167
|
+
color: var(--color-text);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.btn:active:not(:disabled) {
|
|
171
|
+
transform: translateY(1px);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/* Preset; none */
|
|
175
|
+
|
|
176
|
+
.form_el.none input, .form_el.none textarea {
|
|
177
|
+
border: none;
|
|
178
|
+
background-color: transparent;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.form_el.none input:focus, .form_el.none textarea:focus {
|
|
182
|
+
box-shadow: none;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/* Preset: fill */
|
|
186
|
+
|
|
187
|
+
.form_el.fill input, .form_el.fill textarea {
|
|
188
|
+
border: none;
|
|
189
|
+
background-color: var(--color-bg-alt);
|
|
190
|
+
/* border-radius: var(--radius-default); */
|
|
191
|
+
}
|
|
192
|
+
|
|
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
|
+
/* Preset: inside outline container */
|
|
211
|
+
|
|
212
|
+
.form_el.inside_outline {
|
|
213
|
+
/* This is the difference between common padding minus container padding: 1rem - .58 */
|
|
214
|
+
padding: 0 .42rem;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.stripe_form_line {
|
|
218
|
+
padding-bottom: .5rem;
|
|
219
|
+
border-bottom: solid 1px var(--color-text-light);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.form_el.inside_outline input {
|
|
223
|
+
border: none;
|
|
224
|
+
border-radius: 0;
|
|
225
|
+
border-bottom: solid 1px var(--color-text-light);
|
|
226
|
+
/* background-color: var(--color-bg-alt); */
|
|
227
|
+
padding-top: 0; padding-left: 0; padding-right: 0;
|
|
228
|
+
margin-bottom: .05rem;
|
|
229
|
+
transform: translateY(-.1rem);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.form_el.inside_outline input:focus {
|
|
233
|
+
box-shadow: none;
|
|
234
|
+
border-bottom-color: var(--color-text-bold)
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.form_el.inside_outline.error input {
|
|
238
|
+
border-bottom-color: var(--color-error-active);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.form_cnt.outline .form_el.inside_outline:last-child {
|
|
242
|
+
margin-bottom: .25rem;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
/* Inline button at right of search input (for enter key prompt) */
|
|
246
|
+
|
|
247
|
+
.form_el_inline_btn {
|
|
248
|
+
position: absolute;
|
|
249
|
+
top: 50%;
|
|
250
|
+
right: .55rem;
|
|
251
|
+
/* Can't use 1px transform depressed effect becuase of the absolute positioning */
|
|
252
|
+
transform: translateY(-50%) !important;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/* Full width button */
|
|
256
|
+
|
|
257
|
+
.btn.fw {
|
|
258
|
+
min-width: 70px;
|
|
259
|
+
height: 2.64em;
|
|
260
|
+
padding: 0 var(--rem-small);
|
|
261
|
+
/* border-bottom-width: 4px; */
|
|
262
|
+
/* background-color: var(--color-bg); */
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.btn.full {
|
|
266
|
+
width: 100%;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.btn.fw .bl {
|
|
270
|
+
width: 24px;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.btn.fw:hover:not(:disabled), .btn.fw:active:not(:disabled) {
|
|
274
|
+
background-color: var(--color-bg-alt);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.btn.fw:active:not(:disabled) {
|
|
278
|
+
transform: translateY(1px);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/* Emphasize preset */
|
|
282
|
+
|
|
283
|
+
.btn.em {
|
|
284
|
+
background-color: var(--color-solid);
|
|
285
|
+
border: solid 2px var(--color-text-bold);
|
|
286
|
+
box-shadow: 0 2px var(--color-text-bold);
|
|
287
|
+
/* box-shadow: 0 2px var(--color-text), 0 2px 4px rgba(0,0,0,.1); */
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.btn.em:hover {
|
|
291
|
+
background-color: var(--color-solid-hover);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.btn.em:active, .btn.em:disabled {
|
|
295
|
+
background-color: var(--color-solid-active);
|
|
296
|
+
transform: translateY(2px);
|
|
297
|
+
box-shadow: none;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.btn.em:disabled {
|
|
301
|
+
background-color: var(--color-solid-hover);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/* Opaque preset */
|
|
305
|
+
|
|
306
|
+
.btn.subtle, .btn.cl_error {
|
|
307
|
+
background-color: rgba(0,0,0,.1);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.btn.subtle:disabled {
|
|
311
|
+
color: var(--color-text-medium);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.btn.subtle:not(:disabled):hover, .btn.cl_error:not(:disabled):hover {
|
|
315
|
+
background-color: rgba(0,0,0,.2);
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.btn.subtle:not(:disabled):active, .btn.cl_error:not(:disabled):active {
|
|
319
|
+
background-color: rgba(0,0,0,.25);
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
/* Outline */
|
|
323
|
+
|
|
324
|
+
.btn.outline {
|
|
325
|
+
border: solid 2px var(--color-text-light);
|
|
326
|
+
background-color: var(--color-bg-alt);
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.btn.outline:not(:disabled):hover {
|
|
330
|
+
background-color: var(--color-bg-active);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.btn.outline:not(:disabled):active {
|
|
334
|
+
background-color: var(--color-bg-medium);
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
/* Inline button */
|
|
338
|
+
|
|
339
|
+
.btn.il {
|
|
340
|
+
position: relative;
|
|
341
|
+
padding: .35rem .5rem;
|
|
342
|
+
border-radius: 4px;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/* Normal button */
|
|
346
|
+
|
|
347
|
+
.btn.df {
|
|
348
|
+
/* padding: .7rem .7rem .7rem; */
|
|
349
|
+
padding: .58rem;
|
|
350
|
+
border-radius: var(--radius-small);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.btn.df.ft_t {
|
|
354
|
+
padding: .3rem .45rem;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
/* Form break */
|
|
358
|
+
|
|
359
|
+
.form_break {
|
|
360
|
+
position: relative;
|
|
361
|
+
color: var(--color-text-medium);
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.form_break .line:before {
|
|
365
|
+
content: '.';
|
|
366
|
+
color: transparent;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.form_break .text:before, .form_break .text:after, .form_break .line:after {
|
|
370
|
+
content: ' ';
|
|
371
|
+
position: absolute;
|
|
372
|
+
top: 50%;
|
|
373
|
+
height: 1px;
|
|
374
|
+
background-color: var(--color-text-medium);
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.form_break .line:after {
|
|
378
|
+
left: 0; right: 0;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.form_break .text:before {
|
|
382
|
+
left: 0; right: 57%;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.form_break .text:after {
|
|
386
|
+
left: 57%; right: 0;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/* Side input button */
|
|
390
|
+
|
|
391
|
+
.form_input_btn {
|
|
392
|
+
align-self: stretch;
|
|
393
|
+
padding: 0 .25rem;
|
|
394
|
+
margin-left: .25rem;
|
|
395
|
+
margin-right: .25rem;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.form_input_btn.r {
|
|
399
|
+
margin-right: -.5rem;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/* Alert count */
|
|
403
|
+
|
|
404
|
+
.alert_ct {
|
|
405
|
+
min-width: 18px; height: 18px;
|
|
406
|
+
padding: 0 4px;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.form_input_btn .alert_ct {
|
|
410
|
+
position: absolute;
|
|
411
|
+
top: -2px; right: -4px;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.form_el .alert_ct {
|
|
415
|
+
position: absolute;
|
|
416
|
+
top: -4px; right: -4px;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
/* Inline-block label (NOTE: must _not_ use vertical padding because this will affect line height) */
|
|
420
|
+
|
|
421
|
+
.ib_label {
|
|
422
|
+
position: relative;
|
|
423
|
+
padding: 0 5px;
|
|
424
|
+
margin: 0 5px;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.ib_label .icon {
|
|
428
|
+
margin: -5px -4px -3px;
|
|
429
|
+
font-size: 1.5em;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.ib_label:first-child {
|
|
433
|
+
margin-left: 0;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.ib_label:last-child {
|
|
437
|
+
margin-right: 0;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.ib_label:before, .btn.il:before {
|
|
441
|
+
content: ' ';
|
|
442
|
+
position: absolute;
|
|
443
|
+
top: 50%; left: 0; right: 0;
|
|
444
|
+
height: 1.5rem;
|
|
445
|
+
transform: translateY(-.75rem);
|
|
446
|
+
border-radius: 5px;
|
|
447
|
+
}
|
package/css/layout.css
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
|
|
2
|
+
/* Route based styles */
|
|
3
|
+
|
|
4
|
+
body.p_auth {
|
|
5
|
+
background-color: var(--color-bg-alt);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
/* Content & Modal wrapper */
|
|
9
|
+
|
|
10
|
+
.cw, .mw {
|
|
11
|
+
width: 100%;
|
|
12
|
+
margin-left: auto;
|
|
13
|
+
margin-right: auto;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.cw.tiny, .mw.tiny {
|
|
17
|
+
/* Used for alerts */
|
|
18
|
+
max-width: 380px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.cw.small, .mw.small {
|
|
22
|
+
max-width: 450px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.cw.default_alt, .mw.default_alt {
|
|
26
|
+
max-width: 600px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.cw.default, .mw.default {
|
|
30
|
+
max-width: 780px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.cw.medium, .mw.medium {
|
|
34
|
+
max-width: 1140px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.cw.large, .mw.large {
|
|
38
|
+
max-width: 1440px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.cw.full, .mw.full {
|
|
42
|
+
flex: 1;
|
|
43
|
+
max-height: 100%;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.cw.full .cw, .mw.full .cw {
|
|
47
|
+
max-height: 100%;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* Modal wrapper heights */
|
|
51
|
+
|
|
52
|
+
#modal_edit_chat {
|
|
53
|
+
/* 822px is the minimum size of one of the edit chat panels */
|
|
54
|
+
min-height: 822px;
|
|
55
|
+
max-height: 1280px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* Fixed position footer */
|
|
59
|
+
|
|
60
|
+
.abs_footer_bottom {
|
|
61
|
+
position: absolute;
|
|
62
|
+
bottom: 0;
|
|
63
|
+
left: 0;
|
|
64
|
+
right: 0;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* Top nav */
|
|
68
|
+
|
|
69
|
+
#top_nav {
|
|
70
|
+
position: fixed;
|
|
71
|
+
top: 0; left: 0; right: 0;
|
|
72
|
+
box-shadow: 0 10px 0 rgba(0,0,0,.1);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.tn_hidden {
|
|
76
|
+
overflow: hidden;
|
|
77
|
+
transition: max-width .3s ease, opacity .15s ease;
|
|
78
|
+
max-width: 0;
|
|
79
|
+
opacity: 0;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.tn_hidden.visible {
|
|
83
|
+
max-width: 100%;
|
|
84
|
+
opacity: 1;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* Page & content elements; text highlights */
|
|
88
|
+
|
|
89
|
+
.hl {
|
|
90
|
+
position: relative;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.hl .text {
|
|
94
|
+
position: relative;
|
|
95
|
+
z-index: 2;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.hl.thin:before {
|
|
99
|
+
height: .1em;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.hl:before {
|
|
103
|
+
content: ' ';
|
|
104
|
+
position: absolute; z-index: 1;
|
|
105
|
+
height: .35em;
|
|
106
|
+
bottom: .15em; left: 0; right: 0;
|
|
107
|
+
z-index: 1;
|
|
108
|
+
|
|
109
|
+
/* background-color: var(--color-highlight); */
|
|
110
|
+
background: var(--color-highlight) linear-gradient(45deg, var(--color-highlight-alt), var(--color-highlight));
|
|
111
|
+
opacity: .5;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* Page & content elements; page cards */
|
|
115
|
+
|
|
116
|
+
.pg_card .title {
|
|
117
|
+
padding: .5rem 0 .75rem;
|
|
118
|
+
border-bottom: dashed 4px var(--color-bg-alt);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.pg_card:before {
|
|
122
|
+
content: ' ';
|
|
123
|
+
width: 7rem; height: 7rem;
|
|
124
|
+
border-radius: 3.5rem;
|
|
125
|
+
|
|
126
|
+
background-color: var(--color-highlight);
|
|
127
|
+
opacity: .125;
|
|
128
|
+
|
|
129
|
+
position: absolute;
|
|
130
|
+
top: -2rem; left: -2rem;
|
|
131
|
+
}
|