cbvirtua 1.0.9 → 1.0.11
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/package.json +1 -1
- package/vant/style/README.md +79 -0
- package/vant/style/README.zh-CN.md +79 -0
- package/vant/style/animation.less +139 -0
- package/vant/style/base.less +10 -0
- package/vant/style/clearfix.less +5 -0
- package/vant/style/demo/index.vue +110 -0
- package/vant/style/ellipsis.less +13 -0
- package/vant/style/hairline.less +47 -0
- package/vant/style/mixins/clearfix.less +7 -0
- package/vant/style/mixins/ellipsis.less +15 -0
- package/vant/style/mixins/hairline.less +39 -0
- package/vant/style/normalize.less +38 -0
- package/vant/style/reset.less +171 -0
- package/vant/style/var.less +901 -0
- package/vant/tab/README.md +307 -0
- package/vant/tab/README.zh-CN.md +342 -0
- package/vant/tab/demo/index.vue +193 -0
- package/vant/tab/index.js +95 -0
- package/vant/tab/index.less +17 -0
- package/vant/tab/test/__snapshots__/demo.spec.js.snap +349 -0
- package/vant/tab/test/__snapshots__/index.spec.js.snap +352 -0
- package/vant/tab/test/__snapshots__/insert.spec.js.snap +63 -0
- package/vant/tab/test/demo.spec.js +4 -0
- package/vant/tab/test/index.spec.js +435 -0
- package/vant/tab/test/insert.spec.js +75 -0
- package/vant/tabs/Content.js +79 -0
- package/vant/tabs/Title.js +91 -0
- package/vant/tabs/index.js +453 -0
- package/vant/tabs/index.less +153 -0
- package/vant/tabs/utils.ts +53 -0
- package/vant/utils/constant.ts +11 -0
- package/vant/utils/create/bem.ts +45 -0
- package/vant/utils/create/component.ts +86 -0
- package/vant/utils/create/i18n.ts +16 -0
- package/vant/utils/create/index.ts +14 -0
- package/vant/utils/deep-assign.ts +27 -0
- package/vant/utils/deep-clone.ts +23 -0
- package/vant/utils/dom/event.ts +56 -0
- package/vant/utils/dom/node.ts +7 -0
- package/vant/utils/dom/raf.ts +40 -0
- package/vant/utils/dom/reset-scroll.ts +16 -0
- package/vant/utils/dom/scroll.ts +81 -0
- package/vant/utils/dom/style.ts +11 -0
- package/vant/utils/format/number.ts +52 -0
- package/vant/utils/format/string.ts +15 -0
- package/vant/utils/format/unit.ts +61 -0
- package/vant/utils/functional.ts +73 -0
- package/vant/utils/index.ts +79 -0
- package/vant/utils/interceptor.ts +27 -0
- package/vant/utils/router.ts +54 -0
- package/vant/utils/test/bem.spec.js +39 -0
- package/vant/utils/test/index.spec.js +152 -0
- package/vant/utils/test/interceptor.spec.js +50 -0
- package/vant/utils/types.ts +40 -0
- package/vant/utils/validate/date.ts +8 -0
- package/vant/utils/validate/email.ts +5 -0
- package/vant/utils/validate/mobile.ts +6 -0
- package/vant/utils/validate/number.ts +12 -0
- package/vant/utils/validate/system.ts +13 -0
- package/vant/utils/vnodes.ts +33 -0
- package/vue2/ex.vue +66 -0
- package/vue2/exx.vue +44 -0
|
@@ -0,0 +1,901 @@
|
|
|
1
|
+
// Color Palette
|
|
2
|
+
@black: #000;
|
|
3
|
+
@white: #fff;
|
|
4
|
+
@gray-1: #f7f8fa;
|
|
5
|
+
@gray-2: #f2f3f5;
|
|
6
|
+
@gray-3: #ebedf0;
|
|
7
|
+
@gray-4: #dcdee0;
|
|
8
|
+
@gray-5: #c8c9cc;
|
|
9
|
+
@gray-6: #969799;
|
|
10
|
+
@gray-7: #646566;
|
|
11
|
+
@gray-8: #323233;
|
|
12
|
+
@red: #ee0a24;
|
|
13
|
+
@blue: #1989fa;
|
|
14
|
+
@orange: #ff976a;
|
|
15
|
+
@orange-dark: #ed6a0c;
|
|
16
|
+
@orange-light: #fffbe8;
|
|
17
|
+
@green: #07c160;
|
|
18
|
+
|
|
19
|
+
// Gradient Colors
|
|
20
|
+
@gradient-red: linear-gradient(to right, #ff6034, #ee0a24);
|
|
21
|
+
@gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);
|
|
22
|
+
|
|
23
|
+
// Component Colors
|
|
24
|
+
@text-color: @gray-8;
|
|
25
|
+
@active-color: @gray-2;
|
|
26
|
+
@active-opacity: 0.7;
|
|
27
|
+
@disabled-opacity: 0.5;
|
|
28
|
+
@background-color: @gray-1;
|
|
29
|
+
@background-color-light: #fafafa;
|
|
30
|
+
@text-link-color: #576b95;
|
|
31
|
+
|
|
32
|
+
// Padding
|
|
33
|
+
@padding-base: 4px;
|
|
34
|
+
@padding-xs: @padding-base * 2;
|
|
35
|
+
@padding-sm: @padding-base * 3;
|
|
36
|
+
@padding-md: @padding-base * 4;
|
|
37
|
+
@padding-lg: @padding-base * 6;
|
|
38
|
+
@padding-xl: @padding-base * 8;
|
|
39
|
+
|
|
40
|
+
// Font
|
|
41
|
+
@font-size-xs: 10px;
|
|
42
|
+
@font-size-sm: 12px;
|
|
43
|
+
@font-size-md: 14px;
|
|
44
|
+
@font-size-lg: 16px;
|
|
45
|
+
@font-weight-bold: 500;
|
|
46
|
+
@line-height-xs: 14px;
|
|
47
|
+
@line-height-sm: 18px;
|
|
48
|
+
@line-height-md: 20px;
|
|
49
|
+
@line-height-lg: 22px;
|
|
50
|
+
@base-font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
|
|
51
|
+
Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB',
|
|
52
|
+
'Microsoft Yahei', sans-serif;
|
|
53
|
+
@price-integer-font-family: Avenir-Heavy, PingFang SC, Helvetica Neue, Arial,
|
|
54
|
+
sans-serif;
|
|
55
|
+
|
|
56
|
+
// Animation
|
|
57
|
+
@animation-duration-base: 0.3s;
|
|
58
|
+
@animation-duration-fast: 0.2s;
|
|
59
|
+
@animation-timing-function-enter: ease-out;
|
|
60
|
+
@animation-timing-function-leave: ease-in;
|
|
61
|
+
|
|
62
|
+
// Border
|
|
63
|
+
@border-color: @gray-3;
|
|
64
|
+
@border-width-base: 1px;
|
|
65
|
+
@border-radius-sm: 2px;
|
|
66
|
+
@border-radius-md: 4px;
|
|
67
|
+
@border-radius-lg: 8px;
|
|
68
|
+
@border-radius-max: 999px;
|
|
69
|
+
|
|
70
|
+
// ActionSheet
|
|
71
|
+
@action-sheet-max-height: 80%;
|
|
72
|
+
@action-sheet-header-height: 48px;
|
|
73
|
+
@action-sheet-header-font-size: @font-size-lg;
|
|
74
|
+
@action-sheet-description-color: @gray-6;
|
|
75
|
+
@action-sheet-description-font-size: @font-size-md;
|
|
76
|
+
@action-sheet-description-line-height: @line-height-md;
|
|
77
|
+
@action-sheet-item-background: @white;
|
|
78
|
+
@action-sheet-item-font-size: @font-size-lg;
|
|
79
|
+
@action-sheet-item-line-height: @line-height-lg;
|
|
80
|
+
@action-sheet-item-text-color: @text-color;
|
|
81
|
+
@action-sheet-item-disabled-text-color: @gray-5;
|
|
82
|
+
@action-sheet-subname-color: @gray-6;
|
|
83
|
+
@action-sheet-subname-font-size: @font-size-sm;
|
|
84
|
+
@action-sheet-subname-line-height: @line-height-sm;
|
|
85
|
+
@action-sheet-close-icon-size: 22px;
|
|
86
|
+
@action-sheet-close-icon-color: @gray-5;
|
|
87
|
+
@action-sheet-close-icon-active-color: @gray-6;
|
|
88
|
+
@action-sheet-close-icon-padding: 0 @padding-md;
|
|
89
|
+
@action-sheet-cancel-text-color: @gray-7;
|
|
90
|
+
@action-sheet-cancel-padding-top: @padding-xs;
|
|
91
|
+
@action-sheet-cancel-padding-color: @background-color;
|
|
92
|
+
@action-sheet-loading-icon-size: 22px;
|
|
93
|
+
|
|
94
|
+
// AddressEdit
|
|
95
|
+
@address-edit-padding: @padding-sm;
|
|
96
|
+
@address-edit-buttons-padding: @padding-xl @padding-base;
|
|
97
|
+
@address-edit-button-margin-bottom: @padding-sm;
|
|
98
|
+
@address-edit-detail-finish-color: @blue;
|
|
99
|
+
@address-edit-detail-finish-font-size: @font-size-sm;
|
|
100
|
+
|
|
101
|
+
// AddressList
|
|
102
|
+
@address-list-padding: @padding-sm @padding-sm 80px;
|
|
103
|
+
@address-list-disabled-text-color: @gray-6;
|
|
104
|
+
@address-list-disabled-text-padding: @padding-base * 5 0 @padding-md;
|
|
105
|
+
@address-list-disabled-text-font-size: @font-size-md;
|
|
106
|
+
@address-list-disabled-text-line-height: @line-height-md;
|
|
107
|
+
@address-list-add-button-z-index: 999;
|
|
108
|
+
@address-list-item-padding: @padding-sm;
|
|
109
|
+
@address-list-item-text-color: @text-color;
|
|
110
|
+
@address-list-item-disabled-text-color: @gray-5;
|
|
111
|
+
@address-list-item-font-size: 13px;
|
|
112
|
+
@address-list-item-line-height: @line-height-sm;
|
|
113
|
+
@address-list-item-radio-icon-color: @red;
|
|
114
|
+
@address-list-edit-icon-size: 20px;
|
|
115
|
+
|
|
116
|
+
// Badge
|
|
117
|
+
@badge-size: 16px;
|
|
118
|
+
@badge-color: @white;
|
|
119
|
+
@badge-padding: 0 3px;
|
|
120
|
+
@badge-font-size: @font-size-sm;
|
|
121
|
+
@badge-font-weight: @font-weight-bold;
|
|
122
|
+
@badge-border-width: @border-width-base;
|
|
123
|
+
@badge-background-color: @red;
|
|
124
|
+
@badge-dot-color: @red;
|
|
125
|
+
@badge-dot-size: 8px;
|
|
126
|
+
@badge-font-family: -apple-system-font, Helvetica Neue, Arial, sans-serif;
|
|
127
|
+
|
|
128
|
+
// Button
|
|
129
|
+
@button-mini-height: 24px;
|
|
130
|
+
@button-mini-font-size: @font-size-xs;
|
|
131
|
+
@button-small-height: 32px;
|
|
132
|
+
@button-small-font-size: @font-size-sm;
|
|
133
|
+
@button-normal-font-size: @font-size-md;
|
|
134
|
+
@button-large-height: 50px;
|
|
135
|
+
@button-default-height: 44px;
|
|
136
|
+
@button-default-line-height: 1.2;
|
|
137
|
+
@button-default-font-size: @font-size-lg;
|
|
138
|
+
@button-default-color: @text-color;
|
|
139
|
+
@button-default-background-color: @white;
|
|
140
|
+
@button-default-border-color: @border-color;
|
|
141
|
+
@button-primary-color: @white;
|
|
142
|
+
@button-primary-background-color: @green;
|
|
143
|
+
@button-primary-border-color: @green;
|
|
144
|
+
@button-info-color: @white;
|
|
145
|
+
@button-info-background-color: @blue;
|
|
146
|
+
@button-info-border-color: @blue;
|
|
147
|
+
@button-danger-color: @white;
|
|
148
|
+
@button-danger-background-color: @red;
|
|
149
|
+
@button-danger-border-color: @red;
|
|
150
|
+
@button-warning-color: @white;
|
|
151
|
+
@button-warning-background-color: @orange;
|
|
152
|
+
@button-warning-border-color: @orange;
|
|
153
|
+
@button-border-width: @border-width-base;
|
|
154
|
+
@button-border-radius: @border-radius-sm;
|
|
155
|
+
@button-round-border-radius: @border-radius-max;
|
|
156
|
+
@button-plain-background-color: @white;
|
|
157
|
+
@button-disabled-opacity: @disabled-opacity;
|
|
158
|
+
|
|
159
|
+
// Calendar
|
|
160
|
+
@calendar-background-color: @white;
|
|
161
|
+
@calendar-popup-height: 80%;
|
|
162
|
+
@calendar-header-box-shadow: 0 2px 10px rgba(125, 126, 128, 0.16);
|
|
163
|
+
@calendar-header-title-height: 44px;
|
|
164
|
+
@calendar-header-title-font-size: @font-size-lg;
|
|
165
|
+
@calendar-header-subtitle-font-size: @font-size-md;
|
|
166
|
+
@calendar-weekdays-height: 30px;
|
|
167
|
+
@calendar-weekdays-font-size: @font-size-sm;
|
|
168
|
+
@calendar-month-title-font-size: @font-size-md;
|
|
169
|
+
@calendar-month-mark-color: fade(@gray-2, 80%);
|
|
170
|
+
@calendar-month-mark-font-size: 160px;
|
|
171
|
+
@calendar-day-height: 64px;
|
|
172
|
+
@calendar-day-font-size: @font-size-lg;
|
|
173
|
+
@calendar-range-edge-color: @white;
|
|
174
|
+
@calendar-range-edge-background-color: @red;
|
|
175
|
+
@calendar-range-middle-color: @red;
|
|
176
|
+
@calendar-range-middle-background-opacity: 0.1;
|
|
177
|
+
@calendar-selected-day-size: 54px;
|
|
178
|
+
@calendar-selected-day-color: @white;
|
|
179
|
+
@calendar-info-font-size: @font-size-xs;
|
|
180
|
+
@calendar-info-line-height: @line-height-xs;
|
|
181
|
+
@calendar-selected-day-background-color: @red;
|
|
182
|
+
@calendar-day-disabled-color: @gray-5;
|
|
183
|
+
@calendar-confirm-button-height: 36px;
|
|
184
|
+
@calendar-confirm-button-margin: 7px 0;
|
|
185
|
+
|
|
186
|
+
// Card
|
|
187
|
+
@card-padding: @padding-xs @padding-md;
|
|
188
|
+
@card-font-size: @font-size-sm;
|
|
189
|
+
@card-text-color: @text-color;
|
|
190
|
+
@card-background-color: @background-color-light;
|
|
191
|
+
@card-thumb-size: 88px;
|
|
192
|
+
@card-thumb-border-radius: @border-radius-lg;
|
|
193
|
+
@card-title-line-height: 16px;
|
|
194
|
+
@card-desc-color: @gray-7;
|
|
195
|
+
@card-desc-line-height: @line-height-md;
|
|
196
|
+
@card-price-color: @gray-8;
|
|
197
|
+
@card-origin-price-color: @gray-6;
|
|
198
|
+
@card-num-color: @gray-6;
|
|
199
|
+
@card-origin-price-font-size: @font-size-xs;
|
|
200
|
+
@card-price-font-size: @font-size-sm;
|
|
201
|
+
@card-price-integer-font-size: @font-size-lg;
|
|
202
|
+
@card-price-font-family: @price-integer-font-family;
|
|
203
|
+
|
|
204
|
+
// Cascader
|
|
205
|
+
@cascader-header-height: 48px;
|
|
206
|
+
@cascader-title-font-size: @font-size-lg;
|
|
207
|
+
@cascader-title-line-height: 20px;
|
|
208
|
+
@cascader-close-icon-size: 22px;
|
|
209
|
+
@cascader-close-icon-color: @gray-5;
|
|
210
|
+
@cascader-close-icon-active-color: @gray-6;
|
|
211
|
+
@cascader-selected-icon-size: 18px;
|
|
212
|
+
@cascader-tabs-height: 48px;
|
|
213
|
+
@cascader-active-color: @red;
|
|
214
|
+
@cascader-options-height: 384px;
|
|
215
|
+
@cascader-tab-color: @text-color;
|
|
216
|
+
@cascader-unselected-tab-color: @gray-6;
|
|
217
|
+
|
|
218
|
+
// Cell
|
|
219
|
+
@cell-font-size: @font-size-md;
|
|
220
|
+
@cell-line-height: 24px;
|
|
221
|
+
@cell-vertical-padding: 10px;
|
|
222
|
+
@cell-horizontal-padding: @padding-md;
|
|
223
|
+
@cell-text-color: @text-color;
|
|
224
|
+
@cell-background-color: @white;
|
|
225
|
+
@cell-border-color: @border-color;
|
|
226
|
+
@cell-active-color: @active-color;
|
|
227
|
+
@cell-required-color: @red;
|
|
228
|
+
@cell-label-color: @gray-6;
|
|
229
|
+
@cell-label-font-size: @font-size-sm;
|
|
230
|
+
@cell-label-line-height: @line-height-sm;
|
|
231
|
+
@cell-label-margin-top: @padding-base;
|
|
232
|
+
@cell-value-color: @gray-6;
|
|
233
|
+
@cell-icon-size: 16px;
|
|
234
|
+
@cell-right-icon-color: @gray-6;
|
|
235
|
+
@cell-large-vertical-padding: @padding-sm;
|
|
236
|
+
@cell-large-title-font-size: @font-size-lg;
|
|
237
|
+
@cell-large-label-font-size: @font-size-md;
|
|
238
|
+
|
|
239
|
+
// CellGroup
|
|
240
|
+
@cell-group-background-color: @white;
|
|
241
|
+
@cell-group-title-color: @gray-6;
|
|
242
|
+
@cell-group-title-padding: @padding-md @padding-md @padding-xs;
|
|
243
|
+
@cell-group-title-font-size: @font-size-md;
|
|
244
|
+
@cell-group-title-line-height: 16px;
|
|
245
|
+
@cell-group-inset-padding: 0 @padding-md;
|
|
246
|
+
@cell-group-inset-border-radius: @border-radius-lg;
|
|
247
|
+
@cell-group-inset-title-padding: @padding-md @padding-md @padding-xs @padding-xl;
|
|
248
|
+
|
|
249
|
+
// Checkbox
|
|
250
|
+
@checkbox-size: 20px;
|
|
251
|
+
@checkbox-border-color: @gray-5;
|
|
252
|
+
@checkbox-transition-duration: @animation-duration-fast;
|
|
253
|
+
@checkbox-label-margin: @padding-xs;
|
|
254
|
+
@checkbox-label-color: @text-color;
|
|
255
|
+
@checkbox-checked-icon-color: @blue;
|
|
256
|
+
@checkbox-disabled-icon-color: @gray-5;
|
|
257
|
+
@checkbox-disabled-label-color: @gray-5;
|
|
258
|
+
@checkbox-disabled-background-color: @border-color;
|
|
259
|
+
|
|
260
|
+
// Circle
|
|
261
|
+
@circle-size: 100px;
|
|
262
|
+
@circle-color: @blue;
|
|
263
|
+
@circle-layer-color: @white;
|
|
264
|
+
@circle-text-color: @text-color;
|
|
265
|
+
@circle-text-font-weight: @font-weight-bold;
|
|
266
|
+
@circle-text-font-size: @font-size-md;
|
|
267
|
+
@circle-text-line-height: @line-height-md;
|
|
268
|
+
|
|
269
|
+
// Collapse
|
|
270
|
+
@collapse-item-transition-duration: @animation-duration-base;
|
|
271
|
+
@collapse-item-content-padding: @padding-sm @padding-md;
|
|
272
|
+
@collapse-item-content-font-size: @font-size-md;
|
|
273
|
+
@collapse-item-content-line-height: 1.5;
|
|
274
|
+
@collapse-item-content-text-color: @gray-6;
|
|
275
|
+
@collapse-item-content-background-color: @white;
|
|
276
|
+
@collapse-item-title-disabled-color: @gray-5;
|
|
277
|
+
|
|
278
|
+
// ContactCard
|
|
279
|
+
@contact-card-padding: @padding-md;
|
|
280
|
+
@contact-card-add-icon-size: 40px;
|
|
281
|
+
@contact-card-add-icon-color: @blue;
|
|
282
|
+
@contact-card-value-line-height: @line-height-md;
|
|
283
|
+
|
|
284
|
+
// ContactEdit
|
|
285
|
+
@contact-edit-padding: @padding-md;
|
|
286
|
+
@contact-edit-fields-radius: @border-radius-md;
|
|
287
|
+
@contact-edit-buttons-padding: @padding-xl 0;
|
|
288
|
+
@contact-edit-button-margin-bottom: @padding-sm;
|
|
289
|
+
@contact-edit-button-font-size: 16px;
|
|
290
|
+
@contact-edit-field-label-width: 4.1em;
|
|
291
|
+
|
|
292
|
+
// ContactList
|
|
293
|
+
@contact-list-edit-icon-size: 16px;
|
|
294
|
+
@contact-list-add-button-z-index: 999;
|
|
295
|
+
@contact-list-item-padding: @padding-md;
|
|
296
|
+
|
|
297
|
+
// CountDown
|
|
298
|
+
@count-down-text-color: @text-color;
|
|
299
|
+
@count-down-font-size: @font-size-md;
|
|
300
|
+
@count-down-line-height: @line-height-md;
|
|
301
|
+
|
|
302
|
+
// Coupon
|
|
303
|
+
@coupon-margin: 0 @padding-sm @padding-sm;
|
|
304
|
+
@coupon-content-height: 84px;
|
|
305
|
+
@coupon-content-padding: 14px 0;
|
|
306
|
+
@coupon-background-color: @white;
|
|
307
|
+
@coupon-active-background-color: @active-color;
|
|
308
|
+
@coupon-border-radius: @border-radius-lg;
|
|
309
|
+
@coupon-box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
|
|
310
|
+
@coupon-head-width: 96px;
|
|
311
|
+
@coupon-amount-color: @red;
|
|
312
|
+
@coupon-amount-font-size: 30px;
|
|
313
|
+
@coupon-currency-font-size: 40%;
|
|
314
|
+
@coupon-name-font-size: @font-size-md;
|
|
315
|
+
@coupon-disabled-text-color: @gray-6;
|
|
316
|
+
@coupon-description-padding: @padding-xs @padding-md;
|
|
317
|
+
@coupon-description-border-color: @border-color;
|
|
318
|
+
|
|
319
|
+
// CouponCell
|
|
320
|
+
@coupon-cell-selected-text-color: @text-color;
|
|
321
|
+
|
|
322
|
+
// CouponList
|
|
323
|
+
@coupon-list-background-color: @background-color;
|
|
324
|
+
@coupon-list-field-padding: 5px 0 5px @padding-md;
|
|
325
|
+
@coupon-list-exchange-button-height: 32px;
|
|
326
|
+
@coupon-list-close-button-height: 40px;
|
|
327
|
+
@coupon-list-empty-image-size: 200px;
|
|
328
|
+
@coupon-list-empty-tip-color: @gray-6;
|
|
329
|
+
@coupon-list-empty-tip-font-size: @font-size-md;
|
|
330
|
+
@coupon-list-empty-tip-line-height: @line-height-md;
|
|
331
|
+
|
|
332
|
+
// Dialog
|
|
333
|
+
@dialog-width: 320px;
|
|
334
|
+
@dialog-small-screen-width: 90%;
|
|
335
|
+
@dialog-font-size: @font-size-lg;
|
|
336
|
+
@dialog-transition: @animation-duration-base;
|
|
337
|
+
@dialog-border-radius: 16px;
|
|
338
|
+
@dialog-background-color: @white;
|
|
339
|
+
@dialog-header-font-weight: @font-weight-bold;
|
|
340
|
+
@dialog-header-line-height: 24px;
|
|
341
|
+
@dialog-header-padding-top: 26px;
|
|
342
|
+
@dialog-header-isolated-padding: @padding-lg 0;
|
|
343
|
+
@dialog-message-padding: @padding-lg;
|
|
344
|
+
@dialog-message-font-size: @font-size-md;
|
|
345
|
+
@dialog-message-line-height: @line-height-md;
|
|
346
|
+
@dialog-message-max-height: 60vh;
|
|
347
|
+
@dialog-has-title-message-text-color: @gray-7;
|
|
348
|
+
@dialog-has-title-message-padding-top: @padding-xs;
|
|
349
|
+
@dialog-button-height: 48px;
|
|
350
|
+
@dialog-round-button-height: 36px;
|
|
351
|
+
@dialog-confirm-button-text-color: @red;
|
|
352
|
+
|
|
353
|
+
// Divider
|
|
354
|
+
@divider-margin: @padding-md 0;
|
|
355
|
+
@divider-text-color: @gray-6;
|
|
356
|
+
@divider-font-size: @font-size-md;
|
|
357
|
+
@divider-line-height: 24px;
|
|
358
|
+
@divider-border-color: @border-color;
|
|
359
|
+
@divider-content-padding: @padding-md;
|
|
360
|
+
@divider-content-left-width: 10%;
|
|
361
|
+
@divider-content-right-width: 10%;
|
|
362
|
+
|
|
363
|
+
// DropdownMenu
|
|
364
|
+
@dropdown-menu-height: 48px;
|
|
365
|
+
@dropdown-menu-background-color: @white;
|
|
366
|
+
@dropdown-menu-box-shadow: 0 2px 12px fade(@gray-7, 12);
|
|
367
|
+
@dropdown-menu-title-font-size: 15px;
|
|
368
|
+
@dropdown-menu-title-text-color: @text-color;
|
|
369
|
+
@dropdown-menu-title-active-text-color: @red;
|
|
370
|
+
@dropdown-menu-title-disabled-text-color: @gray-6;
|
|
371
|
+
@dropdown-menu-title-padding: 0 @padding-xs;
|
|
372
|
+
@dropdown-menu-title-line-height: @line-height-lg;
|
|
373
|
+
@dropdown-menu-option-active-color: @red;
|
|
374
|
+
@dropdown-menu-content-max-height: 80%;
|
|
375
|
+
@dropdown-item-z-index: 10;
|
|
376
|
+
|
|
377
|
+
// Empty
|
|
378
|
+
@empty-padding: @padding-xl 0;
|
|
379
|
+
@empty-image-size: 160px;
|
|
380
|
+
@empty-description-margin-top: @padding-md;
|
|
381
|
+
@empty-description-padding: 0 60px;
|
|
382
|
+
@empty-description-color: @gray-6;
|
|
383
|
+
@empty-description-font-size: @font-size-md;
|
|
384
|
+
@empty-description-line-height: @line-height-md;
|
|
385
|
+
@empty-bottom-margin-top: 24px;
|
|
386
|
+
|
|
387
|
+
// Field
|
|
388
|
+
@field-label-width: 6.2em;
|
|
389
|
+
@field-label-color: @gray-7;
|
|
390
|
+
@field-label-margin-right: @padding-sm;
|
|
391
|
+
@field-input-text-color: @text-color;
|
|
392
|
+
@field-input-error-text-color: @red;
|
|
393
|
+
@field-input-disabled-text-color: @gray-5;
|
|
394
|
+
@field-placeholder-text-color: @gray-5;
|
|
395
|
+
@field-icon-size: 16px;
|
|
396
|
+
@field-clear-icon-size: 16px;
|
|
397
|
+
@field-clear-icon-color: @gray-5;
|
|
398
|
+
@field-right-icon-color: @gray-6;
|
|
399
|
+
@field-error-message-color: @red;
|
|
400
|
+
@field-error-message-font-size: 12px;
|
|
401
|
+
@field-text-area-min-height: 60px;
|
|
402
|
+
@field-word-limit-color: @gray-7;
|
|
403
|
+
@field-word-limit-font-size: @font-size-sm;
|
|
404
|
+
@field-word-limit-line-height: 16px;
|
|
405
|
+
@field-disabled-text-color: @gray-5;
|
|
406
|
+
|
|
407
|
+
// GridItem
|
|
408
|
+
@grid-item-content-padding: @padding-md @padding-xs;
|
|
409
|
+
@grid-item-content-background-color: @white;
|
|
410
|
+
@grid-item-content-active-color: @active-color;
|
|
411
|
+
@grid-item-icon-size: 28px;
|
|
412
|
+
@grid-item-text-color: @gray-7;
|
|
413
|
+
@grid-item-text-font-size: @font-size-sm;
|
|
414
|
+
|
|
415
|
+
// GoodsAction
|
|
416
|
+
@goods-action-background-color: @white;
|
|
417
|
+
@goods-action-height: 50px;
|
|
418
|
+
@goods-action-icon-width: 48px;
|
|
419
|
+
@goods-action-icon-height: 100%;
|
|
420
|
+
@goods-action-icon-color: @text-color;
|
|
421
|
+
@goods-action-icon-size: 18px;
|
|
422
|
+
@goods-action-icon-font-size: @font-size-xs;
|
|
423
|
+
@goods-action-icon-active-color: @active-color;
|
|
424
|
+
@goods-action-icon-text-color: @gray-7;
|
|
425
|
+
@goods-action-button-height: 40px;
|
|
426
|
+
@goods-action-button-warning-color: @gradient-orange;
|
|
427
|
+
@goods-action-button-danger-color: @gradient-red;
|
|
428
|
+
|
|
429
|
+
// IndexAnchor
|
|
430
|
+
@index-anchor-z-index: 1;
|
|
431
|
+
@index-anchor-padding: 0 @padding-md;
|
|
432
|
+
@index-anchor-text-color: @text-color;
|
|
433
|
+
@index-anchor-font-weight: @font-weight-bold;
|
|
434
|
+
@index-anchor-font-size: @font-size-md;
|
|
435
|
+
@index-anchor-line-height: 32px;
|
|
436
|
+
@index-anchor-background-color: transparent;
|
|
437
|
+
@index-anchor-sticky-text-color: @red;
|
|
438
|
+
@index-anchor-sticky-background-color: @white;
|
|
439
|
+
|
|
440
|
+
// IndexBar
|
|
441
|
+
@index-bar-sidebar-z-index: 2;
|
|
442
|
+
@index-bar-index-font-size: @font-size-xs;
|
|
443
|
+
@index-bar-index-line-height: @line-height-xs;
|
|
444
|
+
@index-bar-index-active-color: @red;
|
|
445
|
+
|
|
446
|
+
// Info
|
|
447
|
+
@info-size: 16px;
|
|
448
|
+
@info-color: @white;
|
|
449
|
+
@info-padding: 0 3px;
|
|
450
|
+
@info-font-size: @font-size-sm;
|
|
451
|
+
@info-font-weight: @font-weight-bold;
|
|
452
|
+
@info-border-width: @border-width-base;
|
|
453
|
+
@info-background-color: @red;
|
|
454
|
+
@info-dot-color: @red;
|
|
455
|
+
@info-dot-size: 8px;
|
|
456
|
+
@info-font-family: -apple-system-font, Helvetica Neue, Arial, sans-serif;
|
|
457
|
+
|
|
458
|
+
// Image
|
|
459
|
+
@image-placeholder-text-color: @gray-6;
|
|
460
|
+
@image-placeholder-font-size: @font-size-md;
|
|
461
|
+
@image-placeholder-background-color: @background-color;
|
|
462
|
+
@image-loading-icon-size: 32px;
|
|
463
|
+
@image-loading-icon-color: @gray-4;
|
|
464
|
+
@image-error-icon-size: 32px;
|
|
465
|
+
@image-error-icon-color: @gray-4;
|
|
466
|
+
|
|
467
|
+
// ImagePreview
|
|
468
|
+
@image-preview-index-text-color: @white;
|
|
469
|
+
@image-preview-index-font-size: @font-size-md;
|
|
470
|
+
@image-preview-index-line-height: @line-height-md;
|
|
471
|
+
@image-preview-index-text-shadow: 0 1px 1px @gray-8;
|
|
472
|
+
@image-preview-overlay-background-color: rgba(0, 0, 0, 0.9);
|
|
473
|
+
@image-preview-close-icon-size: 22px;
|
|
474
|
+
@image-preview-close-icon-color: @gray-5;
|
|
475
|
+
@image-preview-close-icon-active-color: @gray-6;
|
|
476
|
+
@image-preview-close-icon-margin: @padding-md;
|
|
477
|
+
@image-preview-close-icon-z-index: 1;
|
|
478
|
+
|
|
479
|
+
// List
|
|
480
|
+
@list-text-color: @gray-6;
|
|
481
|
+
@list-text-font-size: @font-size-md;
|
|
482
|
+
@list-text-line-height: 50px;
|
|
483
|
+
|
|
484
|
+
// Loading
|
|
485
|
+
@loading-text-color: @gray-6;
|
|
486
|
+
@loading-text-font-size: @font-size-md;
|
|
487
|
+
@loading-spinner-color: @gray-5;
|
|
488
|
+
@loading-spinner-size: 30px;
|
|
489
|
+
@loading-spinner-animation-duration: 0.8s;
|
|
490
|
+
|
|
491
|
+
// NavBar
|
|
492
|
+
@nav-bar-height: 46px;
|
|
493
|
+
@nav-bar-background-color: @white;
|
|
494
|
+
@nav-bar-arrow-size: 16px;
|
|
495
|
+
@nav-bar-icon-color: @blue;
|
|
496
|
+
@nav-bar-text-color: @blue;
|
|
497
|
+
@nav-bar-title-font-size: @font-size-lg;
|
|
498
|
+
@nav-bar-title-text-color: @text-color;
|
|
499
|
+
@nav-bar-z-index: 1;
|
|
500
|
+
|
|
501
|
+
// NoticeBar
|
|
502
|
+
@notice-bar-height: 40px;
|
|
503
|
+
@notice-bar-padding: 0 @padding-md;
|
|
504
|
+
@notice-bar-wrapable-padding: @padding-xs @padding-md;
|
|
505
|
+
@notice-bar-text-color: @orange-dark;
|
|
506
|
+
@notice-bar-font-size: @font-size-md;
|
|
507
|
+
@notice-bar-line-height: 24px;
|
|
508
|
+
@notice-bar-background-color: @orange-light;
|
|
509
|
+
@notice-bar-icon-size: 16px;
|
|
510
|
+
@notice-bar-icon-min-width: 24px;
|
|
511
|
+
|
|
512
|
+
// Notify
|
|
513
|
+
@notify-text-color: @white;
|
|
514
|
+
@notify-padding: @padding-xs @padding-md;
|
|
515
|
+
@notify-font-size: @font-size-md;
|
|
516
|
+
@notify-line-height: @line-height-md;
|
|
517
|
+
@notify-primary-background-color: @blue;
|
|
518
|
+
@notify-success-background-color: @green;
|
|
519
|
+
@notify-danger-background-color: @red;
|
|
520
|
+
@notify-warning-background-color: @orange;
|
|
521
|
+
|
|
522
|
+
// NumberKeyboard
|
|
523
|
+
@number-keyboard-background-color: @gray-2;
|
|
524
|
+
@number-keyboard-key-height: 48px;
|
|
525
|
+
@number-keyboard-key-font-size: 28px;
|
|
526
|
+
@number-keyboard-key-active-color: @gray-3;
|
|
527
|
+
@number-keyboard-delete-font-size: @font-size-lg;
|
|
528
|
+
@number-keyboard-title-color: @gray-7;
|
|
529
|
+
@number-keyboard-title-height: 34px;
|
|
530
|
+
@number-keyboard-title-font-size: @font-size-lg;
|
|
531
|
+
@number-keyboard-close-padding: 0 @padding-md;
|
|
532
|
+
@number-keyboard-close-color: @text-link-color;
|
|
533
|
+
@number-keyboard-close-font-size: @font-size-md;
|
|
534
|
+
@number-keyboard-button-text-color: @white;
|
|
535
|
+
@number-keyboard-button-background-color: @blue;
|
|
536
|
+
@number-keyboard-cursor-color: @text-color;
|
|
537
|
+
@number-keyboard-cursor-width: 1px;
|
|
538
|
+
@number-keyboard-cursor-height: 40%;
|
|
539
|
+
@number-keyboard-cursor-animation-duration: 1s;
|
|
540
|
+
@number-keyboard-z-index: 100;
|
|
541
|
+
|
|
542
|
+
// Overlay
|
|
543
|
+
@overlay-z-index: 1;
|
|
544
|
+
@overlay-background-color: rgba(0, 0, 0, 0.7);
|
|
545
|
+
|
|
546
|
+
// Pagination
|
|
547
|
+
@pagination-height: 40px;
|
|
548
|
+
@pagination-font-size: @font-size-md;
|
|
549
|
+
@pagination-item-width: 36px;
|
|
550
|
+
@pagination-item-default-color: @blue;
|
|
551
|
+
@pagination-item-disabled-color: @gray-7;
|
|
552
|
+
@pagination-item-disabled-background-color: @background-color;
|
|
553
|
+
@pagination-background-color: @white;
|
|
554
|
+
@pagination-desc-color: @gray-7;
|
|
555
|
+
@pagination-disabled-opacity: @disabled-opacity;
|
|
556
|
+
|
|
557
|
+
// Panel
|
|
558
|
+
@panel-background-color: @white;
|
|
559
|
+
@panel-header-value-color: @red;
|
|
560
|
+
@panel-footer-padding: @padding-xs @padding-md;
|
|
561
|
+
|
|
562
|
+
// PasswordInput
|
|
563
|
+
@password-input-height: 50px;
|
|
564
|
+
@password-input-margin: 0 @padding-md;
|
|
565
|
+
@password-input-font-size: 20px;
|
|
566
|
+
@password-input-border-radius: 6px;
|
|
567
|
+
@password-input-background-color: @white;
|
|
568
|
+
@password-input-info-color: @gray-6;
|
|
569
|
+
@password-input-info-font-size: @font-size-md;
|
|
570
|
+
@password-input-error-info-color: @red;
|
|
571
|
+
@password-input-dot-size: 10px;
|
|
572
|
+
@password-input-dot-color: @black;
|
|
573
|
+
|
|
574
|
+
// Picker
|
|
575
|
+
@picker-background-color: @white;
|
|
576
|
+
@picker-toolbar-height: 44px;
|
|
577
|
+
@picker-title-font-size: @font-size-lg;
|
|
578
|
+
@picker-title-line-height: @line-height-md;
|
|
579
|
+
@picker-action-padding: 0 @padding-md;
|
|
580
|
+
@picker-action-font-size: @font-size-md;
|
|
581
|
+
@picker-confirm-action-color: @text-link-color;
|
|
582
|
+
@picker-cancel-action-color: @gray-6;
|
|
583
|
+
@picker-option-font-size: @font-size-lg;
|
|
584
|
+
@picker-option-text-color: @black;
|
|
585
|
+
@picker-option-disabled-opacity: 0.3;
|
|
586
|
+
@picker-loading-icon-color: @blue;
|
|
587
|
+
@picker-loading-mask-color: rgba(255, 255, 255, 0.9);
|
|
588
|
+
|
|
589
|
+
// Popover
|
|
590
|
+
@popover-arrow-size: 6px;
|
|
591
|
+
@popover-border-radius: @border-radius-lg;
|
|
592
|
+
@popover-action-width: 128px;
|
|
593
|
+
@popover-action-height: 44px;
|
|
594
|
+
@popover-action-font-size: @font-size-md;
|
|
595
|
+
@popover-action-line-height: @line-height-md;
|
|
596
|
+
@popover-action-icon-size: 20px;
|
|
597
|
+
@popover-light-text-color: @text-color;
|
|
598
|
+
@popover-light-background-color: @white;
|
|
599
|
+
@popover-light-action-disabled-text-color: @gray-5;
|
|
600
|
+
@popover-dark-text-color: @white;
|
|
601
|
+
@popover-dark-background-color: #4a4a4a;
|
|
602
|
+
@popover-dark-action-disabled-text-color: @gray-6;
|
|
603
|
+
|
|
604
|
+
// Popup
|
|
605
|
+
@popup-background-color: @white;
|
|
606
|
+
@popup-transition: transform @animation-duration-base;
|
|
607
|
+
@popup-round-border-radius: 16px;
|
|
608
|
+
@popup-close-icon-size: 22px;
|
|
609
|
+
@popup-close-icon-color: @gray-5;
|
|
610
|
+
@popup-close-icon-active-color: @gray-6;
|
|
611
|
+
@popup-close-icon-margin: 16px;
|
|
612
|
+
@popup-close-icon-z-index: 1;
|
|
613
|
+
|
|
614
|
+
// Progress
|
|
615
|
+
@progress-height: 4px;
|
|
616
|
+
@progress-color: @blue;
|
|
617
|
+
@progress-background-color: @gray-3;
|
|
618
|
+
@progress-pivot-padding: 0 5px;
|
|
619
|
+
@progress-pivot-text-color: @white;
|
|
620
|
+
@progress-pivot-font-size: @font-size-xs;
|
|
621
|
+
@progress-pivot-line-height: 1.6;
|
|
622
|
+
@progress-pivot-background-color: @blue;
|
|
623
|
+
|
|
624
|
+
// PullRefresh
|
|
625
|
+
@pull-refresh-head-height: 50px;
|
|
626
|
+
@pull-refresh-head-font-size: @font-size-md;
|
|
627
|
+
@pull-refresh-head-text-color: @gray-6;
|
|
628
|
+
|
|
629
|
+
// Radio
|
|
630
|
+
@radio-size: 20px;
|
|
631
|
+
@radio-border-color: @gray-5;
|
|
632
|
+
@radio-transition-duration: @animation-duration-fast;
|
|
633
|
+
@radio-label-margin: @padding-xs;
|
|
634
|
+
@radio-label-color: @text-color;
|
|
635
|
+
@radio-checked-icon-color: @blue;
|
|
636
|
+
@radio-disabled-icon-color: @gray-5;
|
|
637
|
+
@radio-disabled-label-color: @gray-5;
|
|
638
|
+
@radio-disabled-background-color: @border-color;
|
|
639
|
+
|
|
640
|
+
// Rate
|
|
641
|
+
@rate-icon-size: 20px;
|
|
642
|
+
@rate-icon-gutter: @padding-base;
|
|
643
|
+
@rate-icon-void-color: @gray-5;
|
|
644
|
+
@rate-icon-full-color: @red;
|
|
645
|
+
@rate-icon-disabled-color: @gray-5;
|
|
646
|
+
|
|
647
|
+
// ShareSheet
|
|
648
|
+
@share-sheet-header-padding: @padding-sm @padding-md @padding-base;
|
|
649
|
+
@share-sheet-title-color: @text-color;
|
|
650
|
+
@share-sheet-title-font-size: @font-size-md;
|
|
651
|
+
@share-sheet-title-line-height: @line-height-md;
|
|
652
|
+
@share-sheet-description-color: @gray-6;
|
|
653
|
+
@share-sheet-description-font-size: @font-size-sm;
|
|
654
|
+
@share-sheet-description-line-height: 16px;
|
|
655
|
+
@share-sheet-icon-size: 48px;
|
|
656
|
+
@share-sheet-option-name-color: @gray-7;
|
|
657
|
+
@share-sheet-option-name-font-size: @font-size-sm;
|
|
658
|
+
@share-sheet-option-description-color: @gray-5;
|
|
659
|
+
@share-sheet-option-description-font-size: @font-size-sm;
|
|
660
|
+
@share-sheet-cancel-button-font-size: @font-size-lg;
|
|
661
|
+
@share-sheet-cancel-button-height: 48px;
|
|
662
|
+
@share-sheet-cancel-button-background: @white;
|
|
663
|
+
|
|
664
|
+
// Search
|
|
665
|
+
@search-padding: 10px @padding-sm;
|
|
666
|
+
@search-background-color: @white;
|
|
667
|
+
@search-content-background-color: @gray-1;
|
|
668
|
+
@search-input-height: 34px;
|
|
669
|
+
@search-label-padding: 0 5px;
|
|
670
|
+
@search-label-color: @text-color;
|
|
671
|
+
@search-label-font-size: @font-size-md;
|
|
672
|
+
@search-left-icon-color: @gray-6;
|
|
673
|
+
@search-action-padding: 0 @padding-xs;
|
|
674
|
+
@search-action-text-color: @text-color;
|
|
675
|
+
@search-action-font-size: @font-size-md;
|
|
676
|
+
|
|
677
|
+
// Sidebar
|
|
678
|
+
@sidebar-width: 80px;
|
|
679
|
+
@sidebar-font-size: @font-size-md;
|
|
680
|
+
@sidebar-line-height: @line-height-md;
|
|
681
|
+
@sidebar-text-color: @text-color;
|
|
682
|
+
@sidebar-disabled-text-color: @gray-5;
|
|
683
|
+
@sidebar-padding: 20px @padding-sm;
|
|
684
|
+
@sidebar-active-color: @active-color;
|
|
685
|
+
@sidebar-background-color: @background-color;
|
|
686
|
+
@sidebar-selected-font-weight: @font-weight-bold;
|
|
687
|
+
@sidebar-selected-text-color: @text-color;
|
|
688
|
+
@sidebar-selected-border-width: 4px;
|
|
689
|
+
@sidebar-selected-border-height: 16px;
|
|
690
|
+
@sidebar-selected-border-color: @red;
|
|
691
|
+
@sidebar-selected-background-color: @white;
|
|
692
|
+
|
|
693
|
+
// Skeleton
|
|
694
|
+
@skeleton-row-height: 16px;
|
|
695
|
+
@skeleton-row-background-color: @active-color;
|
|
696
|
+
@skeleton-row-margin-top: @padding-sm;
|
|
697
|
+
@skeleton-title-width: 40%;
|
|
698
|
+
@skeleton-avatar-size: 32px;
|
|
699
|
+
@skeleton-avatar-background-color: @active-color;
|
|
700
|
+
@skeleton-animation-duration: 1.2s;
|
|
701
|
+
|
|
702
|
+
// Slider
|
|
703
|
+
@slider-active-background-color: @blue;
|
|
704
|
+
@slider-inactive-background-color: @gray-3;
|
|
705
|
+
@slider-disabled-opacity: @disabled-opacity;
|
|
706
|
+
@slider-bar-height: 2px;
|
|
707
|
+
@slider-button-width: 24px;
|
|
708
|
+
@slider-button-height: 24px;
|
|
709
|
+
@slider-button-border-radius: 50%;
|
|
710
|
+
@slider-button-background-color: @white;
|
|
711
|
+
@slider-button-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
|
|
712
|
+
|
|
713
|
+
// Step
|
|
714
|
+
@step-text-color: @gray-6;
|
|
715
|
+
@step-active-color: @green;
|
|
716
|
+
@step-process-text-color: @text-color;
|
|
717
|
+
@step-font-size: @font-size-md;
|
|
718
|
+
@step-line-color: @border-color;
|
|
719
|
+
@step-finish-line-color: @green;
|
|
720
|
+
@step-finish-text-color: @text-color;
|
|
721
|
+
@step-icon-size: 12px;
|
|
722
|
+
@step-circle-size: 5px;
|
|
723
|
+
@step-circle-color: @gray-6;
|
|
724
|
+
@step-horizontal-title-font-size: @font-size-sm;
|
|
725
|
+
|
|
726
|
+
// Steps
|
|
727
|
+
@steps-background-color: @white;
|
|
728
|
+
|
|
729
|
+
// Sticky
|
|
730
|
+
@sticky-z-index: 99;
|
|
731
|
+
|
|
732
|
+
// Stepper
|
|
733
|
+
@stepper-active-color: #e8e8e8;
|
|
734
|
+
@stepper-background-color: @active-color;
|
|
735
|
+
@stepper-button-icon-color: @text-color;
|
|
736
|
+
@stepper-button-disabled-color: @background-color;
|
|
737
|
+
@stepper-button-disabled-icon-color: @gray-5;
|
|
738
|
+
@stepper-button-round-theme-color: @red;
|
|
739
|
+
@stepper-input-width: 32px;
|
|
740
|
+
@stepper-input-height: 28px;
|
|
741
|
+
@stepper-input-font-size: @font-size-md;
|
|
742
|
+
@stepper-input-line-height: normal;
|
|
743
|
+
@stepper-input-text-color: @text-color;
|
|
744
|
+
@stepper-input-disabled-text-color: @gray-5;
|
|
745
|
+
@stepper-input-disabled-background-color: @active-color;
|
|
746
|
+
@stepper-border-radius: @border-radius-md;
|
|
747
|
+
|
|
748
|
+
// SubmitBar
|
|
749
|
+
@submit-bar-height: 50px;
|
|
750
|
+
@submit-bar-z-index: 100;
|
|
751
|
+
@submit-bar-background-color: @white;
|
|
752
|
+
@submit-bar-button-width: 110px;
|
|
753
|
+
@submit-bar-price-color: @red;
|
|
754
|
+
@submit-bar-price-font-size: @font-size-md;
|
|
755
|
+
@submit-bar-currency-font-size: @font-size-md;
|
|
756
|
+
@submit-bar-text-color: @text-color;
|
|
757
|
+
@submit-bar-text-font-size: @font-size-md;
|
|
758
|
+
@submit-bar-tip-padding: @padding-xs @padding-sm;
|
|
759
|
+
@submit-bar-tip-font-size: @font-size-sm;
|
|
760
|
+
@submit-bar-tip-line-height: 1.5;
|
|
761
|
+
@submit-bar-tip-color: #f56723;
|
|
762
|
+
@submit-bar-tip-background-color: #fff7cc;
|
|
763
|
+
@submit-bar-tip-icon-size: 12px;
|
|
764
|
+
@submit-bar-button-height: 40px;
|
|
765
|
+
@submit-bar-padding: 0 @padding-md;
|
|
766
|
+
@submit-bar-price-integer-font-size: 20px;
|
|
767
|
+
@submit-bar-price-font-family: @price-integer-font-family;
|
|
768
|
+
|
|
769
|
+
// Swipe
|
|
770
|
+
@swipe-indicator-size: 6px;
|
|
771
|
+
@swipe-indicator-margin: @padding-sm;
|
|
772
|
+
@swipe-indicator-active-opacity: 1;
|
|
773
|
+
@swipe-indicator-inactive-opacity: 0.3;
|
|
774
|
+
@swipe-indicator-active-background-color: @blue;
|
|
775
|
+
@swipe-indicator-inactive-background-color: @border-color;
|
|
776
|
+
|
|
777
|
+
// Switch
|
|
778
|
+
@switch-size: 30px;
|
|
779
|
+
@switch-width: 2em;
|
|
780
|
+
@switch-height: 1em;
|
|
781
|
+
@switch-node-size: 1em;
|
|
782
|
+
@switch-node-background-color: @white;
|
|
783
|
+
@switch-node-box-shadow: 0 3px 1px 0 rgba(0, 0, 0, 0.05),
|
|
784
|
+
0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 3px 3px 0 rgba(0, 0, 0, 0.05);
|
|
785
|
+
@switch-background-color: @white;
|
|
786
|
+
@switch-on-background-color: @blue;
|
|
787
|
+
@switch-transition-duration: @animation-duration-base;
|
|
788
|
+
@switch-disabled-opacity: @disabled-opacity;
|
|
789
|
+
@switch-border: @border-width-base solid rgba(0, 0, 0, 0.1);
|
|
790
|
+
|
|
791
|
+
// SwitchCell
|
|
792
|
+
@switch-cell-padding-top: @cell-vertical-padding - 1px;
|
|
793
|
+
@switch-cell-padding-bottom: @cell-vertical-padding - 1px;
|
|
794
|
+
@switch-cell-large-padding-top: @cell-large-vertical-padding - 1px;
|
|
795
|
+
@switch-cell-large-padding-bottom: @cell-large-vertical-padding - 1px;
|
|
796
|
+
|
|
797
|
+
// Tabbar
|
|
798
|
+
@tabbar-height: 50px;
|
|
799
|
+
@tabbar-z-index: 1;
|
|
800
|
+
@tabbar-background-color: @white;
|
|
801
|
+
|
|
802
|
+
// TabbarItem
|
|
803
|
+
@tabbar-item-font-size: @font-size-sm;
|
|
804
|
+
@tabbar-item-text-color: @gray-7;
|
|
805
|
+
@tabbar-item-active-color: @blue;
|
|
806
|
+
@tabbar-item-active-background-color: @tabbar-background-color;
|
|
807
|
+
@tabbar-item-line-height: 1;
|
|
808
|
+
@tabbar-item-icon-size: 22px;
|
|
809
|
+
@tabbar-item-margin-bottom: 4px;
|
|
810
|
+
|
|
811
|
+
// Tab
|
|
812
|
+
@tab-text-color: @gray-7;
|
|
813
|
+
@tab-active-text-color: @text-color;
|
|
814
|
+
@tab-disabled-text-color: @gray-5;
|
|
815
|
+
@tab-font-size: @font-size-md;
|
|
816
|
+
@tab-line-height: @line-height-md;
|
|
817
|
+
|
|
818
|
+
// Tabs
|
|
819
|
+
@tabs-default-color: @red;
|
|
820
|
+
@tabs-line-height: 44px;
|
|
821
|
+
@tabs-card-height: 30px;
|
|
822
|
+
@tabs-nav-background-color: @white;
|
|
823
|
+
@tabs-bottom-bar-width: 40px;
|
|
824
|
+
@tabs-bottom-bar-height: 3px;
|
|
825
|
+
@tabs-bottom-bar-color: @tabs-default-color;
|
|
826
|
+
|
|
827
|
+
// Tag
|
|
828
|
+
@tag-padding: 0 @padding-base;
|
|
829
|
+
@tag-text-color: @white;
|
|
830
|
+
@tag-font-size: @font-size-sm;
|
|
831
|
+
@tag-border-radius: 2px;
|
|
832
|
+
@tag-line-height: 16px;
|
|
833
|
+
@tag-medium-padding: 2px 6px;
|
|
834
|
+
@tag-large-padding: @padding-base @padding-xs;
|
|
835
|
+
@tag-large-border-radius: @border-radius-md;
|
|
836
|
+
@tag-large-font-size: @font-size-md;
|
|
837
|
+
@tag-round-border-radius: @border-radius-max;
|
|
838
|
+
@tag-danger-color: @red;
|
|
839
|
+
@tag-primary-color: @blue;
|
|
840
|
+
@tag-success-color: @green;
|
|
841
|
+
@tag-warning-color: @orange;
|
|
842
|
+
@tag-default-color: @gray-6;
|
|
843
|
+
@tag-plain-background-color: @white;
|
|
844
|
+
|
|
845
|
+
// Toast
|
|
846
|
+
@toast-max-width: 70%;
|
|
847
|
+
@toast-font-size: @font-size-md;
|
|
848
|
+
@toast-text-color: @white;
|
|
849
|
+
@toast-loading-icon-color: @white;
|
|
850
|
+
@toast-line-height: @line-height-md;
|
|
851
|
+
@toast-border-radius: @border-radius-lg;
|
|
852
|
+
@toast-background-color: fade(@black, 70%);
|
|
853
|
+
@toast-icon-size: 36px;
|
|
854
|
+
@toast-text-min-width: 96px;
|
|
855
|
+
@toast-text-padding: @padding-xs @padding-sm;
|
|
856
|
+
@toast-default-padding: @padding-md;
|
|
857
|
+
@toast-default-width: 88px;
|
|
858
|
+
@toast-default-min-height: 88px;
|
|
859
|
+
@toast-position-top-distance: 20%;
|
|
860
|
+
@toast-position-bottom-distance: 20%;
|
|
861
|
+
|
|
862
|
+
// TreeSelect
|
|
863
|
+
@tree-select-font-size: @font-size-md;
|
|
864
|
+
@tree-select-nav-background-color: @background-color;
|
|
865
|
+
@tree-select-content-background-color: @white;
|
|
866
|
+
@tree-select-nav-item-padding: 14px @padding-sm;
|
|
867
|
+
@tree-select-item-height: 48px;
|
|
868
|
+
@tree-select-item-active-color: @red;
|
|
869
|
+
@tree-select-item-disabled-color: @gray-5;
|
|
870
|
+
@tree-select-item-selected-size: 16px;
|
|
871
|
+
|
|
872
|
+
// Uploader
|
|
873
|
+
@uploader-size: 80px;
|
|
874
|
+
@uploader-icon-size: 24px;
|
|
875
|
+
@uploader-icon-color: @gray-4;
|
|
876
|
+
@uploader-text-color: @gray-6;
|
|
877
|
+
@uploader-text-font-size: @font-size-sm;
|
|
878
|
+
@uploader-upload-background-color: @gray-1;
|
|
879
|
+
@uploader-upload-active-color: @active-color;
|
|
880
|
+
@uploader-delete-color: @white;
|
|
881
|
+
@uploader-delete-icon-size: 14px;
|
|
882
|
+
@uploader-delete-background-color: rgba(0, 0, 0, 0.7);
|
|
883
|
+
@uploader-file-background-color: @background-color;
|
|
884
|
+
@uploader-file-icon-size: 20px;
|
|
885
|
+
@uploader-file-icon-color: @gray-7;
|
|
886
|
+
@uploader-file-name-padding: 0 @padding-base;
|
|
887
|
+
@uploader-file-name-margin-top: @padding-xs;
|
|
888
|
+
@uploader-file-name-font-size: @font-size-sm;
|
|
889
|
+
@uploader-file-name-text-color: @gray-7;
|
|
890
|
+
@uploader-mask-background-color: fade(@gray-8, 88%);
|
|
891
|
+
@uploader-mask-icon-size: 22px;
|
|
892
|
+
@uploader-mask-message-font-size: @font-size-sm;
|
|
893
|
+
@uploader-mask-message-line-height: @line-height-xs;
|
|
894
|
+
@uploader-loading-icon-size: 22px;
|
|
895
|
+
@uploader-loading-icon-color: @white;
|
|
896
|
+
@uploader-disabled-opacity: @disabled-opacity;
|
|
897
|
+
|
|
898
|
+
// Sku
|
|
899
|
+
@sku-item-background-color: @background-color;
|
|
900
|
+
@sku-icon-gray-color: @gray-4;
|
|
901
|
+
@sku-upload-mask-color: rgba(50, 50, 51, 0.8);
|