vanilla-jui 1.5.35 → 1.5.36
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/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +7 -4
- package/src/css/accordion.css +3 -73
- package/src/css/animation.css +143 -0
- package/src/css/avatar.css +4 -13
- package/src/css/badge.css +4 -11
- package/src/css/breadcrumb.css +4 -11
- package/src/css/button.css +6 -64
- package/src/css/card.css +25 -23
- package/src/css/components.css +4 -3
- package/src/css/drop.css +0 -10
- package/src/css/editor.css +84 -67
- package/src/css/flow.css +2 -3
- package/src/css/form.css +45 -178
- package/src/css/index.css +2 -2
- package/src/css/layout.css +32 -0
- package/src/css/loading.css +230 -1
- package/src/css/menu.css +16 -5
- package/src/css/modal.css +0 -29
- package/src/css/offcanvas.css +0 -35
- package/src/css/pagination.css +0 -10
- package/src/css/popup.css +0 -3
- package/src/css/skeleton.css +14 -8
- package/src/css/status.css +6 -1
- package/src/css/swiper.css +7 -74
- package/src/css/table.css +4 -33
- package/src/css/tabs.css +0 -7
- package/src/css/theme-palette.css +6 -40
- package/src/css/themes/default/accordion.css +84 -7
- package/src/css/themes/default/avatar.css +15 -0
- package/src/css/themes/default/badge.css +24 -3
- package/src/css/themes/default/breadcrumb.css +18 -0
- package/src/css/themes/default/button.css +124 -26
- package/src/css/themes/default/drop.css +10 -8
- package/src/css/themes/default/editor.css +24 -8
- package/src/css/themes/default/form.css +170 -0
- package/src/css/themes/default/index.css +5 -2
- package/src/css/themes/default/loading.css +0 -1
- package/src/css/themes/default/menu.css +0 -3
- package/src/css/themes/default/modal.css +39 -17
- package/src/css/themes/default/offcanvas.css +40 -3
- package/src/css/themes/default/pagination.css +11 -4
- package/src/css/themes/default/popup.css +4 -3
- package/src/css/themes/default/swiper.css +83 -19
- package/src/css/themes/default/table.css +22 -14
- package/src/css/themes/default/tabs.css +16 -6
- package/src/css/themes/default/theme-palette.css +33 -8
- package/src/css/themes/default/tip.css +27 -17
- package/src/css/themes/default/toast.css +30 -18
- package/src/css/themes/default/toc.css +25 -0
- package/src/css/themes/default/toolbar.css +54 -9
- package/src/css/themes/default/tooltip.css +14 -7
- package/src/css/themes/default/tree.css +75 -0
- package/src/css/tip.css +2 -27
- package/src/css/toast.css +5 -21
- package/src/css/toc.css +0 -24
- package/src/css/tokens.css +52 -17
- package/src/css/toolbar.css +2 -48
- package/src/css/tooltip.css +2 -10
- package/src/css/tree.css +49 -0
package/src/css/loading.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: center;
|
|
5
5
|
align-items: center;
|
|
6
|
-
position:
|
|
6
|
+
position: absolute;
|
|
7
7
|
width: 100%;
|
|
8
8
|
height: 100%;
|
|
9
9
|
}
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
border-color: var(--loader-fg);
|
|
18
18
|
border-right-color: transparent;
|
|
19
19
|
border-radius: 50%;
|
|
20
|
+
-webkit-animation: var(--loader-speed) linear infinite animate-spin;
|
|
20
21
|
animation: var(--loader-speed) linear infinite animate-spin;
|
|
21
22
|
}
|
|
22
23
|
|
|
@@ -25,17 +26,179 @@
|
|
|
25
26
|
aspect-ratio: 1;
|
|
26
27
|
border-radius: 50%;
|
|
27
28
|
border: 1.5px solid var(--loader-fg);
|
|
29
|
+
-webkit-animation:
|
|
30
|
+
polygon-loader-1 0.8s infinite linear alternate,
|
|
31
|
+
polygon-loader-2 1.6s infinite linear;
|
|
28
32
|
animation:
|
|
29
33
|
polygon-loader-1 0.8s infinite linear alternate,
|
|
30
34
|
polygon-loader-2 1.6s infinite linear;
|
|
31
35
|
}
|
|
32
36
|
|
|
37
|
+
@-webkit-keyframes polygon-loader-1 {
|
|
38
|
+
0% {
|
|
39
|
+
-webkit-clip-path: polygon(
|
|
40
|
+
50% 50%,
|
|
41
|
+
0 0,
|
|
42
|
+
50% 0%,
|
|
43
|
+
50% 0%,
|
|
44
|
+
50% 0%,
|
|
45
|
+
50% 0%,
|
|
46
|
+
50% 0%
|
|
47
|
+
);
|
|
48
|
+
clip-path: polygon(50% 50%, 0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
12.5% {
|
|
52
|
+
-webkit-clip-path: polygon(
|
|
53
|
+
50% 50%,
|
|
54
|
+
0 0,
|
|
55
|
+
50% 0%,
|
|
56
|
+
100% 0%,
|
|
57
|
+
100% 0%,
|
|
58
|
+
100% 0%,
|
|
59
|
+
100% 0%
|
|
60
|
+
);
|
|
61
|
+
clip-path: polygon(
|
|
62
|
+
50% 50%,
|
|
63
|
+
0 0,
|
|
64
|
+
50% 0%,
|
|
65
|
+
100% 0%,
|
|
66
|
+
100% 0%,
|
|
67
|
+
100% 0%,
|
|
68
|
+
100% 0%
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
25% {
|
|
73
|
+
-webkit-clip-path: polygon(
|
|
74
|
+
50% 50%,
|
|
75
|
+
0 0,
|
|
76
|
+
50% 0%,
|
|
77
|
+
100% 0%,
|
|
78
|
+
100% 100%,
|
|
79
|
+
100% 100%,
|
|
80
|
+
100% 100%
|
|
81
|
+
);
|
|
82
|
+
clip-path: polygon(
|
|
83
|
+
50% 50%,
|
|
84
|
+
0 0,
|
|
85
|
+
50% 0%,
|
|
86
|
+
100% 0%,
|
|
87
|
+
100% 100%,
|
|
88
|
+
100% 100%,
|
|
89
|
+
100% 100%
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
50% {
|
|
94
|
+
-webkit-clip-path: polygon(
|
|
95
|
+
50% 50%,
|
|
96
|
+
0 0,
|
|
97
|
+
50% 0%,
|
|
98
|
+
100% 0%,
|
|
99
|
+
100% 100%,
|
|
100
|
+
50% 100%,
|
|
101
|
+
0% 100%
|
|
102
|
+
);
|
|
103
|
+
clip-path: polygon(
|
|
104
|
+
50% 50%,
|
|
105
|
+
0 0,
|
|
106
|
+
50% 0%,
|
|
107
|
+
100% 0%,
|
|
108
|
+
100% 100%,
|
|
109
|
+
50% 100%,
|
|
110
|
+
0% 100%
|
|
111
|
+
);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
62.5% {
|
|
115
|
+
-webkit-clip-path: polygon(
|
|
116
|
+
50% 50%,
|
|
117
|
+
100% 0,
|
|
118
|
+
100% 0%,
|
|
119
|
+
100% 0%,
|
|
120
|
+
100% 100%,
|
|
121
|
+
50% 100%,
|
|
122
|
+
0% 100%
|
|
123
|
+
);
|
|
124
|
+
clip-path: polygon(
|
|
125
|
+
50% 50%,
|
|
126
|
+
100% 0,
|
|
127
|
+
100% 0%,
|
|
128
|
+
100% 0%,
|
|
129
|
+
100% 100%,
|
|
130
|
+
50% 100%,
|
|
131
|
+
0% 100%
|
|
132
|
+
);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
75% {
|
|
136
|
+
-webkit-clip-path: polygon(
|
|
137
|
+
50% 50%,
|
|
138
|
+
100% 100%,
|
|
139
|
+
100% 100%,
|
|
140
|
+
100% 100%,
|
|
141
|
+
100% 100%,
|
|
142
|
+
50% 100%,
|
|
143
|
+
0% 100%
|
|
144
|
+
);
|
|
145
|
+
clip-path: polygon(
|
|
146
|
+
50% 50%,
|
|
147
|
+
100% 100%,
|
|
148
|
+
100% 100%,
|
|
149
|
+
100% 100%,
|
|
150
|
+
100% 100%,
|
|
151
|
+
50% 100%,
|
|
152
|
+
0% 100%
|
|
153
|
+
);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
100% {
|
|
157
|
+
-webkit-clip-path: polygon(
|
|
158
|
+
50% 50%,
|
|
159
|
+
50% 100%,
|
|
160
|
+
50% 100%,
|
|
161
|
+
50% 100%,
|
|
162
|
+
50% 100%,
|
|
163
|
+
50% 100%,
|
|
164
|
+
0% 100%
|
|
165
|
+
);
|
|
166
|
+
clip-path: polygon(
|
|
167
|
+
50% 50%,
|
|
168
|
+
50% 100%,
|
|
169
|
+
50% 100%,
|
|
170
|
+
50% 100%,
|
|
171
|
+
50% 100%,
|
|
172
|
+
50% 100%,
|
|
173
|
+
0% 100%
|
|
174
|
+
);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
33
178
|
@keyframes polygon-loader-1 {
|
|
34
179
|
0% {
|
|
180
|
+
-webkit-clip-path: polygon(
|
|
181
|
+
50% 50%,
|
|
182
|
+
0 0,
|
|
183
|
+
50% 0%,
|
|
184
|
+
50% 0%,
|
|
185
|
+
50% 0%,
|
|
186
|
+
50% 0%,
|
|
187
|
+
50% 0%
|
|
188
|
+
);
|
|
35
189
|
clip-path: polygon(50% 50%, 0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%);
|
|
36
190
|
}
|
|
37
191
|
|
|
38
192
|
12.5% {
|
|
193
|
+
-webkit-clip-path: polygon(
|
|
194
|
+
50% 50%,
|
|
195
|
+
0 0,
|
|
196
|
+
50% 0%,
|
|
197
|
+
100% 0%,
|
|
198
|
+
100% 0%,
|
|
199
|
+
100% 0%,
|
|
200
|
+
100% 0%
|
|
201
|
+
);
|
|
39
202
|
clip-path: polygon(
|
|
40
203
|
50% 50%,
|
|
41
204
|
0 0,
|
|
@@ -48,6 +211,15 @@
|
|
|
48
211
|
}
|
|
49
212
|
|
|
50
213
|
25% {
|
|
214
|
+
-webkit-clip-path: polygon(
|
|
215
|
+
50% 50%,
|
|
216
|
+
0 0,
|
|
217
|
+
50% 0%,
|
|
218
|
+
100% 0%,
|
|
219
|
+
100% 100%,
|
|
220
|
+
100% 100%,
|
|
221
|
+
100% 100%
|
|
222
|
+
);
|
|
51
223
|
clip-path: polygon(
|
|
52
224
|
50% 50%,
|
|
53
225
|
0 0,
|
|
@@ -60,6 +232,15 @@
|
|
|
60
232
|
}
|
|
61
233
|
|
|
62
234
|
50% {
|
|
235
|
+
-webkit-clip-path: polygon(
|
|
236
|
+
50% 50%,
|
|
237
|
+
0 0,
|
|
238
|
+
50% 0%,
|
|
239
|
+
100% 0%,
|
|
240
|
+
100% 100%,
|
|
241
|
+
50% 100%,
|
|
242
|
+
0% 100%
|
|
243
|
+
);
|
|
63
244
|
clip-path: polygon(
|
|
64
245
|
50% 50%,
|
|
65
246
|
0 0,
|
|
@@ -72,6 +253,15 @@
|
|
|
72
253
|
}
|
|
73
254
|
|
|
74
255
|
62.5% {
|
|
256
|
+
-webkit-clip-path: polygon(
|
|
257
|
+
50% 50%,
|
|
258
|
+
100% 0,
|
|
259
|
+
100% 0%,
|
|
260
|
+
100% 0%,
|
|
261
|
+
100% 100%,
|
|
262
|
+
50% 100%,
|
|
263
|
+
0% 100%
|
|
264
|
+
);
|
|
75
265
|
clip-path: polygon(
|
|
76
266
|
50% 50%,
|
|
77
267
|
100% 0,
|
|
@@ -84,6 +274,15 @@
|
|
|
84
274
|
}
|
|
85
275
|
|
|
86
276
|
75% {
|
|
277
|
+
-webkit-clip-path: polygon(
|
|
278
|
+
50% 50%,
|
|
279
|
+
100% 100%,
|
|
280
|
+
100% 100%,
|
|
281
|
+
100% 100%,
|
|
282
|
+
100% 100%,
|
|
283
|
+
50% 100%,
|
|
284
|
+
0% 100%
|
|
285
|
+
);
|
|
87
286
|
clip-path: polygon(
|
|
88
287
|
50% 50%,
|
|
89
288
|
100% 100%,
|
|
@@ -96,6 +295,15 @@
|
|
|
96
295
|
}
|
|
97
296
|
|
|
98
297
|
100% {
|
|
298
|
+
-webkit-clip-path: polygon(
|
|
299
|
+
50% 50%,
|
|
300
|
+
50% 100%,
|
|
301
|
+
50% 100%,
|
|
302
|
+
50% 100%,
|
|
303
|
+
50% 100%,
|
|
304
|
+
50% 100%,
|
|
305
|
+
0% 100%
|
|
306
|
+
);
|
|
99
307
|
clip-path: polygon(
|
|
100
308
|
50% 50%,
|
|
101
309
|
50% 100%,
|
|
@@ -108,6 +316,24 @@
|
|
|
108
316
|
}
|
|
109
317
|
}
|
|
110
318
|
|
|
319
|
+
@-webkit-keyframes polygon-loader-2 {
|
|
320
|
+
0% {
|
|
321
|
+
transform: scaleY(1) rotate(0deg);
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
49.99% {
|
|
325
|
+
transform: scaleY(1) rotate(135deg);
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
50% {
|
|
329
|
+
transform: scaleY(-1) rotate(0deg);
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
100% {
|
|
333
|
+
transform: scaleY(-1) rotate(-135deg);
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
111
337
|
@keyframes polygon-loader-2 {
|
|
112
338
|
0% {
|
|
113
339
|
transform: scaleY(1) rotate(0deg);
|
|
@@ -134,6 +360,7 @@
|
|
|
134
360
|
border-color: var(--loader-fg);
|
|
135
361
|
border-top-color: var(--loader-top-fg);
|
|
136
362
|
border-radius: 50%;
|
|
363
|
+
-webkit-animation: 1s linear infinite animate-spin;
|
|
137
364
|
animation: 1s linear infinite animate-spin;
|
|
138
365
|
}
|
|
139
366
|
|
|
@@ -144,7 +371,9 @@
|
|
|
144
371
|
border-radius: 50%;
|
|
145
372
|
aspect-ratio: 1;
|
|
146
373
|
background: var(--loader-bg);
|
|
374
|
+
-webkit-mask: var(--loader-mask);
|
|
147
375
|
mask: var(--loader-mask);
|
|
376
|
+
-webkit-animation: 1s linear infinite animate-spin;
|
|
148
377
|
animation: 1s linear infinite animate-spin;
|
|
149
378
|
}
|
|
150
379
|
}
|
package/src/css/menu.css
CHANGED
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
scroll-behavior: smooth;
|
|
9
9
|
-ms-overflow-style: none;
|
|
10
10
|
scrollbar-width: none;
|
|
11
|
+
-webkit-user-select: none;
|
|
12
|
+
-moz-user-select: none;
|
|
13
|
+
-ms-user-select: none;
|
|
11
14
|
user-select: none;
|
|
12
15
|
}
|
|
13
16
|
|
|
@@ -39,7 +42,9 @@
|
|
|
39
42
|
line-height: var(--menu-item-line-height);
|
|
40
43
|
font-weight: var(--menu-font-weight);
|
|
41
44
|
text-decoration: underline;
|
|
45
|
+
-webkit-text-decoration-style: wavy;
|
|
42
46
|
text-decoration-style: wavy;
|
|
47
|
+
-webkit-text-decoration-color: var(--state-danger);
|
|
43
48
|
text-decoration-color: var(--state-danger);
|
|
44
49
|
text-underline-offset: 4px;
|
|
45
50
|
padding: 4px 1rem;
|
|
@@ -52,22 +57,25 @@
|
|
|
52
57
|
justify-content: center;
|
|
53
58
|
align-items: center;
|
|
54
59
|
flex-wrap: nowrap;
|
|
55
|
-
gap: var(--menu-link-gap);
|
|
56
60
|
white-space: nowrap;
|
|
57
61
|
cursor: pointer;
|
|
62
|
+
-webkit-appearance: button;
|
|
63
|
+
-moz-appearance: button;
|
|
58
64
|
appearance: button;
|
|
59
65
|
touch-action: manipulation;
|
|
66
|
+
text-decoration: none;
|
|
67
|
+
|
|
68
|
+
gap: var(--menu-link-gap);
|
|
60
69
|
color: currentColor;
|
|
61
70
|
background-color: inherit;
|
|
62
|
-
font-weight: var(--
|
|
63
|
-
text-decoration: none;
|
|
71
|
+
font-weight: var(--font-medium);
|
|
64
72
|
|
|
65
73
|
padding: var(--menu-item-padding);
|
|
66
74
|
height: var(--menu-item-height);
|
|
67
75
|
line-height: var(--menu-item-line-height);
|
|
68
76
|
border-width: var(--menu-item-border-width);
|
|
69
|
-
border-style:
|
|
70
|
-
border-color: var(--
|
|
77
|
+
border-style: solid;
|
|
78
|
+
border-color: var(--ui-border);
|
|
71
79
|
border-radius: var(--menu-item-border-radius);
|
|
72
80
|
}
|
|
73
81
|
|
|
@@ -614,6 +622,9 @@
|
|
|
614
622
|
padding: var(--space) var(--s2);
|
|
615
623
|
text-decoration: none;
|
|
616
624
|
color: var(--ui-fg-muted);
|
|
625
|
+
-webkit-user-select: none;
|
|
626
|
+
-moz-user-select: none;
|
|
627
|
+
-ms-user-select: none;
|
|
617
628
|
user-select: none;
|
|
618
629
|
border-radius: var(--radius-sm);
|
|
619
630
|
transition: none;
|
package/src/css/modal.css
CHANGED
|
@@ -1,15 +1,5 @@
|
|
|
1
1
|
@layer components {
|
|
2
2
|
.j-modal {
|
|
3
|
-
color: var(--modal-fg);
|
|
4
|
-
background: var(--modal-bg);
|
|
5
|
-
border-width: var(--modal-border-width);
|
|
6
|
-
border-style: var(--modal-border-style);
|
|
7
|
-
border-color: var(--modal-border-color);
|
|
8
|
-
border-radius: var(--modal-border-radius);
|
|
9
|
-
box-shadow: var(--modal-box-shadow);
|
|
10
|
-
min-width: var(--modal-min-width);
|
|
11
|
-
max-width: var(--modal-max-width);
|
|
12
|
-
max-height: var(--modal-max-height);
|
|
13
3
|
overflow: hidden;
|
|
14
4
|
display: flex;
|
|
15
5
|
flex-direction: column;
|
|
@@ -31,36 +21,17 @@
|
|
|
31
21
|
display: flex;
|
|
32
22
|
justify-content: space-between;
|
|
33
23
|
align-items: center;
|
|
34
|
-
gap: var(--modal-header-gap);
|
|
35
|
-
padding: var(--modal-header-padding);
|
|
36
|
-
border-bottom: var(--modal-header-bottom-border);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.j-modal .modal-header .modal-title {
|
|
40
|
-
margin: 0;
|
|
41
|
-
font-size: var(--modal-title-font-size);
|
|
42
|
-
font-weight: var(--modal-title-font-weight);
|
|
43
24
|
}
|
|
44
25
|
|
|
45
26
|
.j-modal .modal-body {
|
|
46
|
-
padding: var(--modal-body-padding);
|
|
47
27
|
overflow-y: auto;
|
|
48
28
|
overflow-wrap: break-word;
|
|
49
29
|
flex: 1;
|
|
50
30
|
position: relative;
|
|
51
|
-
min-height: 32px;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.j-modal .modal-body p {
|
|
55
|
-
margin: 0;
|
|
56
|
-
line-height: var(--modal-body-line-height);
|
|
57
31
|
}
|
|
58
32
|
|
|
59
33
|
.j-modal .modal-footer {
|
|
60
34
|
display: flex;
|
|
61
35
|
justify-content: flex-end;
|
|
62
|
-
gap: var(--modal-footer-gap);
|
|
63
|
-
padding: var(--modal-footer-padding);
|
|
64
|
-
border-top: var(--modal-footer-top-border);
|
|
65
36
|
}
|
|
66
37
|
}
|
package/src/css/offcanvas.css
CHANGED
|
@@ -6,47 +6,12 @@
|
|
|
6
6
|
width: 100%;
|
|
7
7
|
height: 100%;
|
|
8
8
|
pointer-events: auto;
|
|
9
|
-
background: var(--offcanvas-overlay-bg);
|
|
10
9
|
z-index: var(--z-overlay);
|
|
11
10
|
}
|
|
12
11
|
|
|
13
12
|
.j-offcanvas {
|
|
14
13
|
position: fixed;
|
|
15
14
|
z-index: var(--z-offcanvas);
|
|
16
|
-
background: var(--offcanvas-bg);
|
|
17
|
-
box-shadow: var(--offcanvas-box-shadow);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.j-offcanvas[data-direction='left'] {
|
|
21
|
-
top: 0;
|
|
22
|
-
left: 0;
|
|
23
|
-
width: var(--offcanvas-block-width);
|
|
24
|
-
height: 100vh;
|
|
25
|
-
border-right: var(--offcanvas-border);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.j-offcanvas[data-direction='right'] {
|
|
29
|
-
top: 0;
|
|
30
|
-
right: 0;
|
|
31
|
-
width: var(--offcanvas-block-width);
|
|
32
|
-
height: 100vh;
|
|
33
|
-
border-left: var(--offcanvas-border);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.j-offcanvas[data-direction='top'] {
|
|
37
|
-
top: 0;
|
|
38
|
-
left: 0;
|
|
39
|
-
width: 100%;
|
|
40
|
-
height: var(--offcanvas-inline-height);
|
|
41
|
-
border-bottom: var(--offcanvas-border);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.j-offcanvas[data-direction='bottom'] {
|
|
45
|
-
bottom: 0;
|
|
46
|
-
left: 0;
|
|
47
|
-
width: 100%;
|
|
48
|
-
height: var(--offcanvas-inline-height);
|
|
49
|
-
border-top: var(--offcanvas-border);
|
|
50
15
|
}
|
|
51
16
|
|
|
52
17
|
.j-offcanvas .offcanvas-content {
|
package/src/css/pagination.css
CHANGED
|
@@ -1,19 +1,9 @@
|
|
|
1
1
|
@layer components {
|
|
2
|
-
.j-pagination {
|
|
3
|
-
font-size: var(--pagination-font-size);
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.j-pagination a {
|
|
7
|
-
text-decoration: var(--pagination-link-decoration);
|
|
8
|
-
color: var(--pagination-link-fg);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
2
|
.j-pagination .pagination {
|
|
12
3
|
list-style: none;
|
|
13
4
|
display: flex;
|
|
14
5
|
justify-content: center;
|
|
15
6
|
align-items: center;
|
|
16
|
-
gap: var(--pagination-gap);
|
|
17
7
|
margin: 0;
|
|
18
8
|
padding: 0;
|
|
19
9
|
}
|
package/src/css/popup.css
CHANGED
package/src/css/skeleton.css
CHANGED
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
@layer components {
|
|
2
2
|
.j-skeleton {
|
|
3
|
-
--skeleton-background: var(--ui-surface-muted);
|
|
4
|
-
--skeleton-radius: var(--radius-sm, 4px);
|
|
5
|
-
--skeleton-duration: 1.5s;
|
|
6
|
-
|
|
7
3
|
display: block;
|
|
8
4
|
width: 100%;
|
|
9
5
|
min-height: var(--el-height-2xs);
|
|
10
|
-
border-radius: var(--
|
|
11
|
-
background: var(--
|
|
6
|
+
border-radius: var(--radius-sm);
|
|
7
|
+
background: var(--ui-surface-muted);
|
|
12
8
|
color: transparent;
|
|
13
9
|
pointer-events: none;
|
|
10
|
+
-webkit-user-select: none;
|
|
11
|
+
-moz-user-select: none;
|
|
12
|
+
-ms-user-select: none;
|
|
14
13
|
user-select: none;
|
|
15
|
-
animation: animate-pulse
|
|
16
|
-
|
|
14
|
+
-webkit-animation: animate-pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
15
|
+
animation: animate-pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.j-skeleton::-moz-selection {
|
|
19
|
+
color: transparent;
|
|
20
|
+
background: transparent;
|
|
17
21
|
}
|
|
18
22
|
|
|
19
23
|
.j-skeleton::selection {
|
|
@@ -66,11 +70,13 @@
|
|
|
66
70
|
|
|
67
71
|
.j-skeleton.skeleton-static,
|
|
68
72
|
.j-skeleton[aria-busy='false'] {
|
|
73
|
+
-webkit-animation: none;
|
|
69
74
|
animation: none;
|
|
70
75
|
}
|
|
71
76
|
|
|
72
77
|
@media (prefers-reduced-motion: reduce) {
|
|
73
78
|
.j-skeleton {
|
|
79
|
+
-webkit-animation: none;
|
|
74
80
|
animation: none;
|
|
75
81
|
}
|
|
76
82
|
}
|
package/src/css/status.css
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* - data-action
|
|
7
7
|
* - shape status
|
|
8
8
|
* - drag status
|
|
9
|
+
* - hidden
|
|
9
10
|
*/
|
|
10
11
|
@layer status {
|
|
11
12
|
/* sad mode */
|
|
@@ -44,11 +45,15 @@
|
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
/* disabled */
|
|
47
|
-
[disabled],
|
|
48
48
|
:disabled,
|
|
49
49
|
.is-disabled,
|
|
50
50
|
[aria-disabled='true'] {
|
|
51
51
|
cursor: not-allowed;
|
|
52
52
|
user-select: none;
|
|
53
53
|
}
|
|
54
|
+
|
|
55
|
+
[hidden],
|
|
56
|
+
[aria-hidden='true'] {
|
|
57
|
+
display: none;
|
|
58
|
+
}
|
|
54
59
|
}
|
package/src/css/swiper.css
CHANGED
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
display: block;
|
|
5
5
|
overflow: hidden;
|
|
6
6
|
touch-action: pan-y;
|
|
7
|
+
-webkit-user-select: none;
|
|
8
|
+
-moz-user-select: none;
|
|
9
|
+
-ms-user-select: none;
|
|
7
10
|
user-select: none;
|
|
8
11
|
width: 100%;
|
|
9
12
|
min-height: var(--swiper-min-height);
|
|
@@ -26,6 +29,9 @@
|
|
|
26
29
|
overflow: hidden;
|
|
27
30
|
color: inherit;
|
|
28
31
|
text-decoration: none;
|
|
32
|
+
-webkit-user-select: none;
|
|
33
|
+
-moz-user-select: none;
|
|
34
|
+
-ms-user-select: none;
|
|
29
35
|
user-select: none;
|
|
30
36
|
width: 100%;
|
|
31
37
|
min-width: 100%;
|
|
@@ -45,23 +51,13 @@
|
|
|
45
51
|
display: flex;
|
|
46
52
|
justify-content: center;
|
|
47
53
|
align-items: center;
|
|
48
|
-
|
|
49
|
-
color: var(--ui-fg-soft);
|
|
50
|
-
font-size: var(--font-size-md);
|
|
51
54
|
letter-spacing: 1px;
|
|
52
|
-
|
|
53
|
-
background-color: var(--tone-wash);
|
|
54
|
-
background-image: radial-gradient(
|
|
55
|
-
circle,
|
|
56
|
-
var(--ui-border) 1px,
|
|
57
|
-
transparent 1px
|
|
58
|
-
);
|
|
59
|
-
background-size: 20px 20px;
|
|
60
55
|
}
|
|
61
56
|
|
|
62
57
|
.j-swiper .swiper-image {
|
|
63
58
|
position: relative;
|
|
64
59
|
display: block;
|
|
60
|
+
-o-object-fit: cover;
|
|
65
61
|
object-fit: cover;
|
|
66
62
|
pointer-events: none;
|
|
67
63
|
width: 100%;
|
|
@@ -74,16 +70,6 @@
|
|
|
74
70
|
.j-swiper .swiper-slide-title {
|
|
75
71
|
display: block;
|
|
76
72
|
position: absolute;
|
|
77
|
-
right: var(--swiper-title-inset);
|
|
78
|
-
bottom: var(--swiper-title-inset);
|
|
79
|
-
left: var(--swiper-title-inset);
|
|
80
|
-
padding: var(--swiper-title-padding);
|
|
81
|
-
color: var(--swiper-title-color);
|
|
82
|
-
font-size: var(--swiper-title-font-size);
|
|
83
|
-
font-weight: var(--swiper-title-font-weight);
|
|
84
|
-
background: var(--swiper-title-bg);
|
|
85
|
-
border-radius: var(--swiper-title-border-radius);
|
|
86
|
-
line-height: var(--swiper-title-line-height);
|
|
87
73
|
text-overflow: ellipsis;
|
|
88
74
|
white-space: nowrap;
|
|
89
75
|
z-index: 1;
|
|
@@ -93,43 +79,16 @@
|
|
|
93
79
|
.j-swiper .swiper-pagination {
|
|
94
80
|
position: absolute;
|
|
95
81
|
display: flex;
|
|
96
|
-
gap: var(--swiper-pagination-gap);
|
|
97
82
|
align-items: center;
|
|
98
83
|
justify-content: center;
|
|
99
84
|
z-index: 2;
|
|
100
85
|
}
|
|
101
86
|
|
|
102
|
-
.j-swiper .swiper-pagination.is-horizontal {
|
|
103
|
-
right: var(--swiper-pagination-inline);
|
|
104
|
-
bottom: var(--swiper-pagination-block);
|
|
105
|
-
left: var(--swiper-pagination-inline);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
87
|
.j-swiper .swiper-pagination-indicator {
|
|
109
88
|
display: inline-block;
|
|
110
|
-
width: var(--swiper-indicator-size);
|
|
111
|
-
height: var(--swiper-indicator-size);
|
|
112
|
-
padding: 0;
|
|
113
89
|
cursor: pointer;
|
|
114
|
-
background: var(--swiper-indicator-bg);
|
|
115
|
-
border: 0;
|
|
116
90
|
border-radius: 999px;
|
|
117
91
|
outline: none;
|
|
118
|
-
transition:
|
|
119
|
-
width var(--duration-fast, 160ms) ease,
|
|
120
|
-
background-color var(--duration-fast, 160ms) ease,
|
|
121
|
-
opacity var(--duration-fast, 160ms) ease;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.j-swiper .swiper-pagination-indicator:hover,
|
|
125
|
-
.j-swiper .swiper-pagination-indicator:focus-visible {
|
|
126
|
-
background: var(--swiper-indicator-hover-bg);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.j-swiper .swiper-pagination-indicator.is-active,
|
|
130
|
-
.j-swiper .swiper-pagination-indicator.active {
|
|
131
|
-
width: var(--swiper-indicator-active-width);
|
|
132
|
-
background: var(--swiper-indicator-active-bg);
|
|
133
92
|
}
|
|
134
93
|
|
|
135
94
|
.j-swiper .swiper-navigation {
|
|
@@ -139,37 +98,11 @@
|
|
|
139
98
|
display: inline-flex;
|
|
140
99
|
align-items: center;
|
|
141
100
|
justify-content: center;
|
|
142
|
-
width: var(--swiper-navigation-size);
|
|
143
|
-
height: var(--swiper-navigation-size);
|
|
144
|
-
padding: 0;
|
|
145
|
-
color: var(--swiper-navigation-fg);
|
|
146
101
|
cursor: pointer;
|
|
147
|
-
background: var(--swiper-navigation-bg);
|
|
148
|
-
border: 0;
|
|
149
102
|
border-radius: 999px;
|
|
150
|
-
transform: translateY(-50%);
|
|
151
|
-
transition:
|
|
152
|
-
background-color var(--duration-fast, 160ms) ease,
|
|
153
|
-
opacity var(--duration-fast, 160ms) ease;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.j-swiper .swiper-navigation:hover,
|
|
157
|
-
.j-swiper .swiper-navigation:focus-visible {
|
|
158
|
-
background: var(--swiper-navigation-hover-bg);
|
|
159
|
-
outline: none;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.j-swiper .swiper-navigation.is-prev {
|
|
163
|
-
left: var(--swiper-navigation-offset);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.j-swiper .swiper-navigation.is-next {
|
|
167
|
-
right: var(--swiper-navigation-offset);
|
|
168
103
|
}
|
|
169
104
|
|
|
170
105
|
.j-swiper .swiper-navigation svg {
|
|
171
|
-
width: var(--swiper-navigation-icon-size);
|
|
172
|
-
height: var(--swiper-navigation-icon-size);
|
|
173
106
|
pointer-events: none;
|
|
174
107
|
}
|
|
175
108
|
|