antd-mobile 5.8.0 → 5.9.0

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.
Files changed (106) hide show
  1. package/2x/cjs/components/button/button.d.ts +18 -2
  2. package/2x/cjs/components/button/button.js +15 -5
  3. package/2x/cjs/components/button/index.d.ts +1 -1
  4. package/2x/cjs/components/form/context.d.ts +1 -0
  5. package/2x/cjs/components/form/context.js +1 -0
  6. package/2x/cjs/components/form/form-array.d.ts +1 -0
  7. package/2x/cjs/components/form/form-array.js +1 -1
  8. package/2x/cjs/components/form/form-item.js +6 -4
  9. package/2x/cjs/components/form/form.js +1 -0
  10. package/2x/cjs/components/image-uploader/image-uploader.js +2 -1
  11. package/2x/cjs/components/picker/picker-utils.d.ts +2 -0
  12. package/2x/cjs/components/picker/picker-utils.js +10 -0
  13. package/2x/cjs/components/picker/picker.d.ts +1 -0
  14. package/2x/cjs/components/picker/picker.js +5 -1
  15. package/2x/cjs/components/picker-view/picker-view.d.ts +2 -1
  16. package/2x/cjs/components/picker-view/picker-view.js +6 -2
  17. package/2x/cjs/components/picker-view/wheel.d.ts +4 -3
  18. package/2x/cjs/components/picker-view/wheel.js +3 -2
  19. package/2x/cjs/components/popover/popover.js +0 -1
  20. package/2x/cjs/components/swipe-action/swipe-action.d.ts +3 -0
  21. package/2x/cjs/components/swipe-action/swipe-action.js +8 -5
  22. package/2x/cjs/locales/es-ES.d.ts +102 -0
  23. package/2x/cjs/locales/es-ES.js +115 -0
  24. package/2x/cjs/utils/measure-css-length.d.ts +1 -1
  25. package/2x/cjs/utils/measure-css-length.js +8 -0
  26. package/2x/es/components/button/button.d.ts +18 -2
  27. package/2x/es/components/button/button.js +11 -3
  28. package/2x/es/components/button/index.d.ts +1 -1
  29. package/2x/es/components/form/context.d.ts +1 -0
  30. package/2x/es/components/form/context.js +1 -0
  31. package/2x/es/components/form/form-array.d.ts +1 -0
  32. package/2x/es/components/form/form-array.js +1 -1
  33. package/2x/es/components/form/form-item.js +6 -2
  34. package/2x/es/components/form/form.js +1 -0
  35. package/2x/es/components/image-uploader/image-uploader.js +2 -1
  36. package/2x/es/components/picker/picker-utils.d.ts +2 -0
  37. package/2x/es/components/picker/picker-utils.js +1 -0
  38. package/2x/es/components/picker/picker.d.ts +1 -0
  39. package/2x/es/components/picker/picker.js +4 -1
  40. package/2x/es/components/picker-view/picker-view.d.ts +2 -1
  41. package/2x/es/components/picker-view/picker-view.js +5 -2
  42. package/2x/es/components/picker-view/wheel.d.ts +4 -3
  43. package/2x/es/components/picker-view/wheel.js +3 -2
  44. package/2x/es/components/popover/popover.js +0 -1
  45. package/2x/es/components/swipe-action/swipe-action.d.ts +3 -0
  46. package/2x/es/components/swipe-action/swipe-action.js +7 -5
  47. package/2x/es/locales/es-ES.d.ts +102 -0
  48. package/2x/es/locales/es-ES.js +105 -0
  49. package/2x/es/utils/measure-css-length.d.ts +1 -1
  50. package/2x/es/utils/measure-css-length.js +8 -0
  51. package/2x/package.json +25 -8
  52. package/bundle/antd-mobile.cjs.js +17909 -0
  53. package/bundle/antd-mobile.es.js +17823 -0
  54. package/bundle/style.css +3930 -0
  55. package/cjs/components/button/button.d.ts +18 -2
  56. package/cjs/components/button/button.js +15 -5
  57. package/cjs/components/button/index.d.ts +1 -1
  58. package/cjs/components/form/context.d.ts +1 -0
  59. package/cjs/components/form/context.js +1 -0
  60. package/cjs/components/form/form-array.d.ts +1 -0
  61. package/cjs/components/form/form-array.js +1 -1
  62. package/cjs/components/form/form-item.js +6 -4
  63. package/cjs/components/form/form.js +1 -0
  64. package/cjs/components/image-uploader/image-uploader.js +2 -1
  65. package/cjs/components/picker/picker-utils.d.ts +2 -0
  66. package/cjs/components/picker/picker-utils.js +10 -0
  67. package/cjs/components/picker/picker.d.ts +1 -0
  68. package/cjs/components/picker/picker.js +5 -1
  69. package/cjs/components/picker-view/picker-view.d.ts +2 -1
  70. package/cjs/components/picker-view/picker-view.js +6 -2
  71. package/cjs/components/picker-view/wheel.d.ts +4 -3
  72. package/cjs/components/picker-view/wheel.js +3 -2
  73. package/cjs/components/popover/popover.js +0 -1
  74. package/cjs/components/swipe-action/swipe-action.d.ts +3 -0
  75. package/cjs/components/swipe-action/swipe-action.js +8 -5
  76. package/cjs/locales/es-ES.d.ts +102 -0
  77. package/cjs/locales/es-ES.js +115 -0
  78. package/cjs/utils/measure-css-length.d.ts +1 -1
  79. package/cjs/utils/measure-css-length.js +8 -0
  80. package/es/components/button/button.d.ts +18 -2
  81. package/es/components/button/button.js +11 -3
  82. package/es/components/button/index.d.ts +1 -1
  83. package/es/components/form/context.d.ts +1 -0
  84. package/es/components/form/context.js +1 -0
  85. package/es/components/form/form-array.d.ts +1 -0
  86. package/es/components/form/form-array.js +1 -1
  87. package/es/components/form/form-item.js +6 -2
  88. package/es/components/form/form.js +1 -0
  89. package/es/components/image-uploader/image-uploader.js +2 -1
  90. package/es/components/picker/picker-utils.d.ts +2 -0
  91. package/es/components/picker/picker-utils.js +1 -0
  92. package/es/components/picker/picker.d.ts +1 -0
  93. package/es/components/picker/picker.js +4 -1
  94. package/es/components/picker-view/picker-view.d.ts +2 -1
  95. package/es/components/picker-view/picker-view.js +5 -2
  96. package/es/components/picker-view/wheel.d.ts +4 -3
  97. package/es/components/picker-view/wheel.js +3 -2
  98. package/es/components/popover/popover.js +0 -1
  99. package/es/components/swipe-action/swipe-action.d.ts +3 -0
  100. package/es/components/swipe-action/swipe-action.js +7 -5
  101. package/es/locales/es-ES.d.ts +102 -0
  102. package/es/locales/es-ES.js +105 -0
  103. package/es/utils/measure-css-length.d.ts +1 -1
  104. package/es/utils/measure-css-length.js +8 -0
  105. package/package.json +25 -8
  106. package/umd/antd-mobile.js +1 -1
