ngwr 0.0.6 → 0.0.7
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/README.md +14 -9
- package/_core/constants/style-prefix.d.ts +1 -1
- package/_core/index.d.ts +1 -0
- package/_core/types/safe-any.d.ts +1 -0
- package/_core/util/convert.d.ts +2 -1
- package/button/button.component.d.ts +1 -1
- package/esm2020/_core/components/base.component.mjs +1 -1
- package/esm2020/_core/constants/style-prefix.mjs +1 -1
- package/esm2020/_core/index.mjs +2 -1
- package/esm2020/_core/types/safe-any.mjs +2 -0
- package/esm2020/_core/util/convert.mjs +3 -2
- package/esm2020/button/button.component.mjs +1 -1
- package/esm2020/button/button.module.mjs +3 -3
- package/esm2020/divider/divider.component.mjs +1 -1
- package/esm2020/divider/divider.module.mjs +1 -1
- package/esm2020/extended-input/extended-input.component.mjs +3 -3
- package/esm2020/extended-input/extended-input.module.mjs +6 -14
- package/esm2020/form/form-error.component.mjs +1 -1
- package/esm2020/form/form-item.component.mjs +1 -1
- package/esm2020/form/form.module.mjs +5 -13
- package/esm2020/icon/wr-icon.component.mjs +2 -2
- package/esm2020/icon/wr-icon.module.mjs +1 -1
- package/esm2020/icon/wr-icon.service.mjs +1 -1
- package/esm2020/input/input.directive.mjs +2 -2
- package/esm2020/input/input.module.mjs +5 -5
- package/esm2020/password-input/password-input.component.mjs +4 -4
- package/esm2020/password-input/password-input.module.mjs +11 -26
- package/esm2020/skeleton/skeleton.component.mjs +2 -2
- package/esm2020/skeleton/skeleton.module.mjs +7 -7
- package/esm2020/spinner/spinner.component.mjs +1 -1
- package/esm2020/spinner/spinner.module.mjs +1 -1
- package/esm2020/tag/tag.component.mjs +2 -2
- package/esm2020/tag/tag.module.mjs +2 -2
- package/extended-input/extended-input.component.d.ts +6 -5
- package/fesm2015/ngwr.mjs +55 -85
- package/fesm2015/ngwr.mjs.map +1 -1
- package/fesm2020/ngwr.mjs +55 -85
- package/fesm2020/ngwr.mjs.map +1 -1
- package/icon/wr-icon.component.d.ts +2 -1
- package/ngwr.min.css +8 -0
- package/package.json +1 -1
- package/password-input/password-input.component.d.ts +7 -6
- package/password-input/password-input.module.d.ts +4 -4
- package/skeleton/skeleton.module.d.ts +4 -4
- package/tag/tag.component.d.ts +2 -2
- package/styles/components/_index.scss +0 -15
- package/styles/components/alert.scss +0 -28
- package/styles/components/button.scss +0 -115
- package/styles/components/card.scss +0 -41
- package/styles/components/divider.scss +0 -19
- package/styles/components/dropdown.scss +0 -128
- package/styles/components/extended-input.scss +0 -64
- package/styles/components/form.scss +0 -85
- package/styles/components/heading.scss +0 -25
- package/styles/components/icon.scss +0 -32
- package/styles/components/input.scss +0 -43
- package/styles/components/password-input.scss +0 -31
- package/styles/components/skeleton.scss +0 -58
- package/styles/components/spinner.scss +0 -44
- package/styles/components/tag.scss +0 -70
- package/styles/components/tooltip.scss +0 -60
- package/styles/functions.scss +0 -184
- package/styles/grid.scss +0 -177
- package/styles/index.scss +0 -164
- package/styles/mixins/_index.scss +0 -22
- package/styles/mixins/alert.scss +0 -7
- package/styles/mixins/button.scss +0 -56
- package/styles/mixins/reset-component.scss +0 -13
- package/styles/mixins/tag.scss +0 -68
- package/styles/reset.scss +0 -104
- package/styles/root.scss +0 -31
- package/styles/vars.scss +0 -1075
- package/styles.css +0 -4
package/styles/vars.scss
DELETED
|
@@ -1,1075 +0,0 @@
|
|
|
1
|
-
@import 'functions';
|
|
2
|
-
|
|
3
|
-
// The prefix to use on all css classes.
|
|
4
|
-
$prefix: wr;
|
|
5
|
-
|
|
6
|
-
// Colors
|
|
7
|
-
$color-white: #ffffff;
|
|
8
|
-
$color-black: #000000;
|
|
9
|
-
|
|
10
|
-
$color-dark: #322e4f;
|
|
11
|
-
$color-medium: #b5bccc;
|
|
12
|
-
$color-light: #dee0e8;
|
|
13
|
-
$color-primary: #3969e2;
|
|
14
|
-
$color-secondary: #f51c6a;
|
|
15
|
-
$color-success: #40da15;
|
|
16
|
-
$color-warning: #F99B00;
|
|
17
|
-
$color-danger: #e01d34;
|
|
18
|
-
|
|
19
|
-
$theme-colors: (
|
|
20
|
-
'default': $color-medium,
|
|
21
|
-
'primary': $color-primary,
|
|
22
|
-
'secondary': $color-secondary,
|
|
23
|
-
'success': $color-success,
|
|
24
|
-
'warning': $color-warning,
|
|
25
|
-
'danger': $color-danger,
|
|
26
|
-
'light': $color-light,
|
|
27
|
-
'medium': $color-medium,
|
|
28
|
-
'dark': $color-dark
|
|
29
|
-
) !default;
|
|
30
|
-
|
|
31
|
-
$theme-colors-rgb: map-loop($theme-colors, to-rgb, '$value') !default;
|
|
32
|
-
|
|
33
|
-
// Transitions
|
|
34
|
-
$transition-short: all 0.1s linear;
|
|
35
|
-
$transition-base: all 0.15s linear;
|
|
36
|
-
$transition-long: all 0.2s linear;
|
|
37
|
-
$transition-primary: $transition-base;
|
|
38
|
-
|
|
39
|
-
// Typography
|
|
40
|
-
$font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
41
|
-
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
42
|
-
'Noto Color Emoji';
|
|
43
|
-
$code-family: 'Inconsolata', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
|
|
44
|
-
|
|
45
|
-
// $font-size-root affects the value of `rem`, which is used for as well font sizes, paddings, and margins
|
|
46
|
-
// $font-size-base affects the font size of the body text
|
|
47
|
-
$font-size-root: null !default;
|
|
48
|
-
$font-size-base: 1rem !default;
|
|
49
|
-
$font-weight-base: 400 !default;
|
|
50
|
-
|
|
51
|
-
$line-height-base: 1.8 !default;
|
|
52
|
-
$letter-spacing-base: -0.02em !default;
|
|
53
|
-
|
|
54
|
-
$h1-font-size: $font-size-base * 2.5 !default;
|
|
55
|
-
$h2-font-size: $font-size-base * 2 !default;
|
|
56
|
-
$h3-font-size: $font-size-base * 1.75 !default;
|
|
57
|
-
$h4-font-size: $font-size-base * 1.5 !default;
|
|
58
|
-
$h5-font-size: $font-size-base * 1.25 !default;
|
|
59
|
-
$h6-font-size: $font-size-base !default;
|
|
60
|
-
|
|
61
|
-
$heading-sizes: (
|
|
62
|
-
1: $h1-font-size,
|
|
63
|
-
2: $h2-font-size,
|
|
64
|
-
3: $h3-font-size,
|
|
65
|
-
4: $h4-font-size,
|
|
66
|
-
5: $h5-font-size,
|
|
67
|
-
6: $h6-font-size
|
|
68
|
-
) !default;
|
|
69
|
-
|
|
70
|
-
$headings-font-family: null !default;
|
|
71
|
-
$headings-font-style: null !default;
|
|
72
|
-
$headings-font-weight: 500 !default;
|
|
73
|
-
$headings-line-height: 1.2 !default;
|
|
74
|
-
$headings-color: $color-dark !default;
|
|
75
|
-
|
|
76
|
-
// Components
|
|
77
|
-
// Button
|
|
78
|
-
$btn-padding-y: 0.375rem;
|
|
79
|
-
$btn-padding-x: 0.825rem;
|
|
80
|
-
$btn-border-radius: 0.375rem;
|
|
81
|
-
$btn-font-size: $font-size-base * 0.925;
|
|
82
|
-
$btn-font-weight: 500;
|
|
83
|
-
$btn-line-height: 1;
|
|
84
|
-
|
|
85
|
-
$btn-round-padding-y: $btn-padding-y * 1.25;
|
|
86
|
-
$btn-round-padding-x: $btn-padding-x;
|
|
87
|
-
$btn-round-border-radius: 50rem;
|
|
88
|
-
|
|
89
|
-
// Input
|
|
90
|
-
$input-padding-y: $btn-padding-y * 1.25;
|
|
91
|
-
$input-padding-x: $btn-padding-y * 2;
|
|
92
|
-
$input-border-radius: $btn-border-radius;
|
|
93
|
-
$input-font-size: $font-size-base;
|
|
94
|
-
$input-font-weight: $font-weight-base;
|
|
95
|
-
$input-line-height: $btn-line-height;
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
// Background color for `<body>`
|
|
106
|
-
$body-background: #f3f4f6;
|
|
107
|
-
// Base background color for most components
|
|
108
|
-
$component-background: #ffffff;
|
|
109
|
-
// Border color
|
|
110
|
-
$border-color-base: mix($color-white, $color-dark); // base border outline a component
|
|
111
|
-
$border-color-split: mix($color-white, $color-dark, 30%); // split border inside a component
|
|
112
|
-
$border-color-inverse: $color-white;
|
|
113
|
-
$border-width-base: 1px; // width of the border for a component
|
|
114
|
-
$border-style-base: solid; // style of a components border
|
|
115
|
-
// Popover background color
|
|
116
|
-
$popover-background: $component-background;
|
|
117
|
-
$popover-customize-border-color: $border-color-split;
|
|
118
|
-
|
|
119
|
-
$text-color: $color-dark;
|
|
120
|
-
$text-color-secondary: mix($color-dark, $color-white);
|
|
121
|
-
$text-color-inverse: $color-white;
|
|
122
|
-
$icon-color: inherit;
|
|
123
|
-
$icon-color-hover: mix($color-dark, $color-white);
|
|
124
|
-
$heading-color: $color-dark;
|
|
125
|
-
$text-selection-bg: $color-primary;
|
|
126
|
-
$font-variant-base: tabular-nums;
|
|
127
|
-
$font-feature-settings-base: 'tnum';
|
|
128
|
-
$font-size-base: 16px;
|
|
129
|
-
$font-size-lg: $font-size-base + 2px;
|
|
130
|
-
$font-size-sm: 12px;
|
|
131
|
-
$heading-1-size: ceil($font-size-base * 2.71);
|
|
132
|
-
$heading-2-size: ceil($font-size-base * 2.14);
|
|
133
|
-
$heading-3-size: ceil($font-size-base * 1.71);
|
|
134
|
-
$heading-4-size: ceil($font-size-base * 1.42);
|
|
135
|
-
$heading-5-size: ceil($font-size-base * 1.14);
|
|
136
|
-
$line-height-base: 1.5715;
|
|
137
|
-
$border-radius-base: 0.5rem;
|
|
138
|
-
$border-radius-sm: $border-radius-base;
|
|
139
|
-
|
|
140
|
-
// vertical paddings
|
|
141
|
-
$padding-lg: 24px; // containers
|
|
142
|
-
$padding-md: 16px; // small containers and buttons
|
|
143
|
-
$padding-sm: 12px; // Form controls and items
|
|
144
|
-
$padding-xs: 8px; // small items
|
|
145
|
-
$padding-xss: 4px; // more small
|
|
146
|
-
|
|
147
|
-
// vertical padding for all form controls
|
|
148
|
-
$control-padding-horizontal: $padding-sm;
|
|
149
|
-
$control-padding-horizontal-sm: $padding-xs;
|
|
150
|
-
|
|
151
|
-
// vertical margins
|
|
152
|
-
$margin-lg: 24px; // containers
|
|
153
|
-
$margin-md: 16px; // small containers and buttons
|
|
154
|
-
$margin-sm: 12px; // Form controls and items
|
|
155
|
-
$margin-xs: 8px; // small items
|
|
156
|
-
$margin-xss: 4px; // more small
|
|
157
|
-
|
|
158
|
-
// height rules
|
|
159
|
-
$height-base: 32px;
|
|
160
|
-
$height-lg: 40px;
|
|
161
|
-
$height-sm: 24px;
|
|
162
|
-
|
|
163
|
-
// The background colors for active and hover states for things like
|
|
164
|
-
// list items or table cells.
|
|
165
|
-
$item-active-bg: $color-primary;
|
|
166
|
-
$item-hover-bg: #f5f5f5;
|
|
167
|
-
|
|
168
|
-
// ICONFONT
|
|
169
|
-
$iconfont-css-prefix: anticon;
|
|
170
|
-
|
|
171
|
-
// LINK
|
|
172
|
-
$link-color: $color-primary;
|
|
173
|
-
$link-hover-color: lighten($color-primary, 10%);
|
|
174
|
-
$link-active-color: darken($color-primary, 10%);
|
|
175
|
-
$link-decoration: none;
|
|
176
|
-
$link-hover-decoration: none;
|
|
177
|
-
$link-focus-decoration: none;
|
|
178
|
-
$link-focus-outline: 0;
|
|
179
|
-
|
|
180
|
-
// Animation
|
|
181
|
-
$ease-base-out: cubic-bezier(0.7, 0.3, 0.1, 1);
|
|
182
|
-
$ease-base-in: cubic-bezier(0.9, 0, 0.3, 0.7);
|
|
183
|
-
$ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
184
|
-
$ease-in: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
|
185
|
-
$ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
186
|
-
$ease-out-back: cubic-bezier(0.12, 0.4, 0.29, 1.46);
|
|
187
|
-
$ease-in-back: cubic-bezier(0.71, -0.46, 0.88, 0.6);
|
|
188
|
-
$ease-in-out-back: cubic-bezier(0.71, -0.46, 0.29, 1.46);
|
|
189
|
-
$ease-out-circ: cubic-bezier(0.08, 0.82, 0.17, 1);
|
|
190
|
-
$ease-in-circ: cubic-bezier(0.6, 0.04, 0.98, 0.34);
|
|
191
|
-
$ease-in-out-circ: cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
|
192
|
-
$ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
|
|
193
|
-
$ease-in-quint: cubic-bezier(0.755, 0.05, 0.855, 0.06);
|
|
194
|
-
$ease-in-out-quint: cubic-bezier(0.86, 0, 0.07, 1);
|
|
195
|
-
|
|
196
|
-
// Outline
|
|
197
|
-
$outline-blur-size: 0;
|
|
198
|
-
$outline-width: 2px;
|
|
199
|
-
$outline-color: $color-primary;
|
|
200
|
-
$outline-fade: 20%;
|
|
201
|
-
|
|
202
|
-
$background-color-light: $color-light; // background of header and selected item
|
|
203
|
-
$background-color-base: $color-medium; // Default grey background color
|
|
204
|
-
|
|
205
|
-
// Disabled states
|
|
206
|
-
$disabled-color: $color-medium;
|
|
207
|
-
$disabled-bg: $background-color-base;
|
|
208
|
-
$disabled-active-bg: $color-black;
|
|
209
|
-
$disabled-color-dark: $color-black;
|
|
210
|
-
|
|
211
|
-
// Shadow
|
|
212
|
-
$shadow-color: rgba(0, 0, 0, 0.15);
|
|
213
|
-
$shadow-color-inverse: $component-background;
|
|
214
|
-
$shadow-1-up: 0 -6px 16px -8px rgba(0, 0, 0, 0.08), 0 -9px 28px 0 rgba(0, 0, 0, 0.05),
|
|
215
|
-
0 -12px 48px 16px rgba(0, 0, 0, 0.03);
|
|
216
|
-
$shadow-1-down: 0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 9px 28px 0 rgba(0, 0, 0, 0.05),
|
|
217
|
-
0 12px 48px 16px rgba(0, 0, 0, 0.03);
|
|
218
|
-
$shadow-1-left: -6px 0 16px -8px rgba(0, 0, 0, 0.08), -9px 0 28px 0 rgba(0, 0, 0, 0.05),
|
|
219
|
-
-12px 0 48px 16px rgba(0, 0, 0, 0.03);
|
|
220
|
-
$shadow-1-right: 6px 0 16px -8px rgba(0, 0, 0, 0.08), 9px 0 28px 0 rgba(0, 0, 0, 0.05),
|
|
221
|
-
12px 0 48px 16px rgba(0, 0, 0, 0.03);
|
|
222
|
-
$shadow-2: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
223
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
|
224
|
-
$box-shadow-base: $shadow-2;
|
|
225
|
-
|
|
226
|
-
// Buttons
|
|
227
|
-
$btn-border-radius-base: $border-radius-base;
|
|
228
|
-
$btn-border-radius-sm: $border-radius-base;
|
|
229
|
-
$btn-border-width: $border-width-base;
|
|
230
|
-
$btn-border-style: $border-style-base;
|
|
231
|
-
$btn-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
|
|
232
|
-
$btn-primary-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
|
|
233
|
-
$btn-text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
|
|
234
|
-
|
|
235
|
-
$btn-color-primary: #fff;
|
|
236
|
-
$btn-primary-bg: $color-primary;
|
|
237
|
-
|
|
238
|
-
$btn-default-color: $text-color;
|
|
239
|
-
$btn-default-bg: $component-background;
|
|
240
|
-
$btn-default-border: $border-color-base;
|
|
241
|
-
|
|
242
|
-
$btn-danger-color: #fff;
|
|
243
|
-
$btn-danger-bg: $color-danger;
|
|
244
|
-
$btn-danger-border: $color-danger;
|
|
245
|
-
|
|
246
|
-
$btn-disable-color: $disabled-color;
|
|
247
|
-
$btn-disable-bg: $disabled-bg;
|
|
248
|
-
$btn-disable-border: $border-color-base;
|
|
249
|
-
|
|
250
|
-
$btn-default-ghost-color: $component-background;
|
|
251
|
-
$btn-default-ghost-bg: transparent;
|
|
252
|
-
$btn-default-ghost-border: $component-background;
|
|
253
|
-
|
|
254
|
-
$btn-font-size-lg: $font-size-lg;
|
|
255
|
-
$btn-font-size-sm: $font-size-base;
|
|
256
|
-
$btn-padding-horizontal-base: $padding-md - 1px;
|
|
257
|
-
$btn-padding-horizontal-lg: $btn-padding-horizontal-base;
|
|
258
|
-
$btn-padding-horizontal-sm: $padding-xs - 1px;
|
|
259
|
-
|
|
260
|
-
$btn-height-base: $height-base;
|
|
261
|
-
$btn-height-lg: $height-lg;
|
|
262
|
-
$btn-height-sm: $height-sm;
|
|
263
|
-
|
|
264
|
-
$btn-circle-size: $btn-height-base;
|
|
265
|
-
$btn-circle-size-lg: $btn-height-lg;
|
|
266
|
-
$btn-circle-size-sm: $btn-height-sm;
|
|
267
|
-
|
|
268
|
-
$btn-square-size: $btn-height-base;
|
|
269
|
-
$btn-square-size-lg: $btn-height-lg;
|
|
270
|
-
$btn-square-size-sm: $btn-height-sm;
|
|
271
|
-
$btn-square-only-icon-size: $font-size-base + 2px;
|
|
272
|
-
$btn-square-only-icon-size-sm: $font-size-base;
|
|
273
|
-
$btn-square-only-icon-size-lg: $btn-font-size-lg + 2px;
|
|
274
|
-
|
|
275
|
-
$btn-group-border: $color-light;
|
|
276
|
-
|
|
277
|
-
$btn-link-hover-bg: transparent;
|
|
278
|
-
$btn-text-hover-bg: rgba(0, 0, 0, 0.018);
|
|
279
|
-
|
|
280
|
-
// Checkbox
|
|
281
|
-
$checkbox-size: 16px;
|
|
282
|
-
$checkbox-color: $color-primary;
|
|
283
|
-
$checkbox-check-color: #fff;
|
|
284
|
-
$checkbox-check-bg: $checkbox-check-color;
|
|
285
|
-
$checkbox-border-width: $border-width-base;
|
|
286
|
-
$checkbox-group-item-margin-right: 8px;
|
|
287
|
-
|
|
288
|
-
// Descriptions
|
|
289
|
-
$descriptions-bg: #fafafa;
|
|
290
|
-
$descriptions-title-margin-bottom: 20px;
|
|
291
|
-
$descriptions-default-padding: $padding-md $padding-lg;
|
|
292
|
-
$descriptions-middle-padding: $padding-sm $padding-lg;
|
|
293
|
-
$descriptions-small-padding: $padding-xs $padding-md;
|
|
294
|
-
$descriptions-item-padding-bottom: $padding-md;
|
|
295
|
-
$descriptions-item-trailing-colon: true;
|
|
296
|
-
$descriptions-item-label-colon-margin-right: 8px;
|
|
297
|
-
$descriptions-item-label-colon-margin-left: 2px;
|
|
298
|
-
$descriptions-extra-color: $text-color;
|
|
299
|
-
|
|
300
|
-
// Divider
|
|
301
|
-
$divider-text-padding: 1em;
|
|
302
|
-
$divider-orientation-margin: 5%;
|
|
303
|
-
$divider-color: rgba(0, 0, 0, 6%);
|
|
304
|
-
|
|
305
|
-
// Dropdown
|
|
306
|
-
$dropdown-selected-color: $color-primary;
|
|
307
|
-
$dropdown-menu-submenu-disabled-bg: $component-background;
|
|
308
|
-
|
|
309
|
-
// Empty
|
|
310
|
-
$empty-font-size: $font-size-base;
|
|
311
|
-
|
|
312
|
-
// Radio
|
|
313
|
-
$radio-size: 16px;
|
|
314
|
-
$radio-top: 0.2em;
|
|
315
|
-
$radio-border-width: 1px;
|
|
316
|
-
$radio-dot-size: $radio-size - 8px;
|
|
317
|
-
$radio-dot-color: $color-primary;
|
|
318
|
-
$radio-dot-disabled-color: fade($color-black, 20%);
|
|
319
|
-
$radio-solid-checked-color: $component-background;
|
|
320
|
-
|
|
321
|
-
// Radio buttons
|
|
322
|
-
$radio-button-bg: $btn-default-bg;
|
|
323
|
-
$radio-button-checked-bg: $btn-default-bg;
|
|
324
|
-
$radio-button-color: $btn-default-color;
|
|
325
|
-
$radio-button-hover-color: $color-primary;
|
|
326
|
-
$radio-button-active-color: $color-primary;
|
|
327
|
-
$radio-disabled-button-checked-bg: $disabled-active-bg;
|
|
328
|
-
$radio-disabled-button-checked-color: $disabled-color;
|
|
329
|
-
$radio-wrapper-margin-right: 8px;
|
|
330
|
-
|
|
331
|
-
// Media queries breakpoints
|
|
332
|
-
// $screen-xs and $screen-xs-min is not used in Grid
|
|
333
|
-
// smallest break point is $screen-md
|
|
334
|
-
$screen-xs: 480px;
|
|
335
|
-
$screen-xs-min: $screen-xs;
|
|
336
|
-
// 👆 Extra small screen / phone
|
|
337
|
-
|
|
338
|
-
// 👇 Small screen / tablet
|
|
339
|
-
$screen-sm: 576px;
|
|
340
|
-
$screen-sm-min: $screen-sm;
|
|
341
|
-
|
|
342
|
-
// Medium screen / desktop
|
|
343
|
-
$screen-md: 768px;
|
|
344
|
-
$screen-md-min: $screen-md;
|
|
345
|
-
|
|
346
|
-
// Large screen / wide desktop
|
|
347
|
-
$screen-lg: 992px;
|
|
348
|
-
$screen-lg-min: $screen-lg;
|
|
349
|
-
|
|
350
|
-
// Extra large screen / full hd
|
|
351
|
-
$screen-xl: 1200px;
|
|
352
|
-
$screen-xl-min: $screen-xl;
|
|
353
|
-
|
|
354
|
-
// Extra extra large screen / large desktop
|
|
355
|
-
$screen-xxl: 1600px;
|
|
356
|
-
$screen-xxl-min: $screen-xxl;
|
|
357
|
-
|
|
358
|
-
// provide a maximum
|
|
359
|
-
$screen-xs-max: ($screen-sm-min - 1px);
|
|
360
|
-
$screen-sm-max: ($screen-md-min - 1px);
|
|
361
|
-
$screen-md-max: ($screen-lg-min - 1px);
|
|
362
|
-
$screen-lg-max: ($screen-xl-min - 1px);
|
|
363
|
-
$screen-xl-max: ($screen-xxl-min - 1px);
|
|
364
|
-
|
|
365
|
-
// Grid system
|
|
366
|
-
$grid-columns: 24;
|
|
367
|
-
|
|
368
|
-
// Layout
|
|
369
|
-
$layout-body-background: #f0f2f5;
|
|
370
|
-
$layout-header-background: #001529;
|
|
371
|
-
$layout-header-height: 64px;
|
|
372
|
-
$layout-header-padding: 0 50px;
|
|
373
|
-
$layout-header-color: $text-color;
|
|
374
|
-
$layout-footer-padding: 24px 50px;
|
|
375
|
-
$layout-footer-background: $layout-body-background;
|
|
376
|
-
$layout-sider-background: $layout-header-background;
|
|
377
|
-
$layout-trigger-height: 48px;
|
|
378
|
-
$layout-trigger-background: #002140;
|
|
379
|
-
$layout-trigger-color: #fff;
|
|
380
|
-
$layout-zero-trigger-width: 36px;
|
|
381
|
-
$layout-zero-trigger-height: 42px;
|
|
382
|
-
// Layout light theme
|
|
383
|
-
$layout-sider-background-light: #fff;
|
|
384
|
-
$layout-trigger-background-light: #fff;
|
|
385
|
-
$layout-trigger-color-light: $text-color;
|
|
386
|
-
|
|
387
|
-
// z-index list, order by `z-index`
|
|
388
|
-
$zindex-badge: auto;
|
|
389
|
-
$zindex-table-fixed: 2;
|
|
390
|
-
$zindex-affix: 10;
|
|
391
|
-
$zindex-back-top: 10;
|
|
392
|
-
$zindex-picker-panel: 10;
|
|
393
|
-
$zindex-popup-close: 10;
|
|
394
|
-
$zindex-modal: 1000;
|
|
395
|
-
$zindex-modal-mask: 1000;
|
|
396
|
-
$zindex-message: 1010;
|
|
397
|
-
$zindex-notification: 1010;
|
|
398
|
-
$zindex-popover: 1030;
|
|
399
|
-
$zindex-dropdown: 1050;
|
|
400
|
-
$zindex-picker: 1050;
|
|
401
|
-
$zindex-popoconfirm: 1060;
|
|
402
|
-
$zindex-tooltip: 1070;
|
|
403
|
-
$zindex-image: 1080;
|
|
404
|
-
|
|
405
|
-
// Animation
|
|
406
|
-
$animation-duration-slow: 0.3s; // Modal
|
|
407
|
-
$animation-duration-base: 0.2s;
|
|
408
|
-
$animation-duration-fast: 0.1s; // Tooltip
|
|
409
|
-
|
|
410
|
-
//CollapsePanel
|
|
411
|
-
$collapse-panel-border-radius: $border-radius-base;
|
|
412
|
-
|
|
413
|
-
//Dropdown
|
|
414
|
-
$dropdown-menu-bg: $component-background;
|
|
415
|
-
$dropdown-vertical-padding: 5px;
|
|
416
|
-
$dropdown-edge-child-vertical-padding: 1rem;
|
|
417
|
-
$dropdown-font-size: $font-size-base;
|
|
418
|
-
$dropdown-line-height: 22px;
|
|
419
|
-
|
|
420
|
-
$input-bg: $component-background;
|
|
421
|
-
$input-height-base: $height-base;
|
|
422
|
-
$input-placeholder-color: hsl(0, 0, 75%);
|
|
423
|
-
$input-color: $text-color;
|
|
424
|
-
$input-icon-color: $input-color;
|
|
425
|
-
$input-border-color: $border-color-base;
|
|
426
|
-
$input-number-handler-active-bg: #f4f4f4;
|
|
427
|
-
$input-number-handler-hover-bg: $color-primary;
|
|
428
|
-
$input-number-handler-bg: $component-background;
|
|
429
|
-
$input-number-handler-border-color: $border-color-base;
|
|
430
|
-
$input-addon-bg: $background-color-light;
|
|
431
|
-
$input-hover-border-color: $color-primary;
|
|
432
|
-
$input-number-hover-border-color: $input-hover-border-color;
|
|
433
|
-
$input-disabled-bg: $disabled-bg;
|
|
434
|
-
$input-outline-offset: 0 0;
|
|
435
|
-
$input-icon-hover-color: fade($color-black, 85%);
|
|
436
|
-
$input-disabled-color: $disabled-color;
|
|
437
|
-
|
|
438
|
-
// Form
|
|
439
|
-
// ---
|
|
440
|
-
$label-required-color: $color-primary;
|
|
441
|
-
$label-color: $heading-color;
|
|
442
|
-
$form-warning-input-bg: $input-bg;
|
|
443
|
-
$form-item-margin-bottom: 24px;
|
|
444
|
-
$form-item-trailing-colon: true;
|
|
445
|
-
$form-vertical-label-padding: 0 0 8px;
|
|
446
|
-
$form-vertical-label-margin: 0;
|
|
447
|
-
$form-item-label-font-size: $font-size-base;
|
|
448
|
-
$form-item-label-height: $input-height-base;
|
|
449
|
-
$form-item-label-colon-margin-right: 8px;
|
|
450
|
-
$form-item-label-colon-margin-left: 2px;
|
|
451
|
-
$form-error-input-bg: $input-bg;
|
|
452
|
-
|
|
453
|
-
// Input
|
|
454
|
-
// ---
|
|
455
|
-
$input-height-lg: $height-lg;
|
|
456
|
-
$input-height-sm: $height-sm;
|
|
457
|
-
$input-padding-horizontal: $control-padding-horizontal - 1px;
|
|
458
|
-
$input-padding-horizontal-base: $input-padding-horizontal;
|
|
459
|
-
$input-padding-horizontal-sm: $control-padding-horizontal-sm - 1px;
|
|
460
|
-
$input-padding-horizontal-lg: $input-padding-horizontal;
|
|
461
|
-
$input-padding-vertical-base: max(
|
|
462
|
-
(round((($input-height-base - $font-size-base * $line-height-base) / 2) * 10) / 10) -
|
|
463
|
-
1px,
|
|
464
|
-
3px
|
|
465
|
-
);
|
|
466
|
-
$input-padding-vertical-sm: max(
|
|
467
|
-
(round((($input-height-sm - $font-size-base * $line-height-base) / 2) * 10) / 10) -
|
|
468
|
-
1px,
|
|
469
|
-
0
|
|
470
|
-
);
|
|
471
|
-
$input-padding-vertical-lg: (
|
|
472
|
-
ceil((($input-height-lg - $font-size-lg * $line-height-base) / 2) * 10) / 10
|
|
473
|
-
) - $border-width-base;
|
|
474
|
-
|
|
475
|
-
// Mentions
|
|
476
|
-
// ---
|
|
477
|
-
$mentions-dropdown-bg: $component-background;
|
|
478
|
-
$mentions-dropdown-menu-item-hover-bg: $mentions-dropdown-bg;
|
|
479
|
-
|
|
480
|
-
// Select
|
|
481
|
-
// ---
|
|
482
|
-
$select-border-color: $border-color-base;
|
|
483
|
-
$select-item-selected-color: $text-color;
|
|
484
|
-
$select-item-selected-font-weight: 600;
|
|
485
|
-
$select-dropdown-bg: $component-background;
|
|
486
|
-
$select-item-selected-bg: $color-primary;
|
|
487
|
-
$select-item-active-bg: $item-hover-bg;
|
|
488
|
-
$select-dropdown-vertical-padding: $dropdown-vertical-padding;
|
|
489
|
-
$select-dropdown-font-size: $dropdown-font-size;
|
|
490
|
-
$select-dropdown-line-height: $dropdown-line-height;
|
|
491
|
-
$select-dropdown-height: 32px;
|
|
492
|
-
$select-background: $component-background;
|
|
493
|
-
$select-clear-background: $select-background;
|
|
494
|
-
$select-selection-item-bg: $background-color-base;
|
|
495
|
-
$select-selection-item-border-color: $border-color-split;
|
|
496
|
-
$select-single-item-height-lg: 40px;
|
|
497
|
-
$select-multiple-item-height: $input-height-base - $input-padding-vertical-base * 2; // Normal 24px
|
|
498
|
-
$select-multiple-item-height-lg: 32px;
|
|
499
|
-
$select-multiple-item-spacing-half: ceil(($input-padding-vertical-base / 2));
|
|
500
|
-
$select-multiple-disabled-background: $input-disabled-bg;
|
|
501
|
-
$select-multiple-item-disabled-color: #bfbfbf;
|
|
502
|
-
$select-multiple-item-disabled-border-color: $select-border-color;
|
|
503
|
-
|
|
504
|
-
// Cascader
|
|
505
|
-
// ---
|
|
506
|
-
$cascader-bg: $component-background;
|
|
507
|
-
$cascader-item-selected-bg: $color-primary;
|
|
508
|
-
$cascader-menu-bg: $component-background;
|
|
509
|
-
$cascader-menu-border-color-split: $border-color-split;
|
|
510
|
-
|
|
511
|
-
// Cascader
|
|
512
|
-
// ----
|
|
513
|
-
$cascader-dropdown-vertical-padding: $dropdown-vertical-padding;
|
|
514
|
-
$cascader-dropdown-edge-child-vertical-padding: $dropdown-edge-child-vertical-padding;
|
|
515
|
-
$cascader-dropdown-font-size: $dropdown-font-size;
|
|
516
|
-
$cascader-dropdown-line-height: $dropdown-line-height;
|
|
517
|
-
|
|
518
|
-
// Anchor
|
|
519
|
-
// ---
|
|
520
|
-
$anchor-bg: transparent;
|
|
521
|
-
$anchor-border-color: $border-color-split;
|
|
522
|
-
$anchor-link-top: 7px;
|
|
523
|
-
$anchor-link-left: 16px;
|
|
524
|
-
$anchor-link-padding: $anchor-link-top 0 $anchor-link-top $anchor-link-left;
|
|
525
|
-
|
|
526
|
-
// Tooltip
|
|
527
|
-
// ---
|
|
528
|
-
// Tooltip max width
|
|
529
|
-
$tooltip-max-width: 250px;
|
|
530
|
-
// Tooltip text color
|
|
531
|
-
$tooltip-color: #fff;
|
|
532
|
-
// Tooltip background color
|
|
533
|
-
$tooltip-bg: rgba(0, 0, 0, 0.75);
|
|
534
|
-
// Tooltip arrow width
|
|
535
|
-
$tooltip-arrow-width: 5px;
|
|
536
|
-
// Tooltip distance with trigger
|
|
537
|
-
$tooltip-distance: $tooltip-arrow-width - 1px + 4px;
|
|
538
|
-
// Tooltip arrow color
|
|
539
|
-
$tooltip-arrow-color: $tooltip-bg;
|
|
540
|
-
|
|
541
|
-
// Popover
|
|
542
|
-
// ---
|
|
543
|
-
// Popover body background color
|
|
544
|
-
$popover-bg: $component-background;
|
|
545
|
-
// Popover text color
|
|
546
|
-
$popover-color: $text-color;
|
|
547
|
-
// Popover maximum width
|
|
548
|
-
$popover-min-width: 177px;
|
|
549
|
-
$popover-min-height: 32px;
|
|
550
|
-
// Popover arrow width
|
|
551
|
-
$popover-arrow-width: 6px;
|
|
552
|
-
// Popover arrow color
|
|
553
|
-
$popover-arrow-color: $popover-bg;
|
|
554
|
-
// Popover outer arrow width
|
|
555
|
-
// Popover outer arrow color
|
|
556
|
-
$popover-arrow-outer-color: $popover-bg;
|
|
557
|
-
// Popover distance with trigger
|
|
558
|
-
$popover-distance: $popover-arrow-width + 4px;
|
|
559
|
-
$popover-padding-horizontal: $padding-md;
|
|
560
|
-
|
|
561
|
-
// Modal
|
|
562
|
-
// --
|
|
563
|
-
$modal-header-padding-vertical: $padding-md;
|
|
564
|
-
$modal-header-padding-horizontal: $padding-lg;
|
|
565
|
-
$modal-body-padding: $padding-lg;
|
|
566
|
-
$modal-header-bg: $component-background;
|
|
567
|
-
$modal-header-padding: $modal-header-padding-vertical $modal-header-padding-horizontal;
|
|
568
|
-
$modal-header-border-width: $border-width-base;
|
|
569
|
-
$modal-header-border-style: $border-style-base;
|
|
570
|
-
$modal-header-title-line-height: 22px;
|
|
571
|
-
$modal-header-title-font-size: $font-size-lg;
|
|
572
|
-
$modal-header-border-color-split: $border-color-split;
|
|
573
|
-
$modal-header-close-size: 56px;
|
|
574
|
-
$modal-content-bg: $component-background;
|
|
575
|
-
$modal-heading-color: $heading-color;
|
|
576
|
-
$modal-close-color: $text-color-secondary;
|
|
577
|
-
$modal-footer-bg: transparent;
|
|
578
|
-
$modal-footer-border-color-split: $border-color-split;
|
|
579
|
-
$modal-footer-border-style: $border-style-base;
|
|
580
|
-
$modal-footer-padding-vertical: 10px;
|
|
581
|
-
$modal-footer-padding-horizontal: 16px;
|
|
582
|
-
$modal-footer-border-width: $border-width-base;
|
|
583
|
-
$modal-mask-bg: fade($color-black, 45%);
|
|
584
|
-
$modal-confirm-body-padding: 32px 32px 24px;
|
|
585
|
-
|
|
586
|
-
// Progress
|
|
587
|
-
// --
|
|
588
|
-
$progress-default-color: $color-primary;
|
|
589
|
-
$progress-text-color: $text-color; // This is for circle text color, should be renamed better
|
|
590
|
-
$progress-remaining-color: $background-color-base;
|
|
591
|
-
$progress-info-text-color: $progress-text-color;
|
|
592
|
-
$progress-radius: 100px;
|
|
593
|
-
$progress-steps-item-bg: #f3f3f3;
|
|
594
|
-
$progress-text-font-size: 1em;
|
|
595
|
-
$progress-circle-text-font-size: 1em;
|
|
596
|
-
// Menu
|
|
597
|
-
// ---
|
|
598
|
-
$menu-inline-toplevel-item-height: 40px;
|
|
599
|
-
$menu-item-height: 40px;
|
|
600
|
-
$menu-item-group-height: $line-height-base;
|
|
601
|
-
$menu-collapsed-width: 80px;
|
|
602
|
-
$menu-bg: $component-background;
|
|
603
|
-
$menu-popup-bg: $component-background;
|
|
604
|
-
$menu-item-color: $text-color;
|
|
605
|
-
$menu-inline-submenu-bg: $background-color-light;
|
|
606
|
-
$menu-highlight-color: $color-primary;
|
|
607
|
-
$menu-highlight-danger-color: $color-danger;
|
|
608
|
-
$menu-item-active-bg: $color-primary;
|
|
609
|
-
$menu-item-active-danger-bg: $color-danger;
|
|
610
|
-
$menu-item-active-border-width: 3px;
|
|
611
|
-
$menu-item-group-title-color: $text-color-secondary;
|
|
612
|
-
$menu-item-vertical-margin: 4px;
|
|
613
|
-
$menu-item-font-size: $font-size-base;
|
|
614
|
-
$menu-item-boundary-margin: 8px;
|
|
615
|
-
$menu-item-padding-horizontal: 20px;
|
|
616
|
-
$menu-item-padding: 0 $menu-item-padding-horizontal;
|
|
617
|
-
$menu-horizontal-line-height: 46px;
|
|
618
|
-
$menu-icon-margin-right: 10px;
|
|
619
|
-
$menu-icon-size: $menu-item-font-size;
|
|
620
|
-
$menu-icon-size-lg: $font-size-lg;
|
|
621
|
-
$menu-item-group-title-font-size: $menu-item-font-size;
|
|
622
|
-
|
|
623
|
-
// dark theme
|
|
624
|
-
$menu-dark-color: $color-dark;
|
|
625
|
-
$menu-dark-danger-color: $color-danger;
|
|
626
|
-
$menu-dark-bg: $layout-header-background;
|
|
627
|
-
$menu-dark-arrow-color: #fff;
|
|
628
|
-
$menu-dark-inline-submenu-bg: #000c17;
|
|
629
|
-
$menu-dark-highlight-color: #fff;
|
|
630
|
-
$menu-dark-item-active-bg: $color-primary;
|
|
631
|
-
$menu-dark-item-active-danger-bg: $color-danger;
|
|
632
|
-
$menu-dark-selected-item-icon-color: $color-white;
|
|
633
|
-
$menu-dark-selected-item-text-color: $color-white;
|
|
634
|
-
$menu-dark-item-hover-bg: transparent;
|
|
635
|
-
// Spin
|
|
636
|
-
// ---
|
|
637
|
-
$adjust-hue-dot-size-sm: 14px;
|
|
638
|
-
$adjust-hue-dot-size: 20px;
|
|
639
|
-
$adjust-hue-dot-size-lg: 32px;
|
|
640
|
-
|
|
641
|
-
// Table
|
|
642
|
-
// --
|
|
643
|
-
$table-bg: $component-background;
|
|
644
|
-
$table-header-bg: $background-color-light;
|
|
645
|
-
$table-header-color: $heading-color;
|
|
646
|
-
$table-header-sort-bg: $background-color-base;
|
|
647
|
-
$table-body-sort-bg: #fafafa;
|
|
648
|
-
$table-row-hover-bg: $background-color-light;
|
|
649
|
-
$table-selected-row-color: inherit;
|
|
650
|
-
$table-selected-row-bg: $color-primary;
|
|
651
|
-
$table-body-selected-sort-bg: $table-selected-row-bg;
|
|
652
|
-
$table-selected-row-hover-bg: darken($table-selected-row-bg, 2%);
|
|
653
|
-
$table-expanded-row-bg: #fbfbfb;
|
|
654
|
-
$table-padding-vertical: 16px;
|
|
655
|
-
$table-padding-horizontal: 16px;
|
|
656
|
-
$table-padding-vertical-md: ($table-padding-vertical * 3 / 4);
|
|
657
|
-
$table-padding-horizontal-md: ($table-padding-horizontal / 2);
|
|
658
|
-
$table-padding-vertical-sm: ($table-padding-vertical / 2);
|
|
659
|
-
$table-padding-horizontal-sm: ($table-padding-horizontal / 2);
|
|
660
|
-
$table-border-color: $border-color-split;
|
|
661
|
-
$table-border-radius-base: $border-radius-base;
|
|
662
|
-
$table-footer-bg: $background-color-light;
|
|
663
|
-
$table-footer-color: $heading-color;
|
|
664
|
-
$table-header-bg-sm: $table-header-bg;
|
|
665
|
-
$table-font-size: $font-size-base;
|
|
666
|
-
$table-font-size-md: $table-font-size;
|
|
667
|
-
$table-font-size-sm: $table-font-size;
|
|
668
|
-
$table-header-cell-split-color: rgba(0, 0, 0, 0.06);
|
|
669
|
-
// Sorter
|
|
670
|
-
// Legacy: `table-header-sort-active-bg` is used for hover not real active
|
|
671
|
-
$table-header-sort-active-bg: rgba(0, 0, 0, 0.04);
|
|
672
|
-
$table-fixed-header-sort-active-bg: hsl(0, 0, 96%);
|
|
673
|
-
|
|
674
|
-
// Filter
|
|
675
|
-
$table-header-filter-active-bg: rgba(0, 0, 0, 0.04);
|
|
676
|
-
$table-filter-btns-bg: inherit;
|
|
677
|
-
$table-filter-dropdown-bg: $component-background;
|
|
678
|
-
$table-expand-icon-bg: $component-background;
|
|
679
|
-
$table-selection-column-width: 32px;
|
|
680
|
-
// Sticky
|
|
681
|
-
$table-sticky-scroll-bar-bg: fade(#000, 35%);
|
|
682
|
-
$table-sticky-scroll-bar-radius: 4px;
|
|
683
|
-
|
|
684
|
-
// Tag
|
|
685
|
-
// --
|
|
686
|
-
$tag-default-bg: $background-color-light;
|
|
687
|
-
$tag-default-color: $text-color;
|
|
688
|
-
$tag-font-size: $font-size-sm;
|
|
689
|
-
$tag-line-height: 20px;
|
|
690
|
-
|
|
691
|
-
// TimePicker
|
|
692
|
-
// ---
|
|
693
|
-
$picker-bg: $component-background;
|
|
694
|
-
$picker-basic-cell-hover-color: $item-hover-bg;
|
|
695
|
-
$picker-basic-cell-active-with-range-color: $color-primary;
|
|
696
|
-
$picker-basic-cell-hover-with-range-color: lighten($color-primary, 35%);
|
|
697
|
-
$picker-basic-cell-disabled-bg: rgba(0, 0, 0, 0.04);
|
|
698
|
-
$picker-border-color: $border-color-split;
|
|
699
|
-
$picker-date-hover-range-border-color: lighten($color-primary, 20%);
|
|
700
|
-
$picker-date-hover-range-color: $picker-basic-cell-hover-with-range-color;
|
|
701
|
-
$picker-time-panel-column-width: 56px;
|
|
702
|
-
$picker-time-panel-column-height: 224px;
|
|
703
|
-
$picker-time-panel-cell-height: 28px;
|
|
704
|
-
$picker-panel-cell-height: 24px;
|
|
705
|
-
$picker-panel-cell-width: 36px;
|
|
706
|
-
$picker-text-height: 40px;
|
|
707
|
-
$picker-panel-without-time-cell-height: 66px;
|
|
708
|
-
|
|
709
|
-
// Calendar
|
|
710
|
-
// ---
|
|
711
|
-
$calendar-bg: $component-background;
|
|
712
|
-
$calendar-input-bg: $input-bg;
|
|
713
|
-
$calendar-border-color: $border-color-inverse;
|
|
714
|
-
$calendar-item-active-bg: $item-active-bg;
|
|
715
|
-
$calendar-full-bg: $calendar-bg;
|
|
716
|
-
$calendar-full-panel-bg: $calendar-full-bg;
|
|
717
|
-
|
|
718
|
-
// Carousel
|
|
719
|
-
// ---
|
|
720
|
-
$carousel-dot-width: 16px;
|
|
721
|
-
$carousel-dot-height: 3px;
|
|
722
|
-
$carousel-dot-active-width: 24px;
|
|
723
|
-
|
|
724
|
-
// Badge
|
|
725
|
-
// ---
|
|
726
|
-
$badge-height: 20px;
|
|
727
|
-
$badge-height-sm: 14px;
|
|
728
|
-
$badge-dot-size: 6px;
|
|
729
|
-
$badge-font-size: $font-size-sm;
|
|
730
|
-
$badge-font-size-sm: $font-size-sm;
|
|
731
|
-
$badge-font-weight: normal;
|
|
732
|
-
$badge-status-size: 6px;
|
|
733
|
-
$badge-text-color: $component-background;
|
|
734
|
-
$badge-color: $color-primary;
|
|
735
|
-
|
|
736
|
-
// Rate
|
|
737
|
-
// ---
|
|
738
|
-
$rate-star-color: $color-warning;
|
|
739
|
-
$rate-star-bg: $border-color-split;
|
|
740
|
-
$rate-star-size: 20px;
|
|
741
|
-
$rate-star-hover-scale: scale(1.1);
|
|
742
|
-
|
|
743
|
-
// Card
|
|
744
|
-
// ---
|
|
745
|
-
$card-head-color: $heading-color;
|
|
746
|
-
$card-head-background: transparent;
|
|
747
|
-
$card-head-font-size: $font-size-lg;
|
|
748
|
-
$card-head-font-size-sm: $font-size-base;
|
|
749
|
-
$card-head-padding: 16px;
|
|
750
|
-
$card-head-padding-sm: ($card-head-padding / 2);
|
|
751
|
-
$card-head-height: 48px;
|
|
752
|
-
$card-head-height-sm: 36px;
|
|
753
|
-
$card-inner-head-padding: 12px;
|
|
754
|
-
$card-padding-base: 24px;
|
|
755
|
-
$card-padding-base-sm: ($card-padding-base / 2);
|
|
756
|
-
$card-actions-background: $component-background;
|
|
757
|
-
$card-actions-li-margin: 12px 0;
|
|
758
|
-
$card-skeleton-bg: #cfd8dc;
|
|
759
|
-
$card-background: $component-background;
|
|
760
|
-
$card-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12),
|
|
761
|
-
0 5px 12px 4px rgba(0, 0, 0, 0.09);
|
|
762
|
-
$card-radius: $border-radius-base;
|
|
763
|
-
$card-head-tabs-margin-bottom: -17px;
|
|
764
|
-
$card-head-extra-color: $text-color;
|
|
765
|
-
|
|
766
|
-
// Comment
|
|
767
|
-
// ---
|
|
768
|
-
$comment-bg: inherit;
|
|
769
|
-
$comment-padding-base: $padding-md 0;
|
|
770
|
-
$comment-nest-indent: 44px;
|
|
771
|
-
$comment-font-size-base: $font-size-base;
|
|
772
|
-
$comment-font-size-sm: $font-size-sm;
|
|
773
|
-
$comment-author-name-color: $text-color-secondary;
|
|
774
|
-
$comment-author-time-color: #ccc;
|
|
775
|
-
$comment-action-color: $text-color-secondary;
|
|
776
|
-
$comment-action-hover-color: #595959;
|
|
777
|
-
$comment-actions-margin-bottom: inherit;
|
|
778
|
-
$comment-actions-margin-top: $margin-sm;
|
|
779
|
-
$comment-content-detail-p-margin-bottom: inherit;
|
|
780
|
-
|
|
781
|
-
// Tabs
|
|
782
|
-
// ---
|
|
783
|
-
$tabs-card-head-background: $background-color-light;
|
|
784
|
-
$tabs-card-height: 40px;
|
|
785
|
-
$tabs-card-active-color: $color-primary;
|
|
786
|
-
$tabs-card-horizontal-padding: (
|
|
787
|
-
($tabs-card-height - floor($font-size-base * $line-height-base)) / 2
|
|
788
|
-
) - $border-width-base $padding-md;
|
|
789
|
-
$tabs-card-horizontal-padding-sm: 6px $padding-md;
|
|
790
|
-
$tabs-card-horizontal-padding-lg: 7px $padding-md 6px;
|
|
791
|
-
$tabs-title-font-size: $font-size-base;
|
|
792
|
-
$tabs-title-font-size-lg: $font-size-lg;
|
|
793
|
-
$tabs-title-font-size-sm: $font-size-base;
|
|
794
|
-
$tabs-ink-bar-color: $color-primary;
|
|
795
|
-
$tabs-bar-margin: 0 0 $margin-md 0;
|
|
796
|
-
$tabs-horizontal-gutter: 32px;
|
|
797
|
-
$tabs-horizontal-margin: 0 0 0 $tabs-horizontal-gutter;
|
|
798
|
-
$tabs-horizontal-margin-rtl: 0 0 0 32px;
|
|
799
|
-
$tabs-horizontal-padding: $padding-sm 0;
|
|
800
|
-
$tabs-horizontal-padding-lg: $padding-md 0;
|
|
801
|
-
$tabs-horizontal-padding-sm: $padding-xs 0;
|
|
802
|
-
$tabs-vertical-padding: $padding-xs $padding-lg;
|
|
803
|
-
$tabs-vertical-margin: $margin-md 0 0 0;
|
|
804
|
-
$tabs-scrolling-size: 32px;
|
|
805
|
-
$tabs-highlight-color: $color-primary;
|
|
806
|
-
$tabs-hover-color: $color-primary;
|
|
807
|
-
$tabs-active-color: $color-primary;
|
|
808
|
-
$tabs-card-gutter: 2px;
|
|
809
|
-
$tabs-card-tab-active-border-top: 2px solid transparent;
|
|
810
|
-
|
|
811
|
-
// BackTop
|
|
812
|
-
// ---
|
|
813
|
-
$back-top-color: #fff;
|
|
814
|
-
$back-top-bg: $text-color-secondary;
|
|
815
|
-
$back-top-hover-bg: $text-color;
|
|
816
|
-
|
|
817
|
-
// Avatar
|
|
818
|
-
// ---
|
|
819
|
-
$avatar-size-base: 32px;
|
|
820
|
-
$avatar-size-lg: 40px;
|
|
821
|
-
$avatar-size-sm: 24px;
|
|
822
|
-
$avatar-font-size-base: 18px;
|
|
823
|
-
$avatar-font-size-lg: 24px;
|
|
824
|
-
$avatar-font-size-sm: 14px;
|
|
825
|
-
$avatar-bg: #ccc;
|
|
826
|
-
$avatar-color: #fff;
|
|
827
|
-
$avatar-border-radius: $border-radius-base;
|
|
828
|
-
$avatar-group-overlapping: -8px;
|
|
829
|
-
$avatar-group-space: 3px;
|
|
830
|
-
$avatar-group-border-color: #fff;
|
|
831
|
-
|
|
832
|
-
// Switch
|
|
833
|
-
// ---
|
|
834
|
-
$switch-height: 22px;
|
|
835
|
-
$switch-sm-height: 16px;
|
|
836
|
-
$switch-min-width: 44px;
|
|
837
|
-
$switch-sm-min-width: 28px;
|
|
838
|
-
$switch-disabled-opacity: 0.4;
|
|
839
|
-
$switch-color: $color-primary;
|
|
840
|
-
$switch-bg: $component-background;
|
|
841
|
-
$switch-shadow-color: fade(#00230b, 20%);
|
|
842
|
-
$switch-padding: 2px;
|
|
843
|
-
$switch-inner-margin-min: ceil($switch-height * 0.3);
|
|
844
|
-
$switch-inner-margin-max: ceil($switch-height * 1.1);
|
|
845
|
-
$switch-sm-inner-margin-min: ceil($switch-sm-height * 0.3);
|
|
846
|
-
$switch-sm-inner-margin-max: ceil($switch-sm-height * 1.1);
|
|
847
|
-
|
|
848
|
-
// Pagination
|
|
849
|
-
// ---
|
|
850
|
-
$pagination-item-bg: $component-background;
|
|
851
|
-
$pagination-item-size: $height-base;
|
|
852
|
-
$pagination-item-size-sm: 24px;
|
|
853
|
-
$pagination-font-family: $font-family;
|
|
854
|
-
$pagination-font-weight-active: 500;
|
|
855
|
-
$pagination-item-bg-active: $component-background;
|
|
856
|
-
$pagination-item-link-bg: $component-background;
|
|
857
|
-
$pagination-item-disabled-color-active: $disabled-color;
|
|
858
|
-
$pagination-item-disabled-bg-active: $disabled-active-bg;
|
|
859
|
-
$pagination-item-input-bg: $component-background;
|
|
860
|
-
$pagination-mini-options-size-changer-top: 0px;
|
|
861
|
-
|
|
862
|
-
// PageHeader
|
|
863
|
-
// ---
|
|
864
|
-
$page-header-padding: $padding-lg;
|
|
865
|
-
$page-header-padding-vertical: $padding-md;
|
|
866
|
-
$page-header-padding-breadcrumb: $padding-sm;
|
|
867
|
-
$page-header-content-padding-vertical: $padding-sm;
|
|
868
|
-
$page-header-back-color: #000;
|
|
869
|
-
$page-header-ghost-bg: inherit;
|
|
870
|
-
$page-header-heading-title: $heading-4-size;
|
|
871
|
-
$page-header-heading-sub-title: 14px;
|
|
872
|
-
$page-header-tabs-tab-font-size: 16px;
|
|
873
|
-
|
|
874
|
-
// Breadcrumb
|
|
875
|
-
// ---
|
|
876
|
-
$breadcrumb-base-color: $text-color-secondary;
|
|
877
|
-
$breadcrumb-last-item-color: $text-color;
|
|
878
|
-
$breadcrumb-font-size: $font-size-base;
|
|
879
|
-
$breadcrumb-icon-font-size: $font-size-base;
|
|
880
|
-
$breadcrumb-link-color: $text-color-secondary;
|
|
881
|
-
$breadcrumb-link-color-hover: $color-primary;
|
|
882
|
-
$breadcrumb-separator-color: $text-color-secondary;
|
|
883
|
-
$breadcrumb-separator-margin: 0 $padding-xs;
|
|
884
|
-
|
|
885
|
-
// Slider
|
|
886
|
-
// ---
|
|
887
|
-
$slider-margin: 10px 6px 10px;
|
|
888
|
-
$slider-rail-background-color: $background-color-base;
|
|
889
|
-
$slider-rail-background-color-hover: #e1e1e1;
|
|
890
|
-
$slider-track-background-color: $color-primary;
|
|
891
|
-
$slider-track-background-color-hover: $color-primary;
|
|
892
|
-
$slider-handle-border-width: 2px;
|
|
893
|
-
$slider-handle-background-color: $component-background;
|
|
894
|
-
$slider-handle-color: $color-primary;
|
|
895
|
-
$slider-handle-color-hover: $color-primary;
|
|
896
|
-
$slider-handle-color-focus: lighten($color-primary, 20%);
|
|
897
|
-
$slider-handle-color-focus-shadow: lighten($color-primary, 12%);
|
|
898
|
-
$slider-handle-color-tooltip-open: $color-primary;
|
|
899
|
-
$slider-handle-size: 14px;
|
|
900
|
-
$slider-handle-margin-top: -5px;
|
|
901
|
-
$slider-handle-shadow: 0;
|
|
902
|
-
$slider-dot-border-color: $border-color-split;
|
|
903
|
-
$slider-dot-border-color-active: lighten($color-primary, 50%);
|
|
904
|
-
$slider-disabled-color: $disabled-color;
|
|
905
|
-
$slider-disabled-background-color: $component-background;
|
|
906
|
-
|
|
907
|
-
// Tree
|
|
908
|
-
// ---
|
|
909
|
-
$tree-bg: $component-background;
|
|
910
|
-
$tree-title-height: 24px;
|
|
911
|
-
$tree-child-padding: 18px;
|
|
912
|
-
$tree-directory-selected-color: #fff;
|
|
913
|
-
$tree-directory-selected-bg: $color-primary;
|
|
914
|
-
$tree-node-hover-bg: $item-hover-bg;
|
|
915
|
-
$tree-node-selected-bg: $color-primary;
|
|
916
|
-
|
|
917
|
-
// Collapse
|
|
918
|
-
// ---
|
|
919
|
-
$collapse-header-padding: $padding-sm $padding-md;
|
|
920
|
-
$collapse-header-padding-extra: 40px;
|
|
921
|
-
$collapse-header-bg: $background-color-light;
|
|
922
|
-
$collapse-content-padding: $padding-md;
|
|
923
|
-
$collapse-content-bg: $component-background;
|
|
924
|
-
$collapse-header-arrow-left: 16px;
|
|
925
|
-
|
|
926
|
-
// Skeleton
|
|
927
|
-
// ---
|
|
928
|
-
$skeleton-color: rgba(190, 190, 190, 0.2);
|
|
929
|
-
$skeleton-to-color: darken($skeleton-color, 5%);
|
|
930
|
-
$skeleton-paragraph-margin-top: 28px;
|
|
931
|
-
$skeleton-paragraph-li-margin-top: $margin-md;
|
|
932
|
-
$skeleton-paragraph-li-height: 16px;
|
|
933
|
-
$skeleton-title-height: 16px;
|
|
934
|
-
$skeleton-title-paragraph-margin-top: $margin-lg;
|
|
935
|
-
|
|
936
|
-
// Transfer
|
|
937
|
-
// ---
|
|
938
|
-
$transfer-header-height: 40px;
|
|
939
|
-
$transfer-item-height: $height-base;
|
|
940
|
-
$transfer-disabled-bg: $disabled-bg;
|
|
941
|
-
$transfer-list-height: 200px;
|
|
942
|
-
$transfer-item-hover-bg: $item-hover-bg;
|
|
943
|
-
$transfer-item-padding-vertical: 6px;
|
|
944
|
-
$transfer-list-search-icon-top: 12px;
|
|
945
|
-
|
|
946
|
-
// Message
|
|
947
|
-
// ---
|
|
948
|
-
$message-notice-content-padding: 10px 16px;
|
|
949
|
-
$message-notice-content-bg: $component-background;
|
|
950
|
-
// Motion
|
|
951
|
-
// ---
|
|
952
|
-
$wave-animation-width: 6px;
|
|
953
|
-
|
|
954
|
-
// Alert
|
|
955
|
-
// ---
|
|
956
|
-
$alert-success-border-color: $color-success;
|
|
957
|
-
$alert-success-bg-color: $color-success;
|
|
958
|
-
$alert-success-icon-color: $color-success;
|
|
959
|
-
$alert-info-border-color: $color-primary;
|
|
960
|
-
$alert-info-bg-color: $color-primary;
|
|
961
|
-
$alert-info-icon-color: $color-primary;
|
|
962
|
-
$alert-warning-border-color: $color-warning;
|
|
963
|
-
$alert-warning-bg-color: $color-warning;
|
|
964
|
-
$alert-warning-icon-color: $color-warning;
|
|
965
|
-
$alert-error-border-color: $color-danger;
|
|
966
|
-
$alert-error-bg-color: $color-danger;
|
|
967
|
-
$alert-error-icon-color: $color-danger;
|
|
968
|
-
$alert-message-color: $heading-color;
|
|
969
|
-
$alert-text-color: $text-color;
|
|
970
|
-
$alert-close-color: $text-color-secondary;
|
|
971
|
-
$alert-close-hover-color: $icon-color-hover;
|
|
972
|
-
$alert-no-icon-padding-vertical: $padding-xs;
|
|
973
|
-
$alert-with-description-icon-size: 24px;
|
|
974
|
-
$alert-with-description-no-icon-padding-vertical: $padding-md - 1px;
|
|
975
|
-
$alert-with-description-padding-vertical: $padding-md - 1px;
|
|
976
|
-
$alert-with-description-padding: $alert-with-description-padding-vertical 15px
|
|
977
|
-
$alert-with-description-no-icon-padding-vertical $alert-with-description-icon-size;
|
|
978
|
-
$alert-icon-top: 8px + $font-size-base * ($line-height-base / 2) - ($font-size-base / 2);
|
|
979
|
-
|
|
980
|
-
// List
|
|
981
|
-
// ---
|
|
982
|
-
$list-header-background: transparent;
|
|
983
|
-
$list-footer-background: transparent;
|
|
984
|
-
$list-empty-text-padding: $padding-md;
|
|
985
|
-
$list-item-padding: $padding-sm 0;
|
|
986
|
-
$list-item-padding-sm: $padding-xs $padding-md;
|
|
987
|
-
$list-item-padding-lg: 16px 24px;
|
|
988
|
-
$list-item-meta-margin-bottom: $padding-md;
|
|
989
|
-
$list-item-meta-avatar-margin-right: $padding-md;
|
|
990
|
-
$list-item-meta-title-margin-bottom: $padding-sm;
|
|
991
|
-
$list-customize-card-bg: $component-background;
|
|
992
|
-
$list-item-meta-description-font-size: $font-size-base;
|
|
993
|
-
|
|
994
|
-
// Statistic
|
|
995
|
-
// ---
|
|
996
|
-
$statistic-title-font-size: $font-size-base;
|
|
997
|
-
$statistic-content-font-size: 24px;
|
|
998
|
-
$statistic-unit-font-size: 24px;
|
|
999
|
-
$statistic-font-family: $font-family;
|
|
1000
|
-
|
|
1001
|
-
// Drawer
|
|
1002
|
-
// ---
|
|
1003
|
-
$drawer-header-padding: $padding-md $padding-lg;
|
|
1004
|
-
$drawer-body-padding: $padding-lg;
|
|
1005
|
-
$drawer-bg: $component-background;
|
|
1006
|
-
$drawer-footer-padding-vertical: $modal-footer-padding-vertical;
|
|
1007
|
-
$drawer-footer-padding-horizontal: $modal-footer-padding-horizontal;
|
|
1008
|
-
$drawer-header-close-size: 56px;
|
|
1009
|
-
|
|
1010
|
-
// Timeline
|
|
1011
|
-
// ---
|
|
1012
|
-
$timeline-width: 2px;
|
|
1013
|
-
$timeline-color: $border-color-split;
|
|
1014
|
-
$timeline-dot-border-width: 2px;
|
|
1015
|
-
$timeline-dot-color: $color-primary;
|
|
1016
|
-
$timeline-dot-bg: $component-background;
|
|
1017
|
-
$timeline-item-padding-bottom: 20px;
|
|
1018
|
-
|
|
1019
|
-
// Typography
|
|
1020
|
-
// ---
|
|
1021
|
-
$typography-title-font-weight: 600;
|
|
1022
|
-
$typography-title-margin-top: 1.2em;
|
|
1023
|
-
$typography-title-margin-bottom: 0.5em;
|
|
1024
|
-
|
|
1025
|
-
// Upload
|
|
1026
|
-
// ---
|
|
1027
|
-
$upload-actions-color: $text-color-secondary;
|
|
1028
|
-
|
|
1029
|
-
// Steps
|
|
1030
|
-
// ---
|
|
1031
|
-
$process-tail-color: $border-color-split;
|
|
1032
|
-
$steps-nav-arrow-color: fade($color-black, 25%);
|
|
1033
|
-
$steps-background: $component-background;
|
|
1034
|
-
$steps-icon-size: 32px;
|
|
1035
|
-
$steps-icon-custom-size: $steps-icon-size;
|
|
1036
|
-
$steps-icon-custom-top: 0px;
|
|
1037
|
-
$steps-icon-custom-font-size: 24px;
|
|
1038
|
-
$steps-icon-top: -0.5px;
|
|
1039
|
-
$steps-icon-font-size: $font-size-lg;
|
|
1040
|
-
$steps-icon-margin: 0 8px 0 0;
|
|
1041
|
-
$steps-title-line-height: $height-base;
|
|
1042
|
-
$steps-small-icon-size: 24px;
|
|
1043
|
-
$steps-small-icon-margin: 0 8px 0 0;
|
|
1044
|
-
$steps-dot-size: 8px;
|
|
1045
|
-
$steps-dot-top: 2px;
|
|
1046
|
-
$steps-current-dot-size: 10px;
|
|
1047
|
-
$steps-description-max-width: 140px;
|
|
1048
|
-
$steps-nav-content-max-width: auto;
|
|
1049
|
-
$steps-vertical-icon-width: 16px;
|
|
1050
|
-
$steps-vertical-tail-width: 16px;
|
|
1051
|
-
$steps-vertical-tail-width-sm: 12px;
|
|
1052
|
-
|
|
1053
|
-
// Notification
|
|
1054
|
-
// ---
|
|
1055
|
-
$notification-bg: $component-background;
|
|
1056
|
-
$notification-padding-vertical: 16px;
|
|
1057
|
-
$notification-padding-horizontal: 24px;
|
|
1058
|
-
|
|
1059
|
-
// Result
|
|
1060
|
-
// ---
|
|
1061
|
-
$result-title-font-size: 24px;
|
|
1062
|
-
$result-subtitle-font-size: $font-size-base;
|
|
1063
|
-
$result-icon-font-size: 72px;
|
|
1064
|
-
$result-extra-margin: 24px 0 0 0;
|
|
1065
|
-
|
|
1066
|
-
// Image
|
|
1067
|
-
// ---
|
|
1068
|
-
$image-size-base: 48px;
|
|
1069
|
-
$image-font-size-base: 24px;
|
|
1070
|
-
$image-bg: #f5f5f5;
|
|
1071
|
-
$image-color: #fff;
|
|
1072
|
-
$image-mask-font-size: 16px;
|
|
1073
|
-
$image-preview-operation-size: 18px;
|
|
1074
|
-
$image-preview-operation-color: $color-dark;
|
|
1075
|
-
$image-preview-operation-disabled-color: fade($image-preview-operation-color, 25%);
|