@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.
@@ -0,0 +1,582 @@
1
+
2
+ /* Page elements */
3
+
4
+ .page_ht { min-height: 100vh; }
5
+ .rel { position: relative; }
6
+ .sticky { position: sticky; top: 0; left: 0; right: 0; }
7
+ .fixed { position: fixed; }
8
+ .g_fill { grid-column: 1 / -1; }
9
+
10
+ .abs {
11
+ position: absolute;
12
+ }
13
+
14
+ .abs_full {
15
+ position: absolute;
16
+ top: 0; left: 0; right: 0; bottom: 0;
17
+ }
18
+
19
+ .abs_l {
20
+ position: absolute;
21
+ top: 0;
22
+ bottom: 0;
23
+ left: 0;
24
+ }
25
+
26
+ .abs_r {
27
+ position: absolute;
28
+ top: 0;
29
+ bottom: 0;
30
+ right: 0;
31
+ }
32
+
33
+ .abs_corner {
34
+ position: absolute;
35
+ top: 0; right: 0;
36
+ }
37
+
38
+ .abs_corner_1 {
39
+ position: absolute;
40
+ top: 4px; right: -4px;
41
+ }
42
+
43
+ .abs_corner_2 {
44
+ position: absolute;
45
+ top: 4px; right: 4px;
46
+ }
47
+
48
+ .corner_x {
49
+ position: absolute;
50
+ top: -6px;
51
+ right: -6px;
52
+ box-shadow: 0 0 5px var(--color-bg), 0 0 1px var(--color-bg);
53
+ }
54
+
55
+ /* Typography */
56
+
57
+ h1, h2, h3, h4, h5, h6 {
58
+ font-family: var(--font-heading);
59
+ font-weight: normal;
60
+ line-height: 1.3;
61
+
62
+ padding: .7em 0 .4em;
63
+ margin: 0;
64
+ word-wrap: break-word;
65
+ }
66
+
67
+ strong, .bold {
68
+ font-family: var(--font-sans-bold);
69
+ font-weight: normal;
70
+ }
71
+
72
+ .ft_normal {
73
+ font-family: var(--font-sans);
74
+ }
75
+
76
+ p {
77
+ padding: 0;
78
+ margin: 0 0 .64em;
79
+ }
80
+
81
+ div, p {
82
+ word-wrap: break-word;
83
+ }
84
+
85
+ .ft_xt { font-size: var(--text-xtiny); }
86
+ .ft_t { font-size: var(--text-tiny); }
87
+ .ft_s { font-size: var(--text-small); }
88
+ .ft_d { font-size: var(--text-default); }
89
+ .ft_m { font-size: var(--text-medium); }
90
+ .ft_l { font-size: var(--text-large); }
91
+ .ft_xl { font-size: var(--text-xlarge); }
92
+
93
+ .lh_t { line-height: 1.1; }
94
+ .lh_s { line-height: 1.3; }
95
+ .lh_d { line-height: 1.5; }
96
+ .lh_m { line-height: 1.7; }
97
+ .lh_l { line-height: 1.9; }
98
+
99
+ h1, h2, h3, h4, h5, h6 {
100
+ font-size: 2em; /* This is em (not rem) on purpose */
101
+ letter-spacing: -.01em;
102
+ text-indent: -.02em;
103
+ }
104
+
105
+ h1.ft_xt, h2.ft_xt, h3.ft_xt, h4.ft_xt, h5.ft_xt, h6.ft_xt { font-size: var(--heading-xtiny); }
106
+ h1.ft_t, h2.ft_t, h3.ft_t, h4.ft_t, h5.ft_t, h6.ft_t { font-size: var(--heading-tiny); }
107
+ h1.ft_s, h2.ft_s, h3.ft_s, h4.ft_s, h5.ft_s, h6.ft_s { font-size: var(--heading-small); }
108
+ h1.ft_d, h2.ft_d, h3.ft_d, h4.ft_d, h5.ft_d, h6.ft_d { font-size: var(--heading-default); }
109
+ h1.ft_m, h2.ft_m, h3.ft_m, h4.ft_m, h5.ft_m, h6.ft_m { font-size: var(--heading-medium); }
110
+ h1.ft_l, h2.ft_l, h3.ft_l, h4.ft_l, h5.ft_l, h6.ft_l { font-size: var(--heading-large); }
111
+
112
+ /* Icon */
113
+
114
+ .icon_cnt { display: flex; justify-content: center; align-items: center; }
115
+ .icon { display: block; font-size: 1.3em; }
116
+ .ic_xxxl .icon { font-size: var(--ic-xxxlarge); }
117
+ .ic_xxl .icon { font-size: var(--ic-xxlarge); }
118
+ .ic_xl .icon { font-size: var(--ic-xlarge); }
119
+ .ic_l .icon { font-size: var(--ic-large); }
120
+ .ic_m .icon { font-size: var(--ic-medium); }
121
+ .ic_d .icon { font-size: var(--ic-default); }
122
+ .ic_s .icon { font-size: var(--ic-small); }
123
+ .ic_t .icon { font-size: var(--ic-tiny); }
124
+
125
+ .ic_special { width: 18px; height: 18px; display: block; } /* default size */
126
+ .ic_xxxl .ic_special { width: 72px; height: 72px; }
127
+ .ic_xxl .ic_special { width: 60px; height: 60px; }
128
+ .ic_xl .ic_special { width: 48px; height: 48px; }
129
+ .ic_l .ic_special { width: 29px; height: 28px; }
130
+ .ic_m .ic_special { width: 24px; height: 24px; }
131
+ .ic_d .ic_special { width: 20px; height: 20px; }
132
+ .ic_s .ic_special { width: 14px; height: 14px; }
133
+
134
+ .shift_up { transform: translateY(-1px); }
135
+ .shift_dn { transform: translateY(1px); }
136
+
137
+ .icon {
138
+ width: 1em;
139
+ height: 1em;
140
+ }
141
+
142
+ .icon .back_fill {
143
+ fill: var(--color-bg-alt);
144
+ }
145
+
146
+ /* Emojis */
147
+
148
+ .noto_emoji {
149
+ font-family: 'Noto Color Emoji', sans-serif;
150
+ font-weight: 400;
151
+ font-style: normal;
152
+ }
153
+
154
+ .ft_l .noto_emoji {
155
+ display: inline-block;
156
+ transform: translateY(-2px);
157
+ }
158
+
159
+ .emoji {
160
+ position: relative;
161
+ display: inline-block;
162
+ width: 1em;
163
+ height: 1em;
164
+ margin: 0 .1em;
165
+ line-height: 1;
166
+ }
167
+
168
+ .emoji img {
169
+ position: absolute;
170
+ /* top: 0; left: 0; right: 0; bottom: 0; */
171
+ /* top: -25%; left: -25%; right: -25%; bottom: -25%; */
172
+ top: 0; left: 0; right: 0; bottom: 0;
173
+ width: 1.25em;
174
+ height: 1.25em;
175
+ }
176
+
177
+ /* Padding */
178
+
179
+ .p_n { padding: 0 !important; }
180
+
181
+ .p_xt { padding: 3px; }
182
+ .p_xt_v { padding-top: 3px; padding-bottom: 3px; }
183
+ .p_xt_h { padding-left: 3px; padding-right: 3px; }
184
+
185
+ .p_t { padding: var(--rem-tiny); }
186
+ .p_t_v { padding-top: var(--rem-tiny); padding-bottom: var(--rem-tiny); }
187
+ .p_t_h { padding-left: var(--rem-tiny); padding-right: var(--rem-tiny); }
188
+
189
+ .p_s { padding: var(--rem-small); }
190
+ .p_s_v { padding-top: var(--rem-small); padding-bottom: var(--rem-small); }
191
+ .p_s_h { padding-left: var(--rem-small); padding-right: var(--rem-small); }
192
+
193
+ .p_d { padding: var(--rem-default); }
194
+ .p_d_v { padding-top: var(--rem-default); padding-bottom: var(--rem-default); }
195
+ .p_d_h { padding-left: var(--rem-default); padding-right: var(--rem-default); }
196
+
197
+ .p_m { padding: var(--rem-medium); }
198
+ .p_m_v { padding-top: var(--rem-medium); padding-bottom: var(--rem-medium); }
199
+ .p_m_h { padding-left: var(--rem-medium); padding-right: var(--rem-medium); }
200
+
201
+ .p_l { padding: var(--rem-large); }
202
+ .p_l_v { padding-top: var(--rem-large); padding-bottom: var(--rem-large); }
203
+ .p_l_h { padding-left: var(--rem-large); padding-right: var(--rem-large); }
204
+
205
+ .p_xt_t { padding-top: 3px; }
206
+ .p_xt_r { padding-right: 3px; }
207
+ .p_xt_b { padding-bottom: 3px; }
208
+ .p_xt_l { padding-left: 3px; }
209
+
210
+ .p_t_t { padding-top: var(--rem-tiny); }
211
+ .p_t_r { padding-right: var(--rem-tiny); }
212
+ .p_t_b { padding-bottom: var(--rem-tiny); }
213
+ .p_t_l { padding-left: var(--rem-tiny); }
214
+
215
+ .p_s_t { padding-top: var(--rem-small); }
216
+ .p_s_r { padding-right: var(--rem-small); }
217
+ .p_s_b { padding-bottom: var(--rem-small); }
218
+ .p_s_l { padding-left: var(--rem-small); }
219
+
220
+ .p_d_t { padding-top: var(--rem-default); }
221
+ .p_d_r { padding-right: var(--rem-default); }
222
+ .p_d_b { padding-bottom: var(--rem-default); }
223
+ .p_d_l { padding-left: var(--rem-default); }
224
+
225
+ .p_m_t { padding-top: var(--rem-medium); }
226
+ .p_m_r { padding-right: var(--rem-medium); }
227
+ .p_m_b { padding-bottom: var(--rem-medium); }
228
+ .p_m_l { padding-left: var(--rem-medium); }
229
+
230
+ .p_l_t { padding-top: var(--rem-large); }
231
+ .p_l_r { padding-right: var(--rem-large); }
232
+ .p_l_b { padding-bottom: var(--rem-large); }
233
+ .p_l_l { padding-left: var(--rem-large); }
234
+
235
+ /* Margin */
236
+
237
+ .m_n { margin: 0 !important; }
238
+
239
+ .m_xt { margin: 3px; }
240
+ .m_xt_v { margin-top: 3px; margin-bottom: 3px; }
241
+ .m_xt_h { margin-left: 3px; margin-right: 3px; }
242
+
243
+ .m_t { margin: var(--rem-tiny); }
244
+ .m_t_v { margin-top: var(--rem-tiny); margin-bottom: var(--rem-tiny); }
245
+ .m_t_h { margin-left: var(--rem-tiny); margin-right: var(--rem-tiny); }
246
+
247
+ .m_s { margin: var(--rem-small); }
248
+ .m_s_v { margin-top: var(--rem-small); margin-bottom: var(--rem-small); }
249
+ .m_s_h { margin-left: var(--rem-small); margin-right: var(--rem-small); }
250
+
251
+ .m_d { margin: var(--rem-default); }
252
+ .m_d_v { margin-top: var(--rem-default); margin-bottom: var(--rem-default); }
253
+ .m_d_h { margin-left: var(--rem-default); margin-right: var(--rem-default); }
254
+
255
+ .m_m { margin: var(--rem-medium); }
256
+ .m_m_v { margin-top: var(--rem-medium); margin-bottom: var(--rem-medium); }
257
+ .m_m_h { margin-left: var(--rem-medium); margin-right: var(--rem-medium); }
258
+
259
+ .m_l { margin: var(--rem-large); }
260
+ .m_l_v { margin-top: var(--rem-large); margin-bottom: var(--rem-large); }
261
+ .m_l_h { margin-left: var(--rem-large); margin-right: var(--rem-large); }
262
+
263
+ .m_xt_t { margin-top: 3px; }
264
+ .m_xt_r { margin-right: 3px; }
265
+ .m_xt_b { margin-bottom: 3px; }
266
+ .m_xt_l { margin-left: 3px; }
267
+
268
+ .m_t_t { margin-top: var(--rem-tiny); }
269
+ .m_t_r { margin-right: var(--rem-tiny); }
270
+ .m_t_b { margin-bottom: var(--rem-tiny); }
271
+ .m_t_l { margin-left: var(--rem-tiny); }
272
+
273
+ .m_s_t { margin-top: var(--rem-small); }
274
+ .m_s_r { margin-right: var(--rem-small); }
275
+ .m_s_b { margin-bottom: var(--rem-small); }
276
+ .m_s_l { margin-left: var(--rem-small); }
277
+
278
+ .m_d_t { margin-top: var(--rem-default); }
279
+ .m_d_r { margin-right: var(--rem-default); }
280
+ .m_d_b { margin-bottom: var(--rem-default); }
281
+ .m_d_l { margin-left: var(--rem-default); }
282
+
283
+ .m_m_t { margin-top: var(--rem-medium); }
284
+ .m_m_r { margin-right: var(--rem-medium); }
285
+ .m_m_b { margin-bottom: var(--rem-medium); }
286
+ .m_m_l { margin-left: var(--rem-medium); }
287
+
288
+ .m_l_t { margin-top: var(--rem-large); }
289
+ .m_l_r { margin-right: var(--rem-large); }
290
+ .m_l_b { margin-bottom: var(--rem-large); }
291
+ .m_l_l { margin-left: var(--rem-large); }
292
+
293
+ .m_xs_t { margin-top: 4px; }
294
+ .m_xs_b { margin-bottom: 4px; }
295
+
296
+ /* Radius */
297
+
298
+ .r, .r .img_auto { border-radius: 100vmax; }
299
+ .r_left { border-top-left-radius: 100vmax; border-bottom-left-radius: 100vmax; }
300
+ .r_right { border-top-right-radius: 100vmax; border-bottom-right-radius: 100vmax; }
301
+
302
+ .r_s { border-radius: var(--radius-small); }
303
+ .r_s_inside { border-radius: 5px; }
304
+ .r_s_t { border-top-left-radius: var(--radius-small); border-top-right-radius: var(--radius-small); }
305
+ .r_s_b { border-bottom-left-radius: var(--radius-small); border-bottom-right-radius: var(--radius-small);}
306
+ .r_s_l { border-top-left-radius: var(--radius-small); border-bottom-left-radius: var(--radius-small);}
307
+ .r_s_r { border-top-right-radius: var(--radius-small); border-bottom-right-radius: var(--radius-small);}
308
+
309
+ .r_d { border-radius: var(--radius-default); }
310
+ .r_d_t { border-top-left-radius: var(--radius-default); border-top-right-radius: var(--radius-default); }
311
+ .r_d_b { border-bottom-left-radius: var(--radius-default); border-bottom-right-radius: var(--radius-default);}
312
+
313
+ .r_m { border-radius: var(--radius-medium); }
314
+ .r_m_t { border-top-left-radius: var(--radius-medium); border-top-right-radius: var(--radius-medium); }
315
+ .r_m_b { border-bottom-left-radius: var(--radius-medium); border-bottom-right-radius: var(--radius-medium);}
316
+
317
+ .r_l { border-radius: var(--radius-large); }
318
+ .r_l_t { border-top-left-radius: var(--radius-large); border-top-right-radius: var(--radius-large); }
319
+ .r_l_b { border-bottom-left-radius: var(--radius-large); border-bottom-right-radius: var(--radius-large);}
320
+
321
+ /* Avatar */
322
+
323
+ .av_xxt { width: 1.25rem; height: 1.25rem; }
324
+ .av_xt { width: 1.5rem; height: 1.5rem; }
325
+ .av_t, svg.av_t foreignObject { width: var(--av-tiny); height: var(--av-tiny); }
326
+ .av_s, svg.av_s foreignObject { width: var(--av-small); height: var(--av-small); }
327
+ .av_d, svg.av_d foreignObject { width: var(--av-default); height: var(--av-default); }
328
+ .av_m, svg.av_m foreignObject { width: var(--av-medium); height: var(--av-medium); }
329
+ .av_l, svg.av_l foreignObject { width: var(--av-large); height: var(--av-large); }
330
+ .av_x, svg.av_x foreignObject { width: var(--av-xlarge); height: var(--av-xlarge); }
331
+
332
+ .av_w_t { width: var(--av-tiny); }
333
+ .av_w_s { width: var(--av-small); }
334
+ .av_w_d { width: var(--av-default); }
335
+ .av_w_m { width: var(--av-medium); }
336
+ .av_w_l { width: var(--av-large); }
337
+
338
+ .av_h_t { height: var(--av-tiny); }
339
+ .av_h_s { height: var(--av-small); }
340
+ .av_h_d { height: var(--av-default); }
341
+ .av_h_m { height: var(--av-medium); }
342
+ .av_h_l { height: var(--av-large); }
343
+
344
+ .av img {
345
+ background-color: var(--color-bg-active);
346
+ }
347
+
348
+ /* Flat avatar container for alignments */
349
+
350
+ .av_item_m { width: var(--av-medium); }
351
+ .av_item { width: var(--av-default); }
352
+ .av_item_s { width: var(--av-small); }
353
+
354
+ /* viewBox cannot be controlled by CSS; but it doesn't seem necessary, so it's okay */
355
+ /* svg.av_s {
356
+ viewBox: 0 0 var(--av-small) var(--av-small);
357
+ } */
358
+
359
+ svg.av_t .s_dot {
360
+ width: 0.6872727344rem; height: 0.6872727344rem;
361
+ x: 1.07636079995rem; y: 1.07636079995rem;
362
+ }
363
+
364
+ svg.av_s .s_dot {
365
+ width: 0.75757576rem; height: 0.75757576rem;
366
+ x: 1.71875rem; y: 1.71875rem;
367
+ }
368
+
369
+ /* 1.71875rem - 1.51515152rem = 0.20359848rem */
370
+ /* svg.av_d {
371
+ viewBox: 0 0 var(--av-default) var(--av-default);
372
+ } */
373
+
374
+ svg.av_d .s_dot {
375
+ width: 0.90909091rem; height: 0.90909091rem; /* size / 3.3 */
376
+ x: 2.06rem; y: 2.06rem; /* size / 1.45454545 */
377
+ }
378
+
379
+ /* svg.av_m {
380
+ viewBox: 0 0 var(--av-medium) var(--av-medium);
381
+ } */
382
+
383
+ svg.av_m .s_dot {
384
+ width: 1.21212121rem; height: 1.21212121rem;
385
+ x: 3.78125rem; y: 3.78125rem;
386
+ }
387
+
388
+ /* svg.av_l {
389
+ viewBox: 0 0 var(--av-large) var(--av-large);
390
+ } */
391
+
392
+ svg.av_l .s_dot {
393
+ width: 1.78977272rem; height: 1.78977272rem;
394
+ x: 6rem; y: 6rem;
395
+ }
396
+
397
+ svg.av_x .s_dot {
398
+ width: 1.78977272rem; height: 1.78977272rem;
399
+ x: 8.61rem; y: 8.61rem;
400
+ }
401
+
402
+ .av {
403
+ flex-shrink: 0;
404
+ }
405
+
406
+ .av_btn .click_hover {
407
+ background-color: var(--color-contrast-opaque);
408
+ }
409
+
410
+ .av_btn .click_hover.w_text {
411
+ padding-bottom: 5%;
412
+ }
413
+
414
+ .av_btn:not(.disabled):hover .click_hover {
415
+ visibility: visible !important;
416
+ }
417
+
418
+ .av_btn:not(.disabled):hover .av.main {
419
+ opacity: .2;
420
+ }
421
+
422
+ .av_btn .pill {
423
+ position: absolute;
424
+ bottom: 0;
425
+ left: 50%;
426
+ min-width: 40px;
427
+ transform: translate(-50%, 25%);
428
+ box-shadow: 0 0 8px rgba(0,0,0,.25);
429
+ }
430
+
431
+ .av_btn_text_shift {
432
+ padding-bottom: 10%;
433
+ }
434
+
435
+ /* Typing dots */
436
+
437
+ .s_typing_dots {
438
+ position: absolute;
439
+ bottom: -3px;
440
+ right: 7px;
441
+ }
442
+
443
+ .s_typing_dots.d {
444
+ width: 30px;
445
+ height: 16px;
446
+ border-radius: 8px;
447
+ }
448
+
449
+ /* Pills */
450
+
451
+ .pill {
452
+ position: relative;
453
+ display: block;
454
+ white-space: nowrap;
455
+ user-select: none;
456
+ }
457
+
458
+ .pill.bg_active, .pill.bg_alt, .pill.bg {
459
+ color: var(--color-text);
460
+ }
461
+
462
+ .pill.loading {
463
+ color: transparent !important;
464
+ }
465
+
466
+ .pill.loading .shortcut {
467
+ visibility: hidden;
468
+ }
469
+
470
+ .pill_t {
471
+ min-width: 1.85rem;
472
+ height: 1.85rem;
473
+ padding-left: .55em;
474
+ padding-right: .55em;
475
+ }
476
+
477
+ .pill_s {
478
+ min-width: var(--av-small);
479
+ height: var(--av-small);
480
+ padding-left: .7em;
481
+ padding-right: .7em;
482
+ }
483
+
484
+ .pill_d {
485
+ min-width: var(--av-default);
486
+ height: var(--av-default);
487
+ padding-left: .9em;
488
+ padding-right: .9em;
489
+ }
490
+
491
+ .pill_m {
492
+ min-width: 4rem;
493
+ height: 4rem;
494
+ padding-left: 1.15em;
495
+ padding-right: 1.15em;
496
+ font-size: var(--text-medium);
497
+ }
498
+
499
+ .pill_l {
500
+ min-width: 4.7rem;
501
+ height: 4.7rem;
502
+ padding-left: 1.15em;
503
+ padding-right: 1.15em;
504
+ padding-bottom: 2px;
505
+ font-size: 1.5rem;
506
+ }
507
+
508
+ /* Grid */
509
+
510
+ .grid {
511
+ display: grid;
512
+ grid-template-rows: 1fr min-content;
513
+ row-gap: 1rem;
514
+ column-gap: 1rem;
515
+ }
516
+
517
+ .ggap_s {
518
+ row-gap: .5rem;
519
+ column-gap: .5rem;
520
+ }
521
+
522
+ .ggap_m {
523
+ row-gap: 2rem;
524
+ column-gap: 2rem;
525
+ }
526
+
527
+ .ggap_n {
528
+ row-gap: 0;
529
+ column-gap: 0;
530
+ }
531
+
532
+ /* Grid; column spans */
533
+
534
+ .gcol_fill {
535
+ grid-column: 1 / -1;
536
+ }
537
+
538
+ .gcol_span_2 {
539
+ grid-column: span 2;
540
+ }
541
+
542
+ .gcol_span_3 {
543
+ grid-column: span 3;
544
+ }
545
+
546
+ .gcol_span_4 {
547
+ grid-column: span 4;
548
+ }
549
+
550
+ /* Grid; columns per row */
551
+
552
+ .grid.size_2 {
553
+ grid-template-columns: repeat(2, 1fr);
554
+ }
555
+
556
+ .grid.size_3 {
557
+ grid-template-columns: repeat(3, 1fr);
558
+ }
559
+
560
+ .grid.size_4 {
561
+ grid-template-columns: repeat(4, 1fr);
562
+ }
563
+
564
+ .grid.size_5 {
565
+ grid-template-columns: repeat(5, 1fr);
566
+ }
567
+
568
+ .grid.size_6 {
569
+ grid-template-columns: repeat(6, 1fr);
570
+ }
571
+
572
+ .grid.size_7 {
573
+ grid-template-columns: repeat(7, 1fr);
574
+ }
575
+
576
+ .grid.size_8 {
577
+ grid-template-columns: repeat(8, 1fr);
578
+ }
579
+
580
+ .grid.size_9 {
581
+ grid-template-columns: repeat(9, 1fr);
582
+ }
package/css/alert.css ADDED
@@ -0,0 +1,62 @@
1
+
2
+ /* Modal screen cover */
3
+
4
+ .modal_cover {
5
+ position: fixed;
6
+ top: 0; right: 0; bottom: 0; left: 0;
7
+ opacity: 0;
8
+ transition: ease opacity .2s;
9
+ }
10
+
11
+ .modal_cover.visible {
12
+ opacity: 1;
13
+ }
14
+
15
+ .modal_cover .main_content {
16
+ cursor: auto;
17
+ box-shadow: var(--shadow-float-light);
18
+ }
19
+
20
+ .alert_shadow {
21
+ box-shadow: 0 0 0 8px var(--color-bg-active), 0 15px 25px rgba(0,0,0,.1) !important;
22
+ }
23
+
24
+ .modal_cover.p_m .scr_area {
25
+ max-height: calc(100vh - var(--rem-medium) - var(--rem-medium));
26
+ }
27
+
28
+ .modal_cover.p_d .scr_area {
29
+ max-height: calc(100vh - var(--rem-default) - var(--rem-default));
30
+ }
31
+
32
+ .modal_cover .main_content.full {
33
+ box-shadow: var(--shadow-float-full);
34
+ }
35
+
36
+ /* Close button inside modals */
37
+
38
+ .m_close {
39
+ position: absolute;
40
+ top: var(--rem-default);
41
+ right: var(--rem-default);
42
+ cursor: pointer;
43
+ }
44
+
45
+ .m_close:hover {
46
+ background-color: var(--color-bg-active);
47
+ }
48
+
49
+ /* Modal error message */
50
+
51
+ .m_err {
52
+ position: relative;
53
+ padding: var(--rem-default);
54
+ margin-bottom: var(--rem-small);
55
+ background-color: var(--color-bg-active);
56
+ /* border: solid 4px var(--color-bg-active); */
57
+ }
58
+
59
+ .m_err .m_close {
60
+ top: var(--rem-tiny);
61
+ right: var(--rem-tiny);
62
+ }