@@ -0,0 +1,3930 @@
1
+ :root {
2
+ --adm-color-primary: #1677ff;
3
+ --adm-color-success: #00b578;
4
+ --adm-color-warning: #ff8f1f;
5
+ --adm-color-danger: #ff3141;
6
+ --adm-color-white: #ffffff;
7
+ --adm-color-weak: #999999;
8
+ --adm-color-light: #cccccc;
9
+ --adm-border-color: #eeeeee;
10
+ --adm-font-size-main: 13px;
11
+ --adm-color-text: #333333;
12
+ --adm-font-family: -apple-system, blinkmacsystemfont, 'Helvetica Neue',
13
+ helvetica, segoe ui, arial, roboto, 'PingFang SC', 'miui',
14
+ 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
15
+ }
16
+ :root {
17
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
18
+ }
19
+ body {
20
+ color: var(--adm-color-text);
21
+ font-size: var(--adm-font-size-main);
22
+ font-family: var(--adm-font-family);
23
+ }
24
+ a,
25
+ button {
26
+ cursor: pointer;
27
+ }
28
+ a {
29
+ color: var(--adm-color-primary);
30
+ transition: opacity ease-in-out 0.2s;
31
+ }
32
+ a:active {
33
+ opacity: 0.8;
34
+ }
35
+ .adm-plain-anchor {
36
+ color: unset;
37
+ transition: none;
38
+ }
39
+ .adm-plain-anchor:active {
40
+ opacity: unset;
41
+ }
42
+ body.adm-overflow-hidden {
43
+ overflow: hidden !important;
44
+ }
45
+ div.adm-px-tester {
46
+ --size: 1;
47
+ height: calc(var(--size) / 2 * 2px);
48
+ width: 0;
49
+ position: fixed;
50
+ right: -100vw;
51
+ bottom: -100vh;
52
+ user-select: none;
53
+ pointer-events: none;
54
+ }
55
+ .adm-action-sheet-popup > .adm-popup-body {
56
+ border-top-left-radius: 8px;
57
+ border-top-right-radius: 8px;
58
+ overflow: hidden;
59
+ }
60
+ .adm-action-sheet-extra {
61
+ display: flex;
62
+ justify-content: center;
63
+ color: var(--adm-color-weak);
64
+ font-size: 15px;
65
+ padding: 18px 16px;
66
+ border-bottom: 1px solid var(--adm-border-color);
67
+ }
68
+ .adm-action-sheet-button-item-wrapper {
69
+ background-color: #ffffff;
70
+ border-top: 1px solid var(--adm-border-color);
71
+ }
72
+ .adm-action-sheet-button-item-wrapper:first-child {
73
+ border-top: none;
74
+ }
75
+ .adm-action-sheet-button-item {
76
+ padding: 14px;
77
+ text-align: center;
78
+ }
79
+ .adm-action-sheet-button-item-name {
80
+ color: var(--adm-color-text);
81
+ font-size: 18px;
82
+ }
83
+ .adm-action-sheet-button-item-description {
84
+ font-size: 12px;
85
+ color: var(--adm-color-weak);
86
+ padding-top: 4px;
87
+ }
88
+ .adm-action-sheet-button-item-danger .adm-action-sheet-button-item-name {
89
+ color: var(--adm-color-danger);
90
+ }
91
+ .adm-action-sheet-cancel {
92
+ background-color: #f5f5f5;
93
+ padding-top: 8px;
94
+ }
95
+ .adm-popup {
96
+ --z-index: var(--adm-popup-z-index, 1000);
97
+ position: fixed;
98
+ z-index: var(--z-index);
99
+ }
100
+ .adm-popup-body {
101
+ position: fixed;
102
+ background-color: #ffffff;
103
+ z-index: calc(var(--z-index) + 10);
104
+ }
105
+ .adm-popup-body-position-bottom {
106
+ width: 100%;
107
+ bottom: 0;
108
+ left: 0;
109
+ }
110
+ .adm-popup-body-position-top {
111
+ width: 100%;
112
+ top: 0;
113
+ left: 0;
114
+ }
115
+ .adm-popup-body-position-left {
116
+ height: 100%;
117
+ top: 0;
118
+ left: 0;
119
+ }
120
+ .adm-popup-body-position-right {
121
+ height: 100%;
122
+ top: 0;
123
+ right: 0;
124
+ }
125
+ .adm-mask {
126
+ --z-index: var(--adm-mask-z-index, 1000);
127
+ position: fixed;
128
+ top: 0;
129
+ left: 0;
130
+ z-index: var(--z-index);
131
+ display: block;
132
+ width: 100%;
133
+ height: 100%;
134
+ }
135
+ .adm-mask-aria-button {
136
+ position: absolute;
137
+ top: 0;
138
+ left: 0;
139
+ z-index: 0;
140
+ width: 100%;
141
+ height: 100%;
142
+ }
143
+ .adm-mask-content {
144
+ z-index: 1;
145
+ }
146
+ .adm-button {
147
+ --color: var(--adm-color-white);
148
+ --text-color: var(--adm-button-text-color, var(--adm-color-text));
149
+ --background-color: var(--adm-button-background-color, var(--adm-color-white));
150
+ --border-radius: var(--adm-button-border-radius, 4px);
151
+ --border-width: var(--adm-button-border-width, 1px);
152
+ --border-style: var(--adm-button-border-style, solid);
153
+ --border-color: var(--adm-button-border-color, var(--adm-border-color));
154
+ color: var(--text-color);
155
+ background-color: var(--background-color);
156
+ position: relative;
157
+ display: inline-block;
158
+ box-sizing: border-box;
159
+ height: auto;
160
+ padding: 7px 12px;
161
+ margin: 0;
162
+ font-size: 17px;
163
+ line-height: 1.4;
164
+ text-align: center;
165
+ border: var(--border-width) var(--border-style) var(--border-color);
166
+ border-radius: var(--border-radius);
167
+ cursor: pointer;
168
+ transition: opacity ease 0.15s;
169
+ user-select: none;
170
+ }
171
+ .adm-button:focus {
172
+ outline: none;
173
+ }
174
+ .adm-button::before {
175
+ position: absolute;
176
+ top: 0;
177
+ left: 0;
178
+ transform: translate(calc(var(--border-width) * -1), calc(var(--border-width) * -1));
179
+ width: 100%;
180
+ height: 100%;
181
+ background-color: #000;
182
+ border: var(--border-width) var(--border-style) #000;
183
+ border-radius: var(--border-radius);
184
+ opacity: 0;
185
+ content: ' ';
186
+ box-sizing: content-box;
187
+ }
188
+ .adm-button:active::before {
189
+ opacity: 0.08;
190
+ }
191
+ .adm-button-default.adm-button-fill-outline {
192
+ --background-color: transparent;
193
+ --border-color: var(--adm-color-text);
194
+ }
195
+ .adm-button-default.adm-button-fill-none {
196
+ --background-color: transparent;
197
+ --border-width: 0px;
198
+ }
199
+ .adm-button:not(.adm-button-default) {
200
+ --text-color: var(--adm-color-white);
201
+ --background-color: var(--color);
202
+ --border-color: var(--color);
203
+ }
204
+ .adm-button:not(.adm-button-default).adm-button-fill-outline {
205
+ --text-color: var(--color);
206
+ --background-color: transparent;
207
+ }
208
+ .adm-button:not(.adm-button-default).adm-button-fill-none {
209
+ --text-color: var(--color);
210
+ --background-color: transparent;
211
+ --border-width: 0px;
212
+ }
213
+ .adm-button-primary {
214
+ --color: var(--adm-color-primary);
215
+ }
216
+ .adm-button-success {
217
+ --color: var(--adm-color-success);
218
+ }
219
+ .adm-button-danger {
220
+ --color: var(--adm-color-danger);
221
+ }
222
+ .adm-button-warning {
223
+ --color: var(--adm-color-warning);
224
+ }
225
+ .adm-button-block {
226
+ display: block;
227
+ width: 100%;
228
+ }
229
+ .adm-button-disabled {
230
+ cursor: not-allowed;
231
+ opacity: 0.4;
232
+ }
233
+ .adm-button-disabled:active::before {
234
+ display: none;
235
+ }
236
+ .adm-button.adm-button-mini {
237
+ padding-top: 3px;
238
+ padding-bottom: 3px;
239
+ font-size: 13px;
240
+ }
241
+ .adm-button.adm-button-mini.adm-button-shape-rounded {
242
+ padding-left: 9px;
243
+ padding-right: 9px;
244
+ }
245
+ .adm-button.adm-button-small {
246
+ padding-top: 3px;
247
+ padding-bottom: 3px;
248
+ font-size: 15px;
249
+ }
250
+ .adm-button.adm-button-large {
251
+ padding-top: 11px;
252
+ padding-bottom: 11px;
253
+ font-size: 18px;
254
+ }
255
+ .adm-button.adm-button-shape-rounded {
256
+ --border-radius: 1000px;
257
+ }
258
+ .adm-button.adm-button-shape-rectangular {
259
+ --border-radius: 0;
260
+ }
261
+ .adm-button-loading {
262
+ vertical-align: bottom;
263
+ }
264
+ .adm-button-loading-wrapper {
265
+ display: flex;
266
+ height: 1.4em;
267
+ align-items: center;
268
+ justify-content: center;
269
+ }
270
+ .adm-button-loading-wrapper > .adm-loading {
271
+ opacity: 0.6;
272
+ }
273
+ .adm-dot-loading {
274
+ display: inline-block;
275
+ }
276
+ .adm-safe-area {
277
+ display: block;
278
+ width: 100%;
279
+ }
280
+ .adm-safe-area-position-top {
281
+ padding-top: env(safe-area-inset-top);
282
+ }
283
+ .adm-safe-area-position-bottom {
284
+ padding-bottom: env(safe-area-inset-bottom);
285
+ }
286
+ .adm-auto-center {
287
+ display: flex;
288
+ justify-content: center;
289
+ }
290
+ .adm-auto-center-content {
291
+ flex: 0 1 auto;
292
+ }
293
+ .adm-avatar {
294
+ --size: var(--adm-avatar-size, 44px);
295
+ --border-radius: var(--adm-avatar-border-radius, 4px);
296
+ border-radius: var(--border-radius);
297
+ }
298
+ .adm-avatar.adm-image {
299
+ --width: var(--size);
300
+ --height: var(--size);
301
+ }
302
+ .adm-avatar-fallback {
303
+ height: 100%;
304
+ width: 100%;
305
+ display: block;
306
+ }
307
+ .adm-badge-wrap {
308
+ display: inline-block;
309
+ position: relative;
310
+ }
311
+ .adm-badge {
312
+ display: inline-flex;
313
+ vertical-align: middle;
314
+ box-sizing: content-box;
315
+ border-radius: 100px;
316
+ background-color: var(--color);
317
+ --right: 0;
318
+ --top: 0;
319
+ --color: var(--adm-badge-color, #ff411c);
320
+ }
321
+ .adm-badge-content {
322
+ color: #fff;
323
+ box-sizing: border-box;
324
+ min-width: 8px;
325
+ padding: 1px 4px;
326
+ font-size: 9px;
327
+ line-height: 12px;
328
+ white-space: nowrap;
329
+ font-weight: normal;
330
+ text-align: center;
331
+ }
332
+ .adm-badge-fixed {
333
+ position: absolute;
334
+ right: var(--right);
335
+ top: var(--top);
336
+ transform: translate(50%, -50%);
337
+ }
338
+ .adm-badge-dot {
339
+ min-width: 10px;
340
+ width: 10px;
341
+ height: 10px;
342
+ border-radius: 5px;
343
+ }
344
+ .adm-badge-bordered {
345
+ border: solid 1px var(--adm-color-white);
346
+ }
347
+ .adm-calendar .adm-calendar-header {
348
+ display: flex;
349
+ flex-direction: row;
350
+ align-items: center;
351
+ justify-content: space-between;
352
+ padding-top: 4px;
353
+ }
354
+ .adm-calendar .adm-calendar-header a.adm-calendar-arrow-button {
355
+ padding: 4px 8px;
356
+ display: block;
357
+ flex: none;
358
+ }
359
+ .adm-calendar .adm-calendar-header a.adm-calendar-arrow-button svg {
360
+ height: 22px;
361
+ }
362
+ .adm-calendar .adm-calendar-header a.adm-calendar-arrow-button.adm-calendar-arrow-button-right svg {
363
+ transform: rotate(180deg);
364
+ }
365
+ .adm-calendar .adm-calendar-header .adm-calendar-title {
366
+ font-size: 18px;
367
+ flex: auto;
368
+ text-align: center;
369
+ }
370
+ .adm-calendar .adm-calendar-body {
371
+ display: flex;
372
+ flex-wrap: wrap;
373
+ }
374
+ .adm-calendar-cells {
375
+ display: flex;
376
+ flex-direction: row;
377
+ flex-wrap: wrap;
378
+ justify-content: flex-start;
379
+ align-items: stretch;
380
+ padding: 8px 8px 4px;
381
+ }
382
+ .adm-calendar-cell {
383
+ flex: none;
384
+ box-sizing: border-box;
385
+ width: calc(100% / 7);
386
+ height: 48px;
387
+ margin-bottom: 4px;
388
+ padding: 2px;
389
+ color: var(--adm-color-text);
390
+ cursor: pointer;
391
+ display: flex;
392
+ flex-direction: column;
393
+ align-items: center;
394
+ justify-content: flex-end;
395
+ }
396
+ .adm-calendar-cell.adm-calendar-cell-today {
397
+ color: var(--adm-color-primary);
398
+ }
399
+ .adm-calendar-cell.adm-calendar-cell-out {
400
+ color: var(--adm-color-light);
401
+ }
402
+ .adm-calendar-cell.adm-calendar-cell-out .adm-calendar-cell-bottom {
403
+ color: var(--adm-color-light);
404
+ }
405
+ .adm-calendar-cell.adm-calendar-cell-selected.adm-calendar-cell.adm-calendar-cell-selected {
406
+ background: var(--adm-color-primary);
407
+ color: var(--adm-color-white);
408
+ }
409
+ .adm-calendar-cell.adm-calendar-cell-selected .adm-calendar-cell-bottom {
410
+ color: var(--adm-color-white);
411
+ }
412
+ .adm-calendar-cell.adm-calendar-cell-selected.adm-calendar-cell.adm-calendar-cell-selected-begin {
413
+ border-top-left-radius: 4px;
414
+ border-bottom-left-radius: 4px;
415
+ }
416
+ .adm-calendar-cell.adm-calendar-cell-selected.adm-calendar-cell.adm-calendar-cell-selected-end {
417
+ border-top-right-radius: 4px;
418
+ border-bottom-right-radius: 4px;
419
+ }
420
+ .adm-calendar-cell .adm-calendar-cell-top {
421
+ flex: none;
422
+ font-size: 18px;
423
+ }
424
+ .adm-calendar-cell .adm-calendar-cell-bottom {
425
+ flex: none;
426
+ font-size: 12px;
427
+ height: 12px;
428
+ line-height: 12px;
429
+ color: var(--adm-color-weak);
430
+ }
431
+ .adm-calendar-mark {
432
+ display: flex;
433
+ flex-direction: row;
434
+ justify-content: flex-start;
435
+ align-items: center;
436
+ border-bottom: solid 1px var(--adm-border-color);
437
+ height: 45px;
438
+ box-sizing: border-box;
439
+ font-size: 15px;
440
+ padding: 0 8px;
441
+ }
442
+ .adm-calendar-mark .adm-calendar-mark-cell {
443
+ flex: 1;
444
+ text-align: center;
445
+ }
446
+ .adm-capsule-tabs {
447
+ position: relative;
448
+ }
449
+ .adm-capsule-tabs-header {
450
+ position: relative;
451
+ padding: 12px 6px;
452
+ border-bottom: solid 1px var(--adm-border-color);
453
+ }
454
+ .adm-capsule-tabs-tab-list {
455
+ display: flex;
456
+ flex-wrap: nowrap;
457
+ justify-content: flex-start;
458
+ align-items: center;
459
+ position: relative;
460
+ overflow-x: scroll;
461
+ scrollbar-width: none;
462
+ }
463
+ .adm-capsule-tabs-tab-list::-webkit-scrollbar {
464
+ display: none;
465
+ }
466
+ .adm-capsule-tabs-tab-wrapper {
467
+ flex: auto;
468
+ padding: 0 6px;
469
+ }
470
+ .adm-capsule-tabs-tab {
471
+ position: relative;
472
+ padding: 8px 20px;
473
+ margin: 0 auto;
474
+ border-radius: 20px;
475
+ cursor: pointer;
476
+ font-size: 15px;
477
+ text-align: center;
478
+ white-space: nowrap;
479
+ background-color: #f5f5f5;
480
+ }
481
+ .adm-capsule-tabs-tab-active {
482
+ color: #fff;
483
+ background-color: var(--adm-color-primary);
484
+ }
485
+ .adm-capsule-tabs-tab-disabled {
486
+ opacity: 0.5;
487
+ cursor: not-allowed;
488
+ }
489
+ .adm-capsule-tabs-content {
490
+ padding: 12px;
491
+ }
492
+ .adm-capsule-tabs-header-mask {
493
+ position: absolute;
494
+ top: 0;
495
+ bottom: 0;
496
+ z-index: 1;
497
+ width: 30px;
498
+ height: 100%;
499
+ pointer-events: none;
500
+ }
501
+ .adm-capsule-tabs-header-mask-left {
502
+ left: 0;
503
+ background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
504
+ }
505
+ .adm-capsule-tabs-header-mask-right {
506
+ right: 0;
507
+ background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
508
+ }
509
+ .adm-scroll-mask {
510
+ position: absolute;
511
+ top: 0;
512
+ bottom: 0;
513
+ z-index: 1;
514
+ width: 30px;
515
+ height: 100%;
516
+ pointer-events: none;
517
+ }
518
+ .adm-scroll-mask-left {
519
+ left: 0;
520
+ background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
521
+ }
522
+ .adm-scroll-mask-right {
523
+ right: 0;
524
+ background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
525
+ }
526
+ .adm-card {
527
+ background: #ffffff;
528
+ border-radius: 8px;
529
+ padding: 0 12px;
530
+ }
531
+ .adm-card-header {
532
+ position: relative;
533
+ display: flex;
534
+ justify-content: space-between;
535
+ align-items: center;
536
+ box-sizing: border-box;
537
+ padding: 12px 0;
538
+ }
539
+ .adm-card-header:not(:last-child) {
540
+ border-bottom: solid 0.5px var(--adm-border-color);
541
+ }
542
+ .adm-card-header-title {
543
+ font-size: 15px;
544
+ line-height: 1.4;
545
+ font-weight: bold;
546
+ }
547
+ .adm-card-body {
548
+ padding: 12px 0;
549
+ }
550
+ .adm-picker {
551
+ --header-button-font-size: 15px;
552
+ --title-font-size: 15px;
553
+ --item-font-size: 16px;
554
+ --item-height: 34px;
555
+ width: 100%;
556
+ height: 300px;
557
+ overflow: hidden;
558
+ position: relative;
559
+ display: flex;
560
+ flex-direction: column;
561
+ ---item-font-size: var(--item-font-size);
562
+ ---item-height: var(--item-height);
563
+ }
564
+ .adm-picker .adm-picker-view.adm-picker-view {
565
+ --item-font-size: var(---item-font-size);
566
+ --item-height: var(---item-height);
567
+ }
568
+ .adm-picker-header {
569
+ flex: none;
570
+ border-bottom: solid 1px var(--adm-border-color);
571
+ display: flex;
572
+ justify-content: space-between;
573
+ align-items: center;
574
+ padding: 4px 4px;
575
+ }
576
+ .adm-picker-header-button {
577
+ font-size: var(--header-button-font-size);
578
+ display: inline-block;
579
+ padding: 8px 8px;
580
+ }
581
+ .adm-picker-header-title {
582
+ padding: 4px 4px;
583
+ font-size: var(--title-font-size);
584
+ color: var(--adm-color-text);
585
+ text-align: center;
586
+ flex: 1;
587
+ }
588
+ .adm-picker-body {
589
+ flex: auto;
590
+ height: 100%;
591
+ width: 100%;
592
+ }
593
+ .adm-picker-body > .adm-picker-view {
594
+ --height: 100%;
595
+ }
596
+ .adm-picker-popup .adm-popup-body {
597
+ border-top-left-radius: 8px;
598
+ border-top-right-radius: 8px;
599
+ }
600
+ .adm-picker-view {
601
+ --height: 240px;
602
+ --item-height: 34px;
603
+ --item-font-size: 16px;
604
+ height: var(--height);
605
+ width: 100%;
606
+ display: flex;
607
+ position: relative;
608
+ overflow: hidden;
609
+ background: var(--adm-color-white);
610
+ }
611
+ .adm-picker-view-column {
612
+ height: 100%;
613
+ flex: 1;
614
+ user-select: none;
615
+ touch-action: none;
616
+ position: relative;
617
+ z-index: 0;
618
+ }
619
+ .adm-picker-view-column-wheel {
620
+ width: 100%;
621
+ cursor: grab;
622
+ position: absolute;
623
+ top: calc(50% - var(--item-height) / 2);
624
+ left: 0;
625
+ }
626
+ .adm-picker-view-column-wheel::before {
627
+ content: ' ';
628
+ display: block;
629
+ position: absolute;
630
+ width: 100%;
631
+ height: 100vh;
632
+ top: -100vh;
633
+ }
634
+ .adm-picker-view-column-wheel::after {
635
+ content: ' ';
636
+ display: block;
637
+ position: absolute;
638
+ width: 100%;
639
+ height: 100vh;
640
+ bottom: -100vh;
641
+ }
642
+ .adm-picker-view-column-item {
643
+ font-size: var(--item-font-size);
644
+ padding: 0 6px;
645
+ height: var(--item-height);
646
+ display: flex;
647
+ justify-content: center;
648
+ align-items: center;
649
+ }
650
+ .adm-picker-view-column-item-label {
651
+ overflow: hidden;
652
+ text-overflow: ellipsis;
653
+ white-space: nowrap;
654
+ }
655
+ .adm-picker-view-column-accessible {
656
+ width: 100%;
657
+ height: 100%;
658
+ pointer-events: none;
659
+ opacity: 0;
660
+ display: flex;
661
+ flex-direction: column;
662
+ position: relative;
663
+ z-index: 0;
664
+ }
665
+ .adm-picker-view-column-accessible > * {
666
+ flex: 1;
667
+ text-overflow: ellipsis;
668
+ }
669
+ .adm-picker-view-column-accessible-current {
670
+ position: absolute;
671
+ width: 100%;
672
+ height: 100%;
673
+ }
674
+ .adm-picker-view-column-accessible-button {
675
+ width: 100%;
676
+ height: 100%;
677
+ }
678
+ .adm-picker-view-mask {
679
+ position: absolute;
680
+ z-index: 10000;
681
+ left: 0;
682
+ top: 0;
683
+ width: 100%;
684
+ height: 100%;
685
+ display: flex;
686
+ flex-direction: column;
687
+ pointer-events: none;
688
+ }
689
+ .adm-picker-view-mask-top,
690
+ .adm-picker-view-mask-bottom {
691
+ flex: auto;
692
+ }
693
+ .adm-picker-view-mask-middle {
694
+ height: var(--item-height);
695
+ box-sizing: border-box;
696
+ flex: none;
697
+ border-top: solid 1px var(--adm-border-color);
698
+ border-bottom: solid 1px var(--adm-border-color);
699
+ }
700
+ .adm-picker-view-mask-top {
701
+ background: linear-gradient(0deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.8) 50%, #ffffff);
702
+ }
703
+ .adm-picker-view-mask-bottom {
704
+ background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.8) 50%, #ffffff);
705
+ }
706
+ .adm-cascader-view {
707
+ --height: auto;
708
+ }
709
+ .adm-cascader-view-tabs.adm-tabs {
710
+ --title-font-size: 14px;
711
+ --content-padding: none;
712
+ }
713
+ .adm-cascader-view-header-title {
714
+ max-width: 84px;
715
+ overflow: hidden;
716
+ white-space: nowrap;
717
+ text-overflow: ellipsis;
718
+ }
719
+ .adm-cascader-view-content {
720
+ height: var(--height);
721
+ overflow-y: auto;
722
+ }
723
+ .adm-cascader-view-content > .adm-check-list {
724
+ --border-inner: none;
725
+ --border-bottom: none;
726
+ --border-top: none;
727
+ }
728
+ .adm-cascader-view-item {
729
+ font-size: 14px;
730
+ }
731
+ .adm-cascader-view-item-active {
732
+ color: var(--adm-color-primary);
733
+ }
734
+ .adm-cascader-view .adm-list-inner {
735
+ margin-bottom: 0;
736
+ }
737
+ .adm-cascader-view-skeleton {
738
+ padding: 16px 12px;
739
+ }
740
+ .adm-cascader-view-skeleton .adm-skeleton {
741
+ margin-bottom: 16px;
742
+ --height: 18px;
743
+ --width: 80%;
744
+ --border-radius: 2px;
745
+ }
746
+ .adm-cascader-view-skeleton .adm-skeleton.adm-cascader-view-skeleton-line-3 {
747
+ --width: 90%;
748
+ }
749
+ .adm-cascader-view-skeleton .adm-skeleton.adm-cascader-view-skeleton-line-4 {
750
+ --width: 60%;
751
+ }
752
+ .adm-tabs {
753
+ --title-font-size: 17px;
754
+ --content-padding: 12px;
755
+ --active-line-height: 2px;
756
+ --active-line-border-radius: var(--active-line-height);
757
+ position: relative;
758
+ }
759
+ .adm-tabs-header {
760
+ position: relative;
761
+ border-bottom: solid 1px var(--adm-border-color);
762
+ }
763
+ .adm-tabs-tab-list {
764
+ display: flex;
765
+ flex-wrap: nowrap;
766
+ justify-content: flex-start;
767
+ align-items: center;
768
+ position: relative;
769
+ overflow-x: scroll;
770
+ scrollbar-width: none;
771
+ }
772
+ .adm-tabs-tab-list::-webkit-scrollbar {
773
+ display: none;
774
+ }
775
+ .adm-tabs-tab-wrapper {
776
+ padding: 0 12px;
777
+ }
778
+ .adm-tabs-tab-wrapper-stretch {
779
+ flex: auto;
780
+ }
781
+ .adm-tabs-tab {
782
+ white-space: nowrap;
783
+ padding: 8px 0 10px;
784
+ width: min-content;
785
+ margin: 0 auto;
786
+ font-size: var(--title-font-size);
787
+ position: relative;
788
+ cursor: pointer;
789
+ }
790
+ .adm-tabs-tab-active {
791
+ color: var(--adm-color-primary);
792
+ }
793
+ .adm-tabs-tab-disabled {
794
+ opacity: 0.5;
795
+ cursor: not-allowed;
796
+ }
797
+ .adm-tabs-tab-line {
798
+ position: absolute;
799
+ bottom: 0;
800
+ height: var(--active-line-height);
801
+ color: var(--adm-color-primary);
802
+ background: var(--adm-color-primary);
803
+ border-radius: var(--active-line-border-radius);
804
+ }
805
+ .adm-tabs-content {
806
+ padding: var(--content-padding);
807
+ }
808
+ .adm-tabs-header-mask {
809
+ position: absolute;
810
+ top: 0;
811
+ bottom: 0;
812
+ z-index: 1;
813
+ width: 30px;
814
+ height: 100%;
815
+ pointer-events: none;
816
+ }
817
+ .adm-tabs-header-mask-left {
818
+ left: 0;
819
+ background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
820
+ }
821
+ .adm-tabs-header-mask-right {
822
+ right: 0;
823
+ background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
824
+ }
825
+ .adm-check-list-item-extra {
826
+ font-size: 16px;
827
+ line-height: 1;
828
+ color: var(--adm-color-primary);
829
+ }
830
+ .adm-check-list-item-readonly {
831
+ cursor: unset;
832
+ }
833
+ .adm-list {
834
+ --header-font-size: 15px;
835
+ --prefix-width: 'auto';
836
+ --prefix-padding-right: 12px;
837
+ --align-items: center;
838
+ --active-background-color: var(--adm-border-color);
839
+ --border-inner: solid 1px var(--adm-border-color);
840
+ --border-top: solid 1px var(--adm-border-color);
841
+ --border-bottom: solid 1px var(--adm-border-color);
842
+ --padding-left: 12px;
843
+ --padding-right: 12px;
844
+ --font-size: 17px;
845
+ }
846
+ .adm-list-header {
847
+ color: var(--adm-color-weak);
848
+ font-size: var(--header-font-size);
849
+ padding: 8px var(--padding-right) 8px var(--padding-left);
850
+ }
851
+ .adm-list-body {
852
+ background-color: #ffffff;
853
+ overflow: hidden;
854
+ font-size: var(--font-size);
855
+ }
856
+ .adm-list-body-inner {
857
+ margin-top: -1px;
858
+ }
859
+ .adm-list-default .adm-list-body {
860
+ border-top: var(--border-top);
861
+ border-bottom: var(--border-bottom);
862
+ }
863
+ .adm-list-card {
864
+ margin: 12px;
865
+ }
866
+ .adm-list-card .adm-list-body {
867
+ border-radius: 8px;
868
+ }
869
+ .adm-list-card .adm-list-header {
870
+ padding-left: 0;
871
+ }
872
+ .adm-list-item {
873
+ display: block;
874
+ padding-left: var(--padding-left);
875
+ position: relative;
876
+ }
877
+ .adm-list-item-title,
878
+ .adm-list-item-description {
879
+ color: var(--adm-color-weak);
880
+ font-size: 13px;
881
+ }
882
+ .adm-list-item-content {
883
+ display: flex;
884
+ align-items: var(--align-items);
885
+ justify-content: flex-start;
886
+ border-top: var(--border-inner);
887
+ padding-right: var(--padding-right);
888
+ }
889
+ .adm-list-item-content-prefix {
890
+ width: var(--prefix-width);
891
+ flex: none;
892
+ padding-right: var(--prefix-padding-right);
893
+ }
894
+ .adm-list-item-content-main {
895
+ flex: auto;
896
+ padding: 12px 0;
897
+ }
898
+ .adm-list-item-content-extra {
899
+ flex: none;
900
+ padding-left: 12px;
901
+ font-size: 15px;
902
+ color: var(--adm-color-weak);
903
+ }
904
+ .adm-list-item-content-arrow {
905
+ flex: none;
906
+ display: flex;
907
+ align-items: center;
908
+ margin-left: 4px;
909
+ color: var(--adm-color-light);
910
+ font-size: 19px;
911
+ }
912
+ .adm-list-item-disabled {
913
+ cursor: not-allowed;
914
+ }
915
+ .adm-list-item-disabled.adm-list-item-disabled > .adm-list-item-content > * {
916
+ opacity: 0.4;
917
+ pointer-events: none;
918
+ }
919
+ a.adm-list-item:active:not(.adm-list-item-disabled) {
920
+ background-color: var(--active-background-color);
921
+ }
922
+ a.adm-list-item:active:not(.adm-list-item-disabled)::after {
923
+ content: ' ';
924
+ display: block;
925
+ position: absolute;
926
+ width: 100%;
927
+ bottom: -1px;
928
+ left: 0;
929
+ border-bottom: var(--border-inner);
930
+ }
931
+ .adm-skeleton {
932
+ --width: 100%;
933
+ --height: 0;
934
+ --border-radius: 0;
935
+ background-color: rgba(190, 190, 190, 0.2);
936
+ border-radius: var(--border-radius);
937
+ width: var(--width);
938
+ height: var(--height);
939
+ display: block;
940
+ }
941
+ .adm-skeleton.adm-skeleton-animated {
942
+ background: linear-gradient(90deg, rgba(190, 190, 190, 0.2) 25%, rgba(129, 129, 129, 0.24) 37%, rgba(190, 190, 190, 0.2) 63%);
943
+ background-size: 400% 100%;
944
+ animation: adm-skeleton-loading 1.4s ease infinite;
945
+ }
946
+ .adm-skeleton.adm-skeleton-title {
947
+ --width: 45%;
948
+ --height: 32px;
949
+ --border-radius: 2px;
950
+ margin-bottom: 16px;
951
+ margin-top: 16px;
952
+ }
953
+ .adm-skeleton.adm-skeleton-paragraph-line {
954
+ --height: 18px;
955
+ --border-radius: 2px;
956
+ margin-top: 12px;
957
+ margin-bottom: 12px;
958
+ }
959
+ .adm-skeleton.adm-skeleton-paragraph-line:last-child {
960
+ --width: 65%;
961
+ }
962
+ @keyframes adm-skeleton-loading {
963
+ 0% {
964
+ background-position: 100% 50%;
965
+ }
966
+ 100% {
967
+ background-position: 0 50%;
968
+ }
969
+ }
970
+ .adm-cascader {
971
+ width: 100%;
972
+ overflow: hidden;
973
+ position: relative;
974
+ display: flex;
975
+ flex-direction: column;
976
+ }
977
+ .adm-cascader-header {
978
+ flex: none;
979
+ display: flex;
980
+ justify-content: space-between;
981
+ align-items: center;
982
+ padding: 6px 8px;
983
+ }
984
+ .adm-cascader-header-button {
985
+ font-size: 15px;
986
+ display: inline-block;
987
+ padding: 4px 4px;
988
+ }
989
+ .adm-cascader-header-title {
990
+ padding: 4px 4px;
991
+ font-size: 15px;
992
+ color: var(--adm-color-text);
993
+ text-align: center;
994
+ flex: 1;
995
+ }
996
+ .adm-cascader-body {
997
+ flex: auto;
998
+ height: 100%;
999
+ width: 100%;
1000
+ }
1001
+ .adm-cascader-body > .adm-cascader-view {
1002
+ --height: 310px;
1003
+ }
1004
+ .adm-checkbox {
1005
+ --icon-size: 22px;
1006
+ --font-size: 17px;
1007
+ --gap: 8px;
1008
+ display: inline-flex;
1009
+ vertical-align: text-bottom;
1010
+ justify-content: flex-start;
1011
+ align-items: center;
1012
+ cursor: pointer;
1013
+ }
1014
+ .adm-checkbox input {
1015
+ display: none;
1016
+ }
1017
+ .adm-checkbox .adm-checkbox-icon {
1018
+ flex: none;
1019
+ border: 1px solid var(--adm-color-light);
1020
+ border-radius: var(--icon-size);
1021
+ box-sizing: border-box;
1022
+ width: var(--icon-size);
1023
+ height: var(--icon-size);
1024
+ color: var(--adm-color-white);
1025
+ }
1026
+ .adm-checkbox .adm-checkbox-icon > svg {
1027
+ display: block;
1028
+ width: 100%;
1029
+ height: 100%;
1030
+ }
1031
+ .adm-checkbox.adm-checkbox-block {
1032
+ display: flex;
1033
+ }
1034
+ .adm-checkbox.adm-checkbox-checked .adm-checkbox-icon {
1035
+ border-color: var(--adm-color-primary);
1036
+ background-color: var(--adm-color-primary);
1037
+ }
1038
+ .adm-checkbox.adm-checkbox-disabled {
1039
+ cursor: not-allowed;
1040
+ }
1041
+ .adm-checkbox.adm-checkbox-disabled .adm-checkbox-content {
1042
+ opacity: 0.4;
1043
+ }
1044
+ .adm-checkbox.adm-checkbox-disabled .adm-checkbox-icon.adm-checkbox-icon {
1045
+ color: #b7b7b7;
1046
+ border-color: var(--adm-color-light);
1047
+ background-color: #f5f5f5;
1048
+ }
1049
+ .adm-checkbox .adm-checkbox-custom-icon {
1050
+ font-size: var(--icon-size);
1051
+ }
1052
+ .adm-checkbox.adm-checkbox-indeterminate .adm-checkbox-icon {
1053
+ background-color: #ffffff;
1054
+ color: var(--adm-color-primary);
1055
+ }
1056
+ .adm-checkbox-content {
1057
+ flex: 0 1 auto;
1058
+ font-size: var(--font-size);
1059
+ padding-left: var(--gap);
1060
+ }
1061
+ .adm-collapse-panel-header .adm-list-item-content-main {
1062
+ padding: 12px 0;
1063
+ }
1064
+ .adm-collapse-arrow {
1065
+ transform: rotate(0deg);
1066
+ transition: all ease 0.3s;
1067
+ }
1068
+ .adm-collapse-arrow-active {
1069
+ transform: rotate(-180deg);
1070
+ }
1071
+ .adm-collapse-panel-content {
1072
+ font-size: var(--adm-font-size-main);
1073
+ color: var(--adm-color-weak);
1074
+ overflow: hidden;
1075
+ }
1076
+ .adm-dialog {
1077
+ --z-index: var(--adm-dialog-z-index, 1000);
1078
+ position: fixed;
1079
+ z-index: var(--z-index);
1080
+ }
1081
+ .adm-dialog .adm-dialog-mask {
1082
+ z-index: 0;
1083
+ }
1084
+ .adm-dialog-wrap {
1085
+ position: fixed;
1086
+ z-index: 1;
1087
+ top: 50%;
1088
+ left: 50%;
1089
+ width: 75vw;
1090
+ max-width: 500px;
1091
+ transform: translate(-50%, -50%);
1092
+ }
1093
+ .adm-dialog-body {
1094
+ width: 100%;
1095
+ max-height: 70vh;
1096
+ font-size: 14px;
1097
+ background-color: white;
1098
+ border-radius: 8px;
1099
+ overflow: hidden;
1100
+ display: flex;
1101
+ flex-direction: column;
1102
+ }
1103
+ .adm-dialog-body > * {
1104
+ flex: none;
1105
+ }
1106
+ .adm-dialog-body > .adm-dialog-content {
1107
+ flex: auto;
1108
+ }
1109
+ .adm-dialog-body:not(.adm-dialog-with-image) {
1110
+ padding-top: 20px;
1111
+ }
1112
+ .adm-dialog-body .adm-dialog-image-container {
1113
+ margin-bottom: 12px;
1114
+ max-height: 40vh;
1115
+ }
1116
+ .adm-dialog-body .adm-dialog-header {
1117
+ margin-bottom: 8px;
1118
+ padding: 0 12px;
1119
+ }
1120
+ .adm-dialog-body .adm-dialog-title {
1121
+ margin-bottom: 8px;
1122
+ padding: 0 12px;
1123
+ font-weight: bold;
1124
+ font-size: 18px;
1125
+ line-height: 25px;
1126
+ text-align: center;
1127
+ }
1128
+ .adm-dialog-body .adm-dialog-content {
1129
+ padding: 0 12px 20px;
1130
+ max-height: 70vh;
1131
+ overflow-x: hidden;
1132
+ overflow-y: auto;
1133
+ font-size: 15px;
1134
+ line-height: 1.4;
1135
+ color: #333;
1136
+ }
1137
+ .adm-dialog-body .adm-dialog-content-empty {
1138
+ padding: 0;
1139
+ height: 12px;
1140
+ }
1141
+ .adm-dialog-body .adm-dialog-footer {
1142
+ user-select: none;
1143
+ }
1144
+ .adm-dialog-body .adm-dialog-footer .adm-dialog-action-row {
1145
+ display: flex;
1146
+ align-items: stretch;
1147
+ border-top: 0.5px solid var(--adm-border-color);
1148
+ }
1149
+ .adm-dialog-body .adm-dialog-footer .adm-dialog-action-row > * {
1150
+ flex: 1;
1151
+ }
1152
+ .adm-dialog-body .adm-dialog-footer .adm-dialog-action-row > .adm-dialog-button {
1153
+ padding: 10px;
1154
+ font-size: 18px;
1155
+ line-height: 25px;
1156
+ border-radius: 0;
1157
+ border-right: solid 0.5px var(--adm-border-color);
1158
+ }
1159
+ .adm-dialog-body .adm-dialog-footer .adm-dialog-action-row > .adm-dialog-button-bold {
1160
+ font-weight: bold;
1161
+ }
1162
+ .adm-dialog-body .adm-dialog-footer .adm-dialog-action-row > .adm-dialog-button:last-child {
1163
+ border-right: none;
1164
+ }
1165
+ .adm-dialog-image-container {
1166
+ overflow-y: auto;
1167
+ }
1168
+ .adm-image {
1169
+ --width: var(--adm-image-width, auto);
1170
+ --height: var(--adm-image-height, auto);
1171
+ width: var(--width);
1172
+ height: var(--height);
1173
+ display: block;
1174
+ overflow: hidden;
1175
+ }
1176
+ .adm-image-img {
1177
+ width: 100%;
1178
+ height: 100%;
1179
+ }
1180
+ .adm-image-tip {
1181
+ position: relative;
1182
+ background-color: #f3f3f3;
1183
+ height: 100%;
1184
+ min-height: 24px;
1185
+ min-width: 24px;
1186
+ }
1187
+ .adm-image-tip > .antd-mobile-icon {
1188
+ position: absolute;
1189
+ left: 50%;
1190
+ top: 50%;
1191
+ transform: translate(-50%, -50%);
1192
+ color: var(--adm-color-weak);
1193
+ }
1194
+ .adm-divider {
1195
+ display: flex;
1196
+ align-items: center;
1197
+ margin: 16px 0;
1198
+ color: var(--adm-color-weak);
1199
+ font-size: 14px;
1200
+ border-width: 0;
1201
+ border-color: var(--adm-border-color);
1202
+ border-style: solid;
1203
+ }
1204
+ .adm-divider-left.adm-divider::before {
1205
+ max-width: 10%;
1206
+ }
1207
+ .adm-divider-right.adm-divider::after {
1208
+ max-width: 10%;
1209
+ }
1210
+ .adm-divider::after,
1211
+ .adm-divider::before {
1212
+ flex: auto;
1213
+ display: block;
1214
+ content: '';
1215
+ border-style: inherit;
1216
+ border-color: inherit;
1217
+ border-width: 1px 0 0;
1218
+ }
1219
+ .adm-divider-content {
1220
+ flex: none;
1221
+ padding: 0 16px;
1222
+ }
1223
+ .adm-dropdown {
1224
+ background-color: white;
1225
+ }
1226
+ .adm-dropdown .adm-dropdown-nav {
1227
+ display: flex;
1228
+ border-bottom: 1px solid transparent;
1229
+ }
1230
+ .adm-dropdown-open .adm-dropdown-nav {
1231
+ border-bottom-color: var(--adm-border-color);
1232
+ }
1233
+ .adm-dropdown-item {
1234
+ display: flex;
1235
+ flex: 1;
1236
+ justify-content: center;
1237
+ min-width: 0;
1238
+ cursor: pointer;
1239
+ }
1240
+ .adm-dropdown-item .adm-dropdown-item-title {
1241
+ display: flex;
1242
+ align-items: center;
1243
+ position: relative;
1244
+ max-width: 100%;
1245
+ font-size: 13px;
1246
+ padding: 12px;
1247
+ }
1248
+ .adm-dropdown-item .adm-dropdown-item-title-text {
1249
+ margin-right: 5px;
1250
+ overflow: hidden;
1251
+ white-space: nowrap;
1252
+ text-overflow: ellipsis;
1253
+ }
1254
+ .adm-dropdown-item .adm-dropdown-item-title-arrow {
1255
+ color: var(--adm-color-light);
1256
+ font-size: 9px;
1257
+ transform: rotate(0deg) translateY(-1px);
1258
+ transition: all ease 0.2s;
1259
+ }
1260
+ .adm-dropdown-item .adm-dropdown-item-title-arrow-active {
1261
+ transform: rotate(-180deg) translateY(-1px);
1262
+ }
1263
+ .adm-dropdown-item .adm-dropdown-item-title:active {
1264
+ opacity: 0.7;
1265
+ }
1266
+ .adm-dropdown-item-highlight {
1267
+ color: var(--adm-color-primary);
1268
+ }
1269
+ .adm-dropdown-item-active .adm-dropdown-item-title:after {
1270
+ margin-top: -1px;
1271
+ transform: rotate(135deg);
1272
+ }
1273
+ .adm-dropdown-item-content {
1274
+ width: 100%;
1275
+ background: white;
1276
+ }
1277
+ .adm-dropdown-item-content-hidden {
1278
+ display: none;
1279
+ }
1280
+ .adm-dropdown-popup {
1281
+ position: fixed;
1282
+ overflow: hidden;
1283
+ width: 100%;
1284
+ right: 0;
1285
+ bottom: 0;
1286
+ left: 0;
1287
+ }
1288
+ .adm-dropdown-popup .adm-dropdown-popup-mask {
1289
+ position: absolute;
1290
+ }
1291
+ .adm-dropdown-popup .adm-dropdown-popup-body {
1292
+ position: absolute;
1293
+ }
1294
+ .adm-ellipsis {
1295
+ overflow: hidden;
1296
+ line-height: 1.5;
1297
+ }
1298
+ .adm-empty {
1299
+ display: flex;
1300
+ flex-direction: column;
1301
+ align-items: center;
1302
+ justify-content: center;
1303
+ padding: 24px 0;
1304
+ }
1305
+ .adm-empty-image-container {
1306
+ display: flex;
1307
+ justify-content: center;
1308
+ }
1309
+ .adm-empty-image-container .adm-empty-image {
1310
+ width: 64px;
1311
+ }
1312
+ .adm-empty-description {
1313
+ margin-top: 8px;
1314
+ font-size: 14px;
1315
+ color: var(--adm-color-light);
1316
+ }
1317
+ .adm-error-block {
1318
+ --color: var(--adm-color-text);
1319
+ --image-height: var(--adm-error-block-image-height, 100px);
1320
+ --image-height-full-page: var(--adm-error-block-image-height-full-page, 200px);
1321
+ --image-width: var(--adm-error-block-image-width, auto);
1322
+ --image-width-full-page: var(--adm-error-block-image-width-full-page, auto);
1323
+ box-sizing: border-box;
1324
+ text-align: center;
1325
+ }
1326
+ .adm-error-block-image {
1327
+ height: var(--image-height);
1328
+ width: var(--image-width);
1329
+ max-width: 100%;
1330
+ }
1331
+ .adm-error-block-image svg,
1332
+ .adm-error-block-image img {
1333
+ height: 100%;
1334
+ }
1335
+ .adm-error-block-description {
1336
+ font-size: 12px;
1337
+ color: #999;
1338
+ line-height: 1.4;
1339
+ margin-top: 12px;
1340
+ }
1341
+ .adm-error-block-description-title {
1342
+ font-size: 15px;
1343
+ }
1344
+ .adm-error-block-description-subtitle {
1345
+ margin-top: 8px;
1346
+ }
1347
+ .adm-error-block-content {
1348
+ margin-top: 12px;
1349
+ }
1350
+ .adm-error-block-full-page {
1351
+ padding-top: calc(50vh - var(--image-height-full-page));
1352
+ }
1353
+ .adm-error-block-full-page .adm-error-block-image {
1354
+ height: var(--image-height-full-page);
1355
+ width: var(--image-width-full-page);
1356
+ }
1357
+ .adm-error-block-full-page .adm-error-block-description {
1358
+ margin-top: 20px;
1359
+ font-size: 13px;
1360
+ }
1361
+ .adm-error-block-full-page .adm-error-block-description-title {
1362
+ font-size: 20px;
1363
+ color: #333;
1364
+ }
1365
+ .adm-floating-bubble {
1366
+ --initial-position-left: var(--initial-position-left);
1367
+ --initial-position-right: var(--initial-position-right);
1368
+ --initial-position-top: var(--initial-position-top);
1369
+ --initial-position-bottom: var(--initial-position-bottom);
1370
+ --z-index: 1;
1371
+ --edge-distance: 0;
1372
+ --size: 48px;
1373
+ --border-radius: 50%;
1374
+ --background: var(--adm-color-primary);
1375
+ }
1376
+ .adm-floating-bubble-boundary-outer {
1377
+ position: fixed;
1378
+ left: 0;
1379
+ top: 0;
1380
+ width: 100vw;
1381
+ height: 100vh;
1382
+ padding: var(--edge-distance);
1383
+ box-sizing: border-box;
1384
+ pointer-events: none;
1385
+ }
1386
+ .adm-floating-bubble-boundary {
1387
+ position: relative;
1388
+ width: 100%;
1389
+ height: 100%;
1390
+ }
1391
+ .adm-floating-bubble-button {
1392
+ position: fixed;
1393
+ top: var(--initial-position-top);
1394
+ bottom: var(--initial-position-bottom);
1395
+ left: var(--initial-position-left);
1396
+ right: var(--initial-position-right);
1397
+ box-sizing: border-box;
1398
+ width: var(--size);
1399
+ height: var(--size);
1400
+ display: flex;
1401
+ justify-content: center;
1402
+ align-items: center;
1403
+ overflow: hidden;
1404
+ cursor: pointer;
1405
+ transition: opacity ease 0.15s;
1406
+ user-select: none;
1407
+ touch-action: none;
1408
+ background: var(--background);
1409
+ color: var(--adm-color-white);
1410
+ border-radius: var(--border-radius);
1411
+ z-index: var(--z-index);
1412
+ }
1413
+ .adm-floating-panel {
1414
+ --border-radius: 8px;
1415
+ --header-height: 28px;
1416
+ --z-index: var(--adm-floating-panel-z-index, 900);
1417
+ border-top-left-radius: var(--border-radius);
1418
+ border-top-right-radius: var(--border-radius);
1419
+ background: var(--adm-color-white);
1420
+ position: fixed;
1421
+ z-index: var(--z-index);
1422
+ bottom: 0;
1423
+ left: 0;
1424
+ width: 100vw;
1425
+ display: flex;
1426
+ flex-direction: column;
1427
+ touch-action: none;
1428
+ }
1429
+ .adm-floating-panel-mask {
1430
+ display: block;
1431
+ width: 100%;
1432
+ height: 100vh;
1433
+ position: absolute;
1434
+ left: 0;
1435
+ top: -100vh;
1436
+ background: transparent;
1437
+ }
1438
+ .adm-floating-panel::after {
1439
+ content: '';
1440
+ display: block;
1441
+ position: absolute;
1442
+ bottom: -100vh;
1443
+ height: 100vh;
1444
+ width: 100vw;
1445
+ background: var(--adm-color-white);
1446
+ }
1447
+ .adm-floating-panel .adm-floating-panel-header {
1448
+ flex: none;
1449
+ height: var(--header-height);
1450
+ display: flex;
1451
+ justify-content: center;
1452
+ align-items: center;
1453
+ cursor: grab;
1454
+ user-select: none;
1455
+ }
1456
+ .adm-floating-panel .adm-floating-panel-header .adm-floating-panel-bar {
1457
+ height: 3px;
1458
+ width: 20px;
1459
+ border-radius: 10px;
1460
+ background: var(--adm-color-light);
1461
+ }
1462
+ .adm-floating-panel .adm-floating-panel-content {
1463
+ flex: 1;
1464
+ overflow-y: scroll;
1465
+ }
1466
+ .adm-form {
1467
+ --border-inner: solid 1px var(--adm-border-color);
1468
+ --border-top: solid 1px var(--adm-border-color);
1469
+ --border-bottom: solid 1px var(--adm-border-color);
1470
+ ---border-inner: var(--border-inner);
1471
+ ---border-top: var(--border-top);
1472
+ ---border-bottom: var(--border-bottom);
1473
+ }
1474
+ .adm-form .adm-list.adm-list {
1475
+ --padding-left: 16px;
1476
+ --padding-right: 12px;
1477
+ --border-inner: var(---border-inner);
1478
+ --border-top: var(---border-top);
1479
+ --border-bottom: var(---border-bottom);
1480
+ }
1481
+ .adm-form .adm-form-footer {
1482
+ padding: 20px 12px;
1483
+ }
1484
+ .adm-form-list-operation {
1485
+ text-align: center;
1486
+ color: #1677ff;
1487
+ }
1488
+ .adm-form-item + .adm-form-item {
1489
+ border-top: none;
1490
+ }
1491
+ .adm-form-item-label {
1492
+ display: block;
1493
+ height: 100%;
1494
+ line-height: 1.5;
1495
+ box-sizing: border-box;
1496
+ position: relative;
1497
+ color: #666666;
1498
+ }
1499
+ .adm-form-item-label .adm-form-item-required-asterisk {
1500
+ position: absolute;
1501
+ left: -0.6em;
1502
+ top: 0;
1503
+ font-family: SimSun, sans-serif;
1504
+ color: var(--adm-color-danger);
1505
+ user-select: none;
1506
+ }
1507
+ .adm-form-item-label .adm-form-item-required-text {
1508
+ margin-left: 4px;
1509
+ color: var(--adm-color-weak);
1510
+ }
1511
+ .adm-form-item-label-help {
1512
+ margin-left: 4px;
1513
+ cursor: pointer;
1514
+ }
1515
+ .adm-form-item-child {
1516
+ display: flex;
1517
+ }
1518
+ .adm-form-item-child-position-normal {
1519
+ justify-content: normal;
1520
+ }
1521
+ .adm-form-item-child-position-normal > * {
1522
+ flex: auto;
1523
+ }
1524
+ .adm-form-item-child-position-right {
1525
+ justify-content: right;
1526
+ }
1527
+ .adm-form-item-child-position-right > * {
1528
+ flex: none;
1529
+ }
1530
+ .adm-form-item-feedback-error {
1531
+ color: var(--adm-color-danger);
1532
+ margin-top: 4px;
1533
+ }
1534
+ .adm-form-item-feedback-warning {
1535
+ color: var(--adm-color-warning);
1536
+ margin-top: 4px;
1537
+ }
1538
+ .adm-form-item.adm-form-item-hidden {
1539
+ display: none;
1540
+ }
1541
+ .adm-form-item.adm-form-item-horizontal.adm-list-item {
1542
+ --align-items: stretch;
1543
+ --prefix-width: 6em;
1544
+ }
1545
+ .adm-form-item.adm-form-item-horizontal .adm-list-item-content-prefix {
1546
+ padding-top: 12px;
1547
+ padding-bottom: 12px;
1548
+ }
1549
+ .adm-form-item.adm-form-item-horizontal .adm-list-item-content-extra {
1550
+ align-self: center;
1551
+ }
1552
+ .adm-form-item.adm-form-item-vertical .adm-form-item-label {
1553
+ font-size: 15px;
1554
+ margin-bottom: 4px;
1555
+ }
1556
+ .adm-popover {
1557
+ --z-index: var(--adm-popover-z-index, 1030);
1558
+ --background: #ffffff;
1559
+ --arrow-size: 8px;
1560
+ --content-padding: 8px 12px;
1561
+ position: absolute;
1562
+ top: 0;
1563
+ left: 0;
1564
+ z-index: var(--z-index);
1565
+ white-space: normal;
1566
+ text-align: left;
1567
+ cursor: auto;
1568
+ user-select: text;
1569
+ animation: none;
1570
+ }
1571
+ .adm-popover.adm-popover-dark {
1572
+ --background: rgba(0, 0, 0, 0.75);
1573
+ --adm-color-text: #ffffff;
1574
+ color: white;
1575
+ }
1576
+ .adm-popover.adm-popover-dark .adm-popover-inner {
1577
+ box-shadow: none;
1578
+ }
1579
+ .adm-popover::after {
1580
+ position: absolute;
1581
+ background: rgba(255, 255, 255, 0.01);
1582
+ content: '';
1583
+ }
1584
+ .adm-popover-hidden {
1585
+ display: none;
1586
+ }
1587
+ .adm-popover-inner {
1588
+ background-color: var(--background);
1589
+ background-clip: padding-box;
1590
+ border-radius: 8px;
1591
+ box-shadow: 0 0 30px 0 rgba(51, 51, 51, 0.2);
1592
+ font-size: 15px;
1593
+ min-width: 32px;
1594
+ max-width: calc(100vw - 24px);
1595
+ overflow-y: hidden;
1596
+ }
1597
+ .adm-popover-inner-content {
1598
+ padding: var(--content-padding);
1599
+ }
1600
+ .adm-popover-arrow {
1601
+ position: absolute;
1602
+ display: block;
1603
+ height: var(--arrow-size);
1604
+ width: var(--arrow-size);
1605
+ overflow: visible;
1606
+ background: transparent;
1607
+ }
1608
+ .adm-popover-arrow-icon {
1609
+ display: block;
1610
+ height: var(--arrow-size);
1611
+ width: 15px;
1612
+ position: absolute;
1613
+ top: 50%;
1614
+ left: 50%;
1615
+ transform: translate(-50%, -50%) rotate(var(--arrow-icon-rotate));
1616
+ }
1617
+ .adm-popover .adm-popover-arrow {
1618
+ color: var(--background);
1619
+ }
1620
+ .adm-popover-menu {
1621
+ --border-color: var(--adm-border-color);
1622
+ }
1623
+ .adm-popover-menu.adm-popover {
1624
+ --content-padding: 0;
1625
+ }
1626
+ .adm-popover-menu-list {
1627
+ overflow: hidden;
1628
+ min-width: 120px;
1629
+ }
1630
+ .adm-popover-menu-list-inner {
1631
+ margin-top: -1px;
1632
+ }
1633
+ .adm-popover-menu-item {
1634
+ display: flex;
1635
+ padding-left: 20px;
1636
+ justify-content: flex-start;
1637
+ align-items: center;
1638
+ position: relative;
1639
+ }
1640
+ .adm-popover-menu-item-icon {
1641
+ flex: none;
1642
+ padding-right: 8px;
1643
+ font-size: 20px;
1644
+ }
1645
+ .adm-popover-menu-item-text {
1646
+ flex: auto;
1647
+ padding: 14px 20px 14px 0;
1648
+ border-top: solid 1px var(--border-color);
1649
+ }
1650
+ .adm-popover-menu-item-disabled {
1651
+ cursor: not-allowed;
1652
+ }
1653
+ .adm-popover-menu-item-disabled > * {
1654
+ opacity: 0.4;
1655
+ }
1656
+ .adm-popover-menu-item:active:not(.adm-popover-menu-item-disabled) {
1657
+ background-color: var(--border-color);
1658
+ }
1659
+ .adm-popover-menu-item:active:not(.adm-popover-menu-item-disabled)::after {
1660
+ content: ' ';
1661
+ display: block;
1662
+ position: absolute;
1663
+ width: 100%;
1664
+ bottom: -1px;
1665
+ left: 0;
1666
+ border-bottom: solid 1px var(--border-color);
1667
+ }
1668
+ .adm-popover.adm-popover-dark.adm-popover-menu {
1669
+ --border-color: #333333;
1670
+ --background: rgba(0, 0, 0, 0.9);
1671
+ }
1672
+ .adm-grid {
1673
+ --gap: 0;
1674
+ --gap-horizontal: var(--gap);
1675
+ --gap-vertical: var(--gap);
1676
+ display: grid;
1677
+ grid-gap: 10px;
1678
+ column-gap: var(--gap-horizontal);
1679
+ row-gap: var(--gap-vertical);
1680
+ grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
1681
+ align-items: stretch;
1682
+ }
1683
+ .adm-grid-item {
1684
+ grid-column-end: span var(--item-span);
1685
+ }
1686
+ .adm-image-viewer-content {
1687
+ width: 100vw;
1688
+ height: 100vh;
1689
+ max-height: -webkit-fill-available;
1690
+ touch-action: none;
1691
+ user-select: none;
1692
+ }
1693
+ .adm-image-viewer-slides {
1694
+ height: 100%;
1695
+ position: relative;
1696
+ z-index: 1;
1697
+ cursor: grab;
1698
+ touch-action: none;
1699
+ }
1700
+ .adm-image-viewer-slides-inner {
1701
+ height: 100%;
1702
+ white-space: nowrap;
1703
+ }
1704
+ .adm-image-viewer-slides-inner > * {
1705
+ margin-right: 16px;
1706
+ }
1707
+ .adm-image-viewer-slide {
1708
+ position: relative;
1709
+ width: 100%;
1710
+ height: 100%;
1711
+ display: inline-block;
1712
+ }
1713
+ .adm-image-viewer-control {
1714
+ position: absolute;
1715
+ z-index: 1;
1716
+ left: 0;
1717
+ top: 0;
1718
+ width: 100%;
1719
+ height: 100%;
1720
+ cursor: grab;
1721
+ touch-action: none;
1722
+ }
1723
+ .adm-image-viewer-image-wrapper {
1724
+ width: 100%;
1725
+ height: 100%;
1726
+ display: flex;
1727
+ justify-content: center;
1728
+ align-items: center;
1729
+ }
1730
+ .adm-image-viewer-image-wrapper img {
1731
+ display: block;
1732
+ max-width: 100%;
1733
+ max-height: 100%;
1734
+ }
1735
+ .adm-image-viewer-indicator {
1736
+ position: absolute;
1737
+ z-index: 2;
1738
+ left: 50%;
1739
+ top: 12px;
1740
+ transform: translateX(-50%);
1741
+ color: #e6e6e6;
1742
+ font-size: 14px;
1743
+ }
1744
+ .adm-spin-loading {
1745
+ --color: var(--adm-color-weak);
1746
+ --size: 32px;
1747
+ --pi: 3.14159265;
1748
+ --radius: 15;
1749
+ --circumference: calc(var(--radius) * var(--pi) * 2);
1750
+ width: var(--size);
1751
+ height: var(--size);
1752
+ }
1753
+ .adm-spin-loading-svg {
1754
+ width: 100%;
1755
+ height: 100%;
1756
+ animation: adm-spin-loading-rotate 0.8s infinite linear;
1757
+ }
1758
+ .adm-spin-loading-svg > .adm-spin-loading-fill {
1759
+ stroke: var(--color);
1760
+ }
1761
+ @keyframes adm-spin-loading-rotate {
1762
+ from {
1763
+ transform: rotate(0deg);
1764
+ }
1765
+ to {
1766
+ transform: rotate(360deg);
1767
+ }
1768
+ }
1769
+ .adm-space-item {
1770
+ flex: none;
1771
+ }
1772
+ .adm-space {
1773
+ display: inline-flex;
1774
+ --gap: 8px;
1775
+ --gap-vertical: var(--gap);
1776
+ --gap-horizontal: var(--gap);
1777
+ }
1778
+ .adm-space-vertical {
1779
+ flex-direction: column;
1780
+ }
1781
+ .adm-space-vertical > .adm-space-item {
1782
+ margin-bottom: var(--gap-vertical);
1783
+ }
1784
+ .adm-space-vertical > .adm-space-item:last-child {
1785
+ margin-bottom: 0;
1786
+ }
1787
+ .adm-space-horizontal {
1788
+ flex-direction: row;
1789
+ }
1790
+ .adm-space-horizontal > .adm-space-item {
1791
+ margin-right: var(--gap-horizontal);
1792
+ }
1793
+ .adm-space-horizontal > .adm-space-item:last-child {
1794
+ margin-right: 0;
1795
+ }
1796
+ .adm-space-horizontal.adm-space-wrap {
1797
+ flex-wrap: wrap;
1798
+ margin-bottom: calc(var(--gap-vertical) * -1);
1799
+ }
1800
+ .adm-space-horizontal.adm-space-wrap > .adm-space-item {
1801
+ padding-bottom: var(--gap-vertical);
1802
+ }
1803
+ .adm-space.adm-space-block {
1804
+ display: flex;
1805
+ }
1806
+ .adm-space-align-center {
1807
+ align-items: center;
1808
+ }
1809
+ .adm-space-align-start {
1810
+ align-items: flex-start;
1811
+ }
1812
+ .adm-space-align-end {
1813
+ align-items: flex-end;
1814
+ }
1815
+ .adm-space-align-baseline {
1816
+ align-items: baseline;
1817
+ }
1818
+ .adm-space-justify-center {
1819
+ justify-content: center;
1820
+ }
1821
+ .adm-space-justify-start {
1822
+ justify-content: flex-start;
1823
+ }
1824
+ .adm-space-justify-end {
1825
+ justify-content: flex-end;
1826
+ }
1827
+ .adm-space-justify-between {
1828
+ justify-content: space-between;
1829
+ }
1830
+ .adm-space-justify-around {
1831
+ justify-content: space-around;
1832
+ }
1833
+ .adm-space-justify-evenly {
1834
+ justify-content: space-evenly;
1835
+ }
1836
+ .adm-space-justify-stretch {
1837
+ justify-content: stretch;
1838
+ }
1839
+ .adm-image-uploader {
1840
+ --cell-size: 80px;
1841
+ }
1842
+ .adm-image-uploader-space {
1843
+ --gap: 12px;
1844
+ }
1845
+ .adm-image-uploader-cell {
1846
+ position: relative;
1847
+ width: var(--cell-size);
1848
+ height: var(--cell-size);
1849
+ border-radius: 4px;
1850
+ overflow: hidden;
1851
+ }
1852
+ .adm-image-uploader-cell-fail {
1853
+ border: red solid 1px;
1854
+ box-sizing: border-box;
1855
+ }
1856
+ .adm-image-uploader-cell-delete {
1857
+ position: absolute;
1858
+ top: 0;
1859
+ right: 0;
1860
+ width: 14px;
1861
+ height: 14px;
1862
+ background-color: rgba(0, 0, 0, 0.7);
1863
+ border-radius: 0 0 0 12px;
1864
+ font-size: 8px;
1865
+ color: #fff;
1866
+ cursor: pointer;
1867
+ }
1868
+ .adm-image-uploader-cell-delete-icon {
1869
+ position: absolute;
1870
+ left: 4px;
1871
+ top: 3px;
1872
+ }
1873
+ .adm-image-uploader-cell-mask {
1874
+ position: absolute;
1875
+ top: 0;
1876
+ right: 0;
1877
+ bottom: 0;
1878
+ left: 0;
1879
+ color: #fff;
1880
+ background-color: rgba(50, 50, 51, 0.88);
1881
+ }
1882
+ .adm-image-uploader-cell-loading {
1883
+ display: flex;
1884
+ flex-direction: column;
1885
+ align-items: center;
1886
+ justify-content: center;
1887
+ height: 100%;
1888
+ box-sizing: border-box;
1889
+ padding-top: 8px;
1890
+ }
1891
+ .adm-image-uploader-cell-mask-message {
1892
+ display: inline-block;
1893
+ padding: 6px 4px;
1894
+ font-size: 12px;
1895
+ }
1896
+ .adm-image-uploader-cell-image {
1897
+ width: var(--cell-size);
1898
+ height: var(--cell-size);
1899
+ }
1900
+ .adm-image-uploader-upload-button-wrap {
1901
+ position: relative;
1902
+ }
1903
+ .adm-image-uploader-upload-button-wrap .adm-image-uploader-upload-button {
1904
+ background-color: #f5f5f5;
1905
+ text-align: center;
1906
+ line-height: var(--cell-size);
1907
+ display: block;
1908
+ }
1909
+ .adm-image-uploader-upload-button-wrap .adm-image-uploader-upload-button-icon {
1910
+ color: #999999;
1911
+ font-size: 32px;
1912
+ }
1913
+ .adm-image-uploader-upload-button-wrap .adm-image-uploader-input {
1914
+ cursor: pointer;
1915
+ position: absolute;
1916
+ opacity: 0;
1917
+ left: 0;
1918
+ top: 0;
1919
+ width: 100%;
1920
+ height: 100%;
1921
+ border-radius: 4px;
1922
+ }
1923
+ .adm-index-bar {
1924
+ --color: var(--adm-color-text);
1925
+ overflow: hidden;
1926
+ height: 100%;
1927
+ position: relative;
1928
+ background-color: var(--adm-color-white);
1929
+ --sticky-offset-top: 0;
1930
+ }
1931
+ .adm-index-bar-body {
1932
+ overflow: scroll;
1933
+ height: 100%;
1934
+ width: 100%;
1935
+ }
1936
+ .adm-index-bar-body::-webkit-scrollbar {
1937
+ display: none;
1938
+ }
1939
+ .adm-index-bar-anchor-title {
1940
+ display: flex;
1941
+ flex-direction: column;
1942
+ justify-content: center;
1943
+ height: 35px;
1944
+ padding: 0 12px;
1945
+ color: var(--adm-color-weak);
1946
+ font-size: 13px;
1947
+ background-color: #f5f5f5;
1948
+ }
1949
+ .adm-index-bar-sidebar {
1950
+ position: absolute;
1951
+ top: 50%;
1952
+ right: 0;
1953
+ transform: translateY(-50%);
1954
+ z-index: 910;
1955
+ overflow: visible;
1956
+ color: var(--adm-color-weak);
1957
+ font-size: 12px;
1958
+ user-select: none;
1959
+ touch-action: none;
1960
+ }
1961
+ .adm-index-bar-sidebar-bubble {
1962
+ position: absolute;
1963
+ top: 50%;
1964
+ right: 42px;
1965
+ width: 47px;
1966
+ height: 47px;
1967
+ color: var(--adm-color-white);
1968
+ font-size: 25px;
1969
+ line-height: 47px;
1970
+ text-align: center;
1971
+ background: var(--adm-color-light);
1972
+ border-radius: 50%;
1973
+ transform: translateY(-50%);
1974
+ }
1975
+ .adm-index-bar-sidebar-row {
1976
+ cursor: pointer;
1977
+ width: auto;
1978
+ text-align: right;
1979
+ position: relative;
1980
+ padding: 0 12px;
1981
+ }
1982
+ .adm-index-bar-sidebar-row > * {
1983
+ pointer-events: none;
1984
+ }
1985
+ .adm-index-bar-sidebar-item {
1986
+ display: inline-flex;
1987
+ width: 16px;
1988
+ height: 16px;
1989
+ line-height: 16px;
1990
+ justify-content: center;
1991
+ align-items: center;
1992
+ }
1993
+ .adm-index-bar-sidebar-item-active {
1994
+ color: #fff;
1995
+ background-color: var(--adm-color-primary);
1996
+ border-radius: 50%;
1997
+ }
1998
+ .adm-index-bar-sidebar-interacting {
1999
+ width: 100%;
2000
+ }
2001
+ .adm-index-bar-sticky .adm-index-bar-anchor-title {
2002
+ position: sticky;
2003
+ z-index: 900;
2004
+ top: var(--sticky-offset-top);
2005
+ left: 0;
2006
+ }
2007
+ .adm-infinite-scroll {
2008
+ color: var(--adm-color-weak);
2009
+ padding: 18px;
2010
+ display: flex;
2011
+ justify-content: center;
2012
+ align-items: center;
2013
+ font-size: 13px;
2014
+ }
2015
+ .adm-input {
2016
+ --font-size: 17px;
2017
+ --color: var(--adm-color-text);
2018
+ --placeholder-color: var(--adm-color-light);
2019
+ --text-align: left;
2020
+ --background-color: transparent;
2021
+ display: flex;
2022
+ justify-content: flex-start;
2023
+ align-items: center;
2024
+ width: 100%;
2025
+ max-width: 100%;
2026
+ max-height: 100%;
2027
+ min-height: 24px;
2028
+ background-color: var(--background-color);
2029
+ }
2030
+ .adm-input-disabled {
2031
+ opacity: 0.4;
2032
+ cursor: not-allowed;
2033
+ }
2034
+ .adm-input-element {
2035
+ flex: auto;
2036
+ display: inline-block;
2037
+ box-sizing: border-box;
2038
+ width: 100%;
2039
+ max-width: 100%;
2040
+ max-height: 100%;
2041
+ padding: 0;
2042
+ margin: 0;
2043
+ color: var(--color);
2044
+ font-size: var(--font-size);
2045
+ line-height: 1.5;
2046
+ background: transparent;
2047
+ border: 0;
2048
+ outline: none;
2049
+ appearance: none;
2050
+ min-height: 1.5em;
2051
+ text-align: var(--text-align);
2052
+ }
2053
+ .adm-input-element::placeholder {
2054
+ color: var(--placeholder-color);
2055
+ font-family: inherit;
2056
+ }
2057
+ .adm-input-element:-webkit-autofill {
2058
+ background-color: transparent;
2059
+ }
2060
+ .adm-input-element:read-only {
2061
+ cursor: default;
2062
+ }
2063
+ .adm-input-element:invalid {
2064
+ box-shadow: none;
2065
+ }
2066
+ .adm-input-element::-ms-clear {
2067
+ display: none;
2068
+ }
2069
+ .adm-input-element::-webkit-search-cancel-button {
2070
+ display: none;
2071
+ }
2072
+ .adm-input-element::-webkit-search-decoration {
2073
+ display: none;
2074
+ }
2075
+ .adm-input-element[type='date'],
2076
+ .adm-input-element[type='time'],
2077
+ .adm-input-element[type='datetime-local'] {
2078
+ min-height: 1.5em;
2079
+ }
2080
+ .adm-input-element[type='search'] {
2081
+ -webkit-appearance: none;
2082
+ }
2083
+ .adm-input-element[readonly] {
2084
+ pointer-events: none;
2085
+ }
2086
+ .adm-input-clear {
2087
+ flex: none;
2088
+ margin-left: 8px;
2089
+ color: var(--adm-color-light);
2090
+ padding: 4px;
2091
+ cursor: pointer;
2092
+ }
2093
+ .adm-input-clear:active {
2094
+ color: var(--adm-color-weak);
2095
+ }
2096
+ .adm-input-clear .antd-mobile-icon {
2097
+ display: block;
2098
+ font-size: 15px;
2099
+ }
2100
+ .adm-jumbo-tabs {
2101
+ --gap: 8px;
2102
+ position: relative;
2103
+ }
2104
+ .adm-jumbo-tabs-header {
2105
+ position: relative;
2106
+ border-bottom: solid 1px var(--adm-border-color);
2107
+ }
2108
+ .adm-jumbo-tabs-tab-list {
2109
+ display: flex;
2110
+ flex-wrap: nowrap;
2111
+ justify-content: flex-start;
2112
+ align-items: center;
2113
+ position: relative;
2114
+ overflow-x: scroll;
2115
+ padding: 0 var(--gap);
2116
+ scrollbar-width: none;
2117
+ }
2118
+ .adm-jumbo-tabs-tab-list::-webkit-scrollbar {
2119
+ display: none;
2120
+ }
2121
+ .adm-jumbo-tabs-tab-wrapper {
2122
+ flex: auto;
2123
+ padding: 0 calc(var(--gap) / 2);
2124
+ text-align: center;
2125
+ }
2126
+ .adm-jumbo-tabs-tab {
2127
+ display: flex;
2128
+ flex-direction: column;
2129
+ align-items: center;
2130
+ position: relative;
2131
+ width: min-content;
2132
+ margin: 0 auto;
2133
+ padding: 12px 0;
2134
+ cursor: pointer;
2135
+ font-size: 17px;
2136
+ white-space: nowrap;
2137
+ }
2138
+ .adm-jumbo-tabs-tab-title {
2139
+ line-height: 24px;
2140
+ padding: 0 4px;
2141
+ }
2142
+ .adm-jumbo-tabs-tab-description {
2143
+ width: min-content;
2144
+ padding: 0 8px;
2145
+ border-radius: 10px;
2146
+ color: var(--adm-color-weak);
2147
+ font-size: var(--adm-font-size-main);
2148
+ background-color: #f5f5f5;
2149
+ }
2150
+ .adm-jumbo-tabs-tab-active {
2151
+ color: var(--adm-color-primary);
2152
+ }
2153
+ .adm-jumbo-tabs-tab-active .adm-jumbo-tabs-tab-description {
2154
+ color: #fff;
2155
+ background-color: var(--adm-color-primary);
2156
+ }
2157
+ .adm-jumbo-tabs-tab-disabled {
2158
+ opacity: 0.5;
2159
+ cursor: not-allowed;
2160
+ }
2161
+ .adm-jumbo-tabs-content {
2162
+ padding: 12px;
2163
+ }
2164
+ .adm-jumbo-tabs-header-mask {
2165
+ position: absolute;
2166
+ top: 0;
2167
+ bottom: 0;
2168
+ z-index: 1;
2169
+ width: 30px;
2170
+ height: 100%;
2171
+ pointer-events: none;
2172
+ }
2173
+ .adm-jumbo-tabs-header-mask-left {
2174
+ left: 0;
2175
+ background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
2176
+ }
2177
+ .adm-jumbo-tabs-header-mask-right {
2178
+ right: 0;
2179
+ background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
2180
+ }
2181
+ .adm-modal {
2182
+ --z-index: var(--adm-modal-z-index, 1000);
2183
+ position: fixed;
2184
+ z-index: var(--z-index);
2185
+ }
2186
+ .adm-modal .adm-modal-mask {
2187
+ z-index: 0;
2188
+ }
2189
+ .adm-modal-wrap {
2190
+ position: fixed;
2191
+ z-index: 1;
2192
+ top: 50%;
2193
+ left: 50%;
2194
+ width: auto;
2195
+ min-width: 280px;
2196
+ max-width: 75vw;
2197
+ transform: translate(-50%, -50%);
2198
+ }
2199
+ .adm-modal-body {
2200
+ width: 100%;
2201
+ max-height: 70vh;
2202
+ box-sizing: border-box;
2203
+ font-size: 14px;
2204
+ background-color: white;
2205
+ border-radius: 8px;
2206
+ overflow: hidden;
2207
+ display: flex;
2208
+ flex-direction: column;
2209
+ }
2210
+ .adm-modal-body > * {
2211
+ flex: none;
2212
+ }
2213
+ .adm-modal-body > .adm-modal-content {
2214
+ flex: auto;
2215
+ }
2216
+ .adm-modal-body:not(.adm-modal-with-image) {
2217
+ padding-top: 20px;
2218
+ }
2219
+ .adm-modal-body .adm-modal-image-container {
2220
+ margin-bottom: 12px;
2221
+ max-height: 40vh;
2222
+ overflow-y: scroll;
2223
+ }
2224
+ .adm-modal-body .adm-modal-header {
2225
+ margin-bottom: 8px;
2226
+ padding: 0 12px;
2227
+ }
2228
+ .adm-modal-body .adm-modal-title {
2229
+ margin-bottom: 8px;
2230
+ padding: 0 12px;
2231
+ font-weight: bold;
2232
+ font-size: 18px;
2233
+ line-height: 25px;
2234
+ text-align: center;
2235
+ }
2236
+ .adm-modal-body .adm-modal-content {
2237
+ padding: 0 12px 12px;
2238
+ max-height: 70vh;
2239
+ overflow-x: hidden;
2240
+ overflow-y: auto;
2241
+ font-size: 15px;
2242
+ line-height: 1.4;
2243
+ color: #333;
2244
+ }
2245
+ .adm-modal-body .adm-modal-close {
2246
+ position: absolute;
2247
+ right: 8px;
2248
+ top: 8px;
2249
+ color: var(--adm-color-weak);
2250
+ padding: 4px;
2251
+ font-size: 18px;
2252
+ }
2253
+ .adm-modal-footer {
2254
+ user-select: none;
2255
+ padding: 8px 12px 12px;
2256
+ }
2257
+ .adm-modal-footer-empty {
2258
+ padding: 0;
2259
+ height: 8px;
2260
+ }
2261
+ .adm-modal-footer.adm-space {
2262
+ --gap-vertical: 20px;
2263
+ }
2264
+ .adm-modal-footer .adm-modal-button {
2265
+ font-size: 18px;
2266
+ line-height: 25px;
2267
+ }
2268
+ .adm-modal-footer .adm-modal-button:not(.adm-modal-button-primary) {
2269
+ padding-top: 0;
2270
+ padding-bottom: 0;
2271
+ }
2272
+ .adm-modal-footer .adm-modal-button:not(.adm-modal-button-primary)::before {
2273
+ display: none;
2274
+ }
2275
+ .adm-modal-footer .adm-modal-button:not(.adm-modal-button-primary):active {
2276
+ opacity: 0.7;
2277
+ }
2278
+ .adm-nav-bar {
2279
+ --height: 45px;
2280
+ --border-bottom: none;
2281
+ display: flex;
2282
+ align-items: center;
2283
+ height: var(--height);
2284
+ border-bottom: var(--border-bottom);
2285
+ padding: 0 12px;
2286
+ white-space: nowrap;
2287
+ }
2288
+ .adm-nav-bar-left,
2289
+ .adm-nav-bar-right {
2290
+ flex: 1;
2291
+ }
2292
+ .adm-nav-bar-title {
2293
+ flex: auto;
2294
+ text-align: center;
2295
+ overflow: hidden;
2296
+ text-overflow: ellipsis;
2297
+ }
2298
+ .adm-nav-bar-back {
2299
+ display: flex;
2300
+ align-items: center;
2301
+ margin-right: 16px;
2302
+ padding: 6px 0;
2303
+ cursor: pointer;
2304
+ }
2305
+ .adm-nav-bar-back-arrow {
2306
+ font-size: 24px;
2307
+ margin-right: 4px;
2308
+ }
2309
+ .adm-nav-bar-left {
2310
+ font-size: 15px;
2311
+ display: flex;
2312
+ justify-content: flex-start;
2313
+ align-items: center;
2314
+ }
2315
+ .adm-nav-bar-title {
2316
+ justify-content: center;
2317
+ white-space: nowrap;
2318
+ font-size: 18px;
2319
+ padding: 0 12px;
2320
+ }
2321
+ .adm-nav-bar-right {
2322
+ text-align: right;
2323
+ }
2324
+ .adm-notice-bar {
2325
+ --background-color: #ababab;
2326
+ --border-color: #999999;
2327
+ --text-color: #ffffff;
2328
+ --font-size: 15px;
2329
+ --icon-font-size: 18px;
2330
+ --height: 38px;
2331
+ height: var(--height);
2332
+ box-sizing: border-box;
2333
+ font-size: var(--font-size);
2334
+ line-height: var(--height);
2335
+ padding: 0 12px;
2336
+ display: flex;
2337
+ align-items: center;
2338
+ justify-content: space-between;
2339
+ border: solid 1px var(--border-color);
2340
+ border-left: none;
2341
+ border-right: none;
2342
+ background-color: var(--background-color);
2343
+ color: var(--text-color);
2344
+ }
2345
+ .adm-notice-bar > span[role='img'] {
2346
+ color: var(--text-color);
2347
+ }
2348
+ .adm-notice-bar.adm-notice-bar-alert {
2349
+ --background-color: #fff9ed;
2350
+ --border-color: #fff3e9;
2351
+ --text-color: #ff6010;
2352
+ }
2353
+ .adm-notice-bar.adm-notice-bar-error {
2354
+ --background-color: #ff3b30;
2355
+ --border-color: #d9281e;
2356
+ --text-color: #ffffff;
2357
+ }
2358
+ .adm-notice-bar.adm-notice-bar-info {
2359
+ --background-color: #d0e4ff;
2360
+ --border-color: #bcd8ff;
2361
+ --text-color: #1677ff;
2362
+ }
2363
+ .adm-notice-bar .adm-notice-bar-left {
2364
+ flex-shrink: 0;
2365
+ margin-right: 8px;
2366
+ font-size: var(--icon-font-size);
2367
+ line-height: var(--height);
2368
+ }
2369
+ .adm-notice-bar .adm-notice-bar-content {
2370
+ flex: 1;
2371
+ overflow: hidden;
2372
+ position: relative;
2373
+ height: 100%;
2374
+ display: flex;
2375
+ align-items: center;
2376
+ }
2377
+ .adm-notice-bar .adm-notice-bar-content .adm-notice-bar-content-inner {
2378
+ width: auto;
2379
+ transition-timing-function: linear;
2380
+ position: absolute;
2381
+ white-space: nowrap;
2382
+ }
2383
+ .adm-notice-bar .adm-notice-bar-right {
2384
+ flex-shrink: 0;
2385
+ margin-left: 12px;
2386
+ }
2387
+ .adm-notice-bar-close-icon {
2388
+ font-size: 18px;
2389
+ }
2390
+ .adm-number-keyboard-main {
2391
+ display: flex;
2392
+ flex-wrap: wrap;
2393
+ flex: 1;
2394
+ }
2395
+ .adm-number-keyboard-main.confirmed-style .sign-key {
2396
+ background-color: var(--adm-color-white);
2397
+ }
2398
+ .adm-number-keyboard-popup.adm-popup {
2399
+ width: 100%;
2400
+ user-select: none;
2401
+ z-index: 1050;
2402
+ }
2403
+ .adm-number-keyboard-popup.adm-popup .adm-popup-body {
2404
+ background-color: #f5f5f5;
2405
+ }
2406
+ .adm-number-keyboard-wrapper {
2407
+ display: flex;
2408
+ }
2409
+ .adm-number-keyboard-header {
2410
+ height: 34px;
2411
+ line-height: 34px;
2412
+ border-top: solid 1px #f5f5f5;
2413
+ display: flex;
2414
+ justify-content: center;
2415
+ align-items: center;
2416
+ padding: 0 12px;
2417
+ color: var(--adm-color-weak);
2418
+ background-color: var(--adm-color-white);
2419
+ }
2420
+ .adm-number-keyboard-header-close-button {
2421
+ padding: 0 12px;
2422
+ font-size: 16px;
2423
+ }
2424
+ .adm-number-keyboard-header.with-title {
2425
+ justify-content: space-between;
2426
+ }
2427
+ .adm-number-keyboard-header.with-title .adm-number-keyboard-header-close-button {
2428
+ padding-right: 0;
2429
+ }
2430
+ .adm-number-keyboard-footer {
2431
+ background: var(--adm-color-white);
2432
+ }
2433
+ .adm-number-keyboard-title {
2434
+ white-space: nowrap;
2435
+ overflow: hidden;
2436
+ text-overflow: ellipsis;
2437
+ }
2438
+ .adm-number-keyboard-confirm {
2439
+ width: 25%;
2440
+ }
2441
+ .adm-number-keyboard-key {
2442
+ flex: 1 33.33%;
2443
+ position: relative;
2444
+ display: flex;
2445
+ align-items: center;
2446
+ justify-content: center;
2447
+ height: 48px;
2448
+ font-size: 22px;
2449
+ box-sizing: border-box;
2450
+ border: solid 1px #f5f5f5;
2451
+ border-bottom: none;
2452
+ border-left: none;
2453
+ }
2454
+ .adm-number-keyboard-key:nth-child(3n),
2455
+ .adm-number-keyboard-key:last-child {
2456
+ border-right: none;
2457
+ }
2458
+ .adm-number-keyboard-key::before {
2459
+ position: absolute;
2460
+ top: 50%;
2461
+ left: 50%;
2462
+ width: 100%;
2463
+ height: 100%;
2464
+ background-color: #000;
2465
+ border: inherit;
2466
+ border-color: #000;
2467
+ border-radius: inherit;
2468
+ transform: translate(-50%, -50%);
2469
+ opacity: 0;
2470
+ content: ' ';
2471
+ box-sizing: content-box;
2472
+ }
2473
+ .adm-number-keyboard-key.mid-key {
2474
+ flex-basis: 66.67%;
2475
+ }
2476
+ .adm-number-keyboard-key.sign-key:active::before {
2477
+ opacity: 0.1;
2478
+ }
2479
+ .adm-number-keyboard-key.extra-key {
2480
+ border-left: solid 1px #f5f5f5;
2481
+ border-right: none;
2482
+ }
2483
+ .adm-number-keyboard-key.extra-key,
2484
+ .adm-number-keyboard-key.number-key {
2485
+ background-color: var(--adm-color-white);
2486
+ }
2487
+ .adm-number-keyboard-key.extra-key:active::before,
2488
+ .adm-number-keyboard-key.number-key:active::before {
2489
+ opacity: 0.1;
2490
+ }
2491
+ .adm-number-keyboard-key.ok-key {
2492
+ background-color: var(--adm-color-primary);
2493
+ color: var(--adm-color-white);
2494
+ height: 144px;
2495
+ font-size: 16px;
2496
+ border: none;
2497
+ }
2498
+ .adm-number-keyboard-bs-key {
2499
+ height: 20px;
2500
+ }
2501
+ .adm-page-indicator {
2502
+ display: flex;
2503
+ width: auto;
2504
+ --dot-color: rgba(0, 0, 0, 0.2);
2505
+ --active-dot-color: var(--adm-color-primary);
2506
+ --dot-size: 3px;
2507
+ --active-dot-size: 13px;
2508
+ --dot-border-radius: 1px;
2509
+ --active-dot-border-radius: var(--dot-border-radius);
2510
+ --dot-spacing: 3px;
2511
+ }
2512
+ .adm-page-indicator-dot {
2513
+ display: block;
2514
+ width: var(--dot-size);
2515
+ height: var(--dot-size);
2516
+ border-radius: var(--dot-border-radius);
2517
+ background: var(--dot-color);
2518
+ }
2519
+ .adm-page-indicator-dot:last-child {
2520
+ margin-right: 0;
2521
+ }
2522
+ .adm-page-indicator-dot-active {
2523
+ border-radius: var(--active-dot-border-radius);
2524
+ background: var(--active-dot-color);
2525
+ }
2526
+ .adm-page-indicator-color-white {
2527
+ --active-dot-color: var(--adm-color-white);
2528
+ }
2529
+ .adm-page-indicator-horizontal {
2530
+ flex-direction: row;
2531
+ }
2532
+ .adm-page-indicator-horizontal .adm-page-indicator-dot {
2533
+ margin-right: var(--dot-spacing);
2534
+ }
2535
+ .adm-page-indicator-horizontal .adm-page-indicator-dot-active {
2536
+ width: var(--active-dot-size);
2537
+ }
2538
+ .adm-page-indicator-vertical {
2539
+ flex-direction: column;
2540
+ }
2541
+ .adm-page-indicator-vertical .adm-page-indicator-dot {
2542
+ margin-bottom: var(--dot-spacing);
2543
+ }
2544
+ .adm-page-indicator-vertical .adm-page-indicator-dot-active {
2545
+ height: var(--active-dot-size);
2546
+ }
2547
+ .adm-passcode-input {
2548
+ position: relative;
2549
+ display: inline-block;
2550
+ --cell-size: 40px;
2551
+ --cell-gap: 6px;
2552
+ --dot-size: 10px;
2553
+ --border-color: #e5e5e5;
2554
+ --border-radius: 8px;
2555
+ }
2556
+ .adm-passcode-input-cell-container {
2557
+ display: inline-flex;
2558
+ vertical-align: top;
2559
+ }
2560
+ .adm-passcode-input-cell {
2561
+ flex: none;
2562
+ display: flex;
2563
+ align-items: center;
2564
+ justify-content: center;
2565
+ box-sizing: border-box;
2566
+ font-size: 18px;
2567
+ width: var(--cell-size);
2568
+ height: var(--cell-size);
2569
+ background: var(--adm-color-white);
2570
+ }
2571
+ .adm-passcode-input:not(.seperated) {
2572
+ border-radius: var(--border-radius);
2573
+ overflow: hidden;
2574
+ border: 1px solid var(--border-color);
2575
+ }
2576
+ .adm-passcode-input:not(.seperated) .adm-passcode-input-cell:not(:last-child) {
2577
+ border-right: 1px solid var(--border-color);
2578
+ }
2579
+ .adm-passcode-input:not(.seperated).focused {
2580
+ border-color: var(--adm-color-primary);
2581
+ box-shadow: 0 0 2px 0 var(--adm-color-primary);
2582
+ outline: none;
2583
+ }
2584
+ .adm-passcode-input:not(.seperated).error {
2585
+ border-color: var(--adm-color-danger);
2586
+ box-shadow: 0 0 2px 0 var(--adm-color-danger);
2587
+ animation: 100ms ease-in-out 0s 3 normal none running adm-shake-horizontal;
2588
+ }
2589
+ .adm-passcode-input.seperated .adm-passcode-input-cell {
2590
+ border-radius: var(--border-radius);
2591
+ border: 1px solid var(--border-color);
2592
+ }
2593
+ .adm-passcode-input.seperated .adm-passcode-input-cell:not(:last-child) {
2594
+ margin-right: var(--cell-gap);
2595
+ }
2596
+ .adm-passcode-input.seperated .adm-passcode-input-cell.focused {
2597
+ border-color: var(--adm-color-primary);
2598
+ box-shadow: 0 0 2px 0 var(--adm-color-primary);
2599
+ }
2600
+ .adm-passcode-input.seperated.focused {
2601
+ outline: none;
2602
+ }
2603
+ .adm-passcode-input.seperated.error {
2604
+ animation: 100ms ease-in-out 0s 3 normal none running adm-shake-horizontal;
2605
+ }
2606
+ .adm-passcode-input.seperated.error .adm-passcode-input-cell {
2607
+ border-color: var(--adm-color-danger);
2608
+ box-shadow: 0 0 2px 0 var(--adm-color-danger);
2609
+ }
2610
+ .adm-passcode-input-cell.dot::before {
2611
+ content: '';
2612
+ width: var(--dot-size);
2613
+ height: var(--dot-size);
2614
+ border-radius: 50%;
2615
+ background: var(--adm-color-text);
2616
+ }
2617
+ .adm-passcode-input-cell.caret::after {
2618
+ content: '';
2619
+ width: 2px;
2620
+ height: 1.1em;
2621
+ margin-left: 1px;
2622
+ background: var(--adm-color-primary);
2623
+ animation: 1s linear infinite adm-caret-blink;
2624
+ }
2625
+ .adm-passcode-input > .adm-passcode-input-native-input {
2626
+ position: absolute;
2627
+ left: -200vw;
2628
+ top: 0;
2629
+ display: block;
2630
+ width: 50px;
2631
+ height: 20px;
2632
+ opacity: 0.5;
2633
+ }
2634
+ @keyframes adm-shake-horizontal {
2635
+ 0% {
2636
+ transform: translateX(0);
2637
+ }
2638
+ 10% {
2639
+ transform: translateX(-4px);
2640
+ }
2641
+ 20% {
2642
+ transform: translateX(5px);
2643
+ }
2644
+ 30% {
2645
+ transform: translateX(-1px);
2646
+ }
2647
+ 40% {
2648
+ transform: translateX(8px);
2649
+ }
2650
+ 50% {
2651
+ transform: translateX(0);
2652
+ }
2653
+ 60% {
2654
+ transform: translateX(-8px);
2655
+ }
2656
+ 70% {
2657
+ transform: translateX(1px);
2658
+ }
2659
+ 80% {
2660
+ transform: translateX(-5px);
2661
+ }
2662
+ 90% {
2663
+ transform: translateX(4px);
2664
+ }
2665
+ 100% {
2666
+ transform: translateX(0);
2667
+ }
2668
+ }
2669
+ @keyframes adm-caret-blink {
2670
+ from {
2671
+ opacity: 1;
2672
+ }
2673
+ 60% {
2674
+ opacity: 1;
2675
+ }
2676
+ 80% {
2677
+ opacity: 0;
2678
+ }
2679
+ to {
2680
+ opacity: 0;
2681
+ }
2682
+ }
2683
+ .adm-progress-bar {
2684
+ --track-width: var(--adm-progress-bar-track-width, 3px);
2685
+ --track-color: var(--adm-progress-bar-track-color, #e5e5e5);
2686
+ --fill-color: var(--adm-progress-bar-fill-color, var(--adm-color-primary));
2687
+ }
2688
+ .adm-progress-bar-trail {
2689
+ background: var(--track-color);
2690
+ overflow: hidden;
2691
+ height: var(--track-width);
2692
+ border-radius: var(--track-width);
2693
+ }
2694
+ .adm-progress-bar-fill {
2695
+ transition: width 0.3s;
2696
+ background: var(--fill-color);
2697
+ height: 100%;
2698
+ border-radius: var(--track-width);
2699
+ }
2700
+ /*进度圈*/
2701
+ .adm-progress-circle {
2702
+ --track-width: var(--adm-progress-circle-track-width, 3px);
2703
+ --size: var(--adm-progress-circle-size, 50px);
2704
+ --track-color: var(--adm-progress-circle-track-color, #e5e5e5);
2705
+ --fill-color: var(--adm-progress-circle-fill-color, var(--adm-color-primary));
2706
+ --percent: 0;
2707
+ --pi: 3.14159265;
2708
+ --radius: calc(var(--size) / 2 - var(--track-width) / 2);
2709
+ --circumference: calc(var(--radius) * var(--pi) * 2);
2710
+ display: inline-block;
2711
+ width: var(--size);
2712
+ height: var(--size);
2713
+ }
2714
+ .adm-progress-circle-svg {
2715
+ width: 100%;
2716
+ height: 100%;
2717
+ }
2718
+ .adm-progress-circle-svg > .adm-progress-circle-track,
2719
+ .adm-progress-circle-svg .adm-progress-circle-fill {
2720
+ stroke-width: var(--track-width);
2721
+ r: var(--radius);
2722
+ cx: calc(var(--size) / 2);
2723
+ cy: calc(var(--size) / 2);
2724
+ transform: rotate(-90deg);
2725
+ transform-origin: 50% 50%;
2726
+ }
2727
+ .adm-progress-circle-svg > .adm-progress-circle-track {
2728
+ stroke: var(--track-color);
2729
+ }
2730
+ .adm-progress-circle-svg > .adm-progress-circle-fill {
2731
+ transition: stroke-dashoffset 0.35s;
2732
+ stroke: var(--fill-color);
2733
+ stroke-dasharray: var(--circumference);
2734
+ stroke-dashoffset: calc(var(--circumference) * (1 - var(--percent) / 100));
2735
+ stroke-linecap: round;
2736
+ }
2737
+ .adm-progress-circle-content {
2738
+ position: relative;
2739
+ margin: auto;
2740
+ width: 100%;
2741
+ height: 100%;
2742
+ }
2743
+ .adm-progress-circle-info {
2744
+ position: absolute;
2745
+ width: 100%;
2746
+ top: 50%;
2747
+ left: 50%;
2748
+ text-align: center;
2749
+ transform: translate(-50%, -50%);
2750
+ }
2751
+ .adm-pull-to-refresh-head {
2752
+ overflow: hidden;
2753
+ position: relative;
2754
+ }
2755
+ .adm-pull-to-refresh-head-content {
2756
+ position: absolute;
2757
+ bottom: 0;
2758
+ left: 0;
2759
+ width: 100%;
2760
+ color: var(--adm-color-weak);
2761
+ display: flex;
2762
+ justify-content: center;
2763
+ align-items: center;
2764
+ }
2765
+ .adm-radio {
2766
+ --icon-size: 22px;
2767
+ --font-size: 17px;
2768
+ --gap: 8px;
2769
+ display: inline-flex;
2770
+ vertical-align: text-bottom;
2771
+ justify-content: flex-start;
2772
+ align-items: center;
2773
+ cursor: pointer;
2774
+ }
2775
+ .adm-radio input {
2776
+ display: none;
2777
+ }
2778
+ .adm-radio .adm-radio-icon {
2779
+ flex: none;
2780
+ border: 1px solid var(--adm-color-light);
2781
+ border-radius: var(--icon-size);
2782
+ box-sizing: border-box;
2783
+ width: var(--icon-size);
2784
+ height: var(--icon-size);
2785
+ color: var(--adm-color-white);
2786
+ }
2787
+ .adm-radio .adm-radio-icon > svg {
2788
+ display: block;
2789
+ width: 100%;
2790
+ height: 100%;
2791
+ }
2792
+ .adm-radio.adm-radio-block {
2793
+ display: flex;
2794
+ }
2795
+ .adm-radio.adm-radio-checked .adm-radio-icon {
2796
+ border-color: var(--adm-color-primary);
2797
+ background-color: var(--adm-color-primary);
2798
+ }
2799
+ .adm-radio.adm-radio-disabled {
2800
+ cursor: not-allowed;
2801
+ }
2802
+ .adm-radio.adm-radio-disabled .adm-radio-content {
2803
+ opacity: 0.4;
2804
+ }
2805
+ .adm-radio.adm-radio-disabled .adm-radio-icon {
2806
+ color: #b7b7b7;
2807
+ border-color: var(--adm-color-light);
2808
+ background-color: #f5f5f5;
2809
+ }
2810
+ .adm-radio .adm-radio-custom-icon {
2811
+ font-size: var(--icon-size);
2812
+ }
2813
+ .adm-radio-content {
2814
+ flex: 0 1 auto;
2815
+ font-size: var(--font-size);
2816
+ padding-left: var(--gap);
2817
+ }
2818
+ .adm-rate {
2819
+ --star-size: 24px;
2820
+ --active-color: #ffd21e;
2821
+ --inactive-color: var(--adm-color-light);
2822
+ display: inline-flex;
2823
+ }
2824
+ .adm-rate-box {
2825
+ position: relative;
2826
+ }
2827
+ .adm-rate-star {
2828
+ padding: calc(var(--star-size) / 8);
2829
+ line-height: var(--star-size);
2830
+ font-size: var(--star-size);
2831
+ color: var(--inactive-color);
2832
+ text-align: center;
2833
+ overflow: hidden;
2834
+ cursor: pointer;
2835
+ box-sizing: border-box;
2836
+ }
2837
+ .adm-rate-star-half {
2838
+ padding-right: 0;
2839
+ width: 50%;
2840
+ position: absolute;
2841
+ left: 0;
2842
+ top: 0;
2843
+ }
2844
+ .adm-rate-star-active {
2845
+ color: var(--active-color);
2846
+ }
2847
+ .adm-rate-star-readonly {
2848
+ cursor: unset;
2849
+ }
2850
+ .adm-result {
2851
+ padding: 32px 12px;
2852
+ background-color: var(--adm-color-white);
2853
+ }
2854
+ .adm-result-icon {
2855
+ box-sizing: border-box;
2856
+ width: 64px;
2857
+ height: 64px;
2858
+ margin: 0 auto 20px auto;
2859
+ padding: 6px;
2860
+ }
2861
+ .adm-result-icon .antd-mobile-icon {
2862
+ font-size: 52px;
2863
+ }
2864
+ .adm-result-title {
2865
+ color: var(--adm-color-text);
2866
+ font-size: 18px;
2867
+ line-height: 1.4;
2868
+ text-align: center;
2869
+ }
2870
+ .adm-result-description {
2871
+ margin-top: 8px;
2872
+ color: var(--adm-color-weak);
2873
+ font-size: 13px;
2874
+ line-height: 1.4;
2875
+ text-align: center;
2876
+ }
2877
+ .adm-result-success .adm-result-icon .antd-mobile-icon {
2878
+ color: var(--adm-color-primary);
2879
+ }
2880
+ .adm-result-error .adm-result-icon .antd-mobile-icon {
2881
+ color: var(--adm-color-danger);
2882
+ }
2883
+ .adm-result-info .adm-result-icon .antd-mobile-icon {
2884
+ color: var(--adm-color-primary);
2885
+ }
2886
+ .adm-result-waiting .adm-result-icon .antd-mobile-icon {
2887
+ color: var(--adm-color-success);
2888
+ }
2889
+ .adm-result-warning .adm-result-icon .antd-mobile-icon {
2890
+ color: var(--adm-color-warning);
2891
+ }
2892
+ .adm-search-bar {
2893
+ --height: 32px;
2894
+ --padding-left: 8px;
2895
+ --background: #f5f5f5;
2896
+ --border-radius: 6px;
2897
+ --placeholder-color: var(--adm-color-weak);
2898
+ ---placeholder-color: var(--placeholder-color);
2899
+ display: flex;
2900
+ justify-content: center;
2901
+ align-items: center;
2902
+ height: var(--height);
2903
+ }
2904
+ .adm-search-bar .adm-search-bar-input-box {
2905
+ flex: auto;
2906
+ background: var(--background);
2907
+ border-radius: var(--border-radius);
2908
+ border: solid 1px transparent;
2909
+ display: flex;
2910
+ justify-content: center;
2911
+ align-items: center;
2912
+ padding-left: var(--padding-left);
2913
+ }
2914
+ .adm-search-bar .adm-search-bar-input-box .adm-search-bar-input-box-icon {
2915
+ flex: none;
2916
+ color: var(--adm-color-light);
2917
+ font-size: 16px;
2918
+ }
2919
+ .adm-search-bar .adm-search-bar-input-box .adm-search-bar-input {
2920
+ flex: auto;
2921
+ padding: 4px 8px 4px 4px;
2922
+ height: calc(var(--height) - 2px);
2923
+ box-sizing: border-box;
2924
+ }
2925
+ .adm-search-bar .adm-search-bar-input-box .adm-search-bar-input.adm-input {
2926
+ --placeholder-color: var(---placeholder-color);
2927
+ --font-size: 15px;
2928
+ }
2929
+ .adm-search-bar .adm-search-bar-input-box .adm-search-bar-input .adm-input-element {
2930
+ line-height: 19px;
2931
+ }
2932
+ .adm-search-bar .adm-search-bar-input-box .adm-search-bar-input.adm-search-bar-input-without-icon {
2933
+ padding-left: 8px;
2934
+ }
2935
+ .adm-search-bar .adm-search-bar-suffix {
2936
+ flex: none;
2937
+ margin-left: 4px;
2938
+ }
2939
+ .adm-search-bar .adm-search-bar-cancel-button.adm-button {
2940
+ padding: 3px 12px;
2941
+ }
2942
+ .adm-search-bar-active .adm-input.adm-input.adm-input {
2943
+ --placeholder-color: var(--adm-color-light);
2944
+ }
2945
+ .adm-search-bar-active .adm-search-bar-input-box {
2946
+ border-color: var(--adm-color-primary);
2947
+ background: var(--adm-color-white);
2948
+ }
2949
+ .adm-selector {
2950
+ --color: #f5f5f5;
2951
+ --checked-color: #e7f1ff;
2952
+ --text-color: var(--adm-color-text);
2953
+ --checked-text-color: var(--adm-color-primary);
2954
+ --border: none;
2955
+ --checked-border: none;
2956
+ --border-radius: 2px;
2957
+ --padding: 8px 16px;
2958
+ overflow: hidden;
2959
+ font-size: 15px;
2960
+ line-height: 1.4;
2961
+ }
2962
+ .adm-selector .adm-space.adm-space {
2963
+ --gap: 12px;
2964
+ }
2965
+ .adm-selector-item {
2966
+ padding: var(--padding);
2967
+ position: relative;
2968
+ background-color: var(--color);
2969
+ border: var(--border);
2970
+ border-radius: var(--border-radius);
2971
+ color: var(--text-color);
2972
+ opacity: 1;
2973
+ cursor: pointer;
2974
+ display: inline-block;
2975
+ text-align: center;
2976
+ overflow: hidden;
2977
+ vertical-align: top;
2978
+ }
2979
+ .adm-selector-item-description {
2980
+ font-size: 13px;
2981
+ color: var(--adm-color-weak);
2982
+ }
2983
+ .adm-selector-item-active,
2984
+ .adm-selector-item-multiple-active {
2985
+ color: var(--checked-text-color);
2986
+ background-color: var(--checked-color);
2987
+ border: var(--checked-border);
2988
+ }
2989
+ .adm-selector-item .adm-selector-check-mark-wrapper {
2990
+ position: absolute;
2991
+ right: 0;
2992
+ bottom: 0;
2993
+ width: 0;
2994
+ height: 0;
2995
+ border-top: solid 8px transparent;
2996
+ border-bottom: solid 8px var(--adm-color-primary);
2997
+ border-left: solid 10px transparent;
2998
+ border-right: solid 10px var(--adm-color-primary);
2999
+ }
3000
+ .adm-selector-item .adm-selector-check-mark-wrapper > svg {
3001
+ position: absolute;
3002
+ left: 0;
3003
+ top: 0;
3004
+ height: 6px;
3005
+ width: 8px;
3006
+ }
3007
+ .adm-selector-item-disabled {
3008
+ cursor: not-allowed;
3009
+ opacity: 0.4;
3010
+ }
3011
+ .adm-side-bar {
3012
+ --height: 100%;
3013
+ --width: 105px;
3014
+ --item-border-radius: 8px;
3015
+ --background-color: #f5f5f5;
3016
+ width: var(--width);
3017
+ height: var(--height);
3018
+ box-sizing: border-box;
3019
+ font-size: 13px;
3020
+ overflow-y: auto;
3021
+ transform: translateZ(0);
3022
+ -webkit-transform: translateZ(0);
3023
+ background-color: var(--background-color);
3024
+ display: flex;
3025
+ flex-direction: column;
3026
+ }
3027
+ .adm-side-bar-items {
3028
+ flex: none;
3029
+ overflow: hidden;
3030
+ }
3031
+ .adm-side-bar-extra-space {
3032
+ flex: auto;
3033
+ overflow: hidden;
3034
+ position: relative;
3035
+ }
3036
+ .adm-side-bar-item {
3037
+ display: flex;
3038
+ align-items: center;
3039
+ box-sizing: border-box;
3040
+ padding: 16px 12px;
3041
+ position: relative;
3042
+ cursor: pointer;
3043
+ background-color: var(--background-color);
3044
+ overflow: visible;
3045
+ }
3046
+ .adm-side-bar-item-highlight {
3047
+ position: absolute;
3048
+ height: 100%;
3049
+ width: 2px;
3050
+ left: -12px;
3051
+ top: 0;
3052
+ background: var(--adm-color-primary);
3053
+ border-radius: 2px;
3054
+ }
3055
+ .adm-side-bar-item-active {
3056
+ color: var(--adm-color-primary);
3057
+ background-color: var(--adm-color-white);
3058
+ position: relative;
3059
+ }
3060
+ .adm-side-bar-item-corner {
3061
+ width: var(--item-border-radius);
3062
+ height: var(--item-border-radius);
3063
+ position: absolute;
3064
+ z-index: 100;
3065
+ right: 0;
3066
+ user-select: none;
3067
+ pointer-events: none;
3068
+ }
3069
+ .adm-side-bar-item-corner-top {
3070
+ top: 0;
3071
+ transform: rotate(-90deg);
3072
+ }
3073
+ .adm-side-bar-item-corner-bottom {
3074
+ bottom: 0;
3075
+ }
3076
+ .adm-side-bar-item-disabled {
3077
+ cursor: not-allowed;
3078
+ }
3079
+ .adm-side-bar-item-disabled .adm-side-bar-item-title {
3080
+ opacity: 0.4;
3081
+ }
3082
+ .adm-side-bar-badge.adm-badge {
3083
+ --right: -4px;
3084
+ }
3085
+ .adm-slider {
3086
+ --fill-color: var(--adm-color-primary);
3087
+ padding: 4px 12px;
3088
+ list-style: none;
3089
+ user-select: none;
3090
+ }
3091
+ .adm-slider-track-container {
3092
+ padding: 8px 0;
3093
+ }
3094
+ .adm-slider-track {
3095
+ position: relative;
3096
+ width: 100%;
3097
+ height: 4px;
3098
+ background-color: #f5f5f5;
3099
+ }
3100
+ .adm-slider-fill {
3101
+ position: absolute;
3102
+ z-index: 1;
3103
+ height: 4px;
3104
+ background-color: var(--fill-color);
3105
+ }
3106
+ .adm-slider-ticks {
3107
+ position: absolute;
3108
+ width: 100%;
3109
+ height: 4px;
3110
+ background: transparent;
3111
+ }
3112
+ .adm-slider-tick {
3113
+ position: absolute;
3114
+ top: 50%;
3115
+ width: 11px;
3116
+ height: 11px;
3117
+ margin-left: -5px;
3118
+ background-color: #f5f5f5;
3119
+ border-radius: 50%;
3120
+ transform: translate(0, -50%);
3121
+ }
3122
+ .adm-slider-tick-active {
3123
+ background-color: var(--fill-color);
3124
+ }
3125
+ .adm-slider-thumb {
3126
+ width: 22px;
3127
+ height: 22px;
3128
+ margin: 5px;
3129
+ border-radius: 50%;
3130
+ text-align: center;
3131
+ line-height: 22px;
3132
+ background: var(--adm-color-white);
3133
+ box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.12), 0 1.5px 3px -2px rgba(0, 0, 0, 0.25);
3134
+ }
3135
+ .adm-slider-thumb:focus {
3136
+ outline: none;
3137
+ }
3138
+ .adm-slider-thumb-icon {
3139
+ width: 10px;
3140
+ height: 10px;
3141
+ margin: 6px;
3142
+ user-select: none;
3143
+ }
3144
+ .adm-slider-thumb-container {
3145
+ cursor: grab;
3146
+ touch-action: none;
3147
+ position: absolute;
3148
+ z-index: 2;
3149
+ width: 32px;
3150
+ height: 32px;
3151
+ border-radius: 50%;
3152
+ top: 50%;
3153
+ transform: translate(-50%, -50%);
3154
+ }
3155
+ .adm-slider-mark {
3156
+ position: relative;
3157
+ width: 100%;
3158
+ overflow: visible;
3159
+ font-size: 12px;
3160
+ height: 12px;
3161
+ margin-top: 4px;
3162
+ }
3163
+ .adm-slider-mark-text {
3164
+ position: absolute;
3165
+ display: inline-block;
3166
+ line-height: 16px;
3167
+ color: #999;
3168
+ text-align: center;
3169
+ word-break: keep-all;
3170
+ user-select: none;
3171
+ transform: translateX(-50%);
3172
+ }
3173
+ .adm-slider-disabled {
3174
+ opacity: 0.4;
3175
+ }
3176
+ .adm-slider-disabled .adm-slider-thumb {
3177
+ cursor: not-allowed;
3178
+ }
3179
+ .adm-slider-disabled .adm-slider-mark-text,
3180
+ .adm-slider-disabled .adm-slider-tick {
3181
+ cursor: not-allowed;
3182
+ box-shadow: none;
3183
+ }
3184
+ .adm-stepper {
3185
+ --height: 28px;
3186
+ --input-width: 44px;
3187
+ --input-font-size: var(--adm-font-size-main);
3188
+ --input-font-color: var(--adm-color-text);
3189
+ --input-background-color: #f5f5f5;
3190
+ --border-radius: 2px;
3191
+ --border: none;
3192
+ --border-inner: solid 2px transparent;
3193
+ --active-border: var(--border);
3194
+ --button-font-size: 15px;
3195
+ --button-text-color: var(--adm-color-primary);
3196
+ --button-background-color: #f5f5f5;
3197
+ --button-width: var(--height);
3198
+ display: flex;
3199
+ align-items: center;
3200
+ box-sizing: border-box;
3201
+ position: relative;
3202
+ overflow: hidden;
3203
+ width: calc(var(--input-width) + 2 * var(--button-width));
3204
+ border: var(--border);
3205
+ border-radius: var(--border-radius);
3206
+ }
3207
+ .adm-stepper-active {
3208
+ border: var(--active-border);
3209
+ }
3210
+ .adm-stepper-middle {
3211
+ flex: 1;
3212
+ border-left: var(--border-inner);
3213
+ border-right: var(--border-inner);
3214
+ }
3215
+ .adm-stepper .adm-stepper-input {
3216
+ height: var(--height);
3217
+ --background-color: var(--input-background-color);
3218
+ --font-size: var(--input-font-size);
3219
+ --color: var(--input-font-color);
3220
+ --text-align: center;
3221
+ }
3222
+ .adm-stepper-minus,
3223
+ .adm-stepper-plus {
3224
+ width: var(--button-width);
3225
+ height: var(--height);
3226
+ padding: 0;
3227
+ color: var(--button-text-color);
3228
+ background-color: var(--button-background-color);
3229
+ font-size: var(--button-font-size);
3230
+ --border-width: 0;
3231
+ }
3232
+ .adm-stepper-minus:disabled,
3233
+ .adm-stepper-plus:disabled {
3234
+ color: var(--adm-color-weak);
3235
+ }
3236
+ .adm-stepper-minus svg,
3237
+ .adm-stepper-plus svg {
3238
+ position: absolute;
3239
+ top: 50%;
3240
+ left: 50%;
3241
+ transform: translate(-50%, -50%);
3242
+ }
3243
+ .adm-stepper-minus {
3244
+ border-radius: 0;
3245
+ }
3246
+ .adm-stepper-plus {
3247
+ border-radius: 0;
3248
+ }
3249
+ .adm-step {
3250
+ --line-to-next-color: #e5e5e5;
3251
+ --icon-color: #e5e5e5;
3252
+ }
3253
+ .adm-step .adm-step-indicator {
3254
+ position: relative;
3255
+ }
3256
+ .adm-step .adm-step-indicator::after {
3257
+ content: '';
3258
+ position: absolute;
3259
+ z-index: 0;
3260
+ background-color: var(--line-to-next-color);
3261
+ }
3262
+ .adm-step .adm-step-indicator .adm-step-icon-container {
3263
+ position: absolute;
3264
+ z-index: 1;
3265
+ background: var(--adm-color-white);
3266
+ color: var(--icon-color);
3267
+ }
3268
+ .adm-step .adm-step-indicator .adm-step-icon-container > .antd-mobile-icon {
3269
+ display: block;
3270
+ }
3271
+ .adm-step:last-child .adm-step-indicator::after {
3272
+ display: none;
3273
+ }
3274
+ .adm-step-status-finish {
3275
+ --line-to-next-color: var(--adm-color-primary);
3276
+ }
3277
+ .adm-step-status-wait {
3278
+ --icon-color: #e5e5e5;
3279
+ }
3280
+ .adm-step-status-wait .adm-step-title {
3281
+ color: var(--adm-color-weak);
3282
+ }
3283
+ .adm-step-status-process {
3284
+ --icon-color: var(--adm-color-primary);
3285
+ }
3286
+ .adm-step-status-process .adm-step-title {
3287
+ color: var(--adm-color-primary);
3288
+ }
3289
+ .adm-step-status-finish {
3290
+ --icon-color: var(--adm-color-primary);
3291
+ }
3292
+ .adm-step-status-error {
3293
+ --icon-color: var(--adm-color-danger);
3294
+ }
3295
+ .adm-step-status-error .adm-step-title {
3296
+ color: var(--adm-color-danger);
3297
+ }
3298
+ .adm-steps {
3299
+ --title-font-size: 13px;
3300
+ --description-font-size: 12px;
3301
+ --indicator-margin-right: 0;
3302
+ --icon-size: 18px;
3303
+ width: 100%;
3304
+ box-sizing: border-box;
3305
+ }
3306
+ .adm-steps-horizontal {
3307
+ display: flex;
3308
+ justify-content: space-around;
3309
+ padding: 8px 0;
3310
+ }
3311
+ .adm-steps-horizontal .adm-step {
3312
+ flex: 1;
3313
+ }
3314
+ .adm-steps-horizontal .adm-step .adm-step-indicator {
3315
+ width: 100%;
3316
+ height: 24px;
3317
+ }
3318
+ .adm-steps-horizontal .adm-step .adm-step-indicator::after {
3319
+ left: 50%;
3320
+ top: 50%;
3321
+ height: 1px;
3322
+ transform: translateY(-50%);
3323
+ width: 100%;
3324
+ }
3325
+ .adm-steps-horizontal .adm-step .adm-step-indicator .adm-step-icon-container {
3326
+ left: 50%;
3327
+ top: 50%;
3328
+ transform: translate(-50%, -50%);
3329
+ }
3330
+ .adm-steps-horizontal .adm-step-content {
3331
+ text-align: center;
3332
+ font-size: var(--description-font-size);
3333
+ padding: 2px 8px 0;
3334
+ }
3335
+ .adm-steps-horizontal .adm-step-content .adm-step-title {
3336
+ font-size: var(--title-font-size);
3337
+ }
3338
+ .adm-steps-horizontal .adm-step-content .adm-step-description {
3339
+ margin-top: 4px;
3340
+ color: var(--adm-color-weak);
3341
+ }
3342
+ .adm-steps-vertical {
3343
+ padding: 8px 16px;
3344
+ }
3345
+ .adm-steps-vertical .adm-step {
3346
+ display: flex;
3347
+ align-items: stretch;
3348
+ }
3349
+ .adm-steps-vertical .adm-step .adm-step-indicator {
3350
+ flex: none;
3351
+ width: 24px;
3352
+ margin-right: var(--indicator-margin-right);
3353
+ }
3354
+ .adm-steps-vertical .adm-step .adm-step-indicator::after {
3355
+ left: 50%;
3356
+ top: calc(var(--title-font-size) * 1.5 / 2);
3357
+ width: 1px;
3358
+ transform: translateX(-50%);
3359
+ height: 100%;
3360
+ }
3361
+ .adm-steps-vertical .adm-step .adm-step-indicator .adm-step-icon-container {
3362
+ top: calc(var(--title-font-size) * 1.5 / 2);
3363
+ left: 50%;
3364
+ transform: translate(-50%, -50%);
3365
+ }
3366
+ .adm-steps-vertical .adm-step:last-child .adm-step-content {
3367
+ padding-bottom: 0;
3368
+ }
3369
+ .adm-steps-vertical .adm-step .adm-step-content {
3370
+ flex: auto;
3371
+ padding-bottom: 24px;
3372
+ }
3373
+ .adm-steps-vertical .adm-step .adm-step-content .adm-step-title {
3374
+ font-size: var(--title-font-size);
3375
+ line-height: 1.5;
3376
+ }
3377
+ .adm-steps-vertical .adm-step .adm-step-content .adm-step-description {
3378
+ padding-top: 4px;
3379
+ font-size: var(--description-font-size);
3380
+ color: var(--adm-color-weak);
3381
+ }
3382
+ .adm-step-icon-container {
3383
+ font-size: var(--icon-size);
3384
+ }
3385
+ .adm-step-icon-dot {
3386
+ display: block;
3387
+ width: 8px;
3388
+ height: 8px;
3389
+ background: currentColor;
3390
+ border-radius: 4px;
3391
+ }
3392
+ .adm-swipe-action {
3393
+ --background: #ffffff;
3394
+ background: var(--background);
3395
+ cursor: grab;
3396
+ overflow: hidden;
3397
+ touch-action: pan-y;
3398
+ }
3399
+ .adm-swipe-action-track {
3400
+ position: relative;
3401
+ overflow: visible;
3402
+ }
3403
+ .adm-swipe-action-actions {
3404
+ position: absolute;
3405
+ display: flex;
3406
+ justify-content: center;
3407
+ align-items: stretch;
3408
+ width: auto;
3409
+ white-space: nowrap;
3410
+ }
3411
+ .adm-swipe-action-actions-right {
3412
+ left: 100%;
3413
+ top: 0;
3414
+ height: 100%;
3415
+ }
3416
+ .adm-swipe-action-actions-left {
3417
+ right: 100%;
3418
+ top: 0;
3419
+ height: 100%;
3420
+ }
3421
+ .adm-swipe-action-action-button.adm-button {
3422
+ --border-radius: 0;
3423
+ --border-width: 0;
3424
+ --text-color: var(--adm-color-white);
3425
+ padding-left: 20px;
3426
+ padding-right: 20px;
3427
+ }
3428
+ .adm-swiper {
3429
+ --height: auto;
3430
+ --width: 100%;
3431
+ --border-radius: 0;
3432
+ --track-padding: 0;
3433
+ --slide-size: 100%;
3434
+ --track-offset: 0%;
3435
+ display: block;
3436
+ width: var(--width);
3437
+ height: var(--height);
3438
+ position: relative;
3439
+ border-radius: var(--border-radius);
3440
+ z-index: 0;
3441
+ overflow: hidden;
3442
+ }
3443
+ .adm-swiper-track {
3444
+ width: 100%;
3445
+ height: 100%;
3446
+ white-space: nowrap;
3447
+ padding: var(--track-padding);
3448
+ }
3449
+ .adm-swiper-track-allow-touch-move {
3450
+ cursor: grab;
3451
+ }
3452
+ .adm-swiper-track-inner {
3453
+ width: 100%;
3454
+ height: 100%;
3455
+ overflow: visible;
3456
+ position: relative;
3457
+ display: flex;
3458
+ flex-wrap: nowrap;
3459
+ }
3460
+ .adm-swiper-slide {
3461
+ width: 100%;
3462
+ height: 100%;
3463
+ display: block;
3464
+ position: relative;
3465
+ white-space: unset;
3466
+ flex: none;
3467
+ }
3468
+ .adm-swiper-item {
3469
+ display: block;
3470
+ width: 100%;
3471
+ height: 100%;
3472
+ white-space: normal;
3473
+ }
3474
+ .adm-swiper-horizontal .adm-swiper-track-allow-touch-move {
3475
+ touch-action: pan-y;
3476
+ }
3477
+ .adm-swiper-horizontal .adm-swiper-indicator {
3478
+ position: absolute;
3479
+ bottom: 6px;
3480
+ left: 50%;
3481
+ transform: translateX(-50%);
3482
+ }
3483
+ .adm-swiper-horizontal .adm-swiper-track {
3484
+ transform: translateX(var(--track-offset));
3485
+ }
3486
+ .adm-swiper-horizontal .adm-swiper-track-inner {
3487
+ flex-direction: row;
3488
+ width: var(--slide-size);
3489
+ }
3490
+ .adm-swiper-vertical .adm-swiper-track-allow-touch-move {
3491
+ touch-action: pan-x;
3492
+ }
3493
+ .adm-swiper-vertical .adm-swiper-indicator {
3494
+ position: absolute;
3495
+ right: 6px;
3496
+ top: 50%;
3497
+ transform: translateY(-50%);
3498
+ }
3499
+ .adm-swiper-vertical .adm-swiper-track {
3500
+ transform: translateY(var(--track-offset));
3501
+ }
3502
+ .adm-swiper-vertical .adm-swiper-track-inner {
3503
+ flex-direction: column;
3504
+ height: var(--slide-size);
3505
+ }
3506
+ @keyframes loading-rotate {
3507
+ 100% {
3508
+ transform: rotate(1turn);
3509
+ }
3510
+ }
3511
+ .adm-switch {
3512
+ --checked-color: var(--adm-color-primary);
3513
+ --height: 31px;
3514
+ --width: 51px;
3515
+ --border-width: 2px;
3516
+ display: inline-block;
3517
+ vertical-align: middle;
3518
+ box-sizing: border-box;
3519
+ position: relative;
3520
+ align-self: center;
3521
+ cursor: pointer;
3522
+ /* 选中状态 */
3523
+ /* 禁用状态 */
3524
+ /* loading图标 */
3525
+ }
3526
+ .adm-switch input {
3527
+ display: none;
3528
+ }
3529
+ .adm-switch-checkbox {
3530
+ min-width: var(--width);
3531
+ height: var(--height);
3532
+ box-sizing: border-box;
3533
+ border-radius: 31px;
3534
+ background: #e5e5e5;
3535
+ z-index: 0;
3536
+ overflow: hidden;
3537
+ line-height: var(--height);
3538
+ }
3539
+ .adm-switch-checkbox:before {
3540
+ content: ' ';
3541
+ position: absolute;
3542
+ left: var(--border-width);
3543
+ top: var(--border-width);
3544
+ width: calc(100% - 2 * var(--border-width));
3545
+ height: calc(var(--height) - 2 * var(--border-width));
3546
+ border-radius: calc(var(--height) - 2 * var(--border-width));
3547
+ box-sizing: border-box;
3548
+ background: #fff;
3549
+ z-index: 1;
3550
+ transition: all 200ms;
3551
+ transform: scale(1);
3552
+ }
3553
+ .adm-switch-handle {
3554
+ display: flex;
3555
+ justify-content: center;
3556
+ align-items: center;
3557
+ width: calc(var(--height) - 2 * var(--border-width));
3558
+ height: calc(var(--height) - 2 * var(--border-width));
3559
+ border-radius: calc(var(--height) - 2 * var(--border-width));
3560
+ background: #fff;
3561
+ position: absolute;
3562
+ z-index: 2;
3563
+ top: var(--border-width);
3564
+ left: var(--border-width);
3565
+ transition: all 200ms;
3566
+ box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.2), 0 2px 11.5px 0 rgba(0, 0, 0, 0.08), -1px 2px 2px 0 rgba(0, 0, 0, 0.1);
3567
+ }
3568
+ .adm-switch-inner {
3569
+ position: relative;
3570
+ z-index: 1;
3571
+ display: flex;
3572
+ justify-content: center;
3573
+ align-items: center;
3574
+ margin: 0 8px 0 calc(var(--height) - var(--border-width) + 4px);
3575
+ height: 100%;
3576
+ color: var(--adm-color-weak);
3577
+ transition: margin 200ms;
3578
+ font-size: 15px;
3579
+ }
3580
+ .adm-switch.adm-switch-checked .adm-switch-checkbox {
3581
+ background: var(--checked-color);
3582
+ }
3583
+ .adm-switch.adm-switch-checked .adm-switch-checkbox:before {
3584
+ transform: scale(0);
3585
+ }
3586
+ .adm-switch.adm-switch-checked .adm-switch-handle {
3587
+ left: calc(100% - (var(--height) - var(--border-width)));
3588
+ }
3589
+ .adm-switch.adm-switch-checked .adm-switch-inner {
3590
+ margin: 0 calc(var(--height) - var(--border-width) + 5px) 0 10px;
3591
+ color: var(--adm-color-white);
3592
+ }
3593
+ .adm-switch.adm-switch-disabled {
3594
+ cursor: not-allowed;
3595
+ opacity: 0.4;
3596
+ }
3597
+ .adm-switch-spin-icon {
3598
+ width: 14px;
3599
+ height: 14px;
3600
+ animation: loading-rotate 1s linear infinite;
3601
+ }
3602
+ .adm-tab-bar-wrap {
3603
+ display: flex;
3604
+ flex-wrap: nowrap;
3605
+ justify-content: flex-start;
3606
+ align-items: stretch;
3607
+ overflow: hidden;
3608
+ min-height: 50px;
3609
+ }
3610
+ .adm-tab-bar-item {
3611
+ flex: 1;
3612
+ color: var(--adm-color-weak);
3613
+ white-space: nowrap;
3614
+ padding: 4px 8px;
3615
+ width: min-content;
3616
+ position: relative;
3617
+ cursor: pointer;
3618
+ display: flex;
3619
+ align-items: center;
3620
+ justify-content: center;
3621
+ flex-direction: column;
3622
+ }
3623
+ .adm-tab-bar-item-icon {
3624
+ font-size: 20px;
3625
+ height: 22px;
3626
+ line-height: 1;
3627
+ margin: 4px 0 1px;
3628
+ }
3629
+ .adm-tab-bar-item-title {
3630
+ font-size: 11px;
3631
+ line-height: 15px;
3632
+ }
3633
+ .adm-tab-bar-item-active {
3634
+ color: var(--adm-color-primary);
3635
+ }
3636
+ .adm-tab-bar-icon-badge {
3637
+ --top: 6px;
3638
+ }
3639
+ .adm-tab-bar-title-badge {
3640
+ --right: -2px;
3641
+ --top: -2px;
3642
+ }
3643
+ .adm-tag {
3644
+ --border-radius: var(--adm-tag-border-radius, 2px);
3645
+ padding: 2px 4px;
3646
+ font-size: 11px;
3647
+ line-height: 1;
3648
+ font-weight: normal;
3649
+ background: var(--background-color);
3650
+ color: var(--text-color);
3651
+ display: inline-block;
3652
+ white-space: nowrap;
3653
+ border-radius: var(--border-radius);
3654
+ border: 1px solid var(--border-color);
3655
+ box-sizing: border-box;
3656
+ }
3657
+ .adm-tag-round {
3658
+ border-radius: 100px;
3659
+ }
3660
+ .adm-text-area {
3661
+ --font-size: 17px;
3662
+ --color: var(--adm-color-text);
3663
+ --placeholder-color: var(--adm-color-light);
3664
+ --disabled-color: var(--adm-color-weak);
3665
+ --text-align: left;
3666
+ --count-text-align: right;
3667
+ width: 100%;
3668
+ max-width: 100%;
3669
+ max-height: 100%;
3670
+ }
3671
+ .adm-text-area-element {
3672
+ font-family: var(--adm-font-family);
3673
+ resize: none;
3674
+ flex: auto;
3675
+ display: block;
3676
+ box-sizing: border-box;
3677
+ width: 100%;
3678
+ max-width: 100%;
3679
+ max-height: 100%;
3680
+ padding: 0;
3681
+ margin: 0;
3682
+ color: var(--color);
3683
+ font-size: var(--font-size);
3684
+ line-height: 1.5;
3685
+ background: transparent;
3686
+ border: 0;
3687
+ outline: none;
3688
+ appearance: none;
3689
+ min-height: 1.5em;
3690
+ text-align: var(--text-align);
3691
+ }
3692
+ .adm-text-area-element::placeholder {
3693
+ color: var(--placeholder-color);
3694
+ font-family: inherit;
3695
+ }
3696
+ .adm-text-area-element:-webkit-autofill {
3697
+ background-color: transparent;
3698
+ }
3699
+ .adm-text-area-element:disabled {
3700
+ color: var(--disabled-color);
3701
+ cursor: not-allowed;
3702
+ opacity: 1;
3703
+ -webkit-text-fill-color: var(--disabled-color);
3704
+ }
3705
+ .adm-text-area-element:read-only {
3706
+ cursor: default;
3707
+ }
3708
+ .adm-text-area-element:invalid {
3709
+ box-shadow: none;
3710
+ }
3711
+ .adm-text-area-element::-ms-clear {
3712
+ display: none;
3713
+ }
3714
+ .adm-text-area-element[readonly] {
3715
+ pointer-events: none;
3716
+ }
3717
+ .adm-text-area-count {
3718
+ text-align: var(--count-text-align);
3719
+ color: var(--adm-color-weak);
3720
+ font-size: 17px;
3721
+ padding-top: 8px;
3722
+ }
3723
+ .adm-toast-mask .adm-toast-wrap {
3724
+ position: fixed;
3725
+ top: 0;
3726
+ left: 0;
3727
+ width: 100%;
3728
+ height: 100%;
3729
+ }
3730
+ .adm-toast-mask .adm-toast-main {
3731
+ display: inline-block;
3732
+ position: relative;
3733
+ top: 50%;
3734
+ left: 50%;
3735
+ transform: translate(-50%, -50%);
3736
+ width: auto;
3737
+ min-width: 96px;
3738
+ max-width: 70%;
3739
+ max-height: 70%;
3740
+ overflow: auto;
3741
+ color: white;
3742
+ word-break: break-all;
3743
+ background-color: rgba(0, 0, 0, 0.7);
3744
+ border-radius: 8px;
3745
+ pointer-events: all;
3746
+ font-size: 15px;
3747
+ line-height: 1.5;
3748
+ box-sizing: border-box;
3749
+ }
3750
+ .adm-toast-mask .adm-toast-main-text {
3751
+ padding: 12px;
3752
+ }
3753
+ .adm-toast-mask .adm-toast-main-icon {
3754
+ padding: 35px 40px;
3755
+ }
3756
+ .adm-toast-mask .adm-toast-main-icon .adm-toast-icon {
3757
+ text-align: center;
3758
+ margin-bottom: 8px;
3759
+ font-size: 36px;
3760
+ line-height: 1;
3761
+ }
3762
+ .adm-toast-loading {
3763
+ --size: 48px;
3764
+ margin: 0 auto 8px;
3765
+ }
3766
+ .adm-tree-select,
3767
+ .adm-tree-select-multiple {
3768
+ display: flex;
3769
+ height: 100%;
3770
+ font-size: var(--adm-font-size-main);
3771
+ background-color: var(--adm-color-white);
3772
+ }
3773
+ .adm-tree-select-column,
3774
+ .adm-tree-select-multiple-column {
3775
+ overflow-y: auto;
3776
+ transform: translateZ(0);
3777
+ -webkit-transform: translateZ(0);
3778
+ }
3779
+ .adm-tree-select-column:first-child,
3780
+ .adm-tree-select-multiple-column:first-child {
3781
+ background-color: #f5f5f5;
3782
+ }
3783
+ .adm-tree-select-column:nth-child(2),
3784
+ .adm-tree-select-multiple-column:nth-child(2) {
3785
+ background-color: #fafafa;
3786
+ }
3787
+ .adm-tree-select-item,
3788
+ .adm-tree-select-multiple-item {
3789
+ display: flex;
3790
+ align-items: center;
3791
+ min-height: 50px;
3792
+ box-sizing: border-box;
3793
+ padding: 6px 12px;
3794
+ position: relative;
3795
+ }
3796
+ .adm-tree-select-item-active {
3797
+ color: var(--adm-color-primary);
3798
+ font-weight: bold;
3799
+ background-color: white;
3800
+ }
3801
+ .adm-tree-select-multiple-item-expand {
3802
+ color: var(--adm-color-primary);
3803
+ font-weight: bold;
3804
+ background-color: white;
3805
+ }
3806
+ .adm-tree-select-multiple-item-checkbox {
3807
+ margin-right: 8px;
3808
+ }
3809
+ .adm-tree-select-multiple-dot {
3810
+ position: absolute;
3811
+ top: 50%;
3812
+ margin-top: -3px;
3813
+ right: 8px;
3814
+ width: 6px;
3815
+ height: 6px;
3816
+ background: var(--adm-color-primary);
3817
+ border-radius: 3px;
3818
+ }
3819
+ .adm-virtual-input {
3820
+ --font-size: 17px;
3821
+ --color: var(--adm-color-text);
3822
+ --placeholder-color: var(--adm-color-light);
3823
+ --disabled-color: var(--adm-color-weak);
3824
+ --text-align: left;
3825
+ --caret-width: var(--adm-virtual-input-caret-width, 2px);
3826
+ --caret-color: var(--adm-virtual-input-caret-color, var(--adm-color-primary));
3827
+ display: flex;
3828
+ justify-content: flex-start;
3829
+ align-items: center;
3830
+ position: relative;
3831
+ text-align: var(--text-align);
3832
+ font-size: var(--font-size);
3833
+ line-height: 1.5;
3834
+ white-space: nowrap;
3835
+ color: var(--color);
3836
+ }
3837
+ .adm-virtual-input > * {
3838
+ vertical-align: top;
3839
+ }
3840
+ .adm-virtual-input-content {
3841
+ flex: auto;
3842
+ display: inline-block;
3843
+ position: relative;
3844
+ z-index: 1;
3845
+ width: 100%;
3846
+ max-width: 100%;
3847
+ overflow-y: hidden;
3848
+ overflow-x: scroll;
3849
+ scrollbar-width: none;
3850
+ }
3851
+ .adm-virtual-input-content::-webkit-scrollbar {
3852
+ display: none;
3853
+ }
3854
+ .adm-virtual-input-placeholder {
3855
+ display: block;
3856
+ position: absolute;
3857
+ z-index: 0;
3858
+ left: 0;
3859
+ top: 0;
3860
+ width: 100%;
3861
+ overflow: hidden;
3862
+ text-align: var(--text-align);
3863
+ color: var(--placeholder-color);
3864
+ }
3865
+ .adm-virtual-input-caret-container {
3866
+ display: inline-block;
3867
+ width: var(--caret-width);
3868
+ height: 1.3em;
3869
+ vertical-align: top;
3870
+ margin-right: 1px;
3871
+ }
3872
+ .adm-virtual-input-caret {
3873
+ width: 100%;
3874
+ height: 100%;
3875
+ background-color: var(--caret-color);
3876
+ position: relative;
3877
+ top: 5%;
3878
+ }
3879
+ .adm-virtual-input:focus {
3880
+ outline: none;
3881
+ }
3882
+ .adm-virtual-input:focus .adm-virtual-input-caret {
3883
+ display: block;
3884
+ animation-name: adm-caret-blink;
3885
+ animation-duration: 1s;
3886
+ animation-timing-function: linear;
3887
+ animation-iteration-count: infinite;
3888
+ }
3889
+ .adm-virtual-input-disabled {
3890
+ color: var(--disabled-color);
3891
+ }
3892
+ @keyframes adm-caret-blink {
3893
+ from {
3894
+ opacity: 1;
3895
+ }
3896
+ 60% {
3897
+ opacity: 1;
3898
+ }
3899
+ 80% {
3900
+ opacity: 0;
3901
+ }
3902
+ to {
3903
+ opacity: 0;
3904
+ }
3905
+ }
3906
+ .adm-virtual-input-clear {
3907
+ flex: none;
3908
+ margin-left: 8px;
3909
+ color: var(--placeholder-color);
3910
+ padding: 3px;
3911
+ cursor: pointer;
3912
+ }
3913
+ .adm-virtual-input-clear .antd-mobile-icon {
3914
+ display: block;
3915
+ font-size: 14px;
3916
+ }
3917
+ .adm-water-mark {
3918
+ --z-index: var(--adm-water-mark-z-index, 2000);
3919
+ position: absolute;
3920
+ z-index: var(--z-index);
3921
+ left: 0;
3922
+ right: 0;
3923
+ top: 0;
3924
+ bottom: 0;
3925
+ pointer-events: none;
3926
+ background-repeat: repeat;
3927
+ }
3928
+ .adm-water-mark-full-page {
3929
+ position: fixed;
3930
+ }