@vue-ui-kit/ant 2.5.0 → 2.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/style.scss CHANGED
@@ -1,461 +1,464 @@
1
- .p-pane {
2
- background-color: var(--p-theme-bg, #fff);
3
- padding: 16px;
4
- border-radius: 4px;
5
- }
6
- .text-slate-5 {
7
- color: #64748b;
8
- }
9
- /* #region patch for env without unocss/tailwind/windicss */
10
- .w-full {
11
- width: 100%;
12
- }
13
-
14
- .cursor-pointer {
15
- cursor: pointer;
16
- }
17
-
18
- .py-4x {
19
- padding-top: 4px;
20
- padding-bottom: 4px;
21
- }
22
-
23
- .px-2x {
24
- padding-left: 2px;
25
- padding-right: 2px;
26
- }
27
- .pl-4x {
28
- padding-left: 1em;
29
- }
30
- .pl-8 {
31
- padding-left: 2em;
32
- }
33
-
34
- .h-0 {
35
- height: 0;
36
- }
37
-
38
- .h-full {
39
- height: 100%;
40
- }
41
-
42
- .flex {
43
- display: flex;
44
- }
45
-
46
- .flex-col {
47
- flex-direction: column;
48
- }
49
-
50
- .flex-1 {
51
- flex: 1;
52
- }
53
-
54
- .items-center {
55
- align-items: center;
56
- }
57
-
58
- .justify-between {
59
- justify-content: space-between;
60
- }
61
-
62
- .gap-4px {
63
- gap: 4px;
64
- }
65
-
66
- .gap-8px {
67
- gap: 8px;
68
- }
69
-
70
- .gap-12px {
71
- gap: 12px;
72
- }
73
-
74
- .flex-shrink-0 {
75
- flex-shrink: 0;
76
- }
77
-
78
- .min-w-0 {
79
- min-width: 0;
80
- }
81
-
82
- .min-h-0 {
83
- min-height: 0;
84
- }
85
-
86
- .pt-8px {
87
- padding-top: 8px;
88
- }
89
-
90
- .px-16px {
91
- padding-left: 16px;
92
- padding-right: 16px;
93
- }
94
-
95
- .mt-4px {
96
- margin-top: 4px;
97
- }
98
-
99
- .text-right {
100
- text-align: right;
101
- }
102
-
103
- .overflow-y-auto {
104
- overflow-y: auto;
105
- }
106
-
107
- .overflow-hidden {
108
- overflow: hidden;
109
- }
110
-
111
- /* #endregion */
112
-
113
- /* #region P family styles */
114
- .p-theme-bg {
115
- background-color: var(--p-theme-bg, #fff);
116
- }
117
-
118
- .p-wrapper {
119
- .p-form-wrapper {
120
- z-index: 4;
121
- }
122
- .p-canvas-pagination.ant-pagination {
123
- padding: 16px 0;
124
- }
125
- .p-error-hang-out {
126
- .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(
127
- .ant-input-affix-wrapper-borderless
128
- ).ant-input-affix-wrapper {
129
- border-color: var(--p-border-color, #d9d9d9) !important;
130
-
131
- &:focus {
132
- border-color: var(--p-primary-color, #4096ff) !important;
133
- }
134
- }
135
- .ant-form-item-explain-error {
136
- opacity: 0 !important;
137
- transform: translateY(-10px) !important;
138
- max-height: 0 !important;
139
- overflow: hidden !important;
140
- transition: none !important;
141
- }
142
- }
143
- .ant-form-item-explain-error {
144
- opacity: 0;
145
- transform: translateY(-10px);
146
- max-height: 0;
147
- overflow: hidden;
148
- transition:
149
- opacity 0.3s ease-out 0.3s,
150
- transform 0.3s ease-out 0.3s,
151
- max-height 0.3s ease-out 0.3s;
152
- }
153
- .ant-form-item-has-error .ant-form-item-explain-error {
154
- opacity: 1;
155
- transform: translateY(0);
156
- max-height: 100px;
157
- }
158
- .p-toolbar-wrapper {
159
- box-shadow: 0 8px var(--p-bg-color, #fff);
160
- border-radius: 0.5em 0.5em 0 0;
161
- margin-bottom: -0.5em;
162
- }
163
- .p-canvas-toolbar-wrapper {
164
- box-shadow: 0 8px var(--p-bg-color, #fff);
165
- border-radius: 0.5em 0.5em 0 0;
166
- }
167
-
168
- .ant-form {
169
- .ant-form-item {
170
- margin-bottom: 0;
171
-
172
- &.p-required {
173
- .ant-form-item-label > label:before {
174
- display: inline-block;
175
- margin-inline-end: 4px;
176
- color: var(--p-danger-color, #ff4d4f);
177
- font-size: 14px;
178
- font-family: SimSun, sans-serif;
179
- line-height: 1;
180
- content: '*';
181
- }
182
- }
183
-
184
- .ant-form-item-label {
185
- display: flex;
186
- align-items: start;
187
- justify-content: flex-end;
188
-
189
- & > label {
190
- white-space: break-spaces;
191
- align-items: flex-start;
192
- height: fit-content;
193
- padding-top: 0.36em;
194
-
195
- &:after {
196
- padding-left: 4px;
197
- margin-inline-start: unset;
198
- }
199
- }
200
- }
201
- }
202
-
203
- &.ant-form-vertical {
204
- .ant-form-item {
205
- .ant-form-item-label {
206
- justify-content: flex-start;
207
- font-weight: 600;
208
- }
209
- }
210
- }
211
- }
212
- .ant-table-wrapper .ant-table {
213
- background-color: var(--p-table-row-bg-color, #fff);
214
- td.ant-table-cell {
215
- background-color: var(--p-table-row-bg-color, #fff);
216
- }
217
- }
218
- .ant-table-wrapper .ant-table-tbody > tr > td.ant-table-cell-row-hover {
219
- background-color: var(--p-table-row-hover-bg-color, #e6e7ea);
220
- }
221
- .ant-table-wrapper .ant-table-pagination.ant-pagination {
222
- margin: unset;
223
- padding: 16px 0;
224
- }
225
- .ant-table-wrapper tr.p-grid-row-striped {
226
- background-color: var(--p-striped-bg-color, #f2f3f6);
227
- > td.ant-table-cell {
228
- background-color: var(--p-striped-bg-color, #e6e7ea);
229
- &.ant-table-cell-row-hover {
230
- background-color: var(--p-table-row-hover-bg-color, #e6e7ea);
231
- }
232
- }
233
- }
234
- .ant-table-wrapper .ant-table-thead > tr > th {
235
- background-color: var(--p-table-thead-bg-color, #f2f3f6);
236
- }
237
- .ant-table-sticky-scroll {
238
- visibility: hidden;
239
- }
240
-
241
- .ant-table-header.ant-table-sticky-holder {
242
- //overflow: unset !important;
243
-
244
- &:before {
245
- content: '';
246
- width: 100%;
247
- position: absolute;
248
- height: 22px;
249
- display: block;
250
- backdrop-filter: blur(2px);
251
- top: -16px;
252
- }
253
- }
254
- .ant-table-wrapper .ant-pagination {
255
- gap: 8px;
256
-
257
- .ant-pagination-prev,
258
- .ant-pagination-next {
259
- border: 1px solid var(--p-pagination-border-color, #bbbdbf);
260
- }
261
- .ant-pagination-total-text {
262
- margin-inline-end: 0;
263
- padding-inline-end: 8px;
264
- }
265
- .ant-pagination-item {
266
- border: 1px solid var(--p-pagination-border-color, transparent);
267
- &:not(.ant-pagination-item-active) {
268
- background-color: var(--p-pagination-bg-color, #fff);
269
- & > a {
270
- color: var(--p-pagination-color, #323335);
271
- }
272
- &:hover {
273
- background-color: var(--p-pagination-hover-bg-color, #0000000f);
274
- & > a {
275
- color: var(--p-pagination-active-color, #000000e0);
276
- }
277
- }
278
- }
279
- &.ant-pagination-item-active {
280
- background-color: var(--p-pagination-active-bg-color, #fff);
281
- border-color: var(--p-pagination-active-border-color, var(--p-primary-color, #4096ff));
282
- & > a {
283
- color: var(--p-pagination-active-color, var(--p-primary-color, #4096ff));
284
- }
285
- }
286
- }
287
- }
288
-
289
- .h-lack {
290
- .ant-table-wrapper .ant-table-pagination.ant-pagination {
291
- padding: unset;
292
- margin-top: 8px;
293
- }
294
- }
295
- .p-inner-scroll {
296
- & > .ant-table-wrapper,
297
- & > .p-grid-table-body > .ant-table-wrapper {
298
- height: 100%;
299
-
300
- & > .ant-spin-nested-loading {
301
- height: 100%;
302
-
303
- & > .ant-spin-container {
304
- height: 100%;
305
- display: flex;
306
- flex-direction: column;
307
-
308
- & > .ant-table {
309
- flex: 1;
310
- height: 0;
311
- overflow-y: hidden;
312
- /*border-radius: unset; 修复模糊问题 according to https://stackoverflow.com/questions/49349337/chrome-text-blur-with-overflow-yscroll-and-fixed-height*/
313
- border-radius: unset;
314
-
315
- & > .ant-table-container > .ant-table-body {
316
- position: relative;
317
- }
318
- }
319
- }
320
- }
321
- }
322
- }
323
-
324
- .ant-pagination-options {
325
- .ant-select {
326
- width: 100px;
327
- }
328
- }
329
- .ant-table-cell:not(.normal-break) {
330
- word-break: break-all;
331
- }
332
- }
333
- .p-error-group-tab {
334
- position: relative;
335
- overflow: visible;
336
- color: var(--p-danger-color, #f5222d) !important;
337
- &:after {
338
- content: '🏷️';
339
- position: absolute;
340
- top: -1em;
341
- right: 0;
342
- width: 1em;
343
- height: 1em;
344
- font-size: 0.8em;
345
- animation: heartbeat 2s infinite;
346
- }
347
- }
348
- .ant-picker-dropdown {
349
- .ant-picker-footer {
350
- padding-left: 4px;
351
- }
352
- }
353
- .p-error-hang-out {
354
- .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(
355
- .ant-input-affix-wrapper-borderless
356
- ).ant-input-affix-wrapper {
357
- border-color: var(--p-border-color, #d9d9d9) !important;
358
-
359
- &:focus {
360
- border-color: var(--p-primary-color, #4096ff) !important;
361
- }
362
- }
363
- .ant-form-item-explain-error {
364
- display: none;
365
- }
366
- }
367
-
368
- .no-error-border {
369
- border-color: var(--p-border-color, #d9d9d9) !important;
370
-
371
- &:focus {
372
- border-color: var(--p-primary-color, #4096ff) !important;
373
- }
374
- }
375
- @media (max-width: 575px) {
376
- .p-wrapper .ant-form .ant-form-item .ant-form-item-label {
377
- justify-content: flex-start;
378
- }
379
- }
380
-
381
- .collapsible-card {
382
- background-color: var(--p-bg-color, #fff);
383
- border-color: var(--p-border-light-color, #f0f0f0);
384
- .ant-collapse-header {
385
- padding: 0 12px;
386
- min-height: 38px;
387
- display: flex;
388
- align-items: center;
389
- font-weight: 600;
390
- }
391
- .ant-collapse-content {
392
- border-color: var(--p-border-light-color, #f0f0f0);
393
- .ant-collapse-content-box {
394
- padding: var(--collapsible-card-body-padding, 12px);
395
- }
396
- }
397
- .ant-collapse-item {
398
- border-color: var(--p-border-light-color, #f0f0f0);
399
- }
400
- }
401
- /* #endregion */
402
-
403
- /* #region EVirtTable */
404
- .canvas-cell {
405
- display: flex;
406
- flex-direction: column;
407
- justify-content: center;
408
- align-items: start;
409
- padding: 0 8px;
410
- }
411
- /* #endregion */
412
-
413
- @each $align in right center {
414
- /**/
415
- .p-content-align-#{$align}.ant-form-item .ant-form-item-control-input-content {
416
- display: flex;
417
- @if $align == right {
418
- justify-content: flex-end;
419
- } @else {
420
- justify-content: center;
421
- }
422
- align-items: center;
423
- text-align: #{$align};
424
- }
425
- }
426
-
427
- @keyframes heartbeat {
428
- 0% {
429
- transform: scale(1);
430
- }
431
- 6% {
432
- transform: scale(1.22);
433
- }
434
- 12% {
435
- transform: scale(1);
436
- }
437
- 18% {
438
- transform: scale(1.18);
439
- }
440
- 24% {
441
- transform: scale(1);
442
- }
443
- 48% {
444
- transform: scale(1);
445
- } // 长停顿
446
- 54% {
447
- transform: scale(1.22);
448
- }
449
- 60% {
450
- transform: scale(1);
451
- }
452
- 66% {
453
- transform: scale(1.18);
454
- }
455
- 72% {
456
- transform: scale(1);
457
- }
458
- 100% {
459
- transform: scale(1);
460
- } // 长停顿
461
- }
1
+ .p-pane {
2
+ background-color: var(--p-theme-bg, #fff);
3
+ padding: 16px;
4
+ border-radius: 4px;
5
+ }
6
+ .text-slate-5 {
7
+ color: #64748b;
8
+ }
9
+ /* #region patch for env without unocss/tailwind/windicss */
10
+ .w-full {
11
+ width: 100%;
12
+ }
13
+
14
+ .cursor-pointer {
15
+ cursor: pointer;
16
+ }
17
+
18
+ .py-4x {
19
+ padding-top: 4px;
20
+ padding-bottom: 4px;
21
+ }
22
+
23
+ .px-2x {
24
+ padding-left: 2px;
25
+ padding-right: 2px;
26
+ }
27
+ .pl-4x {
28
+ padding-left: 1em;
29
+ }
30
+ .pl-8 {
31
+ padding-left: 2em;
32
+ }
33
+
34
+ .h-0 {
35
+ height: 0;
36
+ }
37
+
38
+ .h-full {
39
+ height: 100%;
40
+ }
41
+
42
+ .flex {
43
+ display: flex;
44
+ }
45
+
46
+ .flex-col {
47
+ flex-direction: column;
48
+ }
49
+
50
+ .flex-1 {
51
+ flex: 1;
52
+ }
53
+
54
+ .items-center {
55
+ align-items: center;
56
+ }
57
+
58
+ .justify-between {
59
+ justify-content: space-between;
60
+ }
61
+
62
+ .gap-4px {
63
+ gap: 4px;
64
+ }
65
+
66
+ .gap-8px {
67
+ gap: 8px;
68
+ }
69
+
70
+ .gap-12px {
71
+ gap: 12px;
72
+ }
73
+
74
+ .flex-shrink-0 {
75
+ flex-shrink: 0;
76
+ }
77
+
78
+ .min-w-0 {
79
+ min-width: 0;
80
+ }
81
+
82
+ .min-h-0 {
83
+ min-height: 0;
84
+ }
85
+
86
+ .pt-8px {
87
+ padding-top: 8px;
88
+ }
89
+
90
+ .px-16px {
91
+ padding-left: 16px;
92
+ padding-right: 16px;
93
+ }
94
+
95
+ .mt-4px {
96
+ margin-top: 4px;
97
+ }
98
+
99
+ .text-right {
100
+ text-align: right;
101
+ }
102
+
103
+ .overflow-y-auto {
104
+ overflow-y: auto;
105
+ }
106
+
107
+ .overflow-hidden {
108
+ overflow: hidden;
109
+ }
110
+
111
+ /* #endregion */
112
+
113
+ /* #region P family styles */
114
+ .p-theme-bg {
115
+ background-color: var(--p-theme-bg, #fff);
116
+ }
117
+
118
+ .p-wrapper {
119
+ .p-form-wrapper {
120
+ z-index: 4;
121
+ }
122
+ .p-canvas-pagination.ant-pagination {
123
+ display: flex;
124
+ justify-content: flex-end;
125
+ width: 100%;
126
+ padding: 16px 0;
127
+ }
128
+ .p-error-hang-out {
129
+ .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(
130
+ .ant-input-affix-wrapper-borderless
131
+ ).ant-input-affix-wrapper {
132
+ border-color: var(--p-border-color, #d9d9d9) !important;
133
+
134
+ &:focus {
135
+ border-color: var(--p-primary-color, #4096ff) !important;
136
+ }
137
+ }
138
+ .ant-form-item-explain-error {
139
+ opacity: 0 !important;
140
+ transform: translateY(-10px) !important;
141
+ max-height: 0 !important;
142
+ overflow: hidden !important;
143
+ transition: none !important;
144
+ }
145
+ }
146
+ .ant-form-item-explain-error {
147
+ opacity: 0;
148
+ transform: translateY(-10px);
149
+ max-height: 0;
150
+ overflow: hidden;
151
+ transition:
152
+ opacity 0.3s ease-out 0.3s,
153
+ transform 0.3s ease-out 0.3s,
154
+ max-height 0.3s ease-out 0.3s;
155
+ }
156
+ .ant-form-item-has-error .ant-form-item-explain-error {
157
+ opacity: 1;
158
+ transform: translateY(0);
159
+ max-height: 100px;
160
+ }
161
+ .p-toolbar-wrapper {
162
+ box-shadow: 0 8px var(--p-bg-color, #fff);
163
+ border-radius: 0.5em 0.5em 0 0;
164
+ margin-bottom: -0.5em;
165
+ }
166
+ .p-canvas-toolbar-wrapper {
167
+ box-shadow: 0 8px var(--p-theme-bg, #fff);
168
+ border-radius: 0.5em 0.5em 0 0;
169
+ }
170
+
171
+ .ant-form {
172
+ .ant-form-item {
173
+ margin-bottom: 0;
174
+
175
+ &.p-required {
176
+ .ant-form-item-label > label:before {
177
+ display: inline-block;
178
+ margin-inline-end: 4px;
179
+ color: var(--p-danger-color, #ff4d4f);
180
+ font-size: 14px;
181
+ font-family: SimSun, sans-serif;
182
+ line-height: 1;
183
+ content: '*';
184
+ }
185
+ }
186
+
187
+ .ant-form-item-label {
188
+ display: flex;
189
+ align-items: start;
190
+ justify-content: flex-end;
191
+
192
+ & > label {
193
+ white-space: break-spaces;
194
+ align-items: flex-start;
195
+ height: fit-content;
196
+ padding-top: 0.36em;
197
+
198
+ &:after {
199
+ padding-left: 4px;
200
+ margin-inline-start: unset;
201
+ }
202
+ }
203
+ }
204
+ }
205
+
206
+ &.ant-form-vertical {
207
+ .ant-form-item {
208
+ .ant-form-item-label {
209
+ justify-content: flex-start;
210
+ font-weight: 600;
211
+ }
212
+ }
213
+ }
214
+ }
215
+ .ant-table-wrapper .ant-table {
216
+ background-color: var(--p-table-row-bg-color, #fff);
217
+ td.ant-table-cell {
218
+ background-color: var(--p-table-row-bg-color, #fff);
219
+ }
220
+ }
221
+ .ant-table-wrapper .ant-table-tbody > tr > td.ant-table-cell-row-hover {
222
+ background-color: var(--p-table-row-hover-bg-color, #e6e7ea);
223
+ }
224
+ .ant-table-wrapper .ant-table-pagination.ant-pagination {
225
+ margin: unset;
226
+ padding: 16px 0;
227
+ }
228
+ .ant-table-wrapper tr.p-grid-row-striped {
229
+ background-color: var(--p-striped-bg-color, #f2f3f6);
230
+ > td.ant-table-cell {
231
+ background-color: var(--p-striped-bg-color, #e6e7ea);
232
+ &.ant-table-cell-row-hover {
233
+ background-color: var(--p-table-row-hover-bg-color, #e6e7ea);
234
+ }
235
+ }
236
+ }
237
+ .ant-table-wrapper .ant-table-thead > tr > th {
238
+ background-color: var(--p-table-thead-bg-color, #f2f3f6);
239
+ }
240
+ .ant-table-sticky-scroll {
241
+ visibility: hidden;
242
+ }
243
+
244
+ .ant-table-header.ant-table-sticky-holder {
245
+ //overflow: unset !important;
246
+
247
+ &:before {
248
+ content: '';
249
+ width: 100%;
250
+ position: absolute;
251
+ height: 22px;
252
+ display: block;
253
+ backdrop-filter: blur(2px);
254
+ top: -16px;
255
+ }
256
+ }
257
+ .ant-table-wrapper .ant-pagination {
258
+ gap: 8px;
259
+
260
+ .ant-pagination-prev,
261
+ .ant-pagination-next {
262
+ border: 1px solid var(--p-pagination-border-color, #bbbdbf);
263
+ }
264
+ .ant-pagination-total-text {
265
+ margin-inline-end: 0;
266
+ padding-inline-end: 8px;
267
+ }
268
+ .ant-pagination-item {
269
+ border: 1px solid var(--p-pagination-border-color, transparent);
270
+ &:not(.ant-pagination-item-active) {
271
+ background-color: var(--p-pagination-bg-color, #fff);
272
+ & > a {
273
+ color: var(--p-pagination-color, #323335);
274
+ }
275
+ &:hover {
276
+ background-color: var(--p-pagination-hover-bg-color, #0000000f);
277
+ & > a {
278
+ color: var(--p-pagination-active-color, #000000e0);
279
+ }
280
+ }
281
+ }
282
+ &.ant-pagination-item-active {
283
+ background-color: var(--p-pagination-active-bg-color, #fff);
284
+ border-color: var(--p-pagination-active-border-color, var(--p-primary-color, #4096ff));
285
+ & > a {
286
+ color: var(--p-pagination-active-color, var(--p-primary-color, #4096ff));
287
+ }
288
+ }
289
+ }
290
+ }
291
+
292
+ .h-lack {
293
+ .ant-table-wrapper .ant-table-pagination.ant-pagination {
294
+ padding: unset;
295
+ margin-top: 8px;
296
+ }
297
+ }
298
+ .p-inner-scroll {
299
+ & > .ant-table-wrapper,
300
+ & > .p-grid-table-body > .ant-table-wrapper {
301
+ height: 100%;
302
+
303
+ & > .ant-spin-nested-loading {
304
+ height: 100%;
305
+
306
+ & > .ant-spin-container {
307
+ height: 100%;
308
+ display: flex;
309
+ flex-direction: column;
310
+
311
+ & > .ant-table {
312
+ flex: 1;
313
+ height: 0;
314
+ overflow-y: hidden;
315
+ /*border-radius: unset; 修复模糊问题 according to https://stackoverflow.com/questions/49349337/chrome-text-blur-with-overflow-yscroll-and-fixed-height*/
316
+ border-radius: unset;
317
+
318
+ & > .ant-table-container > .ant-table-body {
319
+ position: relative;
320
+ }
321
+ }
322
+ }
323
+ }
324
+ }
325
+ }
326
+
327
+ .ant-pagination-options {
328
+ .ant-select {
329
+ width: 100px;
330
+ }
331
+ }
332
+ .ant-table-cell:not(.normal-break) {
333
+ word-break: break-all;
334
+ }
335
+ }
336
+ .p-error-group-tab {
337
+ position: relative;
338
+ overflow: visible;
339
+ color: var(--p-danger-color, #f5222d) !important;
340
+ &:after {
341
+ content: '🏷️';
342
+ position: absolute;
343
+ top: -1em;
344
+ right: 0;
345
+ width: 1em;
346
+ height: 1em;
347
+ font-size: 0.8em;
348
+ animation: heartbeat 2s infinite;
349
+ }
350
+ }
351
+ .ant-picker-dropdown {
352
+ .ant-picker-footer {
353
+ padding-left: 4px;
354
+ }
355
+ }
356
+ .p-error-hang-out {
357
+ .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(
358
+ .ant-input-affix-wrapper-borderless
359
+ ).ant-input-affix-wrapper {
360
+ border-color: var(--p-border-color, #d9d9d9) !important;
361
+
362
+ &:focus {
363
+ border-color: var(--p-primary-color, #4096ff) !important;
364
+ }
365
+ }
366
+ .ant-form-item-explain-error {
367
+ display: none;
368
+ }
369
+ }
370
+
371
+ .no-error-border {
372
+ border-color: var(--p-border-color, #d9d9d9) !important;
373
+
374
+ &:focus {
375
+ border-color: var(--p-primary-color, #4096ff) !important;
376
+ }
377
+ }
378
+ @media (max-width: 575px) {
379
+ .p-wrapper .ant-form .ant-form-item .ant-form-item-label {
380
+ justify-content: flex-start;
381
+ }
382
+ }
383
+
384
+ .collapsible-card {
385
+ background-color: var(--p-bg-color, #fff);
386
+ border-color: var(--p-border-light-color, #f0f0f0);
387
+ .ant-collapse-header {
388
+ padding: 0 12px;
389
+ min-height: 38px;
390
+ display: flex;
391
+ align-items: center;
392
+ font-weight: 600;
393
+ }
394
+ .ant-collapse-content {
395
+ border-color: var(--p-border-light-color, #f0f0f0);
396
+ .ant-collapse-content-box {
397
+ padding: var(--collapsible-card-body-padding, 12px);
398
+ }
399
+ }
400
+ .ant-collapse-item {
401
+ border-color: var(--p-border-light-color, #f0f0f0);
402
+ }
403
+ }
404
+ /* #endregion */
405
+
406
+ /* #region EVirtTable */
407
+ .canvas-cell {
408
+ display: flex;
409
+ flex-direction: column;
410
+ justify-content: center;
411
+ align-items: start;
412
+ padding: 0 8px;
413
+ }
414
+ /* #endregion */
415
+
416
+ @each $align in right center {
417
+ /**/
418
+ .p-content-align-#{$align}.ant-form-item .ant-form-item-control-input-content {
419
+ display: flex;
420
+ @if $align == right {
421
+ justify-content: flex-end;
422
+ } @else {
423
+ justify-content: center;
424
+ }
425
+ align-items: center;
426
+ text-align: #{$align};
427
+ }
428
+ }
429
+
430
+ @keyframes heartbeat {
431
+ 0% {
432
+ transform: scale(1);
433
+ }
434
+ 6% {
435
+ transform: scale(1.22);
436
+ }
437
+ 12% {
438
+ transform: scale(1);
439
+ }
440
+ 18% {
441
+ transform: scale(1.18);
442
+ }
443
+ 24% {
444
+ transform: scale(1);
445
+ }
446
+ 48% {
447
+ transform: scale(1);
448
+ } // 长停顿
449
+ 54% {
450
+ transform: scale(1.22);
451
+ }
452
+ 60% {
453
+ transform: scale(1);
454
+ }
455
+ 66% {
456
+ transform: scale(1.18);
457
+ }
458
+ 72% {
459
+ transform: scale(1);
460
+ }
461
+ 100% {
462
+ transform: scale(1);
463
+ } // 长停顿
464
+ }