@fle-ui/next 1.0.5-alpha.5 → 1.0.5-alpha.6
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/@fle-ui/next.css +3102 -322
- package/dist/@fle-ui/next.css.map +1 -1
- package/dist/@fle-ui/next.js +1 -1
- package/dist/@fle-ui/next.min.css +3 -3
- package/dist/@fle-ui/next.min.css.map +1 -1
- package/dist/@fle-ui/next.min.js +1 -1
- package/es/affix/style/index.css +42 -0
- package/es/alert/style/index.css +50 -8
- package/es/anchor/style/index.css +42 -0
- package/es/auto-complete/style/index.css +42 -0
- package/es/avatar/style/index.css +42 -0
- package/es/back-top/style/index.css +42 -0
- package/es/badge/style/index.css +55 -13
- package/es/breadcrumb/style/index.css +42 -0
- package/es/button/style/index.css +122 -72
- package/es/calendar/style/index.css +43 -1
- package/es/card/style/index.css +42 -0
- package/es/carousel/style/index.css +42 -0
- package/es/cascader/style/index.css +44 -2
- package/es/checkbox/style/index.css +42 -0
- package/es/collapse/style/index.css +42 -0
- package/es/comment/style/index.css +42 -0
- package/es/config-provider/style/index.css +42 -0
- package/es/date-picker/style/index.css +77 -35
- package/es/descriptions/style/index.css +42 -0
- package/es/divider/style/index.css +42 -0
- package/es/drawer/style/index.css +42 -0
- package/es/dropdown/style/index.css +46 -4
- package/es/empty/style/index.css +42 -0
- package/es/form/style/index.css +43 -1
- package/es/grid/style/index.css +42 -0
- package/es/icon/style/index.css +42 -0
- package/es/image/style/index.css +42 -0
- package/es/input/style/index.css +61 -19
- package/es/input-number/style/index.css +61 -19
- package/es/layout/style/index.css +42 -0
- package/es/list/style/index.css +42 -0
- package/es/locale-provider/style/index.css +42 -0
- package/es/mentions/style/index.css +51 -9
- package/es/menu/style/index.css +50 -8
- package/es/message/style/index.css +42 -0
- package/es/modal/style/index.css +43 -1
- package/es/modal/style/modal.less +1 -1
- package/es/notification/style/index.css +42 -0
- package/es/page-header/style/index.css +44 -2
- package/es/pagination/style/index.css +53 -11
- package/es/pagination/style/index.less +5 -3
- package/es/popconfirm/style/index.css +42 -0
- package/es/popover/style/index.css +51 -9
- package/es/progress/style/index.css +47 -5
- package/es/radio/style/index.css +57 -15
- package/es/rate/style/index.css +42 -0
- package/es/result/style/index.css +42 -0
- package/es/segmented/style/index.css +42 -0
- package/es/select/style/index.css +50 -8
- package/es/skeleton/style/index.css +42 -0
- package/es/slider/style/index.css +49 -7
- package/es/space/style/index.css +42 -0
- package/es/spin/style/index.css +42 -0
- package/es/statistic/style/index.css +42 -0
- package/es/steps/style/index.css +42 -0
- package/es/style/color/colors.less +3 -3
- package/es/style/index.css +44 -2
- package/es/style/themes/compact.less +12 -6
- package/es/style/themes/dark.less +445 -106
- package/es/style/themes/default.less +6 -6
- package/es/style/themes/index.less +1 -1
- package/es/style/themes/variable.less +76 -38
- package/es/switch/style/index.css +43 -1
- package/es/table/style/index.css +47 -5
- package/es/tabs/style/index.css +47 -5
- package/es/tag/style/index.css +66 -24
- package/es/time-picker/style/index.css +42 -0
- package/es/timeline/style/index.css +42 -0
- package/es/tooltip/style/index.css +51 -9
- package/es/transfer/style/index.css +53 -11
- package/es/tree/style/index.css +44 -2
- package/es/tree-select/style/index.css +44 -2
- package/es/typography/style/index.css +49 -7
- package/es/upload/style/index.css +46 -4
- package/lib/affix/style/index.css +42 -0
- package/lib/alert/style/index.css +50 -8
- package/lib/anchor/style/index.css +42 -0
- package/lib/auto-complete/style/index.css +42 -0
- package/lib/avatar/style/index.css +42 -0
- package/lib/back-top/style/index.css +42 -0
- package/lib/badge/style/index.css +55 -13
- package/lib/breadcrumb/style/index.css +42 -0
- package/lib/button/style/index.css +122 -72
- package/lib/calendar/style/index.css +43 -1
- package/lib/card/style/index.css +42 -0
- package/lib/carousel/style/index.css +42 -0
- package/lib/cascader/style/index.css +44 -2
- package/lib/checkbox/style/index.css +42 -0
- package/lib/collapse/style/index.css +42 -0
- package/lib/comment/style/index.css +42 -0
- package/lib/config-provider/style/index.css +42 -0
- package/lib/date-picker/style/index.css +77 -35
- package/lib/descriptions/style/index.css +42 -0
- package/lib/divider/style/index.css +42 -0
- package/lib/drawer/style/index.css +42 -0
- package/lib/dropdown/style/index.css +46 -4
- package/lib/empty/style/index.css +42 -0
- package/lib/form/style/index.css +43 -1
- package/lib/grid/style/index.css +42 -0
- package/lib/icon/style/index.css +42 -0
- package/lib/image/style/index.css +42 -0
- package/lib/input/style/index.css +61 -19
- package/lib/input-number/style/index.css +61 -19
- package/lib/layout/style/index.css +42 -0
- package/lib/list/style/index.css +42 -0
- package/lib/locale-provider/style/index.css +42 -0
- package/lib/mentions/style/index.css +51 -9
- package/lib/menu/style/index.css +50 -8
- package/lib/message/style/index.css +42 -0
- package/lib/modal/style/index.css +43 -1
- package/lib/modal/style/modal.less +1 -1
- package/lib/notification/style/index.css +42 -0
- package/lib/page-header/style/index.css +44 -2
- package/lib/pagination/style/index.css +53 -11
- package/lib/pagination/style/index.less +5 -3
- package/lib/popconfirm/style/index.css +42 -0
- package/lib/popover/style/index.css +51 -9
- package/lib/progress/style/index.css +47 -5
- package/lib/radio/style/index.css +57 -15
- package/lib/rate/style/index.css +42 -0
- package/lib/result/style/index.css +42 -0
- package/lib/segmented/style/index.css +42 -0
- package/lib/select/style/index.css +50 -8
- package/lib/skeleton/style/index.css +42 -0
- package/lib/slider/style/index.css +49 -7
- package/lib/space/style/index.css +42 -0
- package/lib/spin/style/index.css +42 -0
- package/lib/statistic/style/index.css +42 -0
- package/lib/steps/style/index.css +42 -0
- package/lib/style/color/colors.less +3 -3
- package/lib/style/index.css +44 -2
- package/lib/style/themes/compact.less +12 -6
- package/lib/style/themes/dark.less +445 -106
- package/lib/style/themes/default.less +6 -6
- package/lib/style/themes/index.less +1 -1
- package/lib/style/themes/variable.less +76 -38
- package/lib/switch/style/index.css +43 -1
- package/lib/table/style/index.css +47 -5
- package/lib/tabs/style/index.css +47 -5
- package/lib/tag/style/index.css +66 -24
- package/lib/time-picker/style/index.css +42 -0
- package/lib/timeline/style/index.css +42 -0
- package/lib/tooltip/style/index.css +51 -9
- package/lib/transfer/style/index.css +53 -11
- package/lib/tree/style/index.css +44 -2
- package/lib/tree-select/style/index.css +44 -2
- package/lib/typography/style/index.css +49 -7
- package/lib/upload/style/index.css +46 -4
- package/package.json +1 -1
@@ -14,8 +14,12 @@
|
|
14
14
|
|
15
15
|
// ========= Primary Color =========
|
16
16
|
--@{ant-prefix}-primary-color: @base-primary;
|
17
|
-
--@{ant-prefix}-primary-color-hover: color(
|
18
|
-
|
17
|
+
--@{ant-prefix}-primary-color-hover: color(
|
18
|
+
~`colorPalette('@{base-primary}', 5) `
|
19
|
+
);
|
20
|
+
--@{ant-prefix}-primary-color-active: color(
|
21
|
+
~`colorPalette('@{base-primary}', 7) `
|
22
|
+
);
|
19
23
|
--@{ant-prefix}-primary-color-outline: fade(@base-primary, @outline-fade);
|
20
24
|
|
21
25
|
// Legacy
|
@@ -36,16 +40,28 @@
|
|
36
40
|
--@{ant-prefix}-primary-color-deprecated-t-20: tint(@base-primary, 20%);
|
37
41
|
--@{ant-prefix}-primary-color-deprecated-t-50: tint(@base-primary, 50%);
|
38
42
|
--@{ant-prefix}-primary-color-deprecated-f-12: fade(@base-primary, 12%);
|
39
|
-
--@{ant-prefix}-primary-color-active-deprecated-f-30: fade(
|
40
|
-
|
43
|
+
--@{ant-prefix}-primary-color-active-deprecated-f-30: fade(
|
44
|
+
@legacy-primary-1,
|
45
|
+
30%
|
46
|
+
);
|
47
|
+
--@{ant-prefix}-primary-color-active-deprecated-d-02: darken(
|
48
|
+
@legacy-primary-1,
|
49
|
+
2%
|
50
|
+
);
|
41
51
|
|
42
52
|
// ========= Success Color =========
|
43
53
|
--@{ant-prefix}-success-color: @green-6;
|
44
54
|
--@{ant-prefix}-success-color-hover: color(~`colorPalette('@{green-6}', 5) `);
|
45
|
-
--@{ant-prefix}-success-color-active: color(
|
55
|
+
--@{ant-prefix}-success-color-active: color(
|
56
|
+
~`colorPalette('@{green-6}', 7) `
|
57
|
+
);
|
46
58
|
--@{ant-prefix}-success-color-outline: fade(@green-6, @outline-fade);
|
47
59
|
--@{ant-prefix}-success-color-deprecated-bg: ~`colorPalette('@{green-6}', 1) `;
|
48
|
-
--@{ant-prefix}-success-color-deprecated-border: ~`colorPalette(
|
60
|
+
--@{ant-prefix}-success-color-deprecated-border: ~`colorPalette(
|
61
|
+
'@{green-6}',
|
62
|
+
3
|
63
|
+
)
|
64
|
+
`;
|
49
65
|
|
50
66
|
// ========== Error Color ==========
|
51
67
|
--@{ant-prefix}-error-color: @red-5;
|
@@ -61,12 +77,21 @@
|
|
61
77
|
--@{ant-prefix}-warning-color-active: color(~`colorPalette('@{gold-6}', 7) `);
|
62
78
|
--@{ant-prefix}-warning-color-outline: fade(@gold-6, @outline-fade);
|
63
79
|
--@{ant-prefix}-warning-color-deprecated-bg: ~`colorPalette('@{gold-6}', 1) `;
|
64
|
-
--@{ant-prefix}-warning-color-deprecated-border: ~`colorPalette(
|
80
|
+
--@{ant-prefix}-warning-color-deprecated-border: ~`colorPalette(
|
81
|
+
'@{gold-6}',
|
82
|
+
3
|
83
|
+
)
|
84
|
+
`;
|
65
85
|
|
66
86
|
// ========== Info Color ===========
|
67
87
|
--@{ant-prefix}-info-color: @base-primary;
|
68
|
-
--@{ant-prefix}-info-color-deprecated-bg: ~`colorPalette('@{base-primary}', 1)
|
69
|
-
|
88
|
+
--@{ant-prefix}-info-color-deprecated-bg: ~`colorPalette('@{base-primary}', 1)
|
89
|
+
`;
|
90
|
+
--@{ant-prefix}-info-color-deprecated-border: ~`colorPalette(
|
91
|
+
'@{base-primary}',
|
92
|
+
3
|
93
|
+
)
|
94
|
+
`;
|
70
95
|
}
|
71
96
|
|
72
97
|
// -------- Colors -----------
|
@@ -135,10 +160,11 @@
|
|
135
160
|
// Popover background color
|
136
161
|
@popover-background: @component-background;
|
137
162
|
@popover-customize-border-color: @border-color-split;
|
138
|
-
@font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
139
|
-
'Noto Sans', sans-serif, 'Apple Color Emoji',
|
140
|
-
'Noto Color Emoji';
|
141
|
-
@code-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier,
|
163
|
+
@font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
164
|
+
'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
|
165
|
+
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
166
|
+
@code-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier,
|
167
|
+
monospace;
|
142
168
|
@text-color: fade(@black, 85%);
|
143
169
|
@text-color-secondary: fade(@black, 45%);
|
144
170
|
@text-color-inverse: @white;
|
@@ -160,7 +186,7 @@
|
|
160
186
|
@heading-5-size: ceil(@font-size-base * 1.14);
|
161
187
|
// https://github.com/ant-design/ant-design/issues/20210
|
162
188
|
@line-height-base: 1.5715;
|
163
|
-
@border-radius-base:
|
189
|
+
@border-radius-base: 4px;
|
164
190
|
@border-radius-sm: @border-radius-base;
|
165
191
|
|
166
192
|
// control border
|
@@ -238,7 +264,11 @@
|
|
238
264
|
@outline-color: @primary-color; // No use anymore
|
239
265
|
@outline-fade: 20%;
|
240
266
|
|
241
|
-
@background-color-light: hsv(
|
267
|
+
@background-color-light: hsv(
|
268
|
+
0,
|
269
|
+
0,
|
270
|
+
98%
|
271
|
+
); // background of header and selected item
|
242
272
|
@background-color-base: hsv(0, 0, 96%); // Default grey background color
|
243
273
|
|
244
274
|
// Disabled states
|
@@ -251,14 +281,14 @@
|
|
251
281
|
@shadow-color: rgba(0, 0, 0, 0.15);
|
252
282
|
@shadow-color-inverse: @component-background;
|
253
283
|
@box-shadow-base: @shadow-2;
|
254
|
-
@shadow-1-up: 0 -6px 16px -8px rgba(0, 0, 0, 0.08),
|
255
|
-
0 -12px 48px 16px rgba(0, 0, 0, 0.03);
|
256
|
-
@shadow-1-down: 0 6px 16px -8px rgba(0, 0, 0, 0.08),
|
257
|
-
0 12px 48px 16px rgba(0, 0, 0, 0.03);
|
258
|
-
@shadow-1-left: -6px 0 16px -8px rgba(0, 0, 0, 0.08),
|
259
|
-
-12px 0 48px 16px rgba(0, 0, 0, 0.03);
|
260
|
-
@shadow-1-right: 6px 0 16px -8px rgba(0, 0, 0, 0.08),
|
261
|
-
12px 0 48px 16px rgba(0, 0, 0, 0.03);
|
284
|
+
@shadow-1-up: 0 -6px 16px -8px rgba(0, 0, 0, 0.08),
|
285
|
+
0 -9px 28px 0 rgba(0, 0, 0, 0.05), 0 -12px 48px 16px rgba(0, 0, 0, 0.03);
|
286
|
+
@shadow-1-down: 0 6px 16px -8px rgba(0, 0, 0, 0.08),
|
287
|
+
0 9px 28px 0 rgba(0, 0, 0, 0.05), 0 12px 48px 16px rgba(0, 0, 0, 0.03);
|
288
|
+
@shadow-1-left: -6px 0 16px -8px rgba(0, 0, 0, 0.08),
|
289
|
+
-9px 0 28px 0 rgba(0, 0, 0, 0.05), -12px 0 48px 16px rgba(0, 0, 0, 0.03);
|
290
|
+
@shadow-1-right: 6px 0 16px -8px rgba(0, 0, 0, 0.08),
|
291
|
+
9px 0 28px 0 rgba(0, 0, 0, 0.05), 12px 0 48px 16px rgba(0, 0, 0, 0.03);
|
262
292
|
@shadow-2: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
263
293
|
0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
264
294
|
|
@@ -488,13 +518,18 @@
|
|
488
518
|
@input-padding-horizontal-sm: @control-padding-horizontal-sm - 1px;
|
489
519
|
@input-padding-horizontal-lg: @input-padding-horizontal;
|
490
520
|
@input-padding-vertical-base: max(
|
491
|
-
(
|
492
|
-
|
521
|
+
(
|
522
|
+
round(
|
523
|
+
((@input-height-base - @font-size-base * @line-height-base) / 2) * 10
|
524
|
+
) / 10
|
525
|
+
) - @border-width-base,
|
493
526
|
3px
|
494
527
|
);
|
495
528
|
@input-padding-vertical-sm: max(
|
496
|
-
(
|
497
|
-
|
529
|
+
(
|
530
|
+
round(((@input-height-sm - @font-size-base * @line-height-base) / 2) * 10) /
|
531
|
+
10
|
532
|
+
) - @border-width-base,
|
498
533
|
0
|
499
534
|
);
|
500
535
|
@input-padding-vertical-lg: (
|
@@ -539,7 +574,8 @@
|
|
539
574
|
@select-selection-item-bg: @background-color-base;
|
540
575
|
@select-selection-item-border-color: @border-color-split;
|
541
576
|
@select-single-item-height-lg: 40px;
|
542
|
-
@select-multiple-item-height: @input-height-base - @input-padding-vertical-base *
|
577
|
+
@select-multiple-item-height: @input-height-base - @input-padding-vertical-base *
|
578
|
+
2; // Normal 24px
|
543
579
|
@select-multiple-item-height-lg: 32px;
|
544
580
|
@select-multiple-item-spacing-half: ceil((@input-padding-vertical-base / 2));
|
545
581
|
@select-multiple-disabled-background: @input-disabled-bg;
|
@@ -610,21 +646,21 @@
|
|
610
646
|
@modal-header-padding-horizontal: @padding-lg;
|
611
647
|
@modal-body-padding: @padding-lg;
|
612
648
|
@modal-header-bg: @component-background;
|
613
|
-
@modal-header-padding:
|
649
|
+
@modal-header-padding: 20px 20px;
|
614
650
|
@modal-header-border-width: @border-width-base;
|
615
651
|
@modal-header-border-style: @border-style-base;
|
616
652
|
@modal-header-title-line-height: 22px;
|
617
653
|
@modal-header-title-font-size: @font-size-lg;
|
618
654
|
@modal-header-border-color-split: @border-color-split;
|
619
|
-
@modal-header-close-size:
|
655
|
+
@modal-header-close-size: 63px;
|
620
656
|
@modal-content-bg: @component-background;
|
621
657
|
@modal-heading-color: @heading-color;
|
622
658
|
@modal-close-color: @text-color-secondary;
|
623
659
|
@modal-footer-bg: transparent;
|
624
660
|
@modal-footer-border-color-split: @border-color-split;
|
625
661
|
@modal-footer-border-style: @border-style-base;
|
626
|
-
@modal-footer-padding-vertical:
|
627
|
-
@modal-footer-padding-horizontal:
|
662
|
+
@modal-footer-padding-vertical: 16px;
|
663
|
+
@modal-footer-padding-horizontal: 24px;
|
628
664
|
@modal-footer-border-width: @border-width-base;
|
629
665
|
@modal-mask-bg: fade(@black, 45%);
|
630
666
|
@modal-confirm-body-padding: 32px 32px 24px;
|
@@ -806,8 +842,8 @@
|
|
806
842
|
@card-actions-li-margin: 12px 0;
|
807
843
|
@card-skeleton-bg: #cfd8dc;
|
808
844
|
@card-background: @component-background;
|
809
|
-
@card-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16),
|
810
|
-
0 5px 12px 4px rgba(0, 0, 0, 0.09);
|
845
|
+
@card-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16),
|
846
|
+
0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09);
|
811
847
|
@card-radius: @border-radius-base;
|
812
848
|
@card-head-tabs-margin-bottom: -17px;
|
813
849
|
@card-head-extra-color: @text-color;
|
@@ -900,8 +936,8 @@
|
|
900
936
|
@pagination-item-size: @height-base;
|
901
937
|
@pagination-item-size-sm: 24px;
|
902
938
|
@pagination-font-family: @font-family;
|
903
|
-
@pagination-font-weight-active:
|
904
|
-
@pagination-item-bg-active: @
|
939
|
+
@pagination-font-weight-active: 400;
|
940
|
+
@pagination-item-bg-active: @primary-color;
|
905
941
|
@pagination-item-link-bg: @component-background;
|
906
942
|
@pagination-item-disabled-color-active: @disabled-color;
|
907
943
|
@pagination-item-disabled-bg-active: @disabled-active-bg;
|
@@ -1023,8 +1059,10 @@
|
|
1023
1059
|
@alert-with-description-no-icon-padding-vertical: @padding-md - 1px;
|
1024
1060
|
@alert-with-description-padding-vertical: @padding-md - 1px;
|
1025
1061
|
@alert-with-description-padding: @alert-with-description-padding-vertical 15px
|
1026
|
-
@alert-with-description-no-icon-padding-vertical
|
1027
|
-
@alert-
|
1062
|
+
@alert-with-description-no-icon-padding-vertical
|
1063
|
+
@alert-with-description-icon-size;
|
1064
|
+
@alert-icon-top: 8px + @font-size-base * (@line-height-base / 2) -
|
1065
|
+
(@font-size-base / 2);
|
1028
1066
|
@alert-with-description-icon-size: 24px;
|
1029
1067
|
|
1030
1068
|
// List
|
@@ -2,6 +2,48 @@
|
|
2
2
|
/* stylelint-disable no-duplicate-selectors */
|
3
3
|
/* stylelint-disable */
|
4
4
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
5
|
+
html {
|
6
|
+
--ant-primary-color: #1890ff;
|
7
|
+
--ant-primary-color-hover: #40a9ff;
|
8
|
+
--ant-primary-color-active: #096dd9;
|
9
|
+
--ant-primary-color-outline: rgba(24, 144, 255, 0.2);
|
10
|
+
--ant-primary-1: #e6f7ff;
|
11
|
+
--ant-primary-2: #bae7ff;
|
12
|
+
--ant-primary-3: #91d5ff;
|
13
|
+
--ant-primary-4: #69c0ff;
|
14
|
+
--ant-primary-5: #40a9ff;
|
15
|
+
--ant-primary-6: #1890ff;
|
16
|
+
--ant-primary-7: #096dd9;
|
17
|
+
--ant-primary-color-deprecated-pure: ;
|
18
|
+
--ant-primary-color-deprecated-l-35: #cbe6ff;
|
19
|
+
--ant-primary-color-deprecated-l-20: #7ec1ff;
|
20
|
+
--ant-primary-color-deprecated-t-20: #46a6ff;
|
21
|
+
--ant-primary-color-deprecated-t-50: #8cc8ff;
|
22
|
+
--ant-primary-color-deprecated-f-12: rgba(24, 144, 255, 0.12);
|
23
|
+
--ant-primary-color-active-deprecated-f-30: rgba(230, 247, 255, 0.3);
|
24
|
+
--ant-primary-color-active-deprecated-d-02: #dcf4ff;
|
25
|
+
--ant-success-color: #36c626;
|
26
|
+
--ant-success-color-hover: #5cd44a;
|
27
|
+
--ant-success-color-active: #20a116;
|
28
|
+
--ant-success-color-outline: rgba(54, 198, 38, 0.2);
|
29
|
+
--ant-success-color-deprecated-bg: #f4fff0;
|
30
|
+
--ant-success-color-deprecated-border: #afed9f;
|
31
|
+
--ant-error-color: #ff5c57;
|
32
|
+
--ant-error-color-hover: #ff8880;
|
33
|
+
--ant-error-color-active: #d93f3f;
|
34
|
+
--ant-error-color-outline: rgba(255, 92, 87, 0.2);
|
35
|
+
--ant-error-color-deprecated-bg: #fff3f0;
|
36
|
+
--ant-error-color-deprecated-border: #ffd7d1;
|
37
|
+
--ant-warning-color: #ffab00;
|
38
|
+
--ant-warning-color-hover: #ffbf29;
|
39
|
+
--ant-warning-color-active: #d98900;
|
40
|
+
--ant-warning-color-outline: rgba(255, 171, 0, 0.2);
|
41
|
+
--ant-warning-color-deprecated-bg: #fffbe6;
|
42
|
+
--ant-warning-color-deprecated-border: #ffe07a;
|
43
|
+
--ant-info-color: #1890ff;
|
44
|
+
--ant-info-color-deprecated-bg: #e6f7ff;
|
45
|
+
--ant-info-color-deprecated-border: #91d5ff;
|
46
|
+
}
|
5
47
|
.ant-switch {
|
6
48
|
margin: 0;
|
7
49
|
padding: 0;
|
@@ -33,7 +75,7 @@
|
|
33
75
|
box-shadow: 0 0 0 2px rgba(169, 169, 169, 0.1);
|
34
76
|
}
|
35
77
|
.ant-switch-checked:focus {
|
36
|
-
box-shadow: 0 0 0 2px
|
78
|
+
box-shadow: 0 0 0 2px var(--ant-primary-1);
|
37
79
|
}
|
38
80
|
.ant-switch:focus:hover {
|
39
81
|
box-shadow: none;
|
package/es/table/style/index.css
CHANGED
@@ -2,6 +2,48 @@
|
|
2
2
|
/* stylelint-disable no-duplicate-selectors */
|
3
3
|
/* stylelint-disable */
|
4
4
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
5
|
+
html {
|
6
|
+
--ant-primary-color: #1890ff;
|
7
|
+
--ant-primary-color-hover: #40a9ff;
|
8
|
+
--ant-primary-color-active: #096dd9;
|
9
|
+
--ant-primary-color-outline: rgba(24, 144, 255, 0.2);
|
10
|
+
--ant-primary-1: #e6f7ff;
|
11
|
+
--ant-primary-2: #bae7ff;
|
12
|
+
--ant-primary-3: #91d5ff;
|
13
|
+
--ant-primary-4: #69c0ff;
|
14
|
+
--ant-primary-5: #40a9ff;
|
15
|
+
--ant-primary-6: #1890ff;
|
16
|
+
--ant-primary-7: #096dd9;
|
17
|
+
--ant-primary-color-deprecated-pure: ;
|
18
|
+
--ant-primary-color-deprecated-l-35: #cbe6ff;
|
19
|
+
--ant-primary-color-deprecated-l-20: #7ec1ff;
|
20
|
+
--ant-primary-color-deprecated-t-20: #46a6ff;
|
21
|
+
--ant-primary-color-deprecated-t-50: #8cc8ff;
|
22
|
+
--ant-primary-color-deprecated-f-12: rgba(24, 144, 255, 0.12);
|
23
|
+
--ant-primary-color-active-deprecated-f-30: rgba(230, 247, 255, 0.3);
|
24
|
+
--ant-primary-color-active-deprecated-d-02: #dcf4ff;
|
25
|
+
--ant-success-color: #36c626;
|
26
|
+
--ant-success-color-hover: #5cd44a;
|
27
|
+
--ant-success-color-active: #20a116;
|
28
|
+
--ant-success-color-outline: rgba(54, 198, 38, 0.2);
|
29
|
+
--ant-success-color-deprecated-bg: #f4fff0;
|
30
|
+
--ant-success-color-deprecated-border: #afed9f;
|
31
|
+
--ant-error-color: #ff5c57;
|
32
|
+
--ant-error-color-hover: #ff8880;
|
33
|
+
--ant-error-color-active: #d93f3f;
|
34
|
+
--ant-error-color-outline: rgba(255, 92, 87, 0.2);
|
35
|
+
--ant-error-color-deprecated-bg: #fff3f0;
|
36
|
+
--ant-error-color-deprecated-border: #ffd7d1;
|
37
|
+
--ant-warning-color: #ffab00;
|
38
|
+
--ant-warning-color-hover: #ffbf29;
|
39
|
+
--ant-warning-color-active: #d98900;
|
40
|
+
--ant-warning-color-outline: rgba(255, 171, 0, 0.2);
|
41
|
+
--ant-warning-color-deprecated-bg: #fffbe6;
|
42
|
+
--ant-warning-color-deprecated-border: #ffe07a;
|
43
|
+
--ant-info-color: #1890ff;
|
44
|
+
--ant-info-color-deprecated-bg: #e6f7ff;
|
45
|
+
--ant-info-color-deprecated-border: #91d5ff;
|
46
|
+
}
|
5
47
|
.ant-table.ant-table-middle {
|
6
48
|
font-size: 14px;
|
7
49
|
}
|
@@ -264,11 +306,11 @@
|
|
264
306
|
background: #fafafa;
|
265
307
|
}
|
266
308
|
.ant-table-tbody > tr.ant-table-row-selected > td {
|
267
|
-
background:
|
309
|
+
background: var(--ant-primary-1);
|
268
310
|
border-color: rgba(0, 0, 0, 0.03);
|
269
311
|
}
|
270
312
|
.ant-table-tbody > tr.ant-table-row-selected:hover > td {
|
271
|
-
background:
|
313
|
+
background: var(--ant-primary-color-active-deprecated-d-02);
|
272
314
|
}
|
273
315
|
.ant-table-summary {
|
274
316
|
position: relative;
|
@@ -435,7 +477,7 @@ td.ant-table-column-sort {
|
|
435
477
|
}
|
436
478
|
.ant-table-filter-dropdown-tree .ant-tree-treenode-checkbox-checked .ant-tree-node-content-wrapper,
|
437
479
|
.ant-table-filter-dropdown-tree .ant-tree-treenode-checkbox-checked .ant-tree-node-content-wrapper:hover {
|
438
|
-
background-color:
|
480
|
+
background-color: var(--ant-primary-2);
|
439
481
|
}
|
440
482
|
.ant-table-filter-dropdown-search {
|
441
483
|
padding: 8px;
|
@@ -551,10 +593,10 @@ table tr th.ant-table-selection-column::after {
|
|
551
593
|
}
|
552
594
|
.ant-table-row-expand-icon:focus,
|
553
595
|
.ant-table-row-expand-icon:hover {
|
554
|
-
color:
|
596
|
+
color: var(--ant-primary-color-hover);
|
555
597
|
}
|
556
598
|
.ant-table-row-expand-icon:active {
|
557
|
-
color:
|
599
|
+
color: var(--ant-primary-color-active);
|
558
600
|
}
|
559
601
|
.ant-table-row-expand-icon:focus,
|
560
602
|
.ant-table-row-expand-icon:hover,
|
package/es/tabs/style/index.css
CHANGED
@@ -2,6 +2,48 @@
|
|
2
2
|
/* stylelint-disable no-duplicate-selectors */
|
3
3
|
/* stylelint-disable */
|
4
4
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
5
|
+
html {
|
6
|
+
--ant-primary-color: #1890ff;
|
7
|
+
--ant-primary-color-hover: #40a9ff;
|
8
|
+
--ant-primary-color-active: #096dd9;
|
9
|
+
--ant-primary-color-outline: rgba(24, 144, 255, 0.2);
|
10
|
+
--ant-primary-1: #e6f7ff;
|
11
|
+
--ant-primary-2: #bae7ff;
|
12
|
+
--ant-primary-3: #91d5ff;
|
13
|
+
--ant-primary-4: #69c0ff;
|
14
|
+
--ant-primary-5: #40a9ff;
|
15
|
+
--ant-primary-6: #1890ff;
|
16
|
+
--ant-primary-7: #096dd9;
|
17
|
+
--ant-primary-color-deprecated-pure: ;
|
18
|
+
--ant-primary-color-deprecated-l-35: #cbe6ff;
|
19
|
+
--ant-primary-color-deprecated-l-20: #7ec1ff;
|
20
|
+
--ant-primary-color-deprecated-t-20: #46a6ff;
|
21
|
+
--ant-primary-color-deprecated-t-50: #8cc8ff;
|
22
|
+
--ant-primary-color-deprecated-f-12: rgba(24, 144, 255, 0.12);
|
23
|
+
--ant-primary-color-active-deprecated-f-30: rgba(230, 247, 255, 0.3);
|
24
|
+
--ant-primary-color-active-deprecated-d-02: #dcf4ff;
|
25
|
+
--ant-success-color: #36c626;
|
26
|
+
--ant-success-color-hover: #5cd44a;
|
27
|
+
--ant-success-color-active: #20a116;
|
28
|
+
--ant-success-color-outline: rgba(54, 198, 38, 0.2);
|
29
|
+
--ant-success-color-deprecated-bg: #f4fff0;
|
30
|
+
--ant-success-color-deprecated-border: #afed9f;
|
31
|
+
--ant-error-color: #ff5c57;
|
32
|
+
--ant-error-color-hover: #ff8880;
|
33
|
+
--ant-error-color-active: #d93f3f;
|
34
|
+
--ant-error-color-outline: rgba(255, 92, 87, 0.2);
|
35
|
+
--ant-error-color-deprecated-bg: #fff3f0;
|
36
|
+
--ant-error-color-deprecated-border: #ffd7d1;
|
37
|
+
--ant-warning-color: #ffab00;
|
38
|
+
--ant-warning-color-hover: #ffbf29;
|
39
|
+
--ant-warning-color-active: #d98900;
|
40
|
+
--ant-warning-color-outline: rgba(255, 171, 0, 0.2);
|
41
|
+
--ant-warning-color-deprecated-bg: #fffbe6;
|
42
|
+
--ant-warning-color-deprecated-border: #ffe07a;
|
43
|
+
--ant-info-color: #1890ff;
|
44
|
+
--ant-info-color-deprecated-bg: #e6f7ff;
|
45
|
+
--ant-info-color-deprecated-border: #91d5ff;
|
46
|
+
}
|
5
47
|
.ant-tabs-small > .ant-tabs-nav .ant-tabs-tab {
|
6
48
|
padding: 8px 0;
|
7
49
|
font-size: 14px;
|
@@ -345,7 +387,7 @@
|
|
345
387
|
cursor: pointer;
|
346
388
|
}
|
347
389
|
.ant-tabs-dropdown-menu-item-remove:hover {
|
348
|
-
color:
|
390
|
+
color: var(--ant-primary-5);
|
349
391
|
}
|
350
392
|
.ant-tabs-dropdown-menu-item:hover {
|
351
393
|
background: #f5f5f5;
|
@@ -506,13 +548,13 @@
|
|
506
548
|
}
|
507
549
|
.ant-tabs > .ant-tabs-nav .ant-tabs-nav-add:hover,
|
508
550
|
.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-add:hover {
|
509
|
-
color:
|
551
|
+
color: var(--ant-primary-5);
|
510
552
|
}
|
511
553
|
.ant-tabs > .ant-tabs-nav .ant-tabs-nav-add:active,
|
512
554
|
.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-add:active,
|
513
555
|
.ant-tabs > .ant-tabs-nav .ant-tabs-nav-add:focus,
|
514
556
|
.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-add:focus {
|
515
|
-
color:
|
557
|
+
color: var(--ant-primary-7);
|
516
558
|
}
|
517
559
|
.ant-tabs-extra-content {
|
518
560
|
flex: none;
|
@@ -541,7 +583,7 @@
|
|
541
583
|
.ant-tabs-tab-remove:focus,
|
542
584
|
.ant-tabs-tab-btn:active,
|
543
585
|
.ant-tabs-tab-remove:active {
|
544
|
-
color:
|
586
|
+
color: var(--ant-primary-7);
|
545
587
|
}
|
546
588
|
.ant-tabs-tab-btn {
|
547
589
|
outline: none;
|
@@ -563,7 +605,7 @@
|
|
563
605
|
color: #262626;
|
564
606
|
}
|
565
607
|
.ant-tabs-tab:hover {
|
566
|
-
color:
|
608
|
+
color: var(--ant-primary-5);
|
567
609
|
}
|
568
610
|
.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
|
569
611
|
color: #2c68ff;
|
package/es/tag/style/index.css
CHANGED
@@ -2,6 +2,48 @@
|
|
2
2
|
/* stylelint-disable no-duplicate-selectors */
|
3
3
|
/* stylelint-disable */
|
4
4
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
5
|
+
html {
|
6
|
+
--ant-primary-color: #1890ff;
|
7
|
+
--ant-primary-color-hover: #40a9ff;
|
8
|
+
--ant-primary-color-active: #096dd9;
|
9
|
+
--ant-primary-color-outline: rgba(24, 144, 255, 0.2);
|
10
|
+
--ant-primary-1: #e6f7ff;
|
11
|
+
--ant-primary-2: #bae7ff;
|
12
|
+
--ant-primary-3: #91d5ff;
|
13
|
+
--ant-primary-4: #69c0ff;
|
14
|
+
--ant-primary-5: #40a9ff;
|
15
|
+
--ant-primary-6: #1890ff;
|
16
|
+
--ant-primary-7: #096dd9;
|
17
|
+
--ant-primary-color-deprecated-pure: ;
|
18
|
+
--ant-primary-color-deprecated-l-35: #cbe6ff;
|
19
|
+
--ant-primary-color-deprecated-l-20: #7ec1ff;
|
20
|
+
--ant-primary-color-deprecated-t-20: #46a6ff;
|
21
|
+
--ant-primary-color-deprecated-t-50: #8cc8ff;
|
22
|
+
--ant-primary-color-deprecated-f-12: rgba(24, 144, 255, 0.12);
|
23
|
+
--ant-primary-color-active-deprecated-f-30: rgba(230, 247, 255, 0.3);
|
24
|
+
--ant-primary-color-active-deprecated-d-02: #dcf4ff;
|
25
|
+
--ant-success-color: #36c626;
|
26
|
+
--ant-success-color-hover: #5cd44a;
|
27
|
+
--ant-success-color-active: #20a116;
|
28
|
+
--ant-success-color-outline: rgba(54, 198, 38, 0.2);
|
29
|
+
--ant-success-color-deprecated-bg: #f4fff0;
|
30
|
+
--ant-success-color-deprecated-border: #afed9f;
|
31
|
+
--ant-error-color: #ff5c57;
|
32
|
+
--ant-error-color-hover: #ff8880;
|
33
|
+
--ant-error-color-active: #d93f3f;
|
34
|
+
--ant-error-color-outline: rgba(255, 92, 87, 0.2);
|
35
|
+
--ant-error-color-deprecated-bg: #fff3f0;
|
36
|
+
--ant-error-color-deprecated-border: #ffd7d1;
|
37
|
+
--ant-warning-color: #ffab00;
|
38
|
+
--ant-warning-color-hover: #ffbf29;
|
39
|
+
--ant-warning-color-active: #d98900;
|
40
|
+
--ant-warning-color-outline: rgba(255, 171, 0, 0.2);
|
41
|
+
--ant-warning-color-deprecated-bg: #fffbe6;
|
42
|
+
--ant-warning-color-deprecated-border: #ffe07a;
|
43
|
+
--ant-info-color: #1890ff;
|
44
|
+
--ant-info-color-deprecated-bg: #e6f7ff;
|
45
|
+
--ant-info-color-deprecated-border: #91d5ff;
|
46
|
+
}
|
5
47
|
.ant-tag {
|
6
48
|
box-sizing: border-box;
|
7
49
|
margin: 0;
|
@@ -68,10 +110,10 @@
|
|
68
110
|
color: #fff;
|
69
111
|
}
|
70
112
|
.ant-tag-checkable-checked {
|
71
|
-
background-color:
|
113
|
+
background-color: var(--ant-primary-6);
|
72
114
|
}
|
73
115
|
.ant-tag-checkable:active {
|
74
|
-
background-color:
|
116
|
+
background-color: var(--ant-primary-7);
|
75
117
|
}
|
76
118
|
.ant-tag-hidden {
|
77
119
|
display: none;
|
@@ -97,14 +139,14 @@
|
|
97
139
|
border-color: #eb2f96;
|
98
140
|
}
|
99
141
|
.ant-tag-red {
|
100
|
-
color: #
|
101
|
-
background: #
|
102
|
-
border-color: #
|
142
|
+
color: #cf1b21;
|
143
|
+
background: #fff2f0;
|
144
|
+
border-color: #ffb1a8;
|
103
145
|
}
|
104
146
|
.ant-tag-red-inverse {
|
105
147
|
color: #fff;
|
106
|
-
background: #
|
107
|
-
border-color: #
|
148
|
+
background: #f42d2d;
|
149
|
+
border-color: #f42d2d;
|
108
150
|
}
|
109
151
|
.ant-tag-volcano {
|
110
152
|
color: #d4380d;
|
@@ -137,14 +179,14 @@
|
|
137
179
|
border-color: #fadb14;
|
138
180
|
}
|
139
181
|
.ant-tag-gold {
|
140
|
-
color: #
|
182
|
+
color: #d98900;
|
141
183
|
background: #fffbe6;
|
142
|
-
border-color: #
|
184
|
+
border-color: #ffe07a;
|
143
185
|
}
|
144
186
|
.ant-tag-gold-inverse {
|
145
187
|
color: #fff;
|
146
|
-
background: #
|
147
|
-
border-color: #
|
188
|
+
background: #ffab00;
|
189
|
+
border-color: #ffab00;
|
148
190
|
}
|
149
191
|
.ant-tag-cyan {
|
150
192
|
color: #08979c;
|
@@ -167,14 +209,14 @@
|
|
167
209
|
border-color: #a0d911;
|
168
210
|
}
|
169
211
|
.ant-tag-green {
|
170
|
-
color: #
|
171
|
-
background: #
|
172
|
-
border-color: #
|
212
|
+
color: #20a116;
|
213
|
+
background: #f4fff0;
|
214
|
+
border-color: #afed9f;
|
173
215
|
}
|
174
216
|
.ant-tag-green-inverse {
|
175
217
|
color: #fff;
|
176
|
-
background: #
|
177
|
-
border-color: #
|
218
|
+
background: #36c626;
|
219
|
+
border-color: #36c626;
|
178
220
|
}
|
179
221
|
.ant-tag-blue {
|
180
222
|
color: #096dd9;
|
@@ -208,23 +250,23 @@
|
|
208
250
|
}
|
209
251
|
.ant-tag-success {
|
210
252
|
color: #36c626;
|
211
|
-
background:
|
212
|
-
border-color:
|
253
|
+
background: var(--ant-success-color-deprecated-bg);
|
254
|
+
border-color: var(--ant-success-color-deprecated-border);
|
213
255
|
}
|
214
256
|
.ant-tag-processing {
|
215
257
|
color: #2c68ff;
|
216
|
-
background:
|
217
|
-
border-color:
|
258
|
+
background: var(--ant-info-color-deprecated-bg);
|
259
|
+
border-color: var(--ant-info-color-deprecated-border);
|
218
260
|
}
|
219
261
|
.ant-tag-error {
|
220
262
|
color: #f42d2d;
|
221
|
-
background:
|
222
|
-
border-color:
|
263
|
+
background: var(--ant-error-color-deprecated-bg);
|
264
|
+
border-color: var(--ant-error-color-deprecated-border);
|
223
265
|
}
|
224
266
|
.ant-tag-warning {
|
225
267
|
color: #ffab00;
|
226
|
-
background:
|
227
|
-
border-color:
|
268
|
+
background: var(--ant-warning-color-deprecated-bg);
|
269
|
+
border-color: var(--ant-warning-color-deprecated-border);
|
228
270
|
}
|
229
271
|
.ant-tag > .anticon + span,
|
230
272
|
.ant-tag > span + .anticon {
|
@@ -2,3 +2,45 @@
|
|
2
2
|
/* stylelint-disable no-duplicate-selectors */
|
3
3
|
/* stylelint-disable */
|
4
4
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
5
|
+
html {
|
6
|
+
--ant-primary-color: #1890ff;
|
7
|
+
--ant-primary-color-hover: #40a9ff;
|
8
|
+
--ant-primary-color-active: #096dd9;
|
9
|
+
--ant-primary-color-outline: rgba(24, 144, 255, 0.2);
|
10
|
+
--ant-primary-1: #e6f7ff;
|
11
|
+
--ant-primary-2: #bae7ff;
|
12
|
+
--ant-primary-3: #91d5ff;
|
13
|
+
--ant-primary-4: #69c0ff;
|
14
|
+
--ant-primary-5: #40a9ff;
|
15
|
+
--ant-primary-6: #1890ff;
|
16
|
+
--ant-primary-7: #096dd9;
|
17
|
+
--ant-primary-color-deprecated-pure: ;
|
18
|
+
--ant-primary-color-deprecated-l-35: #cbe6ff;
|
19
|
+
--ant-primary-color-deprecated-l-20: #7ec1ff;
|
20
|
+
--ant-primary-color-deprecated-t-20: #46a6ff;
|
21
|
+
--ant-primary-color-deprecated-t-50: #8cc8ff;
|
22
|
+
--ant-primary-color-deprecated-f-12: rgba(24, 144, 255, 0.12);
|
23
|
+
--ant-primary-color-active-deprecated-f-30: rgba(230, 247, 255, 0.3);
|
24
|
+
--ant-primary-color-active-deprecated-d-02: #dcf4ff;
|
25
|
+
--ant-success-color: #36c626;
|
26
|
+
--ant-success-color-hover: #5cd44a;
|
27
|
+
--ant-success-color-active: #20a116;
|
28
|
+
--ant-success-color-outline: rgba(54, 198, 38, 0.2);
|
29
|
+
--ant-success-color-deprecated-bg: #f4fff0;
|
30
|
+
--ant-success-color-deprecated-border: #afed9f;
|
31
|
+
--ant-error-color: #ff5c57;
|
32
|
+
--ant-error-color-hover: #ff8880;
|
33
|
+
--ant-error-color-active: #d93f3f;
|
34
|
+
--ant-error-color-outline: rgba(255, 92, 87, 0.2);
|
35
|
+
--ant-error-color-deprecated-bg: #fff3f0;
|
36
|
+
--ant-error-color-deprecated-border: #ffd7d1;
|
37
|
+
--ant-warning-color: #ffab00;
|
38
|
+
--ant-warning-color-hover: #ffbf29;
|
39
|
+
--ant-warning-color-active: #d98900;
|
40
|
+
--ant-warning-color-outline: rgba(255, 171, 0, 0.2);
|
41
|
+
--ant-warning-color-deprecated-bg: #fffbe6;
|
42
|
+
--ant-warning-color-deprecated-border: #ffe07a;
|
43
|
+
--ant-info-color: #1890ff;
|
44
|
+
--ant-info-color-deprecated-bg: #e6f7ff;
|
45
|
+
--ant-info-color-deprecated-border: #91d5ff;
|
46
|
+
}
|