@tuya-sat/micro-dev-loader 2.2.5 → 2.2.9
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/plugins/theme/dark.variable.less +1405 -0
- package/dist/plugins/theme/filterPlugin.d.ts +9 -0
- package/dist/plugins/theme/filterPlugin.js +23 -0
- package/dist/plugins/theme/index.d.ts +1 -7
- package/dist/plugins/theme/index.js +28 -65
- package/package.json +5 -4
- package/dist/plugins/theme/bundle.js +0 -123
|
@@ -0,0 +1,1405 @@
|
|
|
1
|
+
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
2
|
+
@import '../color/colors';
|
|
3
|
+
|
|
4
|
+
@theme: variable;
|
|
5
|
+
|
|
6
|
+
// The prefix to use on all css classes from ant.
|
|
7
|
+
@ant-prefix: antd;
|
|
8
|
+
|
|
9
|
+
// An override for the html selector for theme prefixes
|
|
10
|
+
@html-selector: html;
|
|
11
|
+
|
|
12
|
+
html {
|
|
13
|
+
@base-primary: @blue-6;
|
|
14
|
+
|
|
15
|
+
// ========= Primary Color =========
|
|
16
|
+
--@{ant-prefix}-primary-color: @base-primary;
|
|
17
|
+
--@{ant-prefix}-primary-color-hover: color(~`colorPalette('@{base-primary}', 5) `);
|
|
18
|
+
--@{ant-prefix}-primary-color-active: color(~`colorPalette('@{base-primary}', 7) `);
|
|
19
|
+
--@{ant-prefix}-primary-color-outline: fade(@base-primary, @outline-fade);
|
|
20
|
+
|
|
21
|
+
// Legacy
|
|
22
|
+
@legacy-primary-1: color(~`colorPalette('@{base-primary}', 1) `);
|
|
23
|
+
|
|
24
|
+
--@{ant-prefix}-primary-1: @legacy-primary-1;
|
|
25
|
+
--@{ant-prefix}-primary-2: color(~`colorPalette('@{base-primary}', 2) `);
|
|
26
|
+
--@{ant-prefix}-primary-3: color(~`colorPalette('@{base-primary}', 3) `);
|
|
27
|
+
--@{ant-prefix}-primary-4: color(~`colorPalette('@{base-primary}', 4) `);
|
|
28
|
+
--@{ant-prefix}-primary-5: color(~`colorPalette('@{base-primary}', 5) `);
|
|
29
|
+
--@{ant-prefix}-primary-6: @base-primary;
|
|
30
|
+
--@{ant-prefix}-primary-7: color(~`colorPalette('@{base-primary}', 7) `);
|
|
31
|
+
|
|
32
|
+
// Deprecated
|
|
33
|
+
--@{ant-prefix}-primary-color-deprecated-pure: ~'';
|
|
34
|
+
--@{ant-prefix}-primary-color-deprecated-l-35: lighten(@base-primary, 35%);
|
|
35
|
+
--@{ant-prefix}-primary-color-deprecated-l-20: lighten(@base-primary, 20%);
|
|
36
|
+
--@{ant-prefix}-primary-color-deprecated-t-20: tint(@base-primary, 20%);
|
|
37
|
+
--@{ant-prefix}-primary-color-deprecated-t-50: tint(@base-primary, 50%);
|
|
38
|
+
--@{ant-prefix}-primary-color-deprecated-f-12: fade(@base-primary, 12%);
|
|
39
|
+
--@{ant-prefix}-primary-color-active-deprecated-f-30: fade(@legacy-primary-1, 30%);
|
|
40
|
+
--@{ant-prefix}-primary-color-active-deprecated-d-02: darken(@legacy-primary-1, 2%);
|
|
41
|
+
|
|
42
|
+
// ========= Success Color =========
|
|
43
|
+
--@{ant-prefix}-success-color: @green-6;
|
|
44
|
+
--@{ant-prefix}-success-color-hover: color(~`colorPalette('@{green-6}', 5) `);
|
|
45
|
+
--@{ant-prefix}-success-color-active: color(~`colorPalette('@{green-6}', 7) `);
|
|
46
|
+
--@{ant-prefix}-success-color-outline: fade(@green-6, @outline-fade);
|
|
47
|
+
--@{ant-prefix}-success-color-deprecated-bg: ~`colorPalette('@{green-6}', 1) `;
|
|
48
|
+
--@{ant-prefix}-success-color-deprecated-border: ~`colorPalette('@{green-6}', 3) `;
|
|
49
|
+
|
|
50
|
+
// ========== Error Color ==========
|
|
51
|
+
--@{ant-prefix}-error-color: @red-5;
|
|
52
|
+
--@{ant-prefix}-error-color-hover: color(~`colorPalette('@{red-5}', 5) `);
|
|
53
|
+
--@{ant-prefix}-error-color-active: color(~`colorPalette('@{red-5}', 7) `);
|
|
54
|
+
--@{ant-prefix}-error-color-outline: fade(@red-5, @outline-fade);
|
|
55
|
+
--@{ant-prefix}-error-color-deprecated-bg: ~`colorPalette('@{red-5}', 1) `;
|
|
56
|
+
--@{ant-prefix}-error-color-deprecated-border: ~`colorPalette('@{red-5}', 3) `;
|
|
57
|
+
|
|
58
|
+
// ========= Warning Color =========
|
|
59
|
+
--@{ant-prefix}-warning-color: @gold-6;
|
|
60
|
+
--@{ant-prefix}-warning-color-hover: color(~`colorPalette('@{gold-6}', 5) `);
|
|
61
|
+
--@{ant-prefix}-warning-color-active: color(~`colorPalette('@{gold-6}', 7) `);
|
|
62
|
+
--@{ant-prefix}-warning-color-outline: fade(@gold-6, @outline-fade);
|
|
63
|
+
--@{ant-prefix}-warning-color-deprecated-bg: ~`colorPalette('@{gold-6}', 1) `;
|
|
64
|
+
--@{ant-prefix}-warning-color-deprecated-border: ~`colorPalette('@{gold-6}', 3) `;
|
|
65
|
+
|
|
66
|
+
// ========== Info Color ===========
|
|
67
|
+
--@{ant-prefix}-info-color: @base-primary;
|
|
68
|
+
--@{ant-prefix}-info-color-deprecated-bg: ~`colorPalette('@{base-primary}', 1) `;
|
|
69
|
+
--@{ant-prefix}-info-color-deprecated-border: ~`colorPalette('@{base-primary}', 3) `;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// -------- Colors -----------
|
|
73
|
+
// >>> Primary
|
|
74
|
+
@primary-color: ~'var(--@{ant-prefix}-primary-color)';
|
|
75
|
+
@primary-color-hover: ~'var(--@{ant-prefix}-primary-color-hover)';
|
|
76
|
+
@primary-color-active: ~'var(--@{ant-prefix}-primary-color-active)';
|
|
77
|
+
@primary-color-outline: ~'var(--@{ant-prefix}-primary-color-outline)';
|
|
78
|
+
|
|
79
|
+
@processing-color: @primary-color;
|
|
80
|
+
|
|
81
|
+
// >>> Info
|
|
82
|
+
@info-color: ~'var(--@{ant-prefix}-info-color)';
|
|
83
|
+
@info-color-deprecated-bg: ~'var(--@{ant-prefix}-info-color-deprecated-bg)';
|
|
84
|
+
@info-color-deprecated-border: ~'var(--@{ant-prefix}-info-color-deprecated-border)';
|
|
85
|
+
|
|
86
|
+
// >>> Success
|
|
87
|
+
@success-color: ~'var(--@{ant-prefix}-success-color)';
|
|
88
|
+
@success-color-hover: ~'var(--@{ant-prefix}-success-color-hover)';
|
|
89
|
+
@success-color-active: ~'var(--@{ant-prefix}-success-color-active)';
|
|
90
|
+
@success-color-outline: ~'var(--@{ant-prefix}-success-color-outline)';
|
|
91
|
+
@success-color-deprecated-bg: ~'var(--@{ant-prefix}-success-color-deprecated-bg)';
|
|
92
|
+
@success-color-deprecated-border: ~'var(--@{ant-prefix}-success-color-deprecated-border)';
|
|
93
|
+
|
|
94
|
+
// >>> Warning
|
|
95
|
+
@warning-color: ~'var(--@{ant-prefix}-warning-color)';
|
|
96
|
+
@warning-color-hover: ~'var(--@{ant-prefix}-warning-color-hover)';
|
|
97
|
+
@warning-color-active: ~'var(--@{ant-prefix}-warning-color-active)';
|
|
98
|
+
@warning-color-outline: ~'var(--@{ant-prefix}-warning-color-outline)';
|
|
99
|
+
@warning-color-deprecated-bg: ~'var(--@{ant-prefix}-warning-color-deprecated-bg)';
|
|
100
|
+
@warning-color-deprecated-border: ~'var(--@{ant-prefix}-warning-color-deprecated-border)';
|
|
101
|
+
|
|
102
|
+
// >>> Error
|
|
103
|
+
@error-color: ~'var(--@{ant-prefix}-error-color)';
|
|
104
|
+
@error-color-hover: ~'var(--@{ant-prefix}-error-color-hover)';
|
|
105
|
+
@error-color-active: ~'var(--@{ant-prefix}-error-color-active)';
|
|
106
|
+
@error-color-outline: ~'var(--@{ant-prefix}-error-color-outline)';
|
|
107
|
+
@error-color-deprecated-bg: ~'var(--@{ant-prefix}-error-color-deprecated-bg)';
|
|
108
|
+
@error-color-deprecated-border: ~'var(--@{ant-prefix}-error-color-deprecated-border)';
|
|
109
|
+
|
|
110
|
+
@highlight-color: @red-5;
|
|
111
|
+
@normal-color: #d9d9d9;
|
|
112
|
+
@white: #fff;
|
|
113
|
+
@black: #000;
|
|
114
|
+
|
|
115
|
+
// Color used by default to control hover and active backgrounds and for
|
|
116
|
+
// alert info backgrounds.
|
|
117
|
+
@primary-1: ~'var(--@{ant-prefix}-primary-1)'; // replace tint(@primary-color, 90%)
|
|
118
|
+
@primary-2: ~'var(--@{ant-prefix}-primary-2)'; // replace tint(@primary-color, 80%)
|
|
119
|
+
@primary-3: ~'var(--@{ant-prefix}-primary-3)'; // unused
|
|
120
|
+
@primary-4: ~'var(--@{ant-prefix}-primary-4)'; // unused
|
|
121
|
+
@primary-5: ~'var(--@{ant-prefix}-primary-5)'; // color used to control the text color in many active and hover states, replace tint(@primary-color, 20%)
|
|
122
|
+
@primary-6: ~'var(--@{ant-prefix}-primary-6)'; // color used to control the text color of active buttons, don't use, use @primary-color
|
|
123
|
+
@primary-7: ~'var(--@{ant-prefix}-primary-7)'; // replace shade(@primary-color, 5%)
|
|
124
|
+
@primary-8: color(~`colorPalette('@{primary-color}', 8) `); // unused
|
|
125
|
+
@primary-9: color(~`colorPalette('@{primary-color}', 9) `); // unused
|
|
126
|
+
@primary-10: color(~`colorPalette('@{primary-color}', 10) `); // unused
|
|
127
|
+
|
|
128
|
+
// Base Scaffolding Variables
|
|
129
|
+
// ---
|
|
130
|
+
|
|
131
|
+
// Background color for `<body>`
|
|
132
|
+
@body-background: #fff;
|
|
133
|
+
// Base background color for most components
|
|
134
|
+
@component-background: #fff;
|
|
135
|
+
// Popover background color
|
|
136
|
+
@popover-background: @component-background;
|
|
137
|
+
@popover-customize-border-color: @border-color-split;
|
|
138
|
+
@font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
139
|
+
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
140
|
+
'Noto Color Emoji';
|
|
141
|
+
@code-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
|
|
142
|
+
@text-color: fade(@black, 85%);
|
|
143
|
+
@text-color-secondary: fade(@black, 45%);
|
|
144
|
+
@text-color-inverse: @white;
|
|
145
|
+
@icon-color: inherit;
|
|
146
|
+
@icon-color-hover: fade(@black, 75%);
|
|
147
|
+
@heading-color: fade(@black, 85%);
|
|
148
|
+
@text-color-dark: fade(@white, 85%);
|
|
149
|
+
@text-color-secondary-dark: fade(@white, 65%);
|
|
150
|
+
@text-selection-bg: @primary-color;
|
|
151
|
+
@font-variant-base: tabular-nums;
|
|
152
|
+
@font-feature-settings-base: 'tnum';
|
|
153
|
+
@font-size-base: 14px;
|
|
154
|
+
@font-size-lg: @font-size-base + 2px;
|
|
155
|
+
@font-size-sm: 12px;
|
|
156
|
+
@heading-1-size: ceil(@font-size-base * 2.71);
|
|
157
|
+
@heading-2-size: ceil(@font-size-base * 2.14);
|
|
158
|
+
@heading-3-size: ceil(@font-size-base * 1.71);
|
|
159
|
+
@heading-4-size: ceil(@font-size-base * 1.42);
|
|
160
|
+
@heading-5-size: ceil(@font-size-base * 1.14);
|
|
161
|
+
// https://github.com/ant-design/ant-design/issues/20210
|
|
162
|
+
@line-height-base: 1.5715;
|
|
163
|
+
@border-radius-base: 2px;
|
|
164
|
+
@border-radius-sm: @border-radius-base;
|
|
165
|
+
|
|
166
|
+
// vertical paddings
|
|
167
|
+
@padding-lg: 24px; // containers
|
|
168
|
+
@padding-md: 16px; // small containers and buttons
|
|
169
|
+
@padding-sm: 12px; // Form controls and items
|
|
170
|
+
@padding-xs: 8px; // small items
|
|
171
|
+
@padding-xss: 4px; // more small
|
|
172
|
+
|
|
173
|
+
// vertical padding for all form controls
|
|
174
|
+
@control-padding-horizontal: @padding-sm;
|
|
175
|
+
@control-padding-horizontal-sm: @padding-xs;
|
|
176
|
+
|
|
177
|
+
// vertical margins
|
|
178
|
+
@margin-lg: 24px; // containers
|
|
179
|
+
@margin-md: 16px; // small containers and buttons
|
|
180
|
+
@margin-sm: 12px; // Form controls and items
|
|
181
|
+
@margin-xs: 8px; // small items
|
|
182
|
+
@margin-xss: 4px; // more small
|
|
183
|
+
|
|
184
|
+
// height rules
|
|
185
|
+
@height-base: 32px;
|
|
186
|
+
@height-lg: 40px;
|
|
187
|
+
@height-sm: 24px;
|
|
188
|
+
|
|
189
|
+
// The background colors for active and hover states for things like
|
|
190
|
+
// list items or table cells.
|
|
191
|
+
@item-active-bg: @primary-1;
|
|
192
|
+
@item-hover-bg: #f5f5f5;
|
|
193
|
+
|
|
194
|
+
// ICONFONT
|
|
195
|
+
@iconfont-css-prefix: anticon;
|
|
196
|
+
|
|
197
|
+
// LINK
|
|
198
|
+
@link-color: @primary-color;
|
|
199
|
+
@link-hover-color: @primary-color-hover;
|
|
200
|
+
@link-active-color: @primary-color-active;
|
|
201
|
+
@link-decoration: none;
|
|
202
|
+
@link-hover-decoration: none;
|
|
203
|
+
@link-focus-decoration: none;
|
|
204
|
+
@link-focus-outline: 0;
|
|
205
|
+
|
|
206
|
+
// Animation
|
|
207
|
+
@ease-base-out: cubic-bezier(0.7, 0.3, 0.1, 1);
|
|
208
|
+
@ease-base-in: cubic-bezier(0.9, 0, 0.3, 0.7);
|
|
209
|
+
@ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
210
|
+
@ease-in: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
|
211
|
+
@ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
212
|
+
@ease-out-back: cubic-bezier(0.12, 0.4, 0.29, 1.46);
|
|
213
|
+
@ease-in-back: cubic-bezier(0.71, -0.46, 0.88, 0.6);
|
|
214
|
+
@ease-in-out-back: cubic-bezier(0.71, -0.46, 0.29, 1.46);
|
|
215
|
+
@ease-out-circ: cubic-bezier(0.08, 0.82, 0.17, 1);
|
|
216
|
+
@ease-in-circ: cubic-bezier(0.6, 0.04, 0.98, 0.34);
|
|
217
|
+
@ease-in-out-circ: cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
|
218
|
+
@ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
|
|
219
|
+
@ease-in-quint: cubic-bezier(0.755, 0.05, 0.855, 0.06);
|
|
220
|
+
@ease-in-out-quint: cubic-bezier(0.86, 0, 0.07, 1);
|
|
221
|
+
|
|
222
|
+
// Border color
|
|
223
|
+
@border-color-base: hsv(0, 0, 85%); // base border outline a component
|
|
224
|
+
@border-color-split: hsv(0, 0, 94%); // split border inside a component
|
|
225
|
+
@border-color-inverse: @white;
|
|
226
|
+
@border-width-base: 1px; // width of the border for a component
|
|
227
|
+
@border-style-base: solid; // style of a components border
|
|
228
|
+
|
|
229
|
+
// Outline
|
|
230
|
+
@outline-blur-size: 0;
|
|
231
|
+
@outline-width: 2px;
|
|
232
|
+
@outline-color: @primary-color; // No use anymore
|
|
233
|
+
@outline-fade: 20%;
|
|
234
|
+
|
|
235
|
+
@background-color-light: hsv(0, 0, 98%); // background of header and selected item
|
|
236
|
+
@background-color-base: hsv(0, 0, 96%); // Default grey background color
|
|
237
|
+
|
|
238
|
+
// Disabled states
|
|
239
|
+
@disabled-color: fade(#000, 25%);
|
|
240
|
+
@disabled-bg: @background-color-base;
|
|
241
|
+
@disabled-active-bg: tint(@black, 90%);
|
|
242
|
+
@disabled-color-dark: fade(#fff, 35%);
|
|
243
|
+
|
|
244
|
+
// Shadow
|
|
245
|
+
@shadow-color: rgba(0, 0, 0, 0.15);
|
|
246
|
+
@shadow-color-inverse: @component-background;
|
|
247
|
+
@box-shadow-base: @shadow-2;
|
|
248
|
+
@shadow-1-up: 0 -6px 16px -8px rgba(0, 0, 0, 0.08), 0 -9px 28px 0 rgba(0, 0, 0, 0.05),
|
|
249
|
+
0 -12px 48px 16px rgba(0, 0, 0, 0.03);
|
|
250
|
+
@shadow-1-down: 0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 9px 28px 0 rgba(0, 0, 0, 0.05),
|
|
251
|
+
0 12px 48px 16px rgba(0, 0, 0, 0.03);
|
|
252
|
+
@shadow-1-left: -6px 0 16px -8px rgba(0, 0, 0, 0.08), -9px 0 28px 0 rgba(0, 0, 0, 0.05),
|
|
253
|
+
-12px 0 48px 16px rgba(0, 0, 0, 0.03);
|
|
254
|
+
@shadow-1-right: 6px 0 16px -8px rgba(0, 0, 0, 0.08), 9px 0 28px 0 rgba(0, 0, 0, 0.05),
|
|
255
|
+
12px 0 48px 16px rgba(0, 0, 0, 0.03);
|
|
256
|
+
@shadow-2: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
257
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
|
258
|
+
|
|
259
|
+
// Buttons
|
|
260
|
+
@btn-font-weight: 400;
|
|
261
|
+
@btn-border-radius-base: @border-radius-base;
|
|
262
|
+
@btn-border-radius-sm: @border-radius-base;
|
|
263
|
+
@btn-border-width: @border-width-base;
|
|
264
|
+
@btn-border-style: @border-style-base;
|
|
265
|
+
@btn-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
|
|
266
|
+
@btn-primary-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
|
|
267
|
+
@btn-text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
|
|
268
|
+
|
|
269
|
+
@btn-primary-color: #fff;
|
|
270
|
+
@btn-primary-bg: @primary-color;
|
|
271
|
+
|
|
272
|
+
@btn-default-color: @text-color;
|
|
273
|
+
@btn-default-bg: @component-background;
|
|
274
|
+
@btn-default-border: @border-color-base;
|
|
275
|
+
|
|
276
|
+
@btn-danger-color: #fff;
|
|
277
|
+
@btn-danger-bg: @error-color;
|
|
278
|
+
@btn-danger-border: @error-color;
|
|
279
|
+
|
|
280
|
+
@btn-disable-color: @disabled-color;
|
|
281
|
+
@btn-disable-bg: @disabled-bg;
|
|
282
|
+
@btn-disable-border: @border-color-base;
|
|
283
|
+
|
|
284
|
+
@btn-default-ghost-color: @component-background;
|
|
285
|
+
@btn-default-ghost-bg: transparent;
|
|
286
|
+
@btn-default-ghost-border: @component-background;
|
|
287
|
+
|
|
288
|
+
@btn-font-size-lg: @font-size-lg;
|
|
289
|
+
@btn-font-size-sm: @font-size-base;
|
|
290
|
+
@btn-padding-horizontal-base: @padding-md - 1px;
|
|
291
|
+
@btn-padding-horizontal-lg: @btn-padding-horizontal-base;
|
|
292
|
+
@btn-padding-horizontal-sm: @padding-xs - 1px;
|
|
293
|
+
|
|
294
|
+
@btn-height-base: @height-base;
|
|
295
|
+
@btn-height-lg: @height-lg;
|
|
296
|
+
@btn-height-sm: @height-sm;
|
|
297
|
+
|
|
298
|
+
@btn-line-height: @line-height-base;
|
|
299
|
+
|
|
300
|
+
@btn-circle-size: @btn-height-base;
|
|
301
|
+
@btn-circle-size-lg: @btn-height-lg;
|
|
302
|
+
@btn-circle-size-sm: @btn-height-sm;
|
|
303
|
+
|
|
304
|
+
@btn-square-size: @btn-height-base;
|
|
305
|
+
@btn-square-size-lg: @btn-height-lg;
|
|
306
|
+
@btn-square-size-sm: @btn-height-sm;
|
|
307
|
+
@btn-square-only-icon-size: @font-size-base + 2px;
|
|
308
|
+
@btn-square-only-icon-size-sm: @font-size-base;
|
|
309
|
+
@btn-square-only-icon-size-lg: @btn-font-size-lg + 2px;
|
|
310
|
+
|
|
311
|
+
@btn-group-border: @primary-5;
|
|
312
|
+
|
|
313
|
+
@btn-link-hover-bg: transparent;
|
|
314
|
+
@btn-text-hover-bg: rgba(0, 0, 0, 0.018);
|
|
315
|
+
|
|
316
|
+
// Checkbox
|
|
317
|
+
@checkbox-size: 16px;
|
|
318
|
+
@checkbox-color: @primary-color;
|
|
319
|
+
@checkbox-check-color: #fff;
|
|
320
|
+
@checkbox-check-bg: @checkbox-check-color;
|
|
321
|
+
@checkbox-border-width: @border-width-base;
|
|
322
|
+
@checkbox-border-radius: @border-radius-base;
|
|
323
|
+
@checkbox-group-item-margin-right: 8px;
|
|
324
|
+
|
|
325
|
+
// Descriptions
|
|
326
|
+
@descriptions-bg: #fafafa;
|
|
327
|
+
@descriptions-title-margin-bottom: 20px;
|
|
328
|
+
@descriptions-default-padding: @padding-md @padding-lg;
|
|
329
|
+
@descriptions-middle-padding: @padding-sm @padding-lg;
|
|
330
|
+
@descriptions-small-padding: @padding-xs @padding-md;
|
|
331
|
+
@descriptions-item-padding-bottom: @padding-md;
|
|
332
|
+
@descriptions-item-trailing-colon: true;
|
|
333
|
+
@descriptions-item-label-colon-margin-right: 8px;
|
|
334
|
+
@descriptions-item-label-colon-margin-left: 2px;
|
|
335
|
+
@descriptions-extra-color: @text-color;
|
|
336
|
+
|
|
337
|
+
// Divider
|
|
338
|
+
@divider-text-padding: 1em;
|
|
339
|
+
@divider-orientation-margin: 5%;
|
|
340
|
+
@divider-color: rgba(0, 0, 0, 6%);
|
|
341
|
+
|
|
342
|
+
// Dropdown
|
|
343
|
+
@dropdown-selected-color: @primary-color;
|
|
344
|
+
@dropdown-menu-submenu-disabled-bg: @component-background;
|
|
345
|
+
|
|
346
|
+
// Empty
|
|
347
|
+
@empty-font-size: @font-size-base;
|
|
348
|
+
|
|
349
|
+
// Radio
|
|
350
|
+
@radio-size: 16px;
|
|
351
|
+
@radio-top: 0.2em;
|
|
352
|
+
@radio-border-width: 1px;
|
|
353
|
+
@radio-dot-size: @radio-size - 8px;
|
|
354
|
+
@radio-dot-color: @primary-color;
|
|
355
|
+
@radio-dot-disabled-color: fade(@black, 20%);
|
|
356
|
+
@radio-solid-checked-color: @component-background;
|
|
357
|
+
|
|
358
|
+
// Radio buttons
|
|
359
|
+
@radio-button-bg: @btn-default-bg;
|
|
360
|
+
@radio-button-checked-bg: @btn-default-bg;
|
|
361
|
+
@radio-button-color: @btn-default-color;
|
|
362
|
+
@radio-button-hover-color: @primary-5;
|
|
363
|
+
@radio-button-active-color: @primary-7;
|
|
364
|
+
@radio-disabled-button-checked-bg: @disabled-active-bg;
|
|
365
|
+
@radio-disabled-button-checked-color: @disabled-color;
|
|
366
|
+
@radio-wrapper-margin-right: 8px;
|
|
367
|
+
|
|
368
|
+
// Media queries breakpoints
|
|
369
|
+
// @screen-xs and @screen-xs-min is not used in Grid
|
|
370
|
+
// smallest break point is @screen-md
|
|
371
|
+
@screen-xs: 480px;
|
|
372
|
+
@screen-xs-min: @screen-xs;
|
|
373
|
+
// 👆 Extra small screen / phone
|
|
374
|
+
|
|
375
|
+
// 👇 Small screen / tablet
|
|
376
|
+
@screen-sm: 576px;
|
|
377
|
+
@screen-sm-min: @screen-sm;
|
|
378
|
+
|
|
379
|
+
// Medium screen / desktop
|
|
380
|
+
@screen-md: 768px;
|
|
381
|
+
@screen-md-min: @screen-md;
|
|
382
|
+
|
|
383
|
+
// Large screen / wide desktop
|
|
384
|
+
@screen-lg: 992px;
|
|
385
|
+
@screen-lg-min: @screen-lg;
|
|
386
|
+
|
|
387
|
+
// Extra large screen / full hd
|
|
388
|
+
@screen-xl: 1200px;
|
|
389
|
+
@screen-xl-min: @screen-xl;
|
|
390
|
+
|
|
391
|
+
// Extra extra large screen / large desktop
|
|
392
|
+
@screen-xxl: 1600px;
|
|
393
|
+
@screen-xxl-min: @screen-xxl;
|
|
394
|
+
|
|
395
|
+
// provide a maximum
|
|
396
|
+
@screen-xs-max: (@screen-sm-min - 1px);
|
|
397
|
+
@screen-sm-max: (@screen-md-min - 1px);
|
|
398
|
+
@screen-md-max: (@screen-lg-min - 1px);
|
|
399
|
+
@screen-lg-max: (@screen-xl-min - 1px);
|
|
400
|
+
@screen-xl-max: (@screen-xxl-min - 1px);
|
|
401
|
+
|
|
402
|
+
// Grid system
|
|
403
|
+
@grid-columns: 24;
|
|
404
|
+
|
|
405
|
+
// Layout
|
|
406
|
+
@layout-body-background: #f0f2f5;
|
|
407
|
+
@layout-header-background: #001529;
|
|
408
|
+
@layout-header-height: 64px;
|
|
409
|
+
@layout-header-padding: 0 50px;
|
|
410
|
+
@layout-header-color: @text-color;
|
|
411
|
+
@layout-footer-padding: 24px 50px;
|
|
412
|
+
@layout-footer-background: @layout-body-background;
|
|
413
|
+
@layout-sider-background: @layout-header-background;
|
|
414
|
+
@layout-trigger-height: 48px;
|
|
415
|
+
@layout-trigger-background: #002140;
|
|
416
|
+
@layout-trigger-color: #fff;
|
|
417
|
+
@layout-zero-trigger-width: 36px;
|
|
418
|
+
@layout-zero-trigger-height: 42px;
|
|
419
|
+
// Layout light theme
|
|
420
|
+
@layout-sider-background-light: #fff;
|
|
421
|
+
@layout-trigger-background-light: #fff;
|
|
422
|
+
@layout-trigger-color-light: @text-color;
|
|
423
|
+
|
|
424
|
+
// z-index list, order by `z-index`
|
|
425
|
+
@zindex-badge: auto;
|
|
426
|
+
@zindex-table-fixed: 2;
|
|
427
|
+
@zindex-affix: 10;
|
|
428
|
+
@zindex-back-top: 10;
|
|
429
|
+
@zindex-picker-panel: 10;
|
|
430
|
+
@zindex-popup-close: 10;
|
|
431
|
+
@zindex-modal: 1000;
|
|
432
|
+
@zindex-modal-mask: 1000;
|
|
433
|
+
@zindex-message: 1010;
|
|
434
|
+
@zindex-notification: 1010;
|
|
435
|
+
@zindex-popover: 1030;
|
|
436
|
+
@zindex-dropdown: 1050;
|
|
437
|
+
@zindex-picker: 1050;
|
|
438
|
+
@zindex-popoconfirm: 1060;
|
|
439
|
+
@zindex-tooltip: 1070;
|
|
440
|
+
@zindex-image: 1080;
|
|
441
|
+
|
|
442
|
+
// Animation
|
|
443
|
+
@animation-duration-slow: 0.3s; // Modal
|
|
444
|
+
@animation-duration-base: 0.2s;
|
|
445
|
+
@animation-duration-fast: 0.1s; // Tooltip
|
|
446
|
+
|
|
447
|
+
//CollapsePanel
|
|
448
|
+
@collapse-panel-border-radius: @border-radius-base;
|
|
449
|
+
|
|
450
|
+
//Dropdown
|
|
451
|
+
@dropdown-menu-bg: @component-background;
|
|
452
|
+
@dropdown-vertical-padding: 5px;
|
|
453
|
+
@dropdown-edge-child-vertical-padding: 4px;
|
|
454
|
+
@dropdown-font-size: @font-size-base;
|
|
455
|
+
@dropdown-line-height: 22px;
|
|
456
|
+
|
|
457
|
+
// Form
|
|
458
|
+
// ---
|
|
459
|
+
@label-required-color: @highlight-color;
|
|
460
|
+
@label-color: @heading-color;
|
|
461
|
+
@form-warning-input-bg: @input-bg;
|
|
462
|
+
@form-item-margin-bottom: 24px;
|
|
463
|
+
@form-item-trailing-colon: true;
|
|
464
|
+
@form-vertical-label-padding: 0 0 8px;
|
|
465
|
+
@form-vertical-label-margin: 0;
|
|
466
|
+
@form-item-label-font-size: @font-size-base;
|
|
467
|
+
@form-item-label-height: @input-height-base;
|
|
468
|
+
@form-item-label-colon-margin-right: 8px;
|
|
469
|
+
@form-item-label-colon-margin-left: 2px;
|
|
470
|
+
@form-error-input-bg: @input-bg;
|
|
471
|
+
|
|
472
|
+
// Input
|
|
473
|
+
// ---
|
|
474
|
+
@input-height-base: @height-base;
|
|
475
|
+
@input-height-lg: @height-lg;
|
|
476
|
+
@input-height-sm: @height-sm;
|
|
477
|
+
@input-padding-horizontal: @control-padding-horizontal - 1px;
|
|
478
|
+
@input-padding-horizontal-base: @input-padding-horizontal;
|
|
479
|
+
@input-padding-horizontal-sm: @control-padding-horizontal-sm - 1px;
|
|
480
|
+
@input-padding-horizontal-lg: @input-padding-horizontal;
|
|
481
|
+
@input-padding-vertical-base: max(
|
|
482
|
+
(round(((@input-height-base - @font-size-base * @line-height-base) / 2) * 10) / 10) -
|
|
483
|
+
@border-width-base,
|
|
484
|
+
3px
|
|
485
|
+
);
|
|
486
|
+
@input-padding-vertical-sm: max(
|
|
487
|
+
(round(((@input-height-sm - @font-size-base * @line-height-base) / 2) * 10) / 10) -
|
|
488
|
+
@border-width-base,
|
|
489
|
+
0
|
|
490
|
+
);
|
|
491
|
+
@input-padding-vertical-lg: (
|
|
492
|
+
ceil(((@input-height-lg - @font-size-lg * @line-height-base) / 2) * 10) / 10
|
|
493
|
+
) - @border-width-base;
|
|
494
|
+
@input-placeholder-color: hsv(0, 0, 75%);
|
|
495
|
+
@input-color: @text-color;
|
|
496
|
+
@input-icon-color: @input-color;
|
|
497
|
+
@input-border-color: @border-color-base;
|
|
498
|
+
@input-bg: @component-background;
|
|
499
|
+
@input-number-hover-border-color: @input-hover-border-color;
|
|
500
|
+
@input-number-handler-active-bg: #f4f4f4;
|
|
501
|
+
@input-number-handler-hover-bg: @primary-5;
|
|
502
|
+
@input-number-handler-bg: @component-background;
|
|
503
|
+
@input-number-handler-border-color: @border-color-base;
|
|
504
|
+
@input-addon-bg: @background-color-light;
|
|
505
|
+
@input-hover-border-color: @primary-5;
|
|
506
|
+
@input-disabled-bg: @disabled-bg;
|
|
507
|
+
@input-outline-offset: 0 0;
|
|
508
|
+
@input-icon-hover-color: fade(@black, 85%);
|
|
509
|
+
@input-disabled-color: @disabled-color;
|
|
510
|
+
|
|
511
|
+
// Mentions
|
|
512
|
+
// ---
|
|
513
|
+
@mentions-dropdown-bg: @component-background;
|
|
514
|
+
@mentions-dropdown-menu-item-hover-bg: @mentions-dropdown-bg;
|
|
515
|
+
|
|
516
|
+
// Select
|
|
517
|
+
// ---
|
|
518
|
+
@select-border-color: @border-color-base;
|
|
519
|
+
@select-item-selected-color: @text-color;
|
|
520
|
+
@select-item-selected-font-weight: 600;
|
|
521
|
+
@select-dropdown-bg: @component-background;
|
|
522
|
+
@select-item-selected-bg: @primary-1;
|
|
523
|
+
@select-item-active-bg: @item-hover-bg;
|
|
524
|
+
@select-dropdown-vertical-padding: @dropdown-vertical-padding;
|
|
525
|
+
@select-dropdown-font-size: @dropdown-font-size;
|
|
526
|
+
@select-dropdown-line-height: @dropdown-line-height;
|
|
527
|
+
@select-dropdown-height: 32px;
|
|
528
|
+
@select-background: @component-background;
|
|
529
|
+
@select-clear-background: @select-background;
|
|
530
|
+
@select-selection-item-bg: @background-color-base;
|
|
531
|
+
@select-selection-item-border-color: @border-color-split;
|
|
532
|
+
@select-single-item-height-lg: 40px;
|
|
533
|
+
@select-multiple-item-height: @input-height-base - @input-padding-vertical-base * 2; // Normal 24px
|
|
534
|
+
@select-multiple-item-height-lg: 32px;
|
|
535
|
+
@select-multiple-item-spacing-half: ceil((@input-padding-vertical-base / 2));
|
|
536
|
+
@select-multiple-disabled-background: @input-disabled-bg;
|
|
537
|
+
@select-multiple-item-disabled-color: #bfbfbf;
|
|
538
|
+
@select-multiple-item-disabled-border-color: @select-border-color;
|
|
539
|
+
|
|
540
|
+
// Cascader
|
|
541
|
+
// ---
|
|
542
|
+
@cascader-bg: @component-background;
|
|
543
|
+
@cascader-item-selected-bg: @primary-1;
|
|
544
|
+
@cascader-menu-bg: @component-background;
|
|
545
|
+
@cascader-menu-border-color-split: @border-color-split;
|
|
546
|
+
|
|
547
|
+
// Cascader
|
|
548
|
+
// ----
|
|
549
|
+
@cascader-dropdown-vertical-padding: @dropdown-vertical-padding;
|
|
550
|
+
@cascader-dropdown-edge-child-vertical-padding: @dropdown-edge-child-vertical-padding;
|
|
551
|
+
@cascader-dropdown-font-size: @dropdown-font-size;
|
|
552
|
+
@cascader-dropdown-line-height: @dropdown-line-height;
|
|
553
|
+
|
|
554
|
+
// Anchor
|
|
555
|
+
// ---
|
|
556
|
+
@anchor-bg: transparent;
|
|
557
|
+
@anchor-border-color: @border-color-split;
|
|
558
|
+
@anchor-link-top: 7px;
|
|
559
|
+
@anchor-link-left: 16px;
|
|
560
|
+
@anchor-link-padding: @anchor-link-top 0 @anchor-link-top @anchor-link-left;
|
|
561
|
+
|
|
562
|
+
// Tooltip
|
|
563
|
+
// ---
|
|
564
|
+
// Tooltip max width
|
|
565
|
+
@tooltip-max-width: 250px;
|
|
566
|
+
// Tooltip text color
|
|
567
|
+
@tooltip-color: #fff;
|
|
568
|
+
// Tooltip background color
|
|
569
|
+
@tooltip-bg: rgba(0, 0, 0, 0.75);
|
|
570
|
+
// Tooltip arrow width
|
|
571
|
+
@tooltip-arrow-width: 5px;
|
|
572
|
+
// Tooltip distance with trigger
|
|
573
|
+
@tooltip-distance: @tooltip-arrow-width - 1px + 4px;
|
|
574
|
+
// Tooltip arrow color
|
|
575
|
+
@tooltip-arrow-color: @tooltip-bg;
|
|
576
|
+
|
|
577
|
+
// Popover
|
|
578
|
+
// ---
|
|
579
|
+
// Popover body background color
|
|
580
|
+
@popover-bg: @component-background;
|
|
581
|
+
// Popover text color
|
|
582
|
+
@popover-color: @text-color;
|
|
583
|
+
// Popover maximum width
|
|
584
|
+
@popover-min-width: 177px;
|
|
585
|
+
@popover-min-height: 32px;
|
|
586
|
+
// Popover arrow width
|
|
587
|
+
@popover-arrow-width: 6px;
|
|
588
|
+
// Popover arrow color
|
|
589
|
+
@popover-arrow-color: @popover-bg;
|
|
590
|
+
// Popover outer arrow width
|
|
591
|
+
// Popover outer arrow color
|
|
592
|
+
@popover-arrow-outer-color: @popover-bg;
|
|
593
|
+
// Popover distance with trigger
|
|
594
|
+
@popover-distance: @popover-arrow-width + 4px;
|
|
595
|
+
@popover-padding-horizontal: @padding-md;
|
|
596
|
+
|
|
597
|
+
// Modal
|
|
598
|
+
// --
|
|
599
|
+
@modal-header-padding-vertical: @padding-md;
|
|
600
|
+
@modal-header-padding-horizontal: @padding-lg;
|
|
601
|
+
@modal-body-padding: @padding-lg;
|
|
602
|
+
@modal-header-bg: @component-background;
|
|
603
|
+
@modal-header-padding: @modal-header-padding-vertical @modal-header-padding-horizontal;
|
|
604
|
+
@modal-header-border-width: @border-width-base;
|
|
605
|
+
@modal-header-border-style: @border-style-base;
|
|
606
|
+
@modal-header-title-line-height: 22px;
|
|
607
|
+
@modal-header-title-font-size: @font-size-lg;
|
|
608
|
+
@modal-header-border-color-split: @border-color-split;
|
|
609
|
+
@modal-header-close-size: 56px;
|
|
610
|
+
@modal-content-bg: @component-background;
|
|
611
|
+
@modal-heading-color: @heading-color;
|
|
612
|
+
@modal-close-color: @text-color-secondary;
|
|
613
|
+
@modal-footer-bg: transparent;
|
|
614
|
+
@modal-footer-border-color-split: @border-color-split;
|
|
615
|
+
@modal-footer-border-style: @border-style-base;
|
|
616
|
+
@modal-footer-padding-vertical: 10px;
|
|
617
|
+
@modal-footer-padding-horizontal: 16px;
|
|
618
|
+
@modal-footer-border-width: @border-width-base;
|
|
619
|
+
@modal-mask-bg: fade(@black, 45%);
|
|
620
|
+
@modal-confirm-body-padding: 32px 32px 24px;
|
|
621
|
+
|
|
622
|
+
// Progress
|
|
623
|
+
// --
|
|
624
|
+
@progress-default-color: @processing-color;
|
|
625
|
+
@progress-remaining-color: @background-color-base;
|
|
626
|
+
@progress-info-text-color: @progress-text-color;
|
|
627
|
+
@progress-radius: 100px;
|
|
628
|
+
@progress-steps-item-bg: #f3f3f3;
|
|
629
|
+
@progress-text-font-size: 1em;
|
|
630
|
+
@progress-text-color: @text-color; // This is for circle text color, should be renamed better
|
|
631
|
+
@progress-circle-text-font-size: 1em;
|
|
632
|
+
// Menu
|
|
633
|
+
// ---
|
|
634
|
+
@menu-inline-toplevel-item-height: 40px;
|
|
635
|
+
@menu-item-height: 40px;
|
|
636
|
+
@menu-item-group-height: @line-height-base;
|
|
637
|
+
@menu-collapsed-width: 80px;
|
|
638
|
+
@menu-bg: @component-background;
|
|
639
|
+
@menu-popup-bg: @component-background;
|
|
640
|
+
@menu-item-color: @text-color;
|
|
641
|
+
@menu-inline-submenu-bg: @background-color-light;
|
|
642
|
+
@menu-highlight-color: @primary-color;
|
|
643
|
+
@menu-highlight-danger-color: @error-color;
|
|
644
|
+
@menu-item-active-bg: @primary-1;
|
|
645
|
+
@menu-item-active-danger-bg: @red-1;
|
|
646
|
+
@menu-item-active-border-width: 3px;
|
|
647
|
+
@menu-item-group-title-color: @text-color-secondary;
|
|
648
|
+
@menu-item-vertical-margin: 4px;
|
|
649
|
+
@menu-item-font-size: @font-size-base;
|
|
650
|
+
@menu-item-boundary-margin: 8px;
|
|
651
|
+
@menu-item-padding-horizontal: 20px;
|
|
652
|
+
@menu-item-padding: 0 @menu-item-padding-horizontal;
|
|
653
|
+
@menu-horizontal-line-height: 46px;
|
|
654
|
+
@menu-icon-margin-right: 10px;
|
|
655
|
+
@menu-icon-size: @menu-item-font-size;
|
|
656
|
+
@menu-icon-size-lg: @font-size-lg;
|
|
657
|
+
@menu-item-group-title-font-size: @menu-item-font-size;
|
|
658
|
+
|
|
659
|
+
// dark theme
|
|
660
|
+
@menu-dark-color: @text-color-secondary-dark;
|
|
661
|
+
@menu-dark-danger-color: @error-color;
|
|
662
|
+
@menu-dark-bg: @layout-header-background;
|
|
663
|
+
@menu-dark-arrow-color: #fff;
|
|
664
|
+
@menu-dark-inline-submenu-bg: #000c17;
|
|
665
|
+
@menu-dark-highlight-color: #fff;
|
|
666
|
+
@menu-dark-item-active-bg: @primary-color;
|
|
667
|
+
@menu-dark-item-active-danger-bg: @error-color;
|
|
668
|
+
@menu-dark-selected-item-icon-color: @white;
|
|
669
|
+
@menu-dark-selected-item-text-color: @white;
|
|
670
|
+
@menu-dark-item-hover-bg: transparent;
|
|
671
|
+
// Spin
|
|
672
|
+
// ---
|
|
673
|
+
@spin-dot-size-sm: 14px;
|
|
674
|
+
@spin-dot-size: 20px;
|
|
675
|
+
@spin-dot-size-lg: 32px;
|
|
676
|
+
|
|
677
|
+
// Table
|
|
678
|
+
// --
|
|
679
|
+
@table-bg: @component-background;
|
|
680
|
+
@table-header-bg: @background-color-light;
|
|
681
|
+
@table-header-color: @heading-color;
|
|
682
|
+
@table-header-sort-bg: @background-color-base;
|
|
683
|
+
@table-body-sort-bg: #fafafa;
|
|
684
|
+
@table-row-hover-bg: @background-color-light;
|
|
685
|
+
@table-selected-row-color: inherit;
|
|
686
|
+
@table-selected-row-bg: @primary-1;
|
|
687
|
+
@table-body-selected-sort-bg: @table-selected-row-bg;
|
|
688
|
+
@table-selected-row-hover-bg: ~'var(--@{ant-prefix}-primary-color-active-deprecated-d-02)';
|
|
689
|
+
@table-expanded-row-bg: #fbfbfb;
|
|
690
|
+
@table-padding-vertical: 16px;
|
|
691
|
+
@table-padding-horizontal: 16px;
|
|
692
|
+
@table-padding-vertical-md: (@table-padding-vertical * 3 / 4);
|
|
693
|
+
@table-padding-horizontal-md: (@table-padding-horizontal / 2);
|
|
694
|
+
@table-padding-vertical-sm: (@table-padding-vertical / 2);
|
|
695
|
+
@table-padding-horizontal-sm: (@table-padding-horizontal / 2);
|
|
696
|
+
@table-border-color: @border-color-split;
|
|
697
|
+
@table-border-radius-base: @border-radius-base;
|
|
698
|
+
@table-footer-bg: @background-color-light;
|
|
699
|
+
@table-footer-color: @heading-color;
|
|
700
|
+
@table-header-bg-sm: @table-header-bg;
|
|
701
|
+
@table-font-size: @font-size-base;
|
|
702
|
+
@table-font-size-md: @table-font-size;
|
|
703
|
+
@table-font-size-sm: @table-font-size;
|
|
704
|
+
@table-header-cell-split-color: rgba(0, 0, 0, 0.06);
|
|
705
|
+
// Sorter
|
|
706
|
+
// Legacy: `table-header-sort-active-bg` is used for hover not real active
|
|
707
|
+
@table-header-sort-active-bg: rgba(0, 0, 0, 0.04);
|
|
708
|
+
@table-fixed-header-sort-active-bg: hsv(0, 0, 96%);
|
|
709
|
+
|
|
710
|
+
// Filter
|
|
711
|
+
@table-header-filter-active-bg: rgba(0, 0, 0, 0.04);
|
|
712
|
+
@table-filter-btns-bg: inherit;
|
|
713
|
+
@table-filter-dropdown-bg: @component-background;
|
|
714
|
+
@table-expand-icon-bg: @component-background;
|
|
715
|
+
@table-selection-column-width: 32px;
|
|
716
|
+
// Sticky
|
|
717
|
+
@table-sticky-scroll-bar-bg: fade(#000, 35%);
|
|
718
|
+
@table-sticky-scroll-bar-radius: 4px;
|
|
719
|
+
|
|
720
|
+
// Tag
|
|
721
|
+
// --
|
|
722
|
+
@tag-default-bg: @background-color-light;
|
|
723
|
+
@tag-default-color: @text-color;
|
|
724
|
+
@tag-font-size: @font-size-sm;
|
|
725
|
+
@tag-line-height: 20px;
|
|
726
|
+
|
|
727
|
+
// TimePicker
|
|
728
|
+
// ---
|
|
729
|
+
@picker-bg: @component-background;
|
|
730
|
+
@picker-basic-cell-hover-color: @item-hover-bg;
|
|
731
|
+
@picker-basic-cell-active-with-range-color: @primary-1;
|
|
732
|
+
@picker-basic-cell-hover-with-range-color: ~'var(--@{ant-prefix}-primary-color-deprecated-l-35)';
|
|
733
|
+
@picker-basic-cell-disabled-bg: rgba(0, 0, 0, 0.04);
|
|
734
|
+
@picker-border-color: @border-color-split;
|
|
735
|
+
@picker-date-hover-range-border-color: ~'var(--@{ant-prefix}-primary-color-deprecated-l-20)';
|
|
736
|
+
@picker-date-hover-range-color: @picker-basic-cell-hover-with-range-color;
|
|
737
|
+
@picker-time-panel-column-width: 56px;
|
|
738
|
+
@picker-time-panel-column-height: 224px;
|
|
739
|
+
@picker-time-panel-cell-height: 28px;
|
|
740
|
+
@picker-panel-cell-height: 24px;
|
|
741
|
+
@picker-panel-cell-width: 36px;
|
|
742
|
+
@picker-text-height: 40px;
|
|
743
|
+
@picker-panel-without-time-cell-height: 66px;
|
|
744
|
+
|
|
745
|
+
// Calendar
|
|
746
|
+
// ---
|
|
747
|
+
@calendar-bg: @component-background;
|
|
748
|
+
@calendar-input-bg: @input-bg;
|
|
749
|
+
@calendar-border-color: @border-color-inverse;
|
|
750
|
+
@calendar-item-active-bg: @item-active-bg;
|
|
751
|
+
@calendar-column-active-bg: ~'var(--@{ant-prefix}-primary-color-active-deprecated-f-30)';
|
|
752
|
+
@calendar-full-bg: @calendar-bg;
|
|
753
|
+
@calendar-full-panel-bg: @calendar-full-bg;
|
|
754
|
+
|
|
755
|
+
// Carousel
|
|
756
|
+
// ---
|
|
757
|
+
@carousel-dot-width: 16px;
|
|
758
|
+
@carousel-dot-height: 3px;
|
|
759
|
+
@carousel-dot-active-width: 24px;
|
|
760
|
+
|
|
761
|
+
// Badge
|
|
762
|
+
// ---
|
|
763
|
+
@badge-height: 20px;
|
|
764
|
+
@badge-height-sm: 14px;
|
|
765
|
+
@badge-dot-size: 6px;
|
|
766
|
+
@badge-font-size: @font-size-sm;
|
|
767
|
+
@badge-font-size-sm: @font-size-sm;
|
|
768
|
+
@badge-font-weight: normal;
|
|
769
|
+
@badge-status-size: 6px;
|
|
770
|
+
@badge-text-color: @component-background;
|
|
771
|
+
@badge-color: @highlight-color;
|
|
772
|
+
|
|
773
|
+
// Rate
|
|
774
|
+
// ---
|
|
775
|
+
@rate-star-color: @yellow-6;
|
|
776
|
+
@rate-star-bg: @border-color-split;
|
|
777
|
+
@rate-star-size: 20px;
|
|
778
|
+
@rate-star-hover-scale: scale(1.1);
|
|
779
|
+
|
|
780
|
+
// Card
|
|
781
|
+
// ---
|
|
782
|
+
@card-head-color: @heading-color;
|
|
783
|
+
@card-head-background: transparent;
|
|
784
|
+
@card-head-font-size: @font-size-lg;
|
|
785
|
+
@card-head-font-size-sm: @font-size-base;
|
|
786
|
+
@card-head-padding: 16px;
|
|
787
|
+
@card-head-padding-sm: (@card-head-padding / 2);
|
|
788
|
+
@card-head-height: 48px;
|
|
789
|
+
@card-head-height-sm: 36px;
|
|
790
|
+
@card-inner-head-padding: 12px;
|
|
791
|
+
@card-padding-base: 24px;
|
|
792
|
+
@card-padding-base-sm: (@card-padding-base / 2);
|
|
793
|
+
@card-actions-background: @component-background;
|
|
794
|
+
@card-actions-li-margin: 12px 0;
|
|
795
|
+
@card-skeleton-bg: #cfd8dc;
|
|
796
|
+
@card-background: @component-background;
|
|
797
|
+
@card-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12),
|
|
798
|
+
0 5px 12px 4px rgba(0, 0, 0, 0.09);
|
|
799
|
+
@card-radius: @border-radius-base;
|
|
800
|
+
@card-head-tabs-margin-bottom: -17px;
|
|
801
|
+
@card-head-extra-color: @text-color;
|
|
802
|
+
|
|
803
|
+
// Comment
|
|
804
|
+
// ---
|
|
805
|
+
@comment-bg: inherit;
|
|
806
|
+
@comment-padding-base: @padding-md 0;
|
|
807
|
+
@comment-nest-indent: 44px;
|
|
808
|
+
@comment-font-size-base: @font-size-base;
|
|
809
|
+
@comment-font-size-sm: @font-size-sm;
|
|
810
|
+
@comment-author-name-color: @text-color-secondary;
|
|
811
|
+
@comment-author-time-color: #ccc;
|
|
812
|
+
@comment-action-color: @text-color-secondary;
|
|
813
|
+
@comment-action-hover-color: #595959;
|
|
814
|
+
@comment-actions-margin-bottom: inherit;
|
|
815
|
+
@comment-actions-margin-top: @margin-sm;
|
|
816
|
+
@comment-content-detail-p-margin-bottom: inherit;
|
|
817
|
+
|
|
818
|
+
// Tabs
|
|
819
|
+
// ---
|
|
820
|
+
@tabs-card-head-background: @background-color-light;
|
|
821
|
+
@tabs-card-height: 40px;
|
|
822
|
+
@tabs-card-active-color: @primary-color;
|
|
823
|
+
@tabs-card-horizontal-padding: (
|
|
824
|
+
(@tabs-card-height - floor(@font-size-base * @line-height-base)) / 2
|
|
825
|
+
) - @border-width-base @padding-md;
|
|
826
|
+
@tabs-card-horizontal-padding-sm: 6px @padding-md;
|
|
827
|
+
@tabs-card-horizontal-padding-lg: 7px @padding-md 6px;
|
|
828
|
+
@tabs-title-font-size: @font-size-base;
|
|
829
|
+
@tabs-title-font-size-lg: @font-size-lg;
|
|
830
|
+
@tabs-title-font-size-sm: @font-size-base;
|
|
831
|
+
@tabs-ink-bar-color: @primary-color;
|
|
832
|
+
@tabs-bar-margin: 0 0 @margin-md 0;
|
|
833
|
+
@tabs-horizontal-gutter: 32px;
|
|
834
|
+
@tabs-horizontal-margin: 0 0 0 @tabs-horizontal-gutter;
|
|
835
|
+
@tabs-horizontal-margin-rtl: 0 0 0 32px;
|
|
836
|
+
@tabs-horizontal-padding: @padding-sm 0;
|
|
837
|
+
@tabs-horizontal-padding-lg: @padding-md 0;
|
|
838
|
+
@tabs-horizontal-padding-sm: @padding-xs 0;
|
|
839
|
+
@tabs-vertical-padding: @padding-xs @padding-lg;
|
|
840
|
+
@tabs-vertical-margin: @margin-md 0 0 0;
|
|
841
|
+
@tabs-scrolling-size: 32px;
|
|
842
|
+
@tabs-highlight-color: @primary-color;
|
|
843
|
+
@tabs-hover-color: @primary-5;
|
|
844
|
+
@tabs-active-color: @primary-7;
|
|
845
|
+
@tabs-card-gutter: 2px;
|
|
846
|
+
@tabs-card-tab-active-border-top: 2px solid transparent;
|
|
847
|
+
|
|
848
|
+
// BackTop
|
|
849
|
+
// ---
|
|
850
|
+
@back-top-color: #fff;
|
|
851
|
+
@back-top-bg: @text-color-secondary;
|
|
852
|
+
@back-top-hover-bg: @text-color;
|
|
853
|
+
|
|
854
|
+
// Avatar
|
|
855
|
+
// ---
|
|
856
|
+
@avatar-size-base: 32px;
|
|
857
|
+
@avatar-size-lg: 40px;
|
|
858
|
+
@avatar-size-sm: 24px;
|
|
859
|
+
@avatar-font-size-base: 18px;
|
|
860
|
+
@avatar-font-size-lg: 24px;
|
|
861
|
+
@avatar-font-size-sm: 14px;
|
|
862
|
+
@avatar-bg: #ccc;
|
|
863
|
+
@avatar-color: #fff;
|
|
864
|
+
@avatar-border-radius: @border-radius-base;
|
|
865
|
+
@avatar-group-overlapping: -8px;
|
|
866
|
+
@avatar-group-space: 3px;
|
|
867
|
+
@avatar-group-border-color: #fff;
|
|
868
|
+
|
|
869
|
+
// Switch
|
|
870
|
+
// ---
|
|
871
|
+
@switch-height: 22px;
|
|
872
|
+
@switch-sm-height: 16px;
|
|
873
|
+
@switch-min-width: 44px;
|
|
874
|
+
@switch-sm-min-width: 28px;
|
|
875
|
+
@switch-disabled-opacity: 0.4;
|
|
876
|
+
@switch-color: @primary-color;
|
|
877
|
+
@switch-bg: @component-background;
|
|
878
|
+
@switch-shadow-color: fade(#00230b, 20%);
|
|
879
|
+
@switch-padding: 2px;
|
|
880
|
+
@switch-inner-margin-min: ceil(@switch-height * 0.3);
|
|
881
|
+
@switch-inner-margin-max: ceil(@switch-height * 1.1);
|
|
882
|
+
@switch-sm-inner-margin-min: ceil(@switch-sm-height * 0.3);
|
|
883
|
+
@switch-sm-inner-margin-max: ceil(@switch-sm-height * 1.1);
|
|
884
|
+
|
|
885
|
+
// Pagination
|
|
886
|
+
// ---
|
|
887
|
+
@pagination-item-bg: @component-background;
|
|
888
|
+
@pagination-item-size: @height-base;
|
|
889
|
+
@pagination-item-size-sm: 24px;
|
|
890
|
+
@pagination-font-family: @font-family;
|
|
891
|
+
@pagination-font-weight-active: 500;
|
|
892
|
+
@pagination-item-bg-active: @component-background;
|
|
893
|
+
@pagination-item-link-bg: @component-background;
|
|
894
|
+
@pagination-item-disabled-color-active: @disabled-color;
|
|
895
|
+
@pagination-item-disabled-bg-active: @disabled-active-bg;
|
|
896
|
+
@pagination-item-input-bg: @component-background;
|
|
897
|
+
@pagination-mini-options-size-changer-top: 0px;
|
|
898
|
+
|
|
899
|
+
// PageHeader
|
|
900
|
+
// ---
|
|
901
|
+
@page-header-padding: @padding-lg;
|
|
902
|
+
@page-header-padding-vertical: @padding-md;
|
|
903
|
+
@page-header-padding-breadcrumb: @padding-sm;
|
|
904
|
+
@page-header-content-padding-vertical: @padding-sm;
|
|
905
|
+
@page-header-back-color: #000;
|
|
906
|
+
@page-header-ghost-bg: inherit;
|
|
907
|
+
@page-header-heading-title: @heading-4-size;
|
|
908
|
+
@page-header-heading-sub-title: 14px;
|
|
909
|
+
@page-header-tabs-tab-font-size: 16px;
|
|
910
|
+
|
|
911
|
+
// Breadcrumb
|
|
912
|
+
// ---
|
|
913
|
+
@breadcrumb-base-color: @text-color-secondary;
|
|
914
|
+
@breadcrumb-last-item-color: @text-color;
|
|
915
|
+
@breadcrumb-font-size: @font-size-base;
|
|
916
|
+
@breadcrumb-icon-font-size: @font-size-base;
|
|
917
|
+
@breadcrumb-link-color: @text-color-secondary;
|
|
918
|
+
@breadcrumb-link-color-hover: @primary-5;
|
|
919
|
+
@breadcrumb-separator-color: @text-color-secondary;
|
|
920
|
+
@breadcrumb-separator-margin: 0 @padding-xs;
|
|
921
|
+
|
|
922
|
+
// Slider
|
|
923
|
+
// ---
|
|
924
|
+
@slider-margin: 10px 6px 10px;
|
|
925
|
+
@slider-rail-background-color: @background-color-base;
|
|
926
|
+
@slider-rail-background-color-hover: #e1e1e1;
|
|
927
|
+
@slider-track-background-color: @primary-3;
|
|
928
|
+
@slider-track-background-color-hover: @primary-4;
|
|
929
|
+
@slider-handle-border-width: 2px;
|
|
930
|
+
@slider-handle-background-color: @component-background;
|
|
931
|
+
@slider-handle-color: @primary-3;
|
|
932
|
+
@slider-handle-color-hover: @primary-4;
|
|
933
|
+
@slider-handle-color-focus: ~'var(--@{ant-prefix}-primary-color-deprecated-t-20)';
|
|
934
|
+
@slider-handle-color-focus-shadow: ~'var(--@{ant-prefix}-primary-color-deprecated-f-12)';
|
|
935
|
+
@slider-handle-color-tooltip-open: @primary-color;
|
|
936
|
+
@slider-handle-size: 14px;
|
|
937
|
+
@slider-handle-margin-top: -5px;
|
|
938
|
+
@slider-handle-shadow: 0;
|
|
939
|
+
@slider-dot-border-color: @border-color-split;
|
|
940
|
+
@slider-dot-border-color-active: ~'var(--@{ant-prefix}-primary-color-deprecated-t-50)';
|
|
941
|
+
@slider-disabled-color: @disabled-color;
|
|
942
|
+
@slider-disabled-background-color: @component-background;
|
|
943
|
+
|
|
944
|
+
// Tree
|
|
945
|
+
// ---
|
|
946
|
+
@tree-bg: @component-background;
|
|
947
|
+
@tree-title-height: 24px;
|
|
948
|
+
@tree-child-padding: 18px;
|
|
949
|
+
@tree-directory-selected-color: #fff;
|
|
950
|
+
@tree-directory-selected-bg: @primary-color;
|
|
951
|
+
@tree-node-hover-bg: @item-hover-bg;
|
|
952
|
+
@tree-node-selected-bg: @primary-2;
|
|
953
|
+
|
|
954
|
+
// Collapse
|
|
955
|
+
// ---
|
|
956
|
+
@collapse-header-padding: @padding-sm @padding-md;
|
|
957
|
+
@collapse-header-padding-extra: 40px;
|
|
958
|
+
@collapse-header-bg: @background-color-light;
|
|
959
|
+
@collapse-content-padding: @padding-md;
|
|
960
|
+
@collapse-content-bg: @component-background;
|
|
961
|
+
@collapse-header-arrow-left: 16px;
|
|
962
|
+
|
|
963
|
+
// Skeleton
|
|
964
|
+
// ---
|
|
965
|
+
@skeleton-color: rgba(190, 190, 190, 0.2);
|
|
966
|
+
@skeleton-to-color: shade(@skeleton-color, 5%);
|
|
967
|
+
@skeleton-paragraph-margin-top: 28px;
|
|
968
|
+
@skeleton-paragraph-li-margin-top: @margin-md;
|
|
969
|
+
@skeleton-paragraph-li-height: 16px;
|
|
970
|
+
@skeleton-title-height: 16px;
|
|
971
|
+
@skeleton-title-paragraph-margin-top: @margin-lg;
|
|
972
|
+
|
|
973
|
+
// Transfer
|
|
974
|
+
// ---
|
|
975
|
+
@transfer-header-height: 40px;
|
|
976
|
+
@transfer-item-height: @height-base;
|
|
977
|
+
@transfer-disabled-bg: @disabled-bg;
|
|
978
|
+
@transfer-list-height: 200px;
|
|
979
|
+
@transfer-item-hover-bg: @item-hover-bg;
|
|
980
|
+
@transfer-item-selected-hover-bg: ~'var(--@{ant-prefix}-primary-color-active-deprecated-d-02)';
|
|
981
|
+
@transfer-item-padding-vertical: 6px;
|
|
982
|
+
@transfer-list-search-icon-top: 12px;
|
|
983
|
+
|
|
984
|
+
// Message
|
|
985
|
+
// ---
|
|
986
|
+
@message-notice-content-padding: 10px 16px;
|
|
987
|
+
@message-notice-content-bg: @component-background;
|
|
988
|
+
// Motion
|
|
989
|
+
// ---
|
|
990
|
+
@wave-animation-width: 6px;
|
|
991
|
+
|
|
992
|
+
// Alert
|
|
993
|
+
// ---
|
|
994
|
+
@alert-success-border-color: @success-color-deprecated-border;
|
|
995
|
+
@alert-success-bg-color: @success-color-deprecated-bg;
|
|
996
|
+
@alert-success-icon-color: @success-color;
|
|
997
|
+
@alert-info-border-color: @info-color-deprecated-border;
|
|
998
|
+
@alert-info-bg-color: @info-color-deprecated-bg;
|
|
999
|
+
@alert-info-icon-color: @info-color;
|
|
1000
|
+
@alert-warning-border-color: @warning-color-deprecated-border;
|
|
1001
|
+
@alert-warning-bg-color: @warning-color-deprecated-bg;
|
|
1002
|
+
@alert-warning-icon-color: @warning-color;
|
|
1003
|
+
@alert-error-border-color: @error-color-deprecated-border;
|
|
1004
|
+
@alert-error-bg-color: @error-color-deprecated-bg;
|
|
1005
|
+
@alert-error-icon-color: @error-color;
|
|
1006
|
+
@alert-message-color: @heading-color;
|
|
1007
|
+
@alert-text-color: @text-color;
|
|
1008
|
+
@alert-close-color: @text-color-secondary;
|
|
1009
|
+
@alert-close-hover-color: @icon-color-hover;
|
|
1010
|
+
@alert-no-icon-padding-vertical: @padding-xs;
|
|
1011
|
+
@alert-with-description-no-icon-padding-vertical: @padding-md - 1px;
|
|
1012
|
+
@alert-with-description-padding-vertical: @padding-md - 1px;
|
|
1013
|
+
@alert-with-description-padding: @alert-with-description-padding-vertical 15px
|
|
1014
|
+
@alert-with-description-no-icon-padding-vertical @alert-with-description-icon-size;
|
|
1015
|
+
@alert-icon-top: 8px + @font-size-base * (@line-height-base / 2) - (@font-size-base / 2);
|
|
1016
|
+
@alert-with-description-icon-size: 24px;
|
|
1017
|
+
|
|
1018
|
+
// List
|
|
1019
|
+
// ---
|
|
1020
|
+
@list-header-background: transparent;
|
|
1021
|
+
@list-footer-background: transparent;
|
|
1022
|
+
@list-empty-text-padding: @padding-md;
|
|
1023
|
+
@list-item-padding: @padding-sm 0;
|
|
1024
|
+
@list-item-padding-sm: @padding-xs @padding-md;
|
|
1025
|
+
@list-item-padding-lg: 16px 24px;
|
|
1026
|
+
@list-item-meta-margin-bottom: @padding-md;
|
|
1027
|
+
@list-item-meta-avatar-margin-right: @padding-md;
|
|
1028
|
+
@list-item-meta-title-margin-bottom: @padding-sm;
|
|
1029
|
+
@list-customize-card-bg: @component-background;
|
|
1030
|
+
@list-item-meta-description-font-size: @font-size-base;
|
|
1031
|
+
|
|
1032
|
+
// Statistic
|
|
1033
|
+
// ---
|
|
1034
|
+
@statistic-title-font-size: @font-size-base;
|
|
1035
|
+
@statistic-content-font-size: 24px;
|
|
1036
|
+
@statistic-unit-font-size: 24px;
|
|
1037
|
+
@statistic-font-family: @font-family;
|
|
1038
|
+
|
|
1039
|
+
// Drawer
|
|
1040
|
+
// ---
|
|
1041
|
+
@drawer-header-padding: @padding-md @padding-lg;
|
|
1042
|
+
@drawer-body-padding: @padding-lg;
|
|
1043
|
+
@drawer-bg: @component-background;
|
|
1044
|
+
@drawer-footer-padding-vertical: @modal-footer-padding-vertical;
|
|
1045
|
+
@drawer-footer-padding-horizontal: @modal-footer-padding-horizontal;
|
|
1046
|
+
@drawer-header-close-size: 56px;
|
|
1047
|
+
|
|
1048
|
+
// Timeline
|
|
1049
|
+
// ---
|
|
1050
|
+
@timeline-width: 2px;
|
|
1051
|
+
@timeline-color: @border-color-split;
|
|
1052
|
+
@timeline-dot-border-width: 2px;
|
|
1053
|
+
@timeline-dot-color: @primary-color;
|
|
1054
|
+
@timeline-dot-bg: @component-background;
|
|
1055
|
+
@timeline-item-padding-bottom: 20px;
|
|
1056
|
+
|
|
1057
|
+
// Typography
|
|
1058
|
+
// ---
|
|
1059
|
+
@typography-title-font-weight: 600;
|
|
1060
|
+
@typography-title-margin-top: 1.2em;
|
|
1061
|
+
@typography-title-margin-bottom: 0.5em;
|
|
1062
|
+
|
|
1063
|
+
// Upload
|
|
1064
|
+
// ---
|
|
1065
|
+
@upload-actions-color: @text-color-secondary;
|
|
1066
|
+
|
|
1067
|
+
// Steps
|
|
1068
|
+
// ---
|
|
1069
|
+
@process-tail-color: @border-color-split;
|
|
1070
|
+
@steps-nav-arrow-color: fade(@black, 25%);
|
|
1071
|
+
@steps-background: @component-background;
|
|
1072
|
+
@steps-icon-size: 32px;
|
|
1073
|
+
@steps-icon-custom-size: @steps-icon-size;
|
|
1074
|
+
@steps-icon-custom-top: 0px;
|
|
1075
|
+
@steps-icon-custom-font-size: 24px;
|
|
1076
|
+
@steps-icon-top: -0.5px;
|
|
1077
|
+
@steps-icon-font-size: @font-size-lg;
|
|
1078
|
+
@steps-icon-margin: 0 8px 0 0;
|
|
1079
|
+
@steps-title-line-height: @height-base;
|
|
1080
|
+
@steps-small-icon-size: 24px;
|
|
1081
|
+
@steps-small-icon-margin: 0 8px 0 0;
|
|
1082
|
+
@steps-dot-size: 8px;
|
|
1083
|
+
@steps-dot-top: 2px;
|
|
1084
|
+
@steps-current-dot-size: 10px;
|
|
1085
|
+
@steps-description-max-width: 140px;
|
|
1086
|
+
@steps-nav-content-max-width: auto;
|
|
1087
|
+
@steps-vertical-icon-width: 16px;
|
|
1088
|
+
@steps-vertical-tail-width: 16px;
|
|
1089
|
+
@steps-vertical-tail-width-sm: 12px;
|
|
1090
|
+
|
|
1091
|
+
// Notification
|
|
1092
|
+
// ---
|
|
1093
|
+
@notification-bg: @component-background;
|
|
1094
|
+
@notification-padding-vertical: 16px;
|
|
1095
|
+
@notification-padding-horizontal: 24px;
|
|
1096
|
+
|
|
1097
|
+
// Result
|
|
1098
|
+
// ---
|
|
1099
|
+
@result-title-font-size: 24px;
|
|
1100
|
+
@result-subtitle-font-size: @font-size-base;
|
|
1101
|
+
@result-icon-font-size: 72px;
|
|
1102
|
+
@result-extra-margin: 24px 0 0 0;
|
|
1103
|
+
|
|
1104
|
+
// Image
|
|
1105
|
+
// ---
|
|
1106
|
+
@image-size-base: 48px;
|
|
1107
|
+
@image-font-size-base: 24px;
|
|
1108
|
+
@image-bg: #f5f5f5;
|
|
1109
|
+
@image-color: #fff;
|
|
1110
|
+
@image-mask-font-size: 16px;
|
|
1111
|
+
@image-preview-operation-size: 18px;
|
|
1112
|
+
@image-preview-operation-color: @text-color-dark;
|
|
1113
|
+
@image-preview-operation-disabled-color: fade(@image-preview-operation-color, 25%);
|
|
1114
|
+
|
|
1115
|
+
|
|
1116
|
+
//---------ssssssss
|
|
1117
|
+
// Layer background
|
|
1118
|
+
@popover-background: #1f1f1f;
|
|
1119
|
+
@popover-customize-border-color: #3a3a3a;
|
|
1120
|
+
@body-background: @black;
|
|
1121
|
+
@component-background: #141414;
|
|
1122
|
+
|
|
1123
|
+
@text-color: fade(@white, 85%);
|
|
1124
|
+
@text-color-secondary: fade(@white, 45%);
|
|
1125
|
+
@text-color-inverse: @white;
|
|
1126
|
+
@icon-color-hover: fade(@white, 75%);
|
|
1127
|
+
@heading-color: fade(@white, 85%);
|
|
1128
|
+
|
|
1129
|
+
// The background colors for active and hover states for things like
|
|
1130
|
+
// list items or table cells.
|
|
1131
|
+
@item-active-bg: @primary-1;
|
|
1132
|
+
@item-hover-bg: fade(@white, 8%);
|
|
1133
|
+
|
|
1134
|
+
// Border color
|
|
1135
|
+
@border-color-base: #434343; // base border outline a component
|
|
1136
|
+
@border-color-split: #303030; // split border inside a component
|
|
1137
|
+
|
|
1138
|
+
@background-color-light: fade(@white, 4%); // background of header and selected item
|
|
1139
|
+
@background-color-base: fade(@white, 8%); // Default grey background color
|
|
1140
|
+
|
|
1141
|
+
// Disabled states
|
|
1142
|
+
@disabled-color: fade(@white, 30%);
|
|
1143
|
+
@disabled-bg: @background-color-base;
|
|
1144
|
+
@disabled-color-dark: fade(@white, 30%);
|
|
1145
|
+
|
|
1146
|
+
// Tree
|
|
1147
|
+
// ---
|
|
1148
|
+
@tree-bg: transparent;
|
|
1149
|
+
|
|
1150
|
+
// List
|
|
1151
|
+
// ---
|
|
1152
|
+
@list-customize-card-bg: transparent;
|
|
1153
|
+
|
|
1154
|
+
// Shadow
|
|
1155
|
+
// ---
|
|
1156
|
+
@shadow-color: rgba(0, 0, 0, 0.45);
|
|
1157
|
+
@shadow-color-inverse: @component-background;
|
|
1158
|
+
@box-shadow-base: @shadow-2;
|
|
1159
|
+
@shadow-1-up: 0 -6px 16px -8px rgba(0, 0, 0, 0.32), 0 -9px 28px 0 rgba(0, 0, 0, 0.2),
|
|
1160
|
+
0 -12px 48px 16px rgba(0, 0, 0, 0.12);
|
|
1161
|
+
@shadow-1-down: 0 6px 16px -8px rgba(0, 0, 0, 0.32), 0 9px 28px 0 rgba(0, 0, 0, 0.2),
|
|
1162
|
+
0 12px 48px 16px rgba(0, 0, 0, 0.12);
|
|
1163
|
+
@shadow-1-right: 6px 0 16px -8px rgba(0, 0, 0, 0.32), 9px 0 28px 0 rgba(0, 0, 0, 0.2),
|
|
1164
|
+
12px 0 48px 16px rgba(0, 0, 0, 0.12);
|
|
1165
|
+
@shadow-2: 0 3px 6px -4px rgba(0, 0, 0, 0.48), 0 6px 16px 0 rgba(0, 0, 0, 0.32),
|
|
1166
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.2);
|
|
1167
|
+
|
|
1168
|
+
// Buttons
|
|
1169
|
+
// ---
|
|
1170
|
+
@btn-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
|
|
1171
|
+
@btn-primary-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
|
|
1172
|
+
@btn-text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
|
|
1173
|
+
|
|
1174
|
+
@btn-default-bg: transparent;
|
|
1175
|
+
|
|
1176
|
+
@btn-default-ghost-color: @text-color;
|
|
1177
|
+
@btn-default-ghost-border: fade(@white, 25%);
|
|
1178
|
+
|
|
1179
|
+
@btn-text-hover-bg: rgba(255, 255, 255, 0.03);
|
|
1180
|
+
|
|
1181
|
+
// Checkbox
|
|
1182
|
+
// ---
|
|
1183
|
+
@checkbox-check-bg: transparent;
|
|
1184
|
+
|
|
1185
|
+
// Descriptions
|
|
1186
|
+
// ---
|
|
1187
|
+
@descriptions-bg: @background-color-light;
|
|
1188
|
+
|
|
1189
|
+
// Divider
|
|
1190
|
+
// ---
|
|
1191
|
+
@divider-color: rgba(255, 255, 255, 12%);
|
|
1192
|
+
|
|
1193
|
+
// Modal
|
|
1194
|
+
// ---
|
|
1195
|
+
@modal-header-bg: @popover-background;
|
|
1196
|
+
@modal-header-border-color-split: @border-color-split;
|
|
1197
|
+
@modal-content-bg: @popover-background;
|
|
1198
|
+
@modal-footer-border-color-split: @border-color-split;
|
|
1199
|
+
|
|
1200
|
+
// Radio
|
|
1201
|
+
// ---
|
|
1202
|
+
@radio-solid-checked-color: @white;
|
|
1203
|
+
@radio-dot-disabled-color: fade(@white, 20%);
|
|
1204
|
+
|
|
1205
|
+
// Radio buttons
|
|
1206
|
+
// ---
|
|
1207
|
+
@radio-disabled-button-checked-bg: fade(@white, 20%);
|
|
1208
|
+
@radio-disabled-button-checked-color: @disabled-color;
|
|
1209
|
+
|
|
1210
|
+
// Layout
|
|
1211
|
+
// ---
|
|
1212
|
+
@layout-body-background: @body-background;
|
|
1213
|
+
@layout-header-background: @popover-background;
|
|
1214
|
+
@layout-trigger-background: #262626;
|
|
1215
|
+
|
|
1216
|
+
// Input
|
|
1217
|
+
// ---
|
|
1218
|
+
@input-bg: transparent;
|
|
1219
|
+
@input-placeholder-color: fade(@white, 30%);
|
|
1220
|
+
@input-icon-color: fade(@white, 30%);
|
|
1221
|
+
@input-number-handler-active-bg: @item-hover-bg;
|
|
1222
|
+
@input-icon-hover-color: fade(@white, 85%);
|
|
1223
|
+
|
|
1224
|
+
// Select
|
|
1225
|
+
// ---
|
|
1226
|
+
@select-background: transparent;
|
|
1227
|
+
@select-dropdown-bg: @popover-background;
|
|
1228
|
+
@select-clear-background: @component-background;
|
|
1229
|
+
@select-selection-item-bg: fade(@white, 8);
|
|
1230
|
+
@select-selection-item-border-color: @border-color-split;
|
|
1231
|
+
@select-multiple-disabled-background: @component-background;
|
|
1232
|
+
@select-multiple-item-disabled-color: #595959;
|
|
1233
|
+
@select-multiple-item-disabled-border-color: @popover-background;
|
|
1234
|
+
|
|
1235
|
+
// Cascader
|
|
1236
|
+
// ---
|
|
1237
|
+
@cascader-bg: transparent;
|
|
1238
|
+
@cascader-menu-bg: @popover-background;
|
|
1239
|
+
@cascader-menu-border-color-split: @border-color-split;
|
|
1240
|
+
|
|
1241
|
+
// Tooltip
|
|
1242
|
+
// ---
|
|
1243
|
+
// Tooltip background color
|
|
1244
|
+
@tooltip-bg: #434343;
|
|
1245
|
+
|
|
1246
|
+
// Menu
|
|
1247
|
+
// ---
|
|
1248
|
+
// dark theme
|
|
1249
|
+
@menu-dark-inline-submenu-bg: @component-background;
|
|
1250
|
+
@menu-dark-bg: @popover-background;
|
|
1251
|
+
@menu-popup-bg: @popover-background;
|
|
1252
|
+
|
|
1253
|
+
// Message
|
|
1254
|
+
// ---
|
|
1255
|
+
@message-notice-content-bg: @popover-background;
|
|
1256
|
+
|
|
1257
|
+
// Notification
|
|
1258
|
+
@notification-bg: @popover-background;
|
|
1259
|
+
|
|
1260
|
+
// LINK
|
|
1261
|
+
@link-hover-color: @primary-5;
|
|
1262
|
+
@link-active-color: @primary-7;
|
|
1263
|
+
|
|
1264
|
+
// Table
|
|
1265
|
+
// --
|
|
1266
|
+
@table-header-bg: #1d1d1d;
|
|
1267
|
+
@table-body-sort-bg: fade(@white, 1%);
|
|
1268
|
+
@table-row-hover-bg: #262626;
|
|
1269
|
+
@table-header-cell-split-color: fade(@white, 8%);
|
|
1270
|
+
@table-header-sort-bg: #262626;
|
|
1271
|
+
@table-header-filter-active-bg: #434343;
|
|
1272
|
+
@table-header-sort-active-bg: #303030;
|
|
1273
|
+
@table-fixed-header-sort-active-bg: #222;
|
|
1274
|
+
@table-filter-btns-bg: @popover-background;
|
|
1275
|
+
@table-expanded-row-bg: @table-header-bg;
|
|
1276
|
+
@table-filter-dropdown-bg: @popover-background;
|
|
1277
|
+
@table-expand-icon-bg: transparent;
|
|
1278
|
+
|
|
1279
|
+
// Tag
|
|
1280
|
+
// ---
|
|
1281
|
+
@info-color-deprecated-bg: @primary-1;
|
|
1282
|
+
@info-color-deprecated-border: @primary-3;
|
|
1283
|
+
@success-color-deprecated-bg: @green-1;
|
|
1284
|
+
@success-color-deprecated-border: @green-3;
|
|
1285
|
+
@warning-color-deprecated-bg: @orange-1;
|
|
1286
|
+
@warning-color-deprecated-border: @orange-3;
|
|
1287
|
+
@error-color-deprecated-bg: @red-1;
|
|
1288
|
+
@error-color-deprecated-border: @red-3;
|
|
1289
|
+
|
|
1290
|
+
// TimePicker
|
|
1291
|
+
// ---
|
|
1292
|
+
@picker-basic-cell-hover-with-range-color: @primary-color;
|
|
1293
|
+
@picker-basic-cell-disabled-bg: #303030;
|
|
1294
|
+
@picker-border-color: @border-color-split;
|
|
1295
|
+
@picker-bg: transparent;
|
|
1296
|
+
@picker-date-hover-range-border-color: @primary-color;
|
|
1297
|
+
|
|
1298
|
+
// Dropdown
|
|
1299
|
+
// ---
|
|
1300
|
+
@dropdown-menu-bg: @popover-background;
|
|
1301
|
+
@dropdown-menu-submenu-disabled-bg: transparent;
|
|
1302
|
+
|
|
1303
|
+
// Steps
|
|
1304
|
+
// ---
|
|
1305
|
+
@steps-nav-arrow-color: fade(@white, 20%);
|
|
1306
|
+
@steps-background: transparent;
|
|
1307
|
+
|
|
1308
|
+
// Avatar
|
|
1309
|
+
// ---
|
|
1310
|
+
@avatar-bg: fade(@white, 30%);
|
|
1311
|
+
|
|
1312
|
+
// Progress
|
|
1313
|
+
// ---
|
|
1314
|
+
@progress-steps-item-bg: fade(@white, 8%);
|
|
1315
|
+
|
|
1316
|
+
// Calendar
|
|
1317
|
+
// ---
|
|
1318
|
+
@calendar-bg: @popover-background;
|
|
1319
|
+
@calendar-input-bg: @calendar-bg;
|
|
1320
|
+
@calendar-border-color: transparent;
|
|
1321
|
+
@calendar-full-bg: @component-background;
|
|
1322
|
+
|
|
1323
|
+
// Badge
|
|
1324
|
+
// ---
|
|
1325
|
+
@badge-text-color: @white;
|
|
1326
|
+
|
|
1327
|
+
// Popover
|
|
1328
|
+
@popover-bg: @popover-background;
|
|
1329
|
+
|
|
1330
|
+
// Drawer
|
|
1331
|
+
@drawer-bg: @popover-background;
|
|
1332
|
+
|
|
1333
|
+
// Card
|
|
1334
|
+
// ---
|
|
1335
|
+
@card-actions-background: @component-background;
|
|
1336
|
+
@card-skeleton-bg: #303030;
|
|
1337
|
+
@card-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.64), 0 3px 6px 0 rgba(0, 0, 0, 0.48),
|
|
1338
|
+
0 5px 12px 4px rgba(0, 0, 0, 0.36);
|
|
1339
|
+
|
|
1340
|
+
// Transfer
|
|
1341
|
+
// ---
|
|
1342
|
+
@transfer-item-hover-bg: #262626;
|
|
1343
|
+
|
|
1344
|
+
// Comment
|
|
1345
|
+
// ---
|
|
1346
|
+
@comment-bg: transparent;
|
|
1347
|
+
@comment-author-time-color: fade(@white, 30%);
|
|
1348
|
+
@comment-action-hover-color: fade(@white, 65%);
|
|
1349
|
+
|
|
1350
|
+
// Rate
|
|
1351
|
+
// ---
|
|
1352
|
+
@rate-star-bg: fade(@white, 12%);
|
|
1353
|
+
|
|
1354
|
+
// Switch
|
|
1355
|
+
// ---
|
|
1356
|
+
@switch-bg: @white;
|
|
1357
|
+
|
|
1358
|
+
// Pagination
|
|
1359
|
+
// ---
|
|
1360
|
+
@pagination-item-bg: transparent;
|
|
1361
|
+
@pagination-item-bg-active: transparent;
|
|
1362
|
+
@pagination-item-link-bg: transparent;
|
|
1363
|
+
@pagination-item-disabled-bg-active: fade(@white, 25%);
|
|
1364
|
+
@pagination-item-disabled-color-active: @black;
|
|
1365
|
+
@pagination-item-input-bg: @pagination-item-bg;
|
|
1366
|
+
|
|
1367
|
+
// PageHeader
|
|
1368
|
+
// ---
|
|
1369
|
+
@page-header-back-color: @icon-color;
|
|
1370
|
+
@page-header-ghost-bg: transparent;
|
|
1371
|
+
|
|
1372
|
+
// Slider
|
|
1373
|
+
// ---
|
|
1374
|
+
@slider-rail-background-color: #262626;
|
|
1375
|
+
@slider-rail-background-color-hover: @border-color-base;
|
|
1376
|
+
@slider-dot-border-color: @border-color-split;
|
|
1377
|
+
@slider-dot-border-color-active: @primary-4;
|
|
1378
|
+
|
|
1379
|
+
// Skeleton
|
|
1380
|
+
// ---
|
|
1381
|
+
@skeleton-to-color: fade(@white, 16%);
|
|
1382
|
+
|
|
1383
|
+
// Alert
|
|
1384
|
+
// ---
|
|
1385
|
+
@alert-success-border-color: @green-3;
|
|
1386
|
+
@alert-success-bg-color: @green-1;
|
|
1387
|
+
@alert-success-icon-color: @success-color;
|
|
1388
|
+
@alert-info-border-color: @primary-3;
|
|
1389
|
+
@alert-info-bg-color: @primary-1;
|
|
1390
|
+
@alert-info-icon-color: @info-color;
|
|
1391
|
+
@alert-warning-border-color: @gold-3;
|
|
1392
|
+
@alert-warning-bg-color: @gold-1;
|
|
1393
|
+
@alert-warning-icon-color: @warning-color;
|
|
1394
|
+
@alert-error-border-color: @red-3;
|
|
1395
|
+
@alert-error-bg-color: @red-1;
|
|
1396
|
+
@alert-error-icon-color: @error-color;
|
|
1397
|
+
|
|
1398
|
+
// Timeline
|
|
1399
|
+
// ---
|
|
1400
|
+
@timeline-color: @border-color-split;
|
|
1401
|
+
@timeline-dot-color: @primary-color;
|
|
1402
|
+
|
|
1403
|
+
// Mentions
|
|
1404
|
+
// ---
|
|
1405
|
+
@mentions-dropdown-bg: @popover-background;
|