@fle-ui/next 1.0.5-alpha.3 → 1.0.5-alpha.4
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 +3438 -3438
- package/dist/@fle-ui/next.css.map +1 -1
- package/dist/@fle-ui/next.js +359 -359
- package/dist/@fle-ui/next.js.map +1 -1
- package/dist/@fle-ui/next.min.css +2 -2
- package/dist/@fle-ui/next.min.css.map +1 -1
- package/dist/@fle-ui/next.min.js +1 -1
- package/dist/@fle-ui/next.min.js.map +1 -1
- package/es/affix/style/index.css +38 -38
- package/es/alert/style/index.css +47 -47
- package/es/anchor/style/index.css +43 -43
- package/es/auto-complete/style/index.css +39 -39
- package/es/avatar/style/index.css +39 -39
- package/es/back-top/style/index.css +41 -41
- package/es/badge/style/index.css +61 -61
- package/es/breadcrumb/style/index.css +45 -45
- package/es/button/style/index.css +122 -122
- package/es/calendar/style/index.css +45 -45
- package/es/card/style/index.css +55 -55
- package/es/carousel/style/index.css +39 -39
- package/es/cascader/style/index.css +61 -61
- package/es/checkbox/style/index.css +55 -55
- package/es/collapse/style/index.css +46 -46
- package/es/comment/style/index.css +43 -43
- package/es/config-provider/style/index.css +38 -38
- package/es/date-picker/style/index.css +87 -87
- package/es/descriptions/style/index.css +46 -46
- package/es/divider/style/index.css +45 -45
- package/es/drawer/style/index.css +43 -43
- package/es/dropdown/style/index.css +51 -51
- package/es/empty/style/index.css +40 -40
- package/es/form/style/index.css +56 -56
- package/es/grid/style/index.css +38 -38
- package/es/icon/style/index.css +38 -38
- package/es/image/style/index.css +39 -39
- package/es/input/style/index.css +84 -84
- package/es/input-number/style/index.css +87 -87
- package/es/layout/style/index.css +42 -42
- package/es/list/style/index.css +55 -55
- package/es/locale-provider/style/index.css +38 -38
- package/es/mentions/style/index.css +61 -61
- package/es/menu/style/index.css +78 -78
- package/es/message/style/index.css +43 -43
- package/es/modal/style/index.css +39 -39
- package/es/modal/style/modal.less +1 -1
- package/es/notification/style/index.css +46 -46
- package/es/page-header/style/index.css +42 -42
- package/es/pagination/style/index.css +79 -79
- package/es/pagination/style/index.less +2 -0
- package/es/popconfirm/style/index.css +38 -38
- package/es/popover/style/index.css +52 -52
- package/es/progress/style/index.css +53 -53
- package/es/radio/style/index.css +72 -72
- package/es/rate/style/index.css +40 -40
- package/es/result/style/index.css +44 -44
- package/es/segmented/style/index.css +41 -41
- package/es/select/style/index.css +62 -62
- package/es/skeleton/style/index.css +38 -38
- package/es/slider/style/index.css +45 -45
- package/es/space/style/index.css +38 -38
- package/es/spin/style/index.css +42 -42
- package/es/statistic/style/index.css +41 -41
- package/es/steps/style/index.css +82 -82
- package/es/style/color/colors.less +6 -6
- package/es/style/index.css +49 -49
- package/es/style/themes/compact.less +12 -6
- package/es/style/themes/dark.less +445 -106
- package/es/style/themes/default.less +61 -35
- package/es/style/themes/index.less +1 -1
- package/es/style/themes/variable.less +80 -39
- package/es/switch/style/index.css +43 -43
- package/es/table/style/index.css +68 -68
- package/es/tabs/style/index.css +55 -55
- package/es/tag/style/index.css +67 -67
- package/es/time-picker/style/index.css +38 -38
- package/es/timeline/style/index.css +53 -53
- package/es/tooltip/style/index.css +47 -47
- package/es/transfer/style/index.css +55 -55
- package/es/tree/style/index.css +65 -65
- package/es/tree-select/style/index.css +63 -63
- package/es/typography/style/index.css +56 -56
- package/es/upload/style/index.css +57 -57
- package/lib/affix/style/index.css +38 -38
- package/lib/alert/style/index.css +47 -47
- package/lib/anchor/style/index.css +43 -43
- package/lib/auto-complete/style/index.css +39 -39
- package/lib/avatar/style/index.css +39 -39
- package/lib/back-top/style/index.css +41 -41
- package/lib/badge/style/index.css +61 -61
- package/lib/breadcrumb/style/index.css +45 -45
- package/lib/button/style/index.css +122 -122
- package/lib/calendar/style/index.css +45 -45
- package/lib/card/style/index.css +55 -55
- package/lib/carousel/style/index.css +39 -39
- package/lib/cascader/style/index.css +61 -61
- package/lib/checkbox/style/index.css +55 -55
- package/lib/collapse/style/index.css +46 -46
- package/lib/comment/style/index.css +43 -43
- package/lib/config-provider/style/index.css +38 -38
- package/lib/date-picker/style/index.css +87 -87
- package/lib/descriptions/style/index.css +46 -46
- package/lib/divider/style/index.css +45 -45
- package/lib/drawer/style/index.css +43 -43
- package/lib/dropdown/style/index.css +51 -51
- package/lib/empty/style/index.css +40 -40
- package/lib/form/style/index.css +56 -56
- package/lib/grid/style/index.css +38 -38
- package/lib/icon/style/index.css +38 -38
- package/lib/image/style/index.css +39 -39
- package/lib/input/style/index.css +84 -84
- package/lib/input-number/style/index.css +87 -87
- package/lib/layout/style/index.css +42 -42
- package/lib/list/style/index.css +55 -55
- package/lib/locale-provider/style/index.css +38 -38
- package/lib/mentions/style/index.css +61 -61
- package/lib/menu/style/index.css +78 -78
- package/lib/message/style/index.css +43 -43
- package/lib/modal/style/index.css +39 -39
- package/lib/modal/style/modal.less +1 -1
- package/lib/notification/style/index.css +46 -46
- package/lib/page-header/style/index.css +42 -42
- package/lib/pagination/style/index.css +79 -79
- package/lib/pagination/style/index.less +2 -0
- package/lib/popconfirm/style/index.css +38 -38
- package/lib/popover/style/index.css +52 -52
- package/lib/progress/style/index.css +53 -53
- package/lib/radio/style/index.css +72 -72
- package/lib/rate/style/index.css +40 -40
- package/lib/result/style/index.css +44 -44
- package/lib/segmented/style/index.css +41 -41
- package/lib/select/style/index.css +62 -62
- package/lib/skeleton/style/index.css +38 -38
- package/lib/slider/style/index.css +45 -45
- package/lib/space/style/index.css +38 -38
- package/lib/spin/style/index.css +42 -42
- package/lib/statistic/style/index.css +41 -41
- package/lib/steps/style/index.css +82 -82
- package/lib/style/color/colors.less +6 -6
- package/lib/style/index.css +49 -49
- package/lib/style/themes/compact.less +12 -6
- package/lib/style/themes/dark.less +445 -106
- package/lib/style/themes/default.less +61 -35
- package/lib/style/themes/index.less +1 -1
- package/lib/style/themes/variable.less +80 -39
- package/lib/switch/style/index.css +43 -43
- package/lib/table/style/index.css +68 -68
- package/lib/tabs/style/index.css +55 -55
- package/lib/tag/style/index.css +67 -67
- package/lib/time-picker/style/index.css +38 -38
- package/lib/timeline/style/index.css +53 -53
- package/lib/tooltip/style/index.css +47 -47
- package/lib/transfer/style/index.css +55 -55
- package/lib/tree/style/index.css +65 -65
- package/lib/tree-select/style/index.css +63 -63
- package/lib/typography/style/index.css +56 -56
- package/lib/upload/style/index.css +57 -57
- package/package.json +1 -1
- package/report.html +2 -2
@@ -32,7 +32,9 @@
|
|
32
32
|
@success-color-active: color(~`colorPalette('@{success-color}', 7) `);
|
33
33
|
@success-color-outline: fade(@success-color, @outline-fade);
|
34
34
|
@success-color-deprecated-bg: color(~`colorPalette('@{success-color}', 1) `);
|
35
|
-
@success-color-deprecated-border: color(
|
35
|
+
@success-color-deprecated-border: color(
|
36
|
+
~`colorPalette('@{success-color}', 3) `
|
37
|
+
);
|
36
38
|
|
37
39
|
// >>> Warning
|
38
40
|
@warning-color: @gold-6;
|
@@ -40,7 +42,9 @@
|
|
40
42
|
@warning-color-active: color(~`colorPalette('@{warning-color}', 7) `);
|
41
43
|
@warning-color-outline: fade(@warning-color, @outline-fade);
|
42
44
|
@warning-color-deprecated-bg: color(~`colorPalette('@{warning-color}', 1) `);
|
43
|
-
@warning-color-deprecated-border: color(
|
45
|
+
@warning-color-deprecated-border: color(
|
46
|
+
~`colorPalette('@{warning-color}', 3) `
|
47
|
+
);
|
44
48
|
|
45
49
|
// >>> Error
|
46
50
|
@error-color: @red-5;
|
@@ -57,15 +61,21 @@
|
|
57
61
|
|
58
62
|
// Color used by default to control hover and active backgrounds and for
|
59
63
|
// alert info backgrounds.
|
60
|
-
@primary-1: color(
|
61
|
-
|
64
|
+
@primary-1: color(
|
65
|
+
~`colorPalette('@{primary-color}', 1) `
|
66
|
+
); // replace tint(@primary-color, 90%)
|
67
|
+
@primary-2: color(
|
68
|
+
~`colorPalette('@{primary-color}', 2) `
|
69
|
+
); // replace tint(@primary-color, 80%)
|
62
70
|
@primary-3: color(~`colorPalette('@{primary-color}', 3) `); // unused
|
63
71
|
@primary-4: color(~`colorPalette('@{primary-color}', 4) `); // unused
|
64
72
|
@primary-5: color(
|
65
73
|
~`colorPalette('@{primary-color}', 5) `
|
66
74
|
); // color used to control the text color in many active and hover states, replace tint(@primary-color, 20%)
|
67
75
|
@primary-6: @primary-color; // color used to control the text color of active buttons, don't use, use @primary-color
|
68
|
-
@primary-7: color(
|
76
|
+
@primary-7: color(
|
77
|
+
~`colorPalette('@{primary-color}', 7) `
|
78
|
+
); // replace shade(@primary-color, 5%)
|
69
79
|
@primary-8: color(~`colorPalette('@{primary-color}', 8) `); // unused
|
70
80
|
@primary-9: color(~`colorPalette('@{primary-color}', 9) `); // unused
|
71
81
|
@primary-10: color(~`colorPalette('@{primary-color}', 10) `); // unused
|
@@ -80,10 +90,11 @@
|
|
80
90
|
// Popover background color
|
81
91
|
@popover-background: @component-background;
|
82
92
|
@popover-customize-border-color: @border-color-split;
|
83
|
-
@font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
84
|
-
'Noto Sans', sans-serif, 'Apple Color Emoji',
|
85
|
-
'Noto Color Emoji';
|
86
|
-
@code-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier,
|
93
|
+
@font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
94
|
+
'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
|
95
|
+
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
96
|
+
@code-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier,
|
97
|
+
monospace;
|
87
98
|
@text-color: fade(@black, 85%);
|
88
99
|
@text-color-secondary: fade(@black, 45%);
|
89
100
|
@text-color-inverse: @white;
|
@@ -105,7 +116,7 @@
|
|
105
116
|
@heading-5-size: ceil(@font-size-base * 1.14);
|
106
117
|
// https://github.com/ant-design/ant-design/issues/20210
|
107
118
|
@line-height-base: 1.5715;
|
108
|
-
@border-radius-base:
|
119
|
+
@border-radius-base: 4px;
|
109
120
|
@border-radius-sm: @border-radius-base;
|
110
121
|
|
111
122
|
// control border
|
@@ -183,7 +194,11 @@
|
|
183
194
|
@outline-color: @primary-color; // No use anymore
|
184
195
|
@outline-fade: 20%;
|
185
196
|
|
186
|
-
@background-color-light: hsv(
|
197
|
+
@background-color-light: hsv(
|
198
|
+
0,
|
199
|
+
0,
|
200
|
+
98%
|
201
|
+
); // background of header and selected item
|
187
202
|
@background-color-base: hsv(0, 0, 96%); // Default grey background color
|
188
203
|
|
189
204
|
// Disabled states
|
@@ -196,14 +211,14 @@
|
|
196
211
|
@shadow-color: rgba(0, 0, 0, 0.15);
|
197
212
|
@shadow-color-inverse: @component-background;
|
198
213
|
@box-shadow-base: @shadow-2;
|
199
|
-
@shadow-1-up: 0 -6px 16px -8px rgba(0, 0, 0, 0.08),
|
200
|
-
0 -12px 48px 16px rgba(0, 0, 0, 0.03);
|
201
|
-
@shadow-1-down: 0 6px 16px -8px rgba(0, 0, 0, 0.08),
|
202
|
-
0 12px 48px 16px rgba(0, 0, 0, 0.03);
|
203
|
-
@shadow-1-left: -6px 0 16px -8px rgba(0, 0, 0, 0.08),
|
204
|
-
-12px 0 48px 16px rgba(0, 0, 0, 0.03);
|
205
|
-
@shadow-1-right: 6px 0 16px -8px rgba(0, 0, 0, 0.08),
|
206
|
-
12px 0 48px 16px rgba(0, 0, 0, 0.03);
|
214
|
+
@shadow-1-up: 0 -6px 16px -8px rgba(0, 0, 0, 0.08),
|
215
|
+
0 -9px 28px 0 rgba(0, 0, 0, 0.05), 0 -12px 48px 16px rgba(0, 0, 0, 0.03);
|
216
|
+
@shadow-1-down: 0 6px 16px -8px rgba(0, 0, 0, 0.08),
|
217
|
+
0 9px 28px 0 rgba(0, 0, 0, 0.05), 0 12px 48px 16px rgba(0, 0, 0, 0.03);
|
218
|
+
@shadow-1-left: -6px 0 16px -8px rgba(0, 0, 0, 0.08),
|
219
|
+
-9px 0 28px 0 rgba(0, 0, 0, 0.05), -12px 0 48px 16px rgba(0, 0, 0, 0.03);
|
220
|
+
@shadow-1-right: 6px 0 16px -8px rgba(0, 0, 0, 0.08),
|
221
|
+
9px 0 28px 0 rgba(0, 0, 0, 0.05), 12px 0 48px 16px rgba(0, 0, 0, 0.03);
|
207
222
|
@shadow-2: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
208
223
|
0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
209
224
|
|
@@ -433,13 +448,18 @@
|
|
433
448
|
@input-padding-horizontal-sm: @control-padding-horizontal-sm - 1px;
|
434
449
|
@input-padding-horizontal-lg: @input-padding-horizontal;
|
435
450
|
@input-padding-vertical-base: max(
|
436
|
-
(
|
437
|
-
|
451
|
+
(
|
452
|
+
round(
|
453
|
+
((@input-height-base - @font-size-base * @line-height-base) / 2) * 10
|
454
|
+
) / 10
|
455
|
+
) - @border-width-base,
|
438
456
|
3px
|
439
457
|
);
|
440
458
|
@input-padding-vertical-sm: max(
|
441
|
-
(
|
442
|
-
|
459
|
+
(
|
460
|
+
round(((@input-height-sm - @font-size-base * @line-height-base) / 2) * 10) /
|
461
|
+
10
|
462
|
+
) - @border-width-base,
|
443
463
|
0
|
444
464
|
);
|
445
465
|
@input-padding-vertical-lg: (
|
@@ -484,7 +504,8 @@
|
|
484
504
|
@select-selection-item-bg: @background-color-base;
|
485
505
|
@select-selection-item-border-color: @border-color-split;
|
486
506
|
@select-single-item-height-lg: 40px;
|
487
|
-
@select-multiple-item-height: @input-height-base - @input-padding-vertical-base *
|
507
|
+
@select-multiple-item-height: @input-height-base - @input-padding-vertical-base *
|
508
|
+
2; // Normal 24px
|
488
509
|
@select-multiple-item-height-lg: 32px;
|
489
510
|
@select-multiple-item-spacing-half: ceil((@input-padding-vertical-base / 2));
|
490
511
|
@select-multiple-disabled-background: @input-disabled-bg;
|
@@ -555,21 +576,21 @@
|
|
555
576
|
@modal-header-padding-horizontal: @padding-lg;
|
556
577
|
@modal-body-padding: @padding-lg;
|
557
578
|
@modal-header-bg: @component-background;
|
558
|
-
@modal-header-padding:
|
579
|
+
@modal-header-padding: 20px 20px;
|
559
580
|
@modal-header-border-width: @border-width-base;
|
560
581
|
@modal-header-border-style: @border-style-base;
|
561
582
|
@modal-header-title-line-height: 22px;
|
562
583
|
@modal-header-title-font-size: @font-size-lg;
|
563
584
|
@modal-header-border-color-split: @border-color-split;
|
564
|
-
@modal-header-close-size:
|
585
|
+
@modal-header-close-size: 63px;
|
565
586
|
@modal-content-bg: @component-background;
|
566
587
|
@modal-heading-color: @heading-color;
|
567
588
|
@modal-close-color: @text-color-secondary;
|
568
589
|
@modal-footer-bg: transparent;
|
569
590
|
@modal-footer-border-color-split: @border-color-split;
|
570
591
|
@modal-footer-border-style: @border-style-base;
|
571
|
-
@modal-footer-padding-vertical:
|
572
|
-
@modal-footer-padding-horizontal:
|
592
|
+
@modal-footer-padding-vertical: 16px;
|
593
|
+
@modal-footer-padding-horizontal: 24px;
|
573
594
|
@modal-footer-border-width: @border-width-base;
|
574
595
|
@modal-mask-bg: fade(@black, 45%);
|
575
596
|
@modal-confirm-body-padding: 32px 32px 24px;
|
@@ -751,8 +772,8 @@
|
|
751
772
|
@card-actions-li-margin: 12px 0;
|
752
773
|
@card-skeleton-bg: #cfd8dc;
|
753
774
|
@card-background: @component-background;
|
754
|
-
@card-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16),
|
755
|
-
0 5px 12px 4px rgba(0, 0, 0, 0.09);
|
775
|
+
@card-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16),
|
776
|
+
0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09);
|
756
777
|
@card-radius: @border-radius-base;
|
757
778
|
@card-head-tabs-margin-bottom: -17px;
|
758
779
|
@card-head-extra-color: @text-color;
|
@@ -845,8 +866,8 @@
|
|
845
866
|
@pagination-item-size: @height-base;
|
846
867
|
@pagination-item-size-sm: 24px;
|
847
868
|
@pagination-font-family: @font-family;
|
848
|
-
@pagination-font-weight-active:
|
849
|
-
@pagination-item-bg-active: @
|
869
|
+
@pagination-font-weight-active: 400;
|
870
|
+
@pagination-item-bg-active: @primary-color;
|
850
871
|
@pagination-item-link-bg: @component-background;
|
851
872
|
@pagination-item-disabled-color-active: @disabled-color;
|
852
873
|
@pagination-item-disabled-bg-active: @disabled-active-bg;
|
@@ -968,8 +989,10 @@
|
|
968
989
|
@alert-with-description-no-icon-padding-vertical: @padding-md - 1px;
|
969
990
|
@alert-with-description-padding-vertical: @padding-md - 1px;
|
970
991
|
@alert-with-description-padding: @alert-with-description-padding-vertical 15px
|
971
|
-
@alert-with-description-no-icon-padding-vertical
|
972
|
-
@alert-
|
992
|
+
@alert-with-description-no-icon-padding-vertical
|
993
|
+
@alert-with-description-icon-size;
|
994
|
+
@alert-icon-top: 8px + @font-size-base * (@line-height-base / 2) -
|
995
|
+
(@font-size-base / 2);
|
973
996
|
@alert-with-description-icon-size: 24px;
|
974
997
|
|
975
998
|
// List
|
@@ -1069,7 +1092,10 @@
|
|
1069
1092
|
@image-mask-font-size: 16px;
|
1070
1093
|
@image-preview-operation-size: 18px;
|
1071
1094
|
@image-preview-operation-color: @text-color-dark;
|
1072
|
-
@image-preview-operation-disabled-color: fade(
|
1095
|
+
@image-preview-operation-disabled-color: fade(
|
1096
|
+
@image-preview-operation-color,
|
1097
|
+
25%
|
1098
|
+
);
|
1073
1099
|
|
1074
1100
|
// Segmented
|
1075
1101
|
// ---
|
@@ -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
|
@@ -1124,7 +1162,10 @@
|
|
1124
1162
|
@image-mask-font-size: 16px;
|
1125
1163
|
@image-preview-operation-size: 18px;
|
1126
1164
|
@image-preview-operation-color: @text-color-dark;
|
1127
|
-
@image-preview-operation-disabled-color: fade(
|
1165
|
+
@image-preview-operation-disabled-color: fade(
|
1166
|
+
@image-preview-operation-color,
|
1167
|
+
25%
|
1168
|
+
);
|
1128
1169
|
|
1129
1170
|
// Segmented
|
1130
1171
|
// ---
|
@@ -3,51 +3,51 @@
|
|
3
3
|
/* stylelint-disable */
|
4
4
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
5
5
|
html {
|
6
|
-
--ant-primary-color: #
|
7
|
-
--ant-primary-color-hover: #
|
8
|
-
--ant-primary-color-active: #
|
9
|
-
--ant-primary-color-outline: rgba(
|
10
|
-
--ant-primary-1: #
|
11
|
-
--ant-primary-2: #
|
12
|
-
--ant-primary-3: #
|
13
|
-
--ant-primary-4: #
|
14
|
-
--ant-primary-5: #
|
15
|
-
--ant-primary-6: #
|
16
|
-
--ant-primary-7: #
|
6
|
+
--ant-primary-color: #2c68ff;
|
7
|
+
--ant-primary-color-hover: #548aff;
|
8
|
+
--ant-primary-color-active: #1a4ad9;
|
9
|
+
--ant-primary-color-outline: rgba(44, 104, 255, 0.2);
|
10
|
+
--ant-primary-1: #f0f7ff;
|
11
|
+
--ant-primary-2: #cfe3ff;
|
12
|
+
--ant-primary-3: #a6c8ff;
|
13
|
+
--ant-primary-4: #7daaff;
|
14
|
+
--ant-primary-5: #548aff;
|
15
|
+
--ant-primary-6: #2c68ff;
|
16
|
+
--ant-primary-7: #1a4ad9;
|
17
17
|
--ant-primary-color-deprecated-pure: ;
|
18
|
-
--ant-primary-color-deprecated-l-35: #
|
19
|
-
--ant-primary-color-deprecated-l-20: #
|
20
|
-
--ant-primary-color-deprecated-t-20: #
|
21
|
-
--ant-primary-color-deprecated-t-50: #
|
22
|
-
--ant-primary-color-deprecated-f-12: rgba(
|
23
|
-
--ant-primary-color-active-deprecated-f-30: rgba(
|
24
|
-
--ant-primary-color-active-deprecated-d-02: #
|
25
|
-
--ant-success-color: #
|
26
|
-
--ant-success-color-hover: #
|
27
|
-
--ant-success-color-active: #
|
28
|
-
--ant-success-color-outline: rgba(
|
29
|
-
--ant-success-color-deprecated-bg: #
|
30
|
-
--ant-success-color-deprecated-border: #
|
31
|
-
--ant-error-color: #
|
32
|
-
--ant-error-color-hover: #
|
33
|
-
--ant-error-color-active: #
|
34
|
-
--ant-error-color-outline: rgba(255,
|
35
|
-
--ant-error-color-deprecated-bg: #
|
36
|
-
--ant-error-color-deprecated-border: #
|
37
|
-
--ant-warning-color: #
|
38
|
-
--ant-warning-color-hover: #
|
39
|
-
--ant-warning-color-active: #
|
40
|
-
--ant-warning-color-outline: rgba(
|
18
|
+
--ant-primary-color-deprecated-l-35: #dfe8ff;
|
19
|
+
--ant-primary-color-deprecated-l-20: #92b1ff;
|
20
|
+
--ant-primary-color-deprecated-t-20: #5686ff;
|
21
|
+
--ant-primary-color-deprecated-t-50: #96b4ff;
|
22
|
+
--ant-primary-color-deprecated-f-12: rgba(44, 104, 255, 0.12);
|
23
|
+
--ant-primary-color-active-deprecated-f-30: rgba(240, 247, 255, 0.3);
|
24
|
+
--ant-primary-color-active-deprecated-d-02: #e6f2ff;
|
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
41
|
--ant-warning-color-deprecated-bg: #fffbe6;
|
42
|
-
--ant-warning-color-deprecated-border: #
|
43
|
-
--ant-info-color: #
|
44
|
-
--ant-info-color-deprecated-bg: #
|
45
|
-
--ant-info-color-deprecated-border: #
|
42
|
+
--ant-warning-color-deprecated-border: #ffe07a;
|
43
|
+
--ant-info-color: #2c68ff;
|
44
|
+
--ant-info-color-deprecated-bg: #f0f7ff;
|
45
|
+
--ant-info-color-deprecated-border: #a6c8ff;
|
46
46
|
}
|
47
47
|
.ant-switch {
|
48
48
|
margin: 0;
|
49
49
|
padding: 0;
|
50
|
-
color:
|
50
|
+
color: rgba(0, 0, 0, 0.85);
|
51
51
|
font-size: 14px;
|
52
52
|
font-variant: tabular-nums;
|
53
53
|
line-height: 1.5715;
|
@@ -60,7 +60,7 @@ html {
|
|
60
60
|
height: 22px;
|
61
61
|
line-height: 22px;
|
62
62
|
vertical-align: middle;
|
63
|
-
background-image: linear-gradient(to right,
|
63
|
+
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), linear-gradient(to right, #fff, #fff);
|
64
64
|
border: 0;
|
65
65
|
border-radius: 100px;
|
66
66
|
cursor: pointer;
|
@@ -72,7 +72,7 @@ html {
|
|
72
72
|
}
|
73
73
|
.ant-switch:focus {
|
74
74
|
outline: 0;
|
75
|
-
box-shadow: 0 0 0 2px rgba(
|
75
|
+
box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
|
76
76
|
}
|
77
77
|
.ant-switch-checked:focus {
|
78
78
|
box-shadow: 0 0 0 2px var(--ant-primary-1);
|
@@ -81,7 +81,7 @@ html {
|
|
81
81
|
box-shadow: none;
|
82
82
|
}
|
83
83
|
.ant-switch-checked {
|
84
|
-
background:
|
84
|
+
background: var(--ant-primary-color);
|
85
85
|
}
|
86
86
|
.ant-switch-loading,
|
87
87
|
.ant-switch-disabled {
|
@@ -141,7 +141,7 @@ html {
|
|
141
141
|
vertical-align: top;
|
142
142
|
}
|
143
143
|
.ant-switch-checked .ant-switch-loading-icon {
|
144
|
-
color:
|
144
|
+
color: var(--ant-primary-color);
|
145
145
|
}
|
146
146
|
.ant-switch-small {
|
147
147
|
min-width: 28px;
|