digital-zen-pack 0.4.0 → 0.4.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/dist/style.css +517 -13
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
:root {
|
|
3
|
+
--header-height: 48px;
|
|
4
|
+
interpolate-size: allow-keywords;
|
|
3
5
|
/* Цветовые токены */
|
|
4
6
|
--color-background: #f9fafc;
|
|
5
7
|
--color-text: #334155;
|
|
@@ -10,14 +12,18 @@
|
|
|
10
12
|
--color-on-warn: #475569;
|
|
11
13
|
--color-on-accent: #f1f5f9;
|
|
12
14
|
--color-on-success: #f1f5f9;
|
|
13
|
-
--color-
|
|
15
|
+
--color-zen-info: #3b82f6;
|
|
16
|
+
--color-on-info: #f1f5f9;
|
|
17
|
+
--color-component-bg-light: #ebf2ff;
|
|
14
18
|
--color-component-text-light: #475569;
|
|
15
19
|
--color-component-bg-dark: #334155;
|
|
16
20
|
--color-component-text-dark: #f1f5f9;
|
|
17
|
-
--color-glass-text: rgba(71, 85, 105, 0.
|
|
21
|
+
--color-glass-text: rgba(71, 85, 105, 0.7);
|
|
18
22
|
/* Размеры кнопок */
|
|
23
|
+
--btn-size-xxs: 18px;
|
|
19
24
|
--btn-size-xs: 24px;
|
|
20
25
|
--btn-size-sm: 32px;
|
|
26
|
+
--btn-size-nm: 38px;
|
|
21
27
|
--btn-size-md: 48px;
|
|
22
28
|
--btn-size-lg: 64px;
|
|
23
29
|
--btn-size-xl: 96px;
|
|
@@ -84,9 +90,13 @@
|
|
|
84
90
|
height: var(--btn-size-sm);
|
|
85
91
|
padding: var(--spacing-sm);
|
|
86
92
|
}
|
|
93
|
+
.dz-button--nm {
|
|
94
|
+
height: var(--btn-size-nm);
|
|
95
|
+
padding: var(--spacing-sm);
|
|
96
|
+
}
|
|
87
97
|
.dz-button--md {
|
|
88
98
|
height: var(--btn-size-md);
|
|
89
|
-
padding: var(--spacing-
|
|
99
|
+
padding: var(--spacing-sm);
|
|
90
100
|
}
|
|
91
101
|
.dz-button--lg {
|
|
92
102
|
height: var(--btn-size-lg);
|
|
@@ -106,6 +116,14 @@
|
|
|
106
116
|
.dz-button--round {
|
|
107
117
|
border-radius: 99999px;
|
|
108
118
|
}
|
|
119
|
+
.dz-button--free {
|
|
120
|
+
padding: 0;
|
|
121
|
+
width: auto;
|
|
122
|
+
height: auto;
|
|
123
|
+
}
|
|
124
|
+
.dz-button--full {
|
|
125
|
+
width: 100%;
|
|
126
|
+
}
|
|
109
127
|
.dz-button--activated {
|
|
110
128
|
background-color: var(--color-zen-accent);
|
|
111
129
|
color: var(--color-on-accent);
|
|
@@ -121,8 +139,8 @@
|
|
|
121
139
|
}
|
|
122
140
|
.dz-button.dz-button--ghost.dz-button--activated {
|
|
123
141
|
background-color: transparent;
|
|
124
|
-
color: var(--color-
|
|
125
|
-
border:
|
|
142
|
+
color: var(--color-text);
|
|
143
|
+
border: 2px solid var(--color-zen-accent);
|
|
126
144
|
}
|
|
127
145
|
.dz-button.dz-button--ghost.dz-button--error {
|
|
128
146
|
background-color: transparent;
|
|
@@ -132,12 +150,20 @@
|
|
|
132
150
|
.dz-button:disabled {
|
|
133
151
|
cursor: not-allowed;
|
|
134
152
|
pointer-events: none;
|
|
135
|
-
filter: grayscale(
|
|
153
|
+
filter: grayscale(80%);
|
|
136
154
|
}
|
|
137
155
|
.dz-button--pointerless {
|
|
138
156
|
cursor: auto;
|
|
139
157
|
pointer-events: none;
|
|
140
158
|
}
|
|
159
|
+
.dz-button--warn {
|
|
160
|
+
background-color: var(--color-zen-warn);
|
|
161
|
+
color: var(--color-on-warn);
|
|
162
|
+
}
|
|
163
|
+
.dz-button--success {
|
|
164
|
+
background-color: var(--color-zen-success);
|
|
165
|
+
color: var(--color-on-success);
|
|
166
|
+
}
|
|
141
167
|
.dz-button:active:not(disabled):not(.dz-button--pointerless) {
|
|
142
168
|
transform: scale(0.98) translateY(1px);
|
|
143
169
|
}
|
|
@@ -170,7 +196,7 @@
|
|
|
170
196
|
}
|
|
171
197
|
.dz-form__error {
|
|
172
198
|
width: 100%;
|
|
173
|
-
margin: var(--list-gap) 0;
|
|
199
|
+
margin: var(--list-gap) 0 0 0;
|
|
174
200
|
}
|
|
175
201
|
|
|
176
202
|
.dz-input {
|
|
@@ -181,16 +207,20 @@
|
|
|
181
207
|
border-radius: var(--radius);
|
|
182
208
|
border: 2px solid var(--color-zen-accent);
|
|
183
209
|
outline: none;
|
|
184
|
-
background-color:
|
|
210
|
+
background-color: transparent;
|
|
185
211
|
color: var(--color-component-text-light);
|
|
186
212
|
box-shadow: 0 0 var(--shadow-blur) var(--shadow-color);
|
|
187
213
|
transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
|
|
188
214
|
font-size: var(--font-size-sm);
|
|
189
215
|
}
|
|
190
216
|
.dz-input::placeholder {
|
|
191
|
-
color: var(--color-
|
|
192
|
-
|
|
193
|
-
|
|
217
|
+
color: var(--color-glass-text);
|
|
218
|
+
font-size: inherit;
|
|
219
|
+
line-height: inherit;
|
|
220
|
+
font-family: inherit;
|
|
221
|
+
opacity: 1;
|
|
222
|
+
display: flex;
|
|
223
|
+
align-items: center;
|
|
194
224
|
}
|
|
195
225
|
.dz-input:focus {
|
|
196
226
|
box-shadow: 0 0 0 1px var(--color-zen-accent);
|
|
@@ -207,6 +237,14 @@
|
|
|
207
237
|
padding: var(--spacing);
|
|
208
238
|
resize: vertical;
|
|
209
239
|
}
|
|
240
|
+
.dz-input--checkbox {
|
|
241
|
+
cursor: pointer;
|
|
242
|
+
width: var(--btn-size-xs);
|
|
243
|
+
height: var(--btn-size-xs);
|
|
244
|
+
min-width: var(--btn-size-xs);
|
|
245
|
+
min-height: var(--btn-size-xs);
|
|
246
|
+
box-shadow: none;
|
|
247
|
+
}
|
|
210
248
|
.dz-input::-webkit-calendar-picker-indicator {
|
|
211
249
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 24 24' %3E%3Cg%3E%3Cpath d='M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
|
|
212
250
|
background-repeat: no-repeat;
|
|
@@ -220,6 +258,36 @@
|
|
|
220
258
|
.dz-input--borderless {
|
|
221
259
|
border: none;
|
|
222
260
|
}
|
|
261
|
+
.dz-input--hidden {
|
|
262
|
+
opacity: 0;
|
|
263
|
+
width: 0;
|
|
264
|
+
height: 0;
|
|
265
|
+
padding: 0;
|
|
266
|
+
margin: 0;
|
|
267
|
+
pointer-events: none;
|
|
268
|
+
}
|
|
269
|
+
.dz-input[type=time] {
|
|
270
|
+
padding: 0;
|
|
271
|
+
}
|
|
272
|
+
.dz-input[type=time]::-webkit-calendar-picker-indicator {
|
|
273
|
+
display: none !important;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.dz-list__item--highlighted {
|
|
277
|
+
position: relative;
|
|
278
|
+
z-index: 1;
|
|
279
|
+
}
|
|
280
|
+
.dz-list__item--highlighted::before {
|
|
281
|
+
content: "";
|
|
282
|
+
position: absolute;
|
|
283
|
+
top: -4px;
|
|
284
|
+
bottom: -4px;
|
|
285
|
+
left: -6px;
|
|
286
|
+
right: -6px;
|
|
287
|
+
border: 2px solid var(--color-zen-error);
|
|
288
|
+
border-radius: var(--radius-xs);
|
|
289
|
+
pointer-events: none;
|
|
290
|
+
}
|
|
223
291
|
|
|
224
292
|
.dz-list,
|
|
225
293
|
.dz-form {
|
|
@@ -265,6 +333,7 @@
|
|
|
265
333
|
}
|
|
266
334
|
|
|
267
335
|
.dz-box {
|
|
336
|
+
position: relative;
|
|
268
337
|
width: 100%;
|
|
269
338
|
padding: var(--spacing);
|
|
270
339
|
border-radius: var(--radius);
|
|
@@ -276,6 +345,21 @@
|
|
|
276
345
|
background-color: var(--color-component-bg-dark);
|
|
277
346
|
color: var(--color-component-text-dark);
|
|
278
347
|
}
|
|
348
|
+
.dz-box__bg {
|
|
349
|
+
position: absolute;
|
|
350
|
+
inset: 0;
|
|
351
|
+
object-fit: contain;
|
|
352
|
+
z-index: -1;
|
|
353
|
+
transition: background-image 0.5s ease-in-out;
|
|
354
|
+
background-image: var(--bg-url);
|
|
355
|
+
background-size: contain;
|
|
356
|
+
background-repeat: no-repeat;
|
|
357
|
+
background-position: center;
|
|
358
|
+
border-radius: inherit;
|
|
359
|
+
}
|
|
360
|
+
.dz-box__bg--transparrent {
|
|
361
|
+
opacity: 0.3;
|
|
362
|
+
}
|
|
279
363
|
|
|
280
364
|
.dz-placeholder {
|
|
281
365
|
position: relative;
|
|
@@ -322,9 +406,10 @@
|
|
|
322
406
|
}
|
|
323
407
|
|
|
324
408
|
.dz-accordion {
|
|
409
|
+
interpolate-size: allow-keywords;
|
|
325
410
|
width: 100%;
|
|
326
411
|
border-radius: var(--radius);
|
|
327
|
-
background-color:
|
|
412
|
+
background-color: transparent;
|
|
328
413
|
color: var(--color-component-text-light);
|
|
329
414
|
box-shadow: 0 2px 4px var(--shadow-color);
|
|
330
415
|
overflow: hidden;
|
|
@@ -346,18 +431,33 @@
|
|
|
346
431
|
.dz-accordion__header::-webkit-details-marker {
|
|
347
432
|
display: none;
|
|
348
433
|
}
|
|
434
|
+
.dz-accordion__header--hoverless {
|
|
435
|
+
pointer-events: none;
|
|
436
|
+
cursor: default;
|
|
437
|
+
}
|
|
438
|
+
.dz-accordion .title {
|
|
439
|
+
border: none;
|
|
440
|
+
}
|
|
349
441
|
.dz-accordion__icon {
|
|
350
442
|
display: flex;
|
|
351
443
|
align-items: center;
|
|
352
444
|
justify-content: center;
|
|
353
445
|
transition: transform 0.3s ease;
|
|
354
|
-
width:
|
|
446
|
+
width: auto;
|
|
355
447
|
}
|
|
356
448
|
.dz-accordion__content {
|
|
357
449
|
padding: var(--spacing);
|
|
358
450
|
font-size: var(--font-size-sm);
|
|
359
451
|
border-top: 1px solid var(--color-glass-text);
|
|
360
452
|
}
|
|
453
|
+
.dz-accordion::details-content {
|
|
454
|
+
transition: block-size 0.4s, content-visibility 0.4s allow-discrete;
|
|
455
|
+
overflow: hidden;
|
|
456
|
+
block-size: 0;
|
|
457
|
+
}
|
|
458
|
+
.dz-accordion[open]::details-content {
|
|
459
|
+
block-size: auto;
|
|
460
|
+
}
|
|
361
461
|
|
|
362
462
|
.dz-accordion--sm .dz-accordion__header {
|
|
363
463
|
padding: var(--spacing-sm);
|
|
@@ -494,7 +594,171 @@
|
|
|
494
594
|
font-size: var(--font-size-lg);
|
|
495
595
|
}
|
|
496
596
|
|
|
597
|
+
.dz-icon-box {
|
|
598
|
+
display: flex;
|
|
599
|
+
align-items: center;
|
|
600
|
+
border-radius: var(--radius);
|
|
601
|
+
background-color: transparent;
|
|
602
|
+
justify-content: center;
|
|
603
|
+
aspect-ratio: 1/1;
|
|
604
|
+
gap: var(--spacing-xs);
|
|
605
|
+
}
|
|
606
|
+
.dz-icon-box--xxs {
|
|
607
|
+
height: var(--btn-size-xxs);
|
|
608
|
+
}
|
|
609
|
+
.dz-icon-box--xs {
|
|
610
|
+
height: var(--btn-size-xs);
|
|
611
|
+
border-radius: var(--radius-xs);
|
|
612
|
+
}
|
|
613
|
+
.dz-icon-box--sm {
|
|
614
|
+
height: var(--btn-size-sm);
|
|
615
|
+
}
|
|
616
|
+
.dz-icon-box--nm {
|
|
617
|
+
height: var(--btn-size-nm);
|
|
618
|
+
}
|
|
619
|
+
.dz-icon-box--md {
|
|
620
|
+
height: var(--btn-size-md);
|
|
621
|
+
}
|
|
622
|
+
.dz-icon-box--lg {
|
|
623
|
+
height: var(--btn-size-lg);
|
|
624
|
+
}
|
|
625
|
+
.dz-icon-box--xl {
|
|
626
|
+
height: var(--btn-size-xl);
|
|
627
|
+
}
|
|
628
|
+
.dz-icon-box--xxl {
|
|
629
|
+
height: var(--btn-size-xxl);
|
|
630
|
+
}
|
|
631
|
+
.dz-icon-box--error {
|
|
632
|
+
color: var(--color-zen-error);
|
|
633
|
+
}
|
|
634
|
+
.dz-icon-box--activated {
|
|
635
|
+
color: var(--color-zen-accent);
|
|
636
|
+
}
|
|
637
|
+
.dz-icon-box--warn {
|
|
638
|
+
color: var(--color-zen-warn);
|
|
639
|
+
}
|
|
640
|
+
.dz-icon-box--success {
|
|
641
|
+
color: var(--color-zen-success);
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
.hint {
|
|
645
|
+
font-size: var(--font-size-xs);
|
|
646
|
+
color: var(--color-glass-text);
|
|
647
|
+
font-weight: 400;
|
|
648
|
+
}
|
|
649
|
+
.hint--xs {
|
|
650
|
+
font-size: var(--font-size-xs);
|
|
651
|
+
}
|
|
652
|
+
.hint--sm {
|
|
653
|
+
font-size: var(--font-size-sm);
|
|
654
|
+
}
|
|
655
|
+
.hint--md {
|
|
656
|
+
font-size: var(--font-size-md);
|
|
657
|
+
}
|
|
658
|
+
.hint--lg {
|
|
659
|
+
font-size: var(--font-size-lg);
|
|
660
|
+
}
|
|
661
|
+
.hint--xl {
|
|
662
|
+
font-size: var(--font-size-xl);
|
|
663
|
+
}
|
|
664
|
+
.hint--xxl {
|
|
665
|
+
font-size: var(--font-size-xxl);
|
|
666
|
+
}
|
|
667
|
+
.hint--error {
|
|
668
|
+
border-radius: var(--radius-xs);
|
|
669
|
+
padding: var(--spacing-xs);
|
|
670
|
+
color: var(--color-on-info);
|
|
671
|
+
background-color: var(--color-zen-error);
|
|
672
|
+
}
|
|
673
|
+
.hint--activated {
|
|
674
|
+
border-radius: var(--radius-xs);
|
|
675
|
+
padding: var(--spacing-xs);
|
|
676
|
+
color: var(--color-on-info);
|
|
677
|
+
background-color: var(--color-zen-accent);
|
|
678
|
+
}
|
|
679
|
+
.hint--warn {
|
|
680
|
+
border-radius: var(--radius-xs);
|
|
681
|
+
padding: var(--spacing-xs);
|
|
682
|
+
color: var(--color-on-warn);
|
|
683
|
+
background-color: var(--color-zen-warn);
|
|
684
|
+
}
|
|
685
|
+
.hint--success {
|
|
686
|
+
border-radius: var(--radius-xs);
|
|
687
|
+
padding: var(--spacing-xs);
|
|
688
|
+
color: var(--color-on-success);
|
|
689
|
+
background-color: var(--color-zen-success);
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
.dz-tree {
|
|
693
|
+
list-style: none;
|
|
694
|
+
padding-left: 1rem;
|
|
695
|
+
}
|
|
696
|
+
.dz-tree--root {
|
|
697
|
+
padding-left: 0;
|
|
698
|
+
}
|
|
699
|
+
.dz-tree:not(.dz-tree--root) {
|
|
700
|
+
height: 0;
|
|
701
|
+
overflow: hidden;
|
|
702
|
+
transition: height 0.3s ease-in-out;
|
|
703
|
+
}
|
|
704
|
+
.dz-tree.dz-tree--open {
|
|
705
|
+
height: auto;
|
|
706
|
+
}
|
|
707
|
+
.dz-tree__item {
|
|
708
|
+
position: relative;
|
|
709
|
+
padding: 4px 0 4px 20px;
|
|
710
|
+
display: flex;
|
|
711
|
+
align-items: center;
|
|
712
|
+
gap: var(--spacing);
|
|
713
|
+
border-radius: var(--radius-xs);
|
|
714
|
+
transition: background 0.2s;
|
|
715
|
+
}
|
|
716
|
+
.dz-tree__item::before {
|
|
717
|
+
content: "";
|
|
718
|
+
position: absolute;
|
|
719
|
+
left: 0;
|
|
720
|
+
top: -10px;
|
|
721
|
+
bottom: 50%;
|
|
722
|
+
width: 1px;
|
|
723
|
+
border-left: 1px solid var(--color-glass-text);
|
|
724
|
+
}
|
|
725
|
+
.dz-tree__item::after {
|
|
726
|
+
content: "";
|
|
727
|
+
position: absolute;
|
|
728
|
+
left: 0;
|
|
729
|
+
top: 50%;
|
|
730
|
+
width: 1rem;
|
|
731
|
+
height: 1px;
|
|
732
|
+
border-top: 1px solid var(--color-glass-text);
|
|
733
|
+
}
|
|
734
|
+
.dz-tree__item:first-child::before {
|
|
735
|
+
top: 50%;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
.font-xxs {
|
|
739
|
+
font-size: var(--font-size-xxs);
|
|
740
|
+
}
|
|
741
|
+
.font-xs {
|
|
742
|
+
font-size: var(--font-size-xs);
|
|
743
|
+
}
|
|
744
|
+
.font-sm {
|
|
745
|
+
font-size: var(--font-size-sm);
|
|
746
|
+
}
|
|
747
|
+
.font-md {
|
|
748
|
+
font-size: var(--font-size-md);
|
|
749
|
+
}
|
|
750
|
+
.font-lg {
|
|
751
|
+
font-size: var(--font-size-lg);
|
|
752
|
+
}
|
|
753
|
+
.font-xl {
|
|
754
|
+
font-size: var(--font-size-xl);
|
|
755
|
+
}
|
|
756
|
+
.font-xxl {
|
|
757
|
+
font-size: var(--font-size-xxl);
|
|
758
|
+
}
|
|
759
|
+
|
|
497
760
|
.shadow {
|
|
761
|
+
border: 1px solid color-mix(in srgb, var(--color-component-bg-light), white 20%);
|
|
498
762
|
box-shadow: 0 4px 6px var(--shadow-color);
|
|
499
763
|
transition: transform 0.3s, box-shadow 0.3s;
|
|
500
764
|
}
|
|
@@ -579,3 +843,243 @@
|
|
|
579
843
|
-ms-user-select: none;
|
|
580
844
|
user-select: none;
|
|
581
845
|
}
|
|
846
|
+
|
|
847
|
+
.light--accent {
|
|
848
|
+
box-shadow: 0 0 10px var(--color-zen-accent), 0 0 20px var(--color-zen-accent), inset 0 0 10px var(--color-zen-accent);
|
|
849
|
+
animation: breathe 8s ease-in-out infinite;
|
|
850
|
+
}
|
|
851
|
+
.light--accent:hover {
|
|
852
|
+
box-shadow: 0 0 10px var(--color-zen-accent), 0 0 20px var(--color-zen-accent), inset 0 0 10px var(--color-zen-accent);
|
|
853
|
+
}
|
|
854
|
+
.light--warn {
|
|
855
|
+
box-shadow: 0 0 10px var(--color-zen-warn), 0 0 20px var(--color-zen-warn), inset 0 0 10px var(--color-zen-warn);
|
|
856
|
+
animation: breathe 8s ease-in-out infinite;
|
|
857
|
+
}
|
|
858
|
+
.light--warn:hover {
|
|
859
|
+
box-shadow: 0 0 10px var(--color-zen-warn), 0 0 20px var(--color-zen-warn), inset 0 0 10px var(--color-zen-warn);
|
|
860
|
+
}
|
|
861
|
+
.light--error {
|
|
862
|
+
box-shadow: 0 0 10px var(--color-zen-error), 0 0 20px var(--color-zen-error), inset 0 0 10px var(--color-zen-error);
|
|
863
|
+
animation: breathe 8s ease-in-out infinite;
|
|
864
|
+
}
|
|
865
|
+
.light--error:hover {
|
|
866
|
+
box-shadow: 0 0 10px var(--color-zen-error), 0 0 20px var(--color-zen-error), inset 0 0 10px var(--color-zen-error);
|
|
867
|
+
}
|
|
868
|
+
.light--success {
|
|
869
|
+
box-shadow: 0 0 10px var(--color-zen-success), 0 0 20px var(--color-zen-success), inset 0 0 10px var(--color-zen-success);
|
|
870
|
+
animation: breathe 8s ease-in-out infinite;
|
|
871
|
+
}
|
|
872
|
+
.light--success:hover {
|
|
873
|
+
box-shadow: 0 0 10px var(--color-zen-success), 0 0 20px var(--color-zen-success), inset 0 0 10px var(--color-zen-success);
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
.strikethrough {
|
|
877
|
+
position: relative;
|
|
878
|
+
display: inline-block;
|
|
879
|
+
}
|
|
880
|
+
.strikethrough::after {
|
|
881
|
+
content: "";
|
|
882
|
+
position: absolute;
|
|
883
|
+
left: -2px;
|
|
884
|
+
right: -2px;
|
|
885
|
+
top: 50%;
|
|
886
|
+
height: 12px;
|
|
887
|
+
background-color: currentColor;
|
|
888
|
+
transform: translateY(-50%) rotate(var(--rotation, -1deg)) scaleX(var(--scale, 1)) rotate(-20deg);
|
|
889
|
+
mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20" preserveAspectRatio="none"><path d="M0,10 Q25,var(--seed, 5) 50,10 T100,10" stroke="black" stroke-width="3" fill="none" stroke-linecap="round"/></svg>');
|
|
890
|
+
mask-size: 100% 100%;
|
|
891
|
+
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0,10 Q25,5 50,10 T100,10' stroke='black' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
|
|
892
|
+
-webkit-mask-size: 100% 100%;
|
|
893
|
+
pointer-events: none;
|
|
894
|
+
opacity: 0.8;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
.square {
|
|
898
|
+
aspect-ratio: 1/1;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
.blurred {
|
|
902
|
+
backdrop-filter: blur(3px);
|
|
903
|
+
-webkit-backdrop-filter: blur(3px);
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
.full {
|
|
907
|
+
width: 100%;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
.fit {
|
|
911
|
+
width: fit-content;
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
@keyframes breathe {
|
|
915
|
+
0%, 100% {
|
|
916
|
+
filter: brightness(1);
|
|
917
|
+
}
|
|
918
|
+
50% {
|
|
919
|
+
filter: brightness(1.1);
|
|
920
|
+
}
|
|
921
|
+
}
|
|
922
|
+
.breathe {
|
|
923
|
+
animation: breathe 8s ease-in-out infinite;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
.text-center {
|
|
927
|
+
text-align: center;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
.copy {
|
|
931
|
+
cursor: copy;
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
@keyframes dz-entry-slide {
|
|
935
|
+
from {
|
|
936
|
+
opacity: 0;
|
|
937
|
+
transform: translateY(-10px);
|
|
938
|
+
}
|
|
939
|
+
to {
|
|
940
|
+
opacity: 1;
|
|
941
|
+
transform: translateY(0);
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
.ellipsis {
|
|
945
|
+
display: -webkit-box;
|
|
946
|
+
-webkit-line-clamp: 1;
|
|
947
|
+
-webkit-box-orient: vertical;
|
|
948
|
+
overflow: hidden;
|
|
949
|
+
word-break: break-all;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
.no-wrap {
|
|
953
|
+
white-space: nowrap;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
.relative {
|
|
957
|
+
position: relative;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
.radius {
|
|
961
|
+
border-radius: var(--radius-xs);
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
.dz-badge {
|
|
965
|
+
z-index: 100;
|
|
966
|
+
display: inline-flex;
|
|
967
|
+
gap: var(--spacing-xs);
|
|
968
|
+
font-weight: 500;
|
|
969
|
+
line-height: 1;
|
|
970
|
+
text-align: center;
|
|
971
|
+
white-space: nowrap;
|
|
972
|
+
vertical-align: baseline;
|
|
973
|
+
position: absolute;
|
|
974
|
+
top: 0;
|
|
975
|
+
right: 0;
|
|
976
|
+
transform: translate(50%, -50%);
|
|
977
|
+
}
|
|
978
|
+
.dz-badge--sm {
|
|
979
|
+
padding: calc(var(--spacing-xs) / 2) var(--spacing-xs);
|
|
980
|
+
font-size: var(--font-size-xs);
|
|
981
|
+
}
|
|
982
|
+
.dz-badge--lg {
|
|
983
|
+
padding: var(--spacing-sm) var(--spacing);
|
|
984
|
+
font-size: var(--font-size-sm);
|
|
985
|
+
}
|
|
986
|
+
.dz-badge--primary {
|
|
987
|
+
background-color: var(--color-zen-accent);
|
|
988
|
+
color: var(--color-on-accent);
|
|
989
|
+
}
|
|
990
|
+
.dz-badge--secondary {
|
|
991
|
+
background-color: var(--color-component-bg-light);
|
|
992
|
+
color: var(--color-glass-text);
|
|
993
|
+
}
|
|
994
|
+
.dz-badge--success {
|
|
995
|
+
background-color: var(--color-zen-success);
|
|
996
|
+
color: white;
|
|
997
|
+
}
|
|
998
|
+
.dz-badge--danger {
|
|
999
|
+
background-color: var(--color-zen-error);
|
|
1000
|
+
color: white;
|
|
1001
|
+
}
|
|
1002
|
+
.dz-badge--warning {
|
|
1003
|
+
background-color: var(--color-zen-warn);
|
|
1004
|
+
color: black;
|
|
1005
|
+
}
|
|
1006
|
+
.dz-badge--info {
|
|
1007
|
+
background-color: var(--color-zen-info);
|
|
1008
|
+
color: var(--color-on-info);
|
|
1009
|
+
}
|
|
1010
|
+
.dz-badge--top-left {
|
|
1011
|
+
position: absolute;
|
|
1012
|
+
top: 0;
|
|
1013
|
+
left: 0;
|
|
1014
|
+
transform: translate(-50%, -50%);
|
|
1015
|
+
}
|
|
1016
|
+
.dz-badge--right {
|
|
1017
|
+
position: absolute;
|
|
1018
|
+
right: 0;
|
|
1019
|
+
transform: translate(calc(100% + 0.3rem), -7%);
|
|
1020
|
+
}
|
|
1021
|
+
.dz-badge--top-right {
|
|
1022
|
+
position: absolute;
|
|
1023
|
+
top: 0;
|
|
1024
|
+
right: 0;
|
|
1025
|
+
transform: translate(50%, -50%);
|
|
1026
|
+
}
|
|
1027
|
+
.dz-badge--bottom-left {
|
|
1028
|
+
position: absolute;
|
|
1029
|
+
bottom: 0;
|
|
1030
|
+
left: 0;
|
|
1031
|
+
transform: translate(-50%, 50%);
|
|
1032
|
+
}
|
|
1033
|
+
.dz-badge--bottom-right {
|
|
1034
|
+
position: absolute;
|
|
1035
|
+
bottom: 0;
|
|
1036
|
+
right: 0;
|
|
1037
|
+
transform: translate(50%, 50%);
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
.dz-popup-content {
|
|
1041
|
+
interpolate-size: allow-keywords;
|
|
1042
|
+
background: color-mix(in srgb, var(--color-background), transparent 21%);
|
|
1043
|
+
backdrop-filter: blur(5px);
|
|
1044
|
+
color: var(--color-component-text-light);
|
|
1045
|
+
position: relative;
|
|
1046
|
+
max-width: calc(100vw - var(--spacing) * 2);
|
|
1047
|
+
max-height: calc(100vh - var(--spacing) * 2);
|
|
1048
|
+
height: 100%;
|
|
1049
|
+
display: flex;
|
|
1050
|
+
flex-direction: column;
|
|
1051
|
+
padding: 0;
|
|
1052
|
+
animation: dz-entry-slide 0.3s ease-out forwards;
|
|
1053
|
+
}
|
|
1054
|
+
.dz-popup-content--full-h {
|
|
1055
|
+
height: calc(100vh - var(--spacing) * 2);
|
|
1056
|
+
}
|
|
1057
|
+
.dz-popup-content--full-w {
|
|
1058
|
+
width: calc(100vw - var(--spacing) * 2);
|
|
1059
|
+
}
|
|
1060
|
+
.dz-popup-content::-webkit-scrollbar {
|
|
1061
|
+
display: none;
|
|
1062
|
+
}
|
|
1063
|
+
.dz-popup-content__header {
|
|
1064
|
+
flex: 0 0 var(--header-height);
|
|
1065
|
+
display: flex;
|
|
1066
|
+
align-items: center;
|
|
1067
|
+
justify-content: space-between;
|
|
1068
|
+
gap: 0.5rem;
|
|
1069
|
+
padding: 0 var(--spacing);
|
|
1070
|
+
}
|
|
1071
|
+
.dz-popup-content__main {
|
|
1072
|
+
padding: 0 var(--spacing) var(--spacing) var(--spacing);
|
|
1073
|
+
display: flex;
|
|
1074
|
+
flex-direction: column;
|
|
1075
|
+
gap: var(--spacing);
|
|
1076
|
+
flex: 1;
|
|
1077
|
+
overflow-y: auto;
|
|
1078
|
+
}
|
|
1079
|
+
.dz-popup-content__footer {
|
|
1080
|
+
display: flex;
|
|
1081
|
+
padding: 0 var(--spacing) var(--spacing) var(--spacing);
|
|
1082
|
+
align-items: center;
|
|
1083
|
+
justify-content: flex-end;
|
|
1084
|
+
gap: 0.5rem;
|
|
1085
|
+
}
|