@tplc/wot 0.1.59 → 0.1.60
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/CHANGELOG.md +7 -0
- package/components/common/abstracts/variable.scss +685 -345
- package/components/wd-collapse/index.scss +6 -1
- package/components/wd-collapse/types.ts +1 -0
- package/components/wd-collapse/wd-collapse.vue +29 -5
- package/package.json +1 -1
- package/types/components/wd-collapse/types.d.ts +4 -0
- package/types/components/wd-collapse/wd-collapse.vue.d.ts +9 -1
|
@@ -38,12 +38,14 @@ $-font-white-4: var(--wot-font-white-4, rgba(255, 255, 255, 0.22));
|
|
|
38
38
|
$-color-title: var(--wot-color-title, #333) !default; // 模块标题/重要正文 000
|
|
39
39
|
$-color-content: var(--wot-color-content, #262626) !default; // 普通正文 262626
|
|
40
40
|
$-color-secondary: var(--wot-color-secondary, #595959) !default; // 次要信息,注释/补充/正文 595959
|
|
41
|
-
$-color-aid: var(
|
|
42
|
-
|
|
41
|
+
$-color-aid: var(
|
|
42
|
+
--wot-color-aid,
|
|
43
|
+
#8c8c8c
|
|
44
|
+
) !default; // 辅助文字字号,弱化信息,引导性/不可点文字 8c8c8c
|
|
43
45
|
$-color-tip: var(--wot-color-tip, #bfbfbf) !default; // 失效、默认提示文字 bfbfbf
|
|
44
46
|
$-color-border: var(--wot-color-border, #d9d9d9) !default; // 控件边框线 d9d9d9
|
|
45
47
|
$-color-border-light: var(--wot-color-border-light, #e8e8e8) !default; // 分割线颜色 e8e8e8
|
|
46
|
-
$-color-bg: var(--wot-color-bg, #
|
|
48
|
+
$-color-bg: var(--wot-color-bg, #f4f5f7) !default; // 背景色、禁用填充色 f5f5f5
|
|
47
49
|
/* 暗黑模式 */
|
|
48
50
|
$-dark-background: var(--wot-dark-background, #131313) !default;
|
|
49
51
|
$-dark-background2: var(--wot-dark-background2, #1b1b1b) !default;
|
|
@@ -83,37 +85,63 @@ $-action-sheet-loading-size: var(--wot-action-sheet-loading-size, 20px) !default
|
|
|
83
85
|
$-action-sheet-action-height: var(--wot-action-sheet-action-height, 48px) !default; // 单条菜单高度
|
|
84
86
|
$-action-sheet-color: var(--wot-action-sheet-color, rgba(0, 0, 0, 0.85)) !default; // 选项名称颜色
|
|
85
87
|
$-action-sheet-fs: var(--wot-action-sheet-fs, $-fs-title) !default; // 选项名称字号
|
|
86
|
-
$-action-sheet-active-color: var(
|
|
87
|
-
|
|
88
|
-
$-
|
|
89
|
-
|
|
90
|
-
$-action-sheet-subname-
|
|
91
|
-
|
|
92
|
-
$-
|
|
93
|
-
|
|
94
|
-
$-action-sheet-
|
|
95
|
-
|
|
88
|
+
$-action-sheet-active-color: var(
|
|
89
|
+
--wot-action-sheet-active-color,
|
|
90
|
+
$-color-bg
|
|
91
|
+
) !default; // 点击高亮颜色
|
|
92
|
+
$-action-sheet-subname-fs: var(
|
|
93
|
+
--wot-action-sheet-subname-fs,
|
|
94
|
+
$-fs-secondary
|
|
95
|
+
) !default; // 描述信息字号
|
|
96
|
+
$-action-sheet-subname-color: var(
|
|
97
|
+
--wot-action-sheet-subname-color,
|
|
98
|
+
rgba(0, 0, 0, 0.45)
|
|
99
|
+
) !default; // 描述信息颜色
|
|
100
|
+
$-action-sheet-disabled-color: var(
|
|
101
|
+
--wot-action-sheet-disabled-color,
|
|
102
|
+
rgba(0, 0, 0, 0.25)
|
|
103
|
+
) !default; // 禁用颜色
|
|
104
|
+
$-action-sheet-bg: var(
|
|
105
|
+
--wot-action-sheet-bg,
|
|
106
|
+
$-color-white
|
|
107
|
+
) !default; // 菜单容器颜色(取消按钮上方的颜色)
|
|
96
108
|
$-action-sheet-title-height: var(--wot-action-sheet-title-height, 64px) !default; // 标题高度
|
|
97
109
|
$-action-sheet-title-fs: var(--wot-action-sheet-title-fs, $-fs-title) !default; // 标题字号
|
|
98
110
|
$-action-sheet-close-fs: var(--wot-action-sheet-close-fs, $-fs-title) !default; // 关闭按钮大小
|
|
99
|
-
$-action-sheet-close-color: var(
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
$-action-sheet-close-
|
|
104
|
-
|
|
111
|
+
$-action-sheet-close-color: var(
|
|
112
|
+
--wot-action-sheet-close-color,
|
|
113
|
+
rgba(0, 0, 0, 0.65)
|
|
114
|
+
) !default; // 关闭按钮颜色
|
|
115
|
+
$-action-sheet-close-top: var(
|
|
116
|
+
--wot-action-sheet-close-top,
|
|
117
|
+
25px
|
|
118
|
+
) !default; // 关闭按钮距离标题顶部距离
|
|
119
|
+
$-action-sheet-close-right: var(
|
|
120
|
+
--wot-action-sheet-close-right,
|
|
121
|
+
15px
|
|
122
|
+
) !default; // 关闭按钮距离标题右侧距离
|
|
105
123
|
$-action-sheet-cancel-color: var(--wot-action-sheet-cancel-color, #131415) !default; // 取消按钮颜色
|
|
106
124
|
$-action-sheet-cancel-height: var(--wot-action-sheet-cancel-height, 44px) !default; // 取消按钮高度
|
|
107
|
-
$-action-sheet-cancel-bg: var(
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
$-action-sheet-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
$-action-sheet-panel-
|
|
116
|
-
|
|
125
|
+
$-action-sheet-cancel-bg: var(
|
|
126
|
+
--wot-action-sheet-cancel-bg,
|
|
127
|
+
rgba(240, 240, 240, 1)
|
|
128
|
+
) !default; // 取消按钮背景色
|
|
129
|
+
$-action-sheet-cancel-radius: var(
|
|
130
|
+
--wot-action-sheet-cancel-radius,
|
|
131
|
+
22px
|
|
132
|
+
) !default; // 取消按钮圆角大小
|
|
133
|
+
$-action-sheet-panel-padding: var(
|
|
134
|
+
--wot-action-sheet-panel-padding,
|
|
135
|
+
12px 0 11px
|
|
136
|
+
) !default; // 自定义面板内边距大小
|
|
137
|
+
$-action-sheet-panel-img-fs: var(
|
|
138
|
+
--wot-action-sheet-panel-img-fs,
|
|
139
|
+
40px
|
|
140
|
+
) !default; // 自定义面板图片大小
|
|
141
|
+
$-action-sheet-panel-img-radius: var(
|
|
142
|
+
--wot-action-sheet-panel-img-radius,
|
|
143
|
+
4px
|
|
144
|
+
) !default; // 自定义面板图片圆角大小
|
|
117
145
|
/* badge */
|
|
118
146
|
$-badge-bg: var(--wot-badge-bg, $-color-danger) !default; // 背景填充颜色
|
|
119
147
|
$-badge-color: var(--wot-badge-color, #fff) !default; // 文字颜色
|
|
@@ -141,81 +169,121 @@ $-button-medium-padding: var(--wot-button-medium-padding, 0 16px) !default; //
|
|
|
141
169
|
$-button-medium-fs: var(--wot-button-medium-fs, $-fs-content) !default; // 中型按钮字号
|
|
142
170
|
$-button-medium-radius: var(--wot-button-medium-radius, 4px) !default; // 中型按钮圆角大小
|
|
143
171
|
$-button-medium-loading: var(--wot-button-medium-loading, 18px) !default; // 中型按钮loading图标大小
|
|
144
|
-
$-button-medium-box-shadow-size: var(
|
|
145
|
-
|
|
172
|
+
$-button-medium-box-shadow-size: var(
|
|
173
|
+
--wot-button-medium-box-shadow-size,
|
|
174
|
+
0px 2px 4px 0px
|
|
175
|
+
) !default; // 中尺寸阴影尺寸
|
|
146
176
|
|
|
147
177
|
$-button-large-height: var(--wot-button-large-height, 44px) !default; // 大型按钮高度
|
|
148
178
|
$-button-large-padding: var(--wot-button-large-padding, 0 36px) !default; // 大型按钮padding
|
|
149
179
|
$-button-large-fs: var(--wot-button-large-fs, $-fs-title) !default; // 大型按钮字号
|
|
150
180
|
$-button-large-radius: var(--wot-button-large-radius, 8px) !default; // 大型按钮圆角大小
|
|
151
181
|
$-button-large-loading: var(--wot-button-large-loading, 24px) !default; // 大小按钮loading图标大小
|
|
152
|
-
$-button-large-box-shadow-size: var(
|
|
153
|
-
|
|
182
|
+
$-button-large-box-shadow-size: var(
|
|
183
|
+
--wot-button-large-box-shadow-size,
|
|
184
|
+
0px 4px 8px 0px
|
|
185
|
+
) !default; // 大尺寸阴影尺寸
|
|
154
186
|
|
|
155
187
|
$-button-icon-fs: var(--wot-button-icon-fs, 1.18em) !default; // 带图标的按钮的图标大小
|
|
156
188
|
$-button-icon-size: var(--wot-button-icon-size, 40px) !default; // icon 类型按钮尺寸
|
|
157
|
-
$-button-icon-color: var(
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
189
|
+
$-button-icon-color: var(
|
|
190
|
+
--wot-button-icon-color,
|
|
191
|
+
rgba(0, 0, 0, 0.65)
|
|
192
|
+
) !default; // icon 类型按钮颜色
|
|
193
|
+
$-button-icon-disabled-color: var(
|
|
194
|
+
--wot-button-icon-disabled-color,
|
|
195
|
+
$-color-icon-disabled
|
|
196
|
+
) !default; // icon 类型按钮禁用颜色
|
|
161
197
|
|
|
162
198
|
$-button-normal-color: var(--wot-button-normal-color, $-color-title) !default; // 文字颜色
|
|
163
|
-
$-button-normal-disabled-color: var(
|
|
164
|
-
|
|
199
|
+
$-button-normal-disabled-color: var(
|
|
200
|
+
--wot-button-normal-disabled-color,
|
|
201
|
+
rgba(0, 0, 0, 0.25)
|
|
202
|
+
) !default; // 默认按钮禁用文字色
|
|
165
203
|
|
|
166
204
|
$-button-plain-bg-color: var(--wot-button-plain-bg-color, $-color-white) !default; // 幽灵按钮背景色
|
|
167
205
|
|
|
168
206
|
$-button-primary-color: var(--wot-button-primary-color, $-color-white) !default; // 主要按钮颜色
|
|
169
|
-
$-button-primary-bg-color: var(
|
|
170
|
-
|
|
171
|
-
$-
|
|
172
|
-
|
|
207
|
+
$-button-primary-bg-color: var(
|
|
208
|
+
--wot-button-primary-bg-color,
|
|
209
|
+
$-color-theme
|
|
210
|
+
) !default; // 主要按钮背景颜色
|
|
211
|
+
$-button-primary-box-shadow-color: var(
|
|
212
|
+
--wot-button-primary-box-shadow-color,
|
|
213
|
+
rgba($-color-theme, 0.25)
|
|
214
|
+
) !default; // 主要按钮阴影颜色
|
|
173
215
|
|
|
174
216
|
$-button-success-color: var(--wot-button-success-color, $-color-white) !default; // 成功按钮文字颜色
|
|
175
|
-
$-button-success-bg-color: var(
|
|
176
|
-
|
|
177
|
-
$-
|
|
178
|
-
|
|
217
|
+
$-button-success-bg-color: var(
|
|
218
|
+
--wot-button-success-bg-color,
|
|
219
|
+
$-color-success
|
|
220
|
+
) !default; // 成功按钮颜色
|
|
221
|
+
$-button-success-box-shadow-color: var(
|
|
222
|
+
--wot-button-success-box-shadow-color,
|
|
223
|
+
rgba($-color-success, 0.25)
|
|
224
|
+
) !default; // 主要按钮阴影颜色
|
|
179
225
|
|
|
180
226
|
$-button-info-color: var(--wot-button-info-color, $-color-title) !default; // 信息按钮颜色
|
|
181
227
|
$-button-info-bg-color: var(--wot-button-info-bg-color, #f0f0f0) !default; // 信息按钮背景颜色
|
|
182
|
-
$-button-info-plain-border-color: var(
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
228
|
+
$-button-info-plain-border-color: var(
|
|
229
|
+
--wot-button-info-plain-border-color,
|
|
230
|
+
rgba(0, 0, 0, 0.45)
|
|
231
|
+
) !default; // 信息按钮禁用颜色
|
|
232
|
+
$-button-info-plain-normal-color: var(
|
|
233
|
+
--wot-button-info-plain-normal-color,
|
|
234
|
+
rgba(0, 0, 0, 0.85)
|
|
235
|
+
) !default; // 信息幽灵按钮默认颜色
|
|
186
236
|
|
|
187
237
|
$-button-warning-color: var(--wot-button-warning-color, $-color-white) !default; // 警告按钮字体颜色
|
|
188
|
-
$-button-warning-bg-color: var(
|
|
189
|
-
|
|
190
|
-
$-
|
|
191
|
-
|
|
238
|
+
$-button-warning-bg-color: var(
|
|
239
|
+
--wot-button-warning-bg-color,
|
|
240
|
+
$-color-warning
|
|
241
|
+
) !default; // 警告按钮背景颜色
|
|
242
|
+
$-button-warning-box-shadow-color: var(
|
|
243
|
+
--wot-button-warning-box-shadow-color,
|
|
244
|
+
rgba($-color-warning, 0.25)
|
|
245
|
+
) !default; // 主要按钮阴影颜色
|
|
192
246
|
|
|
193
247
|
$-button-error-color: var(--wot-button-error-color, $-color-white) !default; // 错误按钮颜色
|
|
194
|
-
$-button-error-bg-color: var(
|
|
195
|
-
|
|
196
|
-
$-
|
|
197
|
-
|
|
248
|
+
$-button-error-bg-color: var(
|
|
249
|
+
--wot-button-error-bg-color,
|
|
250
|
+
$-color-danger
|
|
251
|
+
) !default; // 错误按钮背景颜色
|
|
252
|
+
$-button-error-box-shadow-color: var(
|
|
253
|
+
--wot-button-error-box-shadow-color,
|
|
254
|
+
rgba($-color-danger, 0.25)
|
|
255
|
+
) !default; // 主要按钮阴影颜色
|
|
198
256
|
|
|
199
|
-
$-button-text-hover-opacity: var(
|
|
200
|
-
|
|
257
|
+
$-button-text-hover-opacity: var(
|
|
258
|
+
--wot-button-text-hover-opacity,
|
|
259
|
+
0.7
|
|
260
|
+
) !default; // 文字button激活时透明度
|
|
201
261
|
/* cell */
|
|
202
262
|
$-cell-padding: var(--wot-cell-padding, $-size-side-padding) !default; // cell 左右padding距离
|
|
203
263
|
$-cell-line-height: var(--wot-cell-line-height, 24px) !default; // 行高
|
|
204
264
|
|
|
205
265
|
$-cell-group-title-fs: var(--wot-cell-group-title-fs, $-fs-title) !default; // 组标题字号
|
|
206
266
|
$-cell-group-padding: var(--wot-cell-group-padding, 13px $-cell-padding) !default; // 组padding
|
|
207
|
-
$-cell-group-title-color: var(
|
|
208
|
-
|
|
267
|
+
$-cell-group-title-color: var(
|
|
268
|
+
--wot-cell-group-title-color,
|
|
269
|
+
rgba(0, 0, 0, 0.85)
|
|
270
|
+
) !default; // 组标题文字颜色
|
|
209
271
|
$-cell-group-value-fs: var(--wot-cell-group-value-fs, $-fs-content) !default; // 组值字号
|
|
210
|
-
$-cell-group-value-color: var(
|
|
211
|
-
|
|
272
|
+
$-cell-group-value-color: var(
|
|
273
|
+
--wot-cell-group-value-color,
|
|
274
|
+
$-color-content
|
|
275
|
+
) !default; // 组值文字颜色
|
|
212
276
|
|
|
213
277
|
$-cell-wrapper-padding: var(--wot-cell-wrapper-padding, 10px) !default; // cell 容器padding
|
|
214
|
-
$-cell-wrapper-padding-large: var(
|
|
215
|
-
|
|
278
|
+
$-cell-wrapper-padding-large: var(
|
|
279
|
+
--wot-cell-wrapper-padding-large,
|
|
280
|
+
12px
|
|
281
|
+
) !default; // large类型cell容器padding
|
|
216
282
|
|
|
217
|
-
$-cell-wrapper-padding-with-label: var(
|
|
218
|
-
|
|
283
|
+
$-cell-wrapper-padding-with-label: var(
|
|
284
|
+
--wot-cell-wrapper-padding-with-label,
|
|
285
|
+
16px
|
|
286
|
+
) !default; // cell 容器上下padding(有label情况下)
|
|
219
287
|
$-cell-icon-right: var(--wot-cell-icon-right, 4px) !default; // 图标距离右边缘
|
|
220
288
|
$-cell-icon-size: var(--wot-cell-icon-size, 16px) !default; // 图标大小
|
|
221
289
|
$-cell-title-fs: var(--wot-cell-title-fs, 14px) !default; // 标题字号
|
|
@@ -262,18 +330,28 @@ $-checkbox-icon-size: var(--wot-checkbox-icon-size, 14px) !default; // 左侧图
|
|
|
262
330
|
$-checkbox-border-color: var(--wot-checkbox-border-color, #dcdcdc) !default; // 左侧图标边框颜色
|
|
263
331
|
$-checkbox-check-color: var(--wot-checkbox-check-color, $-color-white) !default; // 左侧图标边框颜色
|
|
264
332
|
$-checkbox-label-fs: var(--wot-checkbox-label-fs, 14px) !default; // 右侧文字字号
|
|
265
|
-
$-checkbox-label-color: var(
|
|
266
|
-
|
|
333
|
+
$-checkbox-label-color: var(
|
|
334
|
+
--wot-checkbox-label-color,
|
|
335
|
+
rgba(0, 0, 0, 0.85)
|
|
336
|
+
) !default; // 右侧文字颜色
|
|
267
337
|
$-checkbox-checked-color: var(--wot-checkbox-checked-color, $-color-theme) !default; // 选中颜色
|
|
268
338
|
|
|
269
|
-
$-checkbox-disabled-color: var(
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
$-checkbox-disabled-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
339
|
+
$-checkbox-disabled-color: var(
|
|
340
|
+
--wot-checkbox-disabled-color,
|
|
341
|
+
rgba(0, 0, 0, 0.04)
|
|
342
|
+
) !default; // 禁用背景颜色
|
|
343
|
+
$-checkbox-disabled-label-color: var(
|
|
344
|
+
--wot-checkbox-disabled-label-color,
|
|
345
|
+
rgba(0, 0, 0, 0.25)
|
|
346
|
+
) !default; // 禁用文字颜色
|
|
347
|
+
$-checkbox-disabled-check-color: var(
|
|
348
|
+
--wot-checkbox-disabled-check-color,
|
|
349
|
+
rgba(0, 0, 0, 0.15)
|
|
350
|
+
) !default; // 禁用图标颜色
|
|
351
|
+
$-checkbox-disabled-check-bg: var(
|
|
352
|
+
--wot-checkbox-disabled-check-bg,
|
|
353
|
+
rgba(0, 0, 0, 0.15)
|
|
354
|
+
) !default; // 禁用边框背景颜色
|
|
277
355
|
$-checkbox-square-radius: var(--wot-checkbox-square-radius, 4px) !default; // 方型圆角大小
|
|
278
356
|
|
|
279
357
|
$-checkbox-large-size: var(--wot-checkbox-large-size, 18px) !default; // 左侧图标尺寸
|
|
@@ -282,26 +360,34 @@ $-checkbox-large-label-fs: var(--wot-checkbox-large-label-fs, 16px) !default; //
|
|
|
282
360
|
$-checkbox-button-height: var(--wot-checkbox-button-height, 32px) !default; // 按钮模式复选框高
|
|
283
361
|
$-checkbox-button-min-width: var(--wot-checkbox-button-min-width, 78px) !default; // 按钮模式最小宽
|
|
284
362
|
$-checkbox-button-radius: var(--wot-checkbox-button-radius, 16px) !default; // 按钮圆角大小
|
|
285
|
-
$-checkbox-button-bg: var(
|
|
286
|
-
|
|
363
|
+
$-checkbox-button-bg: var(
|
|
364
|
+
--wot-checkbox-button-bg,
|
|
365
|
+
rgba(0, 0, 0, 0.04)
|
|
366
|
+
) !default; // 按钮模式背景颜色
|
|
287
367
|
$-checkbox-button-font-size: var(--wot-checkbox-button-font-size, 14px) !default; // 按钮模式字号
|
|
288
368
|
$-checkbox-button-border: var(--wot-checkbox-button-border, #f5f5f5) !default; // 按钮边框颜色
|
|
289
|
-
$-checkbox-button-disabled-border: var(
|
|
290
|
-
|
|
369
|
+
$-checkbox-button-disabled-border: var(
|
|
370
|
+
--wot-checkbox-button-disabled-border,
|
|
371
|
+
rgba(0, 0, 0, 0.15)
|
|
372
|
+
) !default; // 按钮禁用边框颜色
|
|
291
373
|
/* collapse */
|
|
292
374
|
$-collapse-side-padding: var(--wot-collapse-side-padding, $-size-side-padding) !default; // 左右间距
|
|
293
375
|
$-collapse-body-padding: var(--wot-collapse-body-padding, 14px 25px) !default; // body padding
|
|
294
|
-
$-collapse-header-padding: var(
|
|
295
|
-
|
|
376
|
+
$-collapse-header-padding: var(
|
|
377
|
+
--wot-collapse-header-padding,
|
|
378
|
+
13px $-size-side-padding
|
|
379
|
+
) !default; // 头部padding
|
|
296
380
|
$-collapse-title-color: var(--wot-collapse-title-color, rgba(0, 0, 0, 0.85)) !default; // 标题颜色
|
|
297
381
|
$-collapse-title-fs: var(--wot-collapse-title-fs, 16px) !default; // 标题字号
|
|
298
|
-
$-collapse-arrow-size: var(--wot-collapse-arrow-size,
|
|
382
|
+
$-collapse-arrow-size: var(--wot-collapse-arrow-size, 16px) !default; // 箭头大小
|
|
299
383
|
$-collapse-arrow-color: var(--wot-collapse-arrow-color, #d8d8d8) !default; // 箭头颜色
|
|
300
384
|
$-collapse-body-fs: var(--wot-collapse-body-fs, 14px) !default; // 内容字号
|
|
301
385
|
$-collapse-body-color: var(--wot-collapse-body-color, rgba(0, 0, 0, 0.65)) !default; // 内容颜色
|
|
302
|
-
$-collapse-disabled-color: var(
|
|
303
|
-
|
|
304
|
-
|
|
386
|
+
$-collapse-disabled-color: var(
|
|
387
|
+
--wot-collapse-disabled-color,
|
|
388
|
+
rgba(0, 0, 0, 0.15)
|
|
389
|
+
) !default; // 禁用颜色
|
|
390
|
+
$-collapse-retract-fs: var(--wot-collapse-retract-fs, 24rpx) !default; // 更多 字号
|
|
305
391
|
$-collapse-more-color: var(--wot-collapse-more-color, $-color-theme) !default; // 更多 颜色
|
|
306
392
|
/* divider */
|
|
307
393
|
$-divider-padding: var(--wot-divider-padding, 0 $-size-side-padding) !default; // 两边间距
|
|
@@ -314,40 +400,56 @@ $-drop-menu-color: var(--wot-drop-menu-color, $-color-content) !default; // 展
|
|
|
314
400
|
$-drop-menu-fs: var(--wot-drop-menu-fs, 24rpx) !default; // 展示选中项的字号
|
|
315
401
|
$-drop-menu-arrow-fs: var(--wot-drop-menu-arrow-fs, $-fs-content) !default; // 箭头图标大小
|
|
316
402
|
|
|
317
|
-
$-drop-menu-side-padding: var(
|
|
318
|
-
|
|
319
|
-
$-
|
|
320
|
-
|
|
403
|
+
$-drop-menu-side-padding: var(
|
|
404
|
+
--wot-drop-menu-side-padding,
|
|
405
|
+
$-size-side-padding
|
|
406
|
+
) !default; // 两边留白间距
|
|
407
|
+
$-drop-menu-disabled-color: var(
|
|
408
|
+
--wot-drop-menu-disabled-color,
|
|
409
|
+
rgba(0, 0, 0, 0.25)
|
|
410
|
+
) !default; // 禁用颜色
|
|
321
411
|
$-drop-menu-item-height: var(--wot-drop-menu-item-height, 48px) !default; // 选项高度
|
|
322
412
|
$-drop-menu-item-color: var(--wot-drop-menu-item-color, $-color-content) !default; // 选项颜色
|
|
323
413
|
$-drop-menu-item-fs: var(--wot-drop-menu-item-fs, $-fs-content) !default; // 选项字号
|
|
324
|
-
$-drop-menu-item-color-active: var(
|
|
325
|
-
|
|
326
|
-
$-
|
|
327
|
-
|
|
414
|
+
$-drop-menu-item-color-active: var(
|
|
415
|
+
--wot-drop-menu-item-color-active,
|
|
416
|
+
$-color-theme
|
|
417
|
+
) !default; // 选中颜色
|
|
418
|
+
$-drop-menu-item-color-tip: var(
|
|
419
|
+
--wot-drop-menu-item-color-tip,
|
|
420
|
+
rgba(0, 0, 0, 0.45)
|
|
421
|
+
) !default; // 提示文字颜色
|
|
328
422
|
$-drop-menu-item-fs-tip: var(--wot-drop-menu-item-fs-tip, $-fs-secondary) !default; // 提示文字字号
|
|
329
|
-
$-drop-menu-option-check-size: var(
|
|
330
|
-
|
|
423
|
+
$-drop-menu-option-check-size: var(
|
|
424
|
+
--wot-drop-menu-option-check-size,
|
|
425
|
+
20px
|
|
426
|
+
) !default; // check 图标大小
|
|
331
427
|
$-drop-menu-line-color: var(--wot-drop-menu-line-color, $-color-theme) !default; // 下划线颜色
|
|
332
428
|
$-drop-menu-line-height: var(--wot-drop-menu-line-height, 3px) !default; // 下划线高度
|
|
333
429
|
/* input-number */
|
|
334
430
|
$-input-number-color: var(--wot-input-number-color, #262626) !default; // 文字颜色
|
|
335
431
|
$-input-number-border-color: var(--wot-input-number-border-color, #e8e8e8) !default; // 边框颜色
|
|
336
|
-
$-input-number-disabled-color: var(
|
|
337
|
-
|
|
432
|
+
$-input-number-disabled-color: var(
|
|
433
|
+
--wot-input-number-disabled-color,
|
|
434
|
+
rgba(0, 0, 0, 0.25)
|
|
435
|
+
) !default; // 禁用颜色
|
|
338
436
|
$-input-number-height: var(--wot-input-number-height, 24px) !default; // 加减号按钮高度
|
|
339
437
|
$-input-number-btn-width: var(--wot-input-number-btn-width, 26px) !default; // 加减号按钮宽度
|
|
340
438
|
$-input-number-input-width: var(--wot-input-number-input-width, 36px) !default; // 输入框宽度
|
|
341
439
|
$-input-number-radius: var(--wot-input-number-radius, 4px) !default; // 加减号按钮圆角大小
|
|
342
440
|
$-input-number-fs: var(--wot-input-number-fs, 12px) !default; // 输入框字号
|
|
343
441
|
$-input-number-icon-size: var(--wot-input-number-icon-size, 14px) !default; // 加减号图标大小
|
|
344
|
-
$-input-number-icon-color: var(
|
|
345
|
-
|
|
442
|
+
$-input-number-icon-color: var(
|
|
443
|
+
--wot-input-number-icon-color,
|
|
444
|
+
rgba(0, 0, 0, 0.65)
|
|
445
|
+
) !default; // icon颜色
|
|
346
446
|
/* input */
|
|
347
447
|
$-input-padding: var(--wot-input-padding, $-size-side-padding) !default; // input 左右padding距离
|
|
348
448
|
$-input-border-color: var(--wot-input-border-color, #dadada) !default; // 无label边框颜色
|
|
349
|
-
$-input-not-empty-border-color: var(
|
|
350
|
-
|
|
449
|
+
$-input-not-empty-border-color: var(
|
|
450
|
+
--wot-input-not-empty-border-color,
|
|
451
|
+
#262626
|
|
452
|
+
) !default; // 输入框有值时 无label边框颜色
|
|
351
453
|
$-input-fs: var(--wot-input-fs, $-cell-title-fs) !default; // 字号
|
|
352
454
|
$-input-fs-large: var(--wot-input-fs-large, $-cell-title-fs-large) !default; // 大尺寸字号
|
|
353
455
|
$-input-icon-margin: var(--wot-input-icon-margin, 8px) !default; // 图标距离
|
|
@@ -362,26 +464,36 @@ $-input-count-current-color: var(--wot-input-count-current-color, #262626) !defa
|
|
|
362
464
|
$-input-bg: var(--wot-input-bg, $-color-white) !default; // 默认背景颜色
|
|
363
465
|
|
|
364
466
|
$-input-cell-bg: var(--wot-input-cell-bg, $-color-white) !default; // cell 类型背景色
|
|
365
|
-
$-input-cell-border-color: var(
|
|
366
|
-
|
|
467
|
+
$-input-cell-border-color: var(
|
|
468
|
+
--wot-input-cell-border-color,
|
|
469
|
+
$-color-border-light
|
|
470
|
+
) !default; // cell 类型边框颜色
|
|
367
471
|
$-input-cell-padding: var(--wot-input-cell-padding, 10px) !default; // cell 容器padding
|
|
368
|
-
$-input-cell-padding-large: var(
|
|
369
|
-
|
|
472
|
+
$-input-cell-padding-large: var(
|
|
473
|
+
--wot-input-cell-padding-large,
|
|
474
|
+
12px
|
|
475
|
+
) !default; // large类型cell容器padding
|
|
370
476
|
$-input-cell-height: var(--wot-input-cell-height, 24px) !default; // cell 高度
|
|
371
477
|
$-input-cell-label-width: var(--wot-input-cell-label-width, 33%) !default; // cell 下 label 的宽度
|
|
372
478
|
$-input-inner-height: var(--wot-input-inner-height, 34px) !default; // 非cell和textarea下的高度
|
|
373
|
-
$-input-inner-height-no-border: var(
|
|
374
|
-
|
|
479
|
+
$-input-inner-height-no-border: var(
|
|
480
|
+
--wot-input-inner-height-no-border,
|
|
481
|
+
24px
|
|
482
|
+
) !default; // 无边框下的高度
|
|
375
483
|
$-input-count-fs: var(--wot-input-count-fs, 14px) !default; // 计数字号
|
|
376
484
|
$-input-count-fs-large: var(--wot-input-count-fs-large, 14px) !default; // 大尺寸计数字号
|
|
377
485
|
$-input-icon-size: var(--wot-input-icon-size, 16px) !default; // 图标大小
|
|
378
486
|
$-input-icon-size-large: var(--wot-input-icon-size-large, 18px) !default; // 大尺寸图标大小
|
|
379
487
|
/* textarea */
|
|
380
|
-
$-textarea-padding: var(
|
|
381
|
-
|
|
488
|
+
$-textarea-padding: var(
|
|
489
|
+
--wot-textarea-padding,
|
|
490
|
+
$-size-side-padding
|
|
491
|
+
) !default; // textarea 左右padding距离
|
|
382
492
|
$-textarea-border-color: var(--wot-textarea-border-color, #dadada) !default; // 无label边框颜色
|
|
383
|
-
$-textarea-not-empty-border-color: var(
|
|
384
|
-
|
|
493
|
+
$-textarea-not-empty-border-color: var(
|
|
494
|
+
--wot-textarea-not-empty-border-color,
|
|
495
|
+
#262626
|
|
496
|
+
) !default; // 输入框有值时 无label边框颜色
|
|
385
497
|
$-textarea-fs: var(--wot-textarea-fs, $-cell-title-fs) !default; // 字号
|
|
386
498
|
$-textarea-fs-large: var(--wot-textarea-fs-large, $-cell-title-fs-large) !default; // 大尺寸字号
|
|
387
499
|
$-textarea-icon-margin: var(--wot-textarea-icon-margin, 8px) !default; // 图标距离
|
|
@@ -389,14 +501,20 @@ $-textarea-color: var(--wot-textarea-color, #262626) !default; // 文字颜色
|
|
|
389
501
|
$-textarea-icon-color: var(--wot-textarea-icon-color, #bfbfbf) !default; // 图标颜色
|
|
390
502
|
$-textarea-clear-color: var(--wot-textarea-clear-color, #585858) !default; // 关闭按钮颜色
|
|
391
503
|
$-textarea-count-color: var(--wot-textarea-count-color, #bfbfbf) !default; // 计数文字颜色
|
|
392
|
-
$-textarea-count-current-color: var(
|
|
393
|
-
|
|
504
|
+
$-textarea-count-current-color: var(
|
|
505
|
+
--wot-textarea-count-current-color,
|
|
506
|
+
#262626
|
|
507
|
+
) !default; // 当前长度颜色
|
|
394
508
|
$-textarea-bg: var(--wot-textarea-bg, $-color-white) !default; // 默认背景颜色
|
|
395
|
-
$-textarea-cell-border-color: var(
|
|
396
|
-
|
|
509
|
+
$-textarea-cell-border-color: var(
|
|
510
|
+
--wot-textarea-cell-border-color,
|
|
511
|
+
$-color-border-light
|
|
512
|
+
) !default; // cell 类型边框颜色
|
|
397
513
|
$-textarea-cell-padding: var(--wot-textarea-cell-padding, 10px) !default; // cell 容器padding
|
|
398
|
-
$-textarea-cell-padding-large: var(
|
|
399
|
-
|
|
514
|
+
$-textarea-cell-padding-large: var(
|
|
515
|
+
--wot-textarea-cell-padding-large,
|
|
516
|
+
12px
|
|
517
|
+
) !default; // large类型cell容器padding
|
|
400
518
|
$-textarea-cell-height: var(--wot-textarea-cell-height, 24px) !default; // cell 高度
|
|
401
519
|
$-textarea-count-fs: var(--wot-textarea-count-fs, 14px) !default; // 计数字号
|
|
402
520
|
$-textarea-count-fs-large: var(--wot-textarea-count-fs-large, 14px) !default; // 大尺寸计数字号
|
|
@@ -415,40 +533,62 @@ $-message-box-bg: var(--wot-message-box-bg, $-color-white) !default; // 默认
|
|
|
415
533
|
$-message-box-radius: var(--wot-message-box-radius, 16px) !default; // 圆角大小
|
|
416
534
|
$-message-box-padding: var(--wot-message-box-padding, 25px 24px 0) !default; // 主体内容padding
|
|
417
535
|
$-message-box-title-fs: var(--wot-message-box-title-fs, 16px) !default; // 标题字号
|
|
418
|
-
$-message-box-title-color: var(
|
|
419
|
-
|
|
536
|
+
$-message-box-title-color: var(
|
|
537
|
+
--wot-message-box-title-color,
|
|
538
|
+
rgba(0, 0, 0, 0.85)
|
|
539
|
+
) !default; // 标题颜色
|
|
420
540
|
$-message-box-content-fs: var(--wot-message-box-content-fs, 14px) !default; // 内容字号
|
|
421
541
|
$-message-box-content-color: var(--wot-message-box-content-color, #666666) !default; // 内容颜色
|
|
422
|
-
$-message-box-content-max-height: var(
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
$-message-box-content-scrollbar-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
542
|
+
$-message-box-content-max-height: var(
|
|
543
|
+
--wot-message-box-content-max-height,
|
|
544
|
+
264px
|
|
545
|
+
) !default; // 内容最大高度
|
|
546
|
+
$-message-box-content-scrollbar-width: var(
|
|
547
|
+
--wot-message-box-content-scrollbar-width,
|
|
548
|
+
4px
|
|
549
|
+
) !default; // 内容滚动条宽度
|
|
550
|
+
$-message-box-content-scrollbar-color: var(
|
|
551
|
+
--wot-message-box-content-scrollbar-color,
|
|
552
|
+
rgba(0, 0, 0, 0.1)
|
|
553
|
+
) !default; // 内容滚动条颜色
|
|
554
|
+
$-message-box-input-error-color: var(
|
|
555
|
+
--wot-message-box-input-error-color,
|
|
556
|
+
$-input-error-color
|
|
557
|
+
) !default; // 输入框错误颜色
|
|
430
558
|
/* notice-bar */
|
|
431
559
|
$-notice-bar-fs: var(--wot-notice-bar-fs, 12px) !default; // 字号
|
|
432
560
|
$-notice-bar-line-height: var(--wot-notice-bar-line-height, 18px) !default; // 行高
|
|
433
561
|
$-notice-bar-border-radius: var(--wot-notice-bar-border-radius, 8px) !default; // 圆角
|
|
434
|
-
$-notice-bar-padding: var(
|
|
435
|
-
|
|
562
|
+
$-notice-bar-padding: var(
|
|
563
|
+
--wot-notice-bar-padding,
|
|
564
|
+
9px 20px 9px 15px
|
|
565
|
+
) !default; // 非换行下的padding
|
|
436
566
|
$-notice-bar-warning-bg: var(--wot-notice-bar-warning-bg, #fff6c8) !default; // 背景色
|
|
437
567
|
$-notice-bar-info-bg: var(--wot-notice-bar-info-bg, #f4f9ff) !default; // 背景色
|
|
438
568
|
$-notice-bar-danger-bg: var(--wot-notice-bar-danger-bg, #feeced) !default; // 背景色
|
|
439
|
-
$-notice-bar-warning-color: var(
|
|
440
|
-
|
|
569
|
+
$-notice-bar-warning-color: var(
|
|
570
|
+
--wot-notice-bar-warning-color,
|
|
571
|
+
$-color-warning
|
|
572
|
+
) !default; // 文字和图标颜色
|
|
441
573
|
$-notice-bar-info-color: var(--wot-notice-bar-info-color, $-color-theme) !default; // 文字和图标颜色
|
|
442
|
-
$-notice-bar-danger-color: var(
|
|
443
|
-
|
|
574
|
+
$-notice-bar-danger-color: var(
|
|
575
|
+
--wot-notice-bar-danger-color,
|
|
576
|
+
$-color-danger
|
|
577
|
+
) !default; // 文字和图标颜色
|
|
444
578
|
$-notice-bar-prefix-size: var(--wot-notice-bar-prefix-size, 18px) !default; // 图标大小
|
|
445
|
-
$-notice-bar-close-bg: var(
|
|
446
|
-
|
|
579
|
+
$-notice-bar-close-bg: var(
|
|
580
|
+
--wot-notice-bar-close-bg,
|
|
581
|
+
rgba(0, 0, 0, 0.15)
|
|
582
|
+
) !default; // 右侧关闭按钮背景颜色
|
|
447
583
|
$-notice-bar-close-size: var(--wot-notice-bar-close-size, 18px) !default; // 右侧关闭按钮背景颜色
|
|
448
|
-
$-notice-bar-close-color: var(
|
|
449
|
-
|
|
450
|
-
$-
|
|
451
|
-
|
|
584
|
+
$-notice-bar-close-color: var(
|
|
585
|
+
--wot-notice-bar-close-color,
|
|
586
|
+
$-color-white
|
|
587
|
+
) !default; // 右侧关闭按钮颜色
|
|
588
|
+
$-notice-bar-wrap-padding: var(
|
|
589
|
+
--wot-notice-bar-wrap-padding,
|
|
590
|
+
14px $-size-side-padding
|
|
591
|
+
) !default; // 换行下的padding
|
|
452
592
|
/* pagination */
|
|
453
593
|
$-pagination-content-padding: var(--wot-pagination-content-padding, 10px 15px) !default;
|
|
454
594
|
$-pagination-message-padding: var(--wot-pagination-message-padding, 1px 0 16px 0) !default;
|
|
@@ -466,78 +606,132 @@ $-pagination-icon-size: var(--wot-pagination-icon-size, $-fs-content) !default;
|
|
|
466
606
|
/* picker */
|
|
467
607
|
$-picker-toolbar-height: var(--wot-picker-toolbar-height, 54px) !default; // toolbar 操作条的高度
|
|
468
608
|
$-picker-action-height: var(--wot-picker-action-height, 16px) !default; // toolbar 操作条的高度
|
|
469
|
-
$-picker-toolbar-finish-color: var(
|
|
470
|
-
|
|
471
|
-
$-
|
|
472
|
-
|
|
609
|
+
$-picker-toolbar-finish-color: var(
|
|
610
|
+
--wot-picker-toolbar-finish-color,
|
|
611
|
+
$-color-theme
|
|
612
|
+
) !default; // toolbar 操作条完成按钮的颜色
|
|
613
|
+
$-picker-toolbar-cancel-color: var(
|
|
614
|
+
--wot-picker-toolbar-cancel-color,
|
|
615
|
+
#666666
|
|
616
|
+
) !default; // toolbar 操作条的边框颜色
|
|
473
617
|
$-picker-toolbar-fs: var(--wot-picker-toolbar-fs, $-fs-title) !default; // toolbar 操作条的字号
|
|
474
|
-
$-picker-toolbar-title-color: var(
|
|
475
|
-
|
|
618
|
+
$-picker-toolbar-title-color: var(
|
|
619
|
+
--wot-picker-toolbar-title-color,
|
|
620
|
+
rgba(0, 0, 0, 0.85)
|
|
621
|
+
) !default; // toolbar 操作台的标题颜色
|
|
476
622
|
$-picker-column-fs: var(--wot-picker-column-fs, 16px) !default; // 选择器选项的字号
|
|
477
623
|
$-picker-bg: var(--wot-picker-bg, $-color-white) !default; // 选择器选项的字号
|
|
478
|
-
$-picker-column-active-fs: var(
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
624
|
+
$-picker-column-active-fs: var(
|
|
625
|
+
--wot-picker-column-active-fs,
|
|
626
|
+
18px
|
|
627
|
+
) !default; // 选择器选项被选中的字号
|
|
628
|
+
$-picker-column-color: var(
|
|
629
|
+
--wot-picker-column-color,
|
|
630
|
+
rgba(0, 0, 0, 0.85)
|
|
631
|
+
) !default; // 选择器选项的颜色
|
|
482
632
|
$-picker-column-height: var(--wot-picker-column-height, 210px) !default; // 列高 滚筒外部的高度
|
|
483
|
-
$-picker-column-item-height: var(
|
|
484
|
-
|
|
633
|
+
$-picker-column-item-height: var(
|
|
634
|
+
--wot-picker-column-item-height,
|
|
635
|
+
35px
|
|
636
|
+
) !default; // 列高 滚筒外部的高度
|
|
485
637
|
$-picker-column-select-bg: var(--wot-picker-column-select-bg, #f5f5f5) !default;
|
|
486
|
-
$-picker-loading-button-color: var(
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
638
|
+
$-picker-loading-button-color: var(
|
|
639
|
+
--wot-picker-loading-button-color,
|
|
640
|
+
rgba(0, 0, 0, 0.25)
|
|
641
|
+
) !default; // loading 背景颜色
|
|
642
|
+
$-picker-column-padding: var(
|
|
643
|
+
--wot-picker-column-padding,
|
|
644
|
+
0 $-size-side-padding
|
|
645
|
+
) !default; // 选项内间距
|
|
490
646
|
|
|
491
|
-
$-picker-column-disabled-color: var(
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
$-picker-
|
|
501
|
-
|
|
647
|
+
$-picker-column-disabled-color: var(
|
|
648
|
+
--wot-picker-column-disabled-color,
|
|
649
|
+
rgba(0, 0, 0, 0.25)
|
|
650
|
+
) !default; // 选择器选项禁用的颜色
|
|
651
|
+
$-picker-mask: var(
|
|
652
|
+
--wot-picker-mask,
|
|
653
|
+
linear-gradient(180deg, hsla(0, 0%, 100%, 0.9), hsla(0, 0%, 100%, 0.25)),
|
|
654
|
+
)
|
|
655
|
+
linear-gradient(0deg, hsla(0, 0%, 100%, 0.9), hsla(0, 0%, 100%, 0.25)) !default; // 上下阴影
|
|
656
|
+
$-picker-loading-bg: var(
|
|
657
|
+
--wot-picker-loading-bg,
|
|
658
|
+
rgba($-color-white, 0.8)
|
|
659
|
+
) !default; // loading 背景颜色
|
|
660
|
+
$-picker-region-separator-color: var(
|
|
661
|
+
--wot-picker-region-separator-color,
|
|
662
|
+
rgba(0, 0, 0, 0.65)
|
|
663
|
+
) !default; // 区域选择文字颜色
|
|
664
|
+
$-picker-cell-arrow-size-large: var(
|
|
665
|
+
--wot-picker-cell-arrow-size-large,
|
|
666
|
+
$-cell-icon-size
|
|
667
|
+
) !default; // cell 类型的大尺寸 右侧icon尺寸
|
|
502
668
|
|
|
503
|
-
$-picker-region-color: var(
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
669
|
+
$-picker-region-color: var(
|
|
670
|
+
--wot-picker-region-color,
|
|
671
|
+
rgba(0, 0, 0, 0.45)
|
|
672
|
+
) !default; // 区域选择文字颜色
|
|
673
|
+
$-picker-region-bg-active-color: var(
|
|
674
|
+
--wot-picker-region-bg-active-color,
|
|
675
|
+
$-color-theme
|
|
676
|
+
) !default; // 区域选择激活选中背景颜色
|
|
507
677
|
|
|
508
678
|
$-picker-region-fs: var(--wot-picker-region-fs, 14px) !default; // 区域选择文字字号
|
|
509
679
|
/* col-picker */
|
|
510
|
-
$-col-picker-selected-height: var(
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
680
|
+
$-col-picker-selected-height: var(
|
|
681
|
+
--wot-col-picker-selected-height,
|
|
682
|
+
44px
|
|
683
|
+
) !default; // 弹框顶部值高度
|
|
684
|
+
$-col-picker-selected-padding: var(
|
|
685
|
+
--wot-col-picker-selected-padding,
|
|
686
|
+
0 16px
|
|
687
|
+
) !default; // 弹框顶部值左右间距
|
|
514
688
|
$-col-picker-selected-fs: var(--wot-col-picker-selected-fs, 14px) !default; // 弹框顶部值字号
|
|
515
|
-
$-col-picker-selected-color: var(
|
|
516
|
-
|
|
689
|
+
$-col-picker-selected-color: var(
|
|
690
|
+
--wot-col-picker-selected-color,
|
|
691
|
+
rgba(0, 0, 0, 0.85)
|
|
692
|
+
) !default; // 弹框顶部值文字颜色
|
|
517
693
|
$-col-picker-selected-fw: var(--wot-col-picker-selected-fw, 700) !default; // 弹框顶部值高亮字重
|
|
518
694
|
$-col-picker-line-width: var(--wot-col-picker-line-width, 16px) !default; // 弹框顶部值高亮线条宽度
|
|
519
695
|
$-col-picker-line-height: var(--wot-col-picker-line-height, 3px) !default; // 弹框顶部值高亮线条高度
|
|
520
|
-
$-col-picker-line-color: var(
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
696
|
+
$-col-picker-line-color: var(
|
|
697
|
+
--wot-col-picker-line-color,
|
|
698
|
+
linear-gradient(315deg, rgba(81, 124, 240, 1), rgba(118, 158, 245, 1))
|
|
699
|
+
) !default; // 弹框顶部值高亮线条颜色
|
|
700
|
+
$-col-picker-line-box-shadow: var(
|
|
701
|
+
--wot-col-picker-line-box-shadow,
|
|
702
|
+
0px 1px 2px 0px rgba(1, 87, 255, 0.2)
|
|
703
|
+
) !default; // 弹框顶部值高亮线条阴影
|
|
524
704
|
$-col-picker-list-height: var(--wot-col-picker-list-height, 53vh) !default; // 弹框列表高度
|
|
525
|
-
$-col-picker-list-padding-bottom: var(
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
$-col-picker-list-color
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
705
|
+
$-col-picker-list-padding-bottom: var(
|
|
706
|
+
--wot-col-picker-list-padding-bottom,
|
|
707
|
+
30px
|
|
708
|
+
) !default; // 弹框列表底部间距
|
|
709
|
+
$-col-picker-list-color: var(
|
|
710
|
+
--wot-col-picker-list-color,
|
|
711
|
+
rgba(0, 0, 0, 0.85)
|
|
712
|
+
) !default; // 弹框列表文字颜色
|
|
713
|
+
$-col-picker-list-color-disabled: var(
|
|
714
|
+
--wot-col-picker-list-color-disabled,
|
|
715
|
+
rgba(0, 0, 0, 0.15)
|
|
716
|
+
) !default; // 弹框列表文字禁用颜色
|
|
717
|
+
$-col-picker-list-color-tip: var(
|
|
718
|
+
--wot-col-picker-list-color-tip,
|
|
719
|
+
rgba(0, 0, 0, 0.45)
|
|
720
|
+
) !default; // 弹框列表提示文字颜色
|
|
533
721
|
$-col-picker-list-fs: var(--wot-col-picker-list-fs, 14px) !default; // 弹框列表文字字号
|
|
534
722
|
$-col-picker-list-fs-tip: var(--wot-col-picker-list-fs-tip, 12px) !default; // 弹框列表提示文字字号
|
|
535
|
-
$-col-picker-list-item-padding: var(
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
$-col-picker-list-
|
|
540
|
-
|
|
723
|
+
$-col-picker-list-item-padding: var(
|
|
724
|
+
--wot-col-picker-list-item-padding,
|
|
725
|
+
12px 15px
|
|
726
|
+
) !default; // 弹框列表选项间距
|
|
727
|
+
$-col-picker-list-checked-icon-size: var(
|
|
728
|
+
--wot-col-picker-list-checked-icon-size,
|
|
729
|
+
18px
|
|
730
|
+
) !default; // 弹框列表选中箭头大小
|
|
731
|
+
$-col-picker-list-color-checked: var(
|
|
732
|
+
--wot-col-picker-list-color-checked,
|
|
733
|
+
$-color-theme
|
|
734
|
+
) !default; // 弹框列表选中选项颜色
|
|
541
735
|
/* overlay */
|
|
542
736
|
$-overlay-bg: var(--wot-overlay-bg, rgba(0, 0, 0, 0.65)) !default;
|
|
543
737
|
$-overlay-bg-dark: var(--wot-overlay-bg-dark, rgba(0, 0, 0, 0.75)) !default;
|
|
@@ -547,67 +741,105 @@ $-popup-close-color: var(--wot-popup-close-color, #999) !default; // 关闭按
|
|
|
547
741
|
/* progress */
|
|
548
742
|
$-progress-padding: var(--wot-progress-padding, 9px 0 8px) !default; // 进度条内边距
|
|
549
743
|
$-progress-bg: var(--wot-progress-bg, rgba(229, 229, 229, 1)) !default; // 进度条底色
|
|
550
|
-
$-progress-danger-color: var(
|
|
551
|
-
|
|
552
|
-
$-
|
|
553
|
-
|
|
554
|
-
$-progress-color: var(
|
|
555
|
-
|
|
556
|
-
$-
|
|
557
|
-
|
|
558
|
-
$-progress-
|
|
559
|
-
|
|
744
|
+
$-progress-danger-color: var(
|
|
745
|
+
--wot-progress-danger-color,
|
|
746
|
+
$-color-danger
|
|
747
|
+
) !default; // 进度条danger颜色
|
|
748
|
+
$-progress-success-color: var(
|
|
749
|
+
--wot-progress-success-color,
|
|
750
|
+
$-color-success
|
|
751
|
+
) !default; // 进度条success进度条颜色
|
|
752
|
+
$-progress-color: var(
|
|
753
|
+
--wot-progress-color,
|
|
754
|
+
resultColor(315deg, $-color-theme, 'dark' 'light', #517cf0 #769ef5, 0% 100%)
|
|
755
|
+
) !default; // 进度条渐变色
|
|
756
|
+
$-progress-linear-success-color: var(
|
|
757
|
+
--wot-progress-linear-success-color,
|
|
758
|
+
resultColor(315deg, $-color-theme, 'dark' 'light', #20b080 #2bd69d, 0% 100%)
|
|
759
|
+
) !default; // success进度条渐变色
|
|
760
|
+
$-progress-linear-danger-color: var(
|
|
761
|
+
--wot-progress-linear-danger-color,
|
|
762
|
+
resultColor(315deg, $-color-theme, 'dark' 'light', #e04350 #ff5964, 0% 100%)
|
|
763
|
+
) !default; // danger进度条渐变色
|
|
560
764
|
$-progress-height: var(--wot-progress-height, 3px) !default; // 进度条高度
|
|
561
765
|
$-progress-label-color: var(--wot-progress-label-color, #333) !default; // 文字颜色
|
|
562
766
|
$-progress-label-fs: var(--wot-progress-label-fs, 14px) !default; // 文字字号
|
|
563
767
|
$-progress-icon-fs: var(--wot-progress-icon-fs, 18px) !default; // 图标字号
|
|
564
768
|
/* radio */
|
|
565
769
|
$-radio-margin: var(--wot-radio-margin, $-checkbox-margin) !default; // 多个单选框距离
|
|
566
|
-
$-radio-label-margin: var(
|
|
567
|
-
|
|
770
|
+
$-radio-label-margin: var(
|
|
771
|
+
--wot-radio-label-margin,
|
|
772
|
+
$-checkbox-label-margin
|
|
773
|
+
) !default; // 右侧文字与左侧图标距离
|
|
568
774
|
$-radio-size: var(--wot-radio-size, 16px) !default; // 左侧图标尺寸
|
|
569
775
|
$-radio-bg: var(--wot-radio-bg, $-checkbox-bg) !default; // 左侧图标尺寸
|
|
570
776
|
$-radio-label-fs: var(--wot-radio-label-fs, $-checkbox-label-fs) !default; // 右侧文字字号
|
|
571
777
|
$-radio-label-color: var(--wot-radio-label-color, $-checkbox-label-color) !default; // 右侧文字颜色
|
|
572
|
-
$-radio-checked-color: var(
|
|
573
|
-
|
|
574
|
-
$-
|
|
575
|
-
|
|
576
|
-
$-radio-disabled-
|
|
577
|
-
|
|
778
|
+
$-radio-checked-color: var(
|
|
779
|
+
--wot-radio-checked-color,
|
|
780
|
+
$-checkbox-checked-color
|
|
781
|
+
) !default; // 选中颜色
|
|
782
|
+
$-radio-disabled-color: var(
|
|
783
|
+
--wot-radio-disabled-color,
|
|
784
|
+
$-checkbox-disabled-color
|
|
785
|
+
) !default; // 禁用颜色
|
|
786
|
+
$-radio-disabled-label-color: var(
|
|
787
|
+
--wot-radio-disabled-label-color,
|
|
788
|
+
$-checkbox-disabled-label-color
|
|
789
|
+
) !default; // 禁用文字颜色
|
|
578
790
|
|
|
579
791
|
$-radio-large-size: var(--wot-radio-large-size, $-checkbox-large-size) !default; // 左侧图标尺寸
|
|
580
|
-
$-radio-large-label-fs: var(
|
|
581
|
-
|
|
792
|
+
$-radio-large-label-fs: var(
|
|
793
|
+
--wot-radio-large-label-fs,
|
|
794
|
+
$-checkbox-large-label-fs
|
|
795
|
+
) !default; // 右侧文字字号
|
|
582
796
|
|
|
583
|
-
$-radio-button-height: var(
|
|
584
|
-
|
|
797
|
+
$-radio-button-height: var(
|
|
798
|
+
--wot-radio-button-height,
|
|
799
|
+
$-checkbox-button-height
|
|
800
|
+
) !default; // 按钮模式复选框高
|
|
585
801
|
$-radio-button-min-width: var(--wot-radio-button-min-width, 60px) !default; // 按钮模式最小宽
|
|
586
802
|
$-radio-button-max-width: var(--wot-radio-button-max-width, 144px) !default; // 按钮模式最大宽
|
|
587
|
-
$-radio-button-radius: var(
|
|
588
|
-
|
|
803
|
+
$-radio-button-radius: var(
|
|
804
|
+
--wot-radio-button-radius,
|
|
805
|
+
$-checkbox-button-radius
|
|
806
|
+
) !default; // 按钮圆角大小
|
|
589
807
|
$-radio-button-bg: var(--wot-radio-button-bg, $-checkbox-button-bg) !default; // 按钮模式背景颜色
|
|
590
808
|
$-radio-button-fs: var(--wot-radio-button-fs, $-checkbox-button-font-size) !default; // 按钮模式字号
|
|
591
|
-
$-radio-button-border: var(
|
|
592
|
-
|
|
593
|
-
$-
|
|
594
|
-
|
|
809
|
+
$-radio-button-border: var(
|
|
810
|
+
--wot-radio-button-border,
|
|
811
|
+
$-checkbox-button-border
|
|
812
|
+
) !default; // 按钮边框颜色
|
|
813
|
+
$-radio-button-disabled-border: var(
|
|
814
|
+
--wot-radio-button-disabled-border,
|
|
815
|
+
$-checkbox-button-disabled-border
|
|
816
|
+
) !default; // 按钮禁用边框颜色
|
|
595
817
|
|
|
596
818
|
$-radio-dot-size: var(--wot-radio-dot-size, 8px) !default; // 单选dot模式圆点尺寸
|
|
597
819
|
$-radio-dot-large-size: var(--wot-radio-dot-large-size, 10px) !default; // 单选dot模式大尺寸圆点尺寸
|
|
598
|
-
$-radio-dot-checked-bg: var(
|
|
599
|
-
|
|
600
|
-
$-
|
|
601
|
-
|
|
820
|
+
$-radio-dot-checked-bg: var(
|
|
821
|
+
--wot-radio-dot-checked-bg,
|
|
822
|
+
$-color-theme
|
|
823
|
+
) !default; // 单选dot模式选中背景色
|
|
824
|
+
$-radio-dot-checked-border-color: var(
|
|
825
|
+
--wot-radio-dot-checked-border-color,
|
|
826
|
+
$-color-theme
|
|
827
|
+
) !default; // 单选dot模式选中边框色
|
|
602
828
|
$-radio-dot-border-color: var(--wot-radio-dot-border-color, #dcdcdc) !default; // 单选dot模式边框色
|
|
603
|
-
$-radio-dot-disabled-border: var(
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
829
|
+
$-radio-dot-disabled-border: var(
|
|
830
|
+
--wot-radio-dot-disabled-border,
|
|
831
|
+
#d9d9d9
|
|
832
|
+
) !default; // 单选dot模式禁用边框颜色
|
|
833
|
+
$-radio-dot-disabled-bg: var(
|
|
834
|
+
--wot-radio-dot-disabled-bg,
|
|
835
|
+
#d9d9d9
|
|
836
|
+
) !default; // 单选dot模式禁用背景颜色
|
|
607
837
|
/* search */
|
|
608
838
|
$-search-side-padding: var(--wot-search-side-padding, $-size-side-padding) !default; // 左右间距
|
|
609
|
-
$-search-padding: var(
|
|
610
|
-
|
|
839
|
+
$-search-padding: var(
|
|
840
|
+
--wot-search-padding,
|
|
841
|
+
10px 0 10px $-search-side-padding
|
|
842
|
+
) !default; // 不包含取消按钮的间距
|
|
611
843
|
$-search-input-radius: var(--wot-search-input-radius, 15px) !default; // 输入框圆角大小
|
|
612
844
|
$-search-input-bg: var(--wot-search-input-bg, $-color-bg) !default; // 输入框背景色
|
|
613
845
|
$-search-input-height: var(--wot-search-input-height, 30px) !default; // 输入框高度
|
|
@@ -617,25 +849,35 @@ $-search-input-color: var(--wot-search-input-color, #262626) !default; // 输入
|
|
|
617
849
|
$-search-icon-color: var(--wot-search-icon-color, $-color-icon) !default; // 图标颜色
|
|
618
850
|
$-search-icon-size: var(--wot-search-icon-size, 18px) !default; // 图标大小
|
|
619
851
|
$-search-clear-icon-size: var(--wot-search-clear-icon-size, $-fs-title) !default; // 清除图标大小
|
|
620
|
-
$-search-placeholder-color: var(
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
852
|
+
$-search-placeholder-color: var(
|
|
853
|
+
--wot-search-placeholder-color,
|
|
854
|
+
#969696
|
|
855
|
+
) !default; // placeholder 颜色
|
|
856
|
+
$-search-cancel-padding: var(
|
|
857
|
+
--wot-search-cancel-padding,
|
|
858
|
+
0 $-search-side-padding 0 10px
|
|
859
|
+
) !default; // 取消按钮间距
|
|
624
860
|
$-search-cancel-fs: var(--wot-search-cancel-fs, $-fs-title) !default; // 取消按钮字号
|
|
625
861
|
$-search-cancel-color: var(--wot-search-cancel-color, rgba(0, 0, 0, 0.65)) !default; // 取消按钮颜色
|
|
626
862
|
$-search-light-bg: var(--wot-search-light-bg, $-color-bg) !default; // light 类型的容器背景色
|
|
627
863
|
/* slider */
|
|
628
864
|
$-slider-fs: var(--wot-slider-fs, $-fs-content) !default; // 字体大小
|
|
629
865
|
$-slider-handle-radius: var(--wot-slider-handle-radius, 12px) !default; // 滑块半径
|
|
630
|
-
$-slider-handle-bg: var(
|
|
631
|
-
|
|
866
|
+
$-slider-handle-bg: var(
|
|
867
|
+
--wot-slider-handle-bg,
|
|
868
|
+
resultColor(139deg, $-color-theme, 'dark' 'light', #ffffff #f7f7f7, 0% 100%)
|
|
869
|
+
) !default; // 滑块背景
|
|
632
870
|
$-slider-axie-height: var(--wot-slider-axie-height, 3px) !default; // 滑轴高度
|
|
633
871
|
$-slider-color: var(--wot-slider-color, #333) !default; // 字体颜色
|
|
634
872
|
$-slider-axie-bg: var(--wot-slider-axie-bg, #e5e5e5) !default; // 滑轴的默认背景色
|
|
635
|
-
$-slider-line-color: var(
|
|
636
|
-
|
|
637
|
-
$-
|
|
638
|
-
|
|
873
|
+
$-slider-line-color: var(
|
|
874
|
+
--wot-slider-line-color,
|
|
875
|
+
resultColor(315deg, $-color-theme, 'dark' 'light', #517cf0 #769ef5, 0% 100%)
|
|
876
|
+
) !default; // 进度条颜色
|
|
877
|
+
$-slider-disabled-color: var(
|
|
878
|
+
--wot-slider-disabled-color,
|
|
879
|
+
rgba(0, 0, 0, 0.25)
|
|
880
|
+
) !default; // 禁用状态下字体颜色
|
|
639
881
|
/* sort-button */
|
|
640
882
|
$-sort-button-fs: var(--wot-sort-button-fs, $-fs-content) !default; // 字号
|
|
641
883
|
$-sort-button-color: var(--wot-sort-button-color, $-color-content) !default; // 颜色
|
|
@@ -644,18 +886,24 @@ $-sort-button-line-height: var(--wot-sort-button-line-height, 3px) !default; //
|
|
|
644
886
|
$-sort-button-line-color: var(--wot-sort-button-line-color, $-color-theme) !default; // 下划线颜色
|
|
645
887
|
/* steps */
|
|
646
888
|
$-steps-icon-size: var(--wot-steps-icon-size, 22px) !default; // 图标尺寸
|
|
647
|
-
$-steps-inactive-color: var(
|
|
648
|
-
|
|
889
|
+
$-steps-inactive-color: var(
|
|
890
|
+
--wot-steps-inactive-color,
|
|
891
|
+
rgba(0, 0, 0, 0.25)
|
|
892
|
+
) !default; // 等待状态文字颜色
|
|
649
893
|
$-steps-finished-color: var(--wot-steps-finished-color, $-color-theme) !default; // 完成文字颜色
|
|
650
894
|
$-steps-icon-text-fs: var(--wot-steps-icon-text-fs, $-fs-content) !default; // 数字图标文字字号
|
|
651
895
|
$-steps-error-color: var(--wot-steps-error-color, $-color-danger) !default; // 异常颜色
|
|
652
896
|
$-steps-title-fs: var(--wot-steps-title-fs, $-fs-content) !default; // 标题字号
|
|
653
897
|
$-steps-title-fw: var(--wot-steps-title-fw, $-fw-medium) !default; // 标题字重
|
|
654
898
|
$-steps-label-fs: var(--wot-steps-label-fs, $-fs-secondary) !default; // 描述信息字号
|
|
655
|
-
$-steps-description-color: var(
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
899
|
+
$-steps-description-color: var(
|
|
900
|
+
--wot-steps-description-color,
|
|
901
|
+
rgba(0, 0, 0, 0.45)
|
|
902
|
+
) !default; // 描述信息颜色
|
|
903
|
+
$-steps-is-icon-width: var(
|
|
904
|
+
--wot-steps-is-icon-width,
|
|
905
|
+
30px
|
|
906
|
+
) !default; // 自定义图标的宽度,给左右留白
|
|
659
907
|
$-steps-line-color: var(--wot-steps-line-color, rgba(0, 0, 0, 0.15)) !default; // 线条颜色
|
|
660
908
|
$-steps-dot-size: var(--wot-steps-dot-size, 7px) !default; // 点状大小
|
|
661
909
|
$-steps-dot-active-size: var(--wot-steps-dot-active-size, 9px) !default; // 点状高亮大小
|
|
@@ -666,11 +914,15 @@ $-switch-height: var(--wot-switch-height, calc(1em + 4px)) !default; // 高度
|
|
|
666
914
|
$-switch-circle-size: var(--wot-switch-circle-size, 1em) !default; // 圆点大小
|
|
667
915
|
$-switch-border-color: var(--wot-switch-border-color, #e5e5e5) !default; // 边框颜色选中状态背景颜色
|
|
668
916
|
$-switch-active-color: var(--wot-switch-active-color, $-color-theme) !default; // 选中状态背景
|
|
669
|
-
$-switch-active-shadow-color: var(
|
|
670
|
-
|
|
917
|
+
$-switch-active-shadow-color: var(
|
|
918
|
+
--wot-switch-active-shadow-color,
|
|
919
|
+
rgba(0, 83, 162, 0.5)
|
|
920
|
+
) !default; // 选中状态shadow颜色
|
|
671
921
|
$-switch-inactive-color: var(--wot-switch-inactive-color, #eaeaea) !default; // 非选中背景颜色
|
|
672
|
-
$-switch-inactive-shadow-color: var(
|
|
673
|
-
|
|
922
|
+
$-switch-inactive-shadow-color: var(
|
|
923
|
+
--wot-switch-inactive-shadow-color,
|
|
924
|
+
rgba(155, 155, 155, 0.5)
|
|
925
|
+
) !default; // 非选中状态shadow颜色
|
|
674
926
|
/* tabs */
|
|
675
927
|
$-tabs-nav-arrow-fs: var(--wot-tabs-nav-arrow-fs, 18px) !default; // 全部Icon字号
|
|
676
928
|
$-tabs-nav-arrow-open-fs: var(--wot-tabs-nav-arrow-open-fs, 14px) !default; // 展开Icon字号
|
|
@@ -680,24 +932,38 @@ $-tabs-nav-fs: var(--wot-tabs-nav-fs, $-fs-content) !default; // 头部切换文
|
|
|
680
932
|
$-tabs-nav-color: var(--wot-tabs-nav-color, rgba(0, 0, 0, 0.85)) !default; // 头部切换文字颜色
|
|
681
933
|
$-tabs-nav-bg: var(--wot-tabs-nav-bg, $-color-white) !default; // 背景颜色
|
|
682
934
|
$-tabs-nav-active-color: var(--wot-tabs-nav-active-color, $-color-theme) !default; // 头部高亮颜色
|
|
683
|
-
$-tabs-nav-disabled-color: var(
|
|
684
|
-
|
|
935
|
+
$-tabs-nav-disabled-color: var(
|
|
936
|
+
--wot-tabs-nav-disabled-color,
|
|
937
|
+
rgba(0, 0, 0, 0.25)
|
|
938
|
+
) !default; // 头部禁用颜色
|
|
685
939
|
$-tabs-nav-line-height: var(--wot-tabs-nav-line-height, 3px) !default; // 高亮边框高度
|
|
686
940
|
$-tabs-nav-line-width: var(--wot-tabs-nav-line-width, 19px) !default; // 高亮边框宽度
|
|
687
941
|
$-tabs-nav-line-bg-color: var(--wot-tabs-nav-line-bg-color, $-color-theme) !default; // 底部条颜色
|
|
688
942
|
$-tabs-nav-map-fs: var(--wot-tabs-nav-map-fs, $-fs-content) !default; // map 类型按钮字号
|
|
689
|
-
$-tabs-nav-map-color: var(
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
$-tabs-nav-map-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
$-tabs-nav-map-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
943
|
+
$-tabs-nav-map-color: var(
|
|
944
|
+
--wot-tabs-nav-map-color,
|
|
945
|
+
rgba(0, 0, 0, 0.85)
|
|
946
|
+
) !default; // map 类型按钮文字颜色
|
|
947
|
+
$-tabs-nav-map-arrow-color: var(
|
|
948
|
+
--wot-tabs-nav-map-arrow-color,
|
|
949
|
+
rgba(0, 0, 0, 0.65)
|
|
950
|
+
) !default; // map 类型箭头颜色
|
|
951
|
+
$-tabs-nav-map-btn-before-bg: var(
|
|
952
|
+
--wot-tabs-nav-map-btn-before-bg,
|
|
953
|
+
linear-gradient(270deg, rgba(255, 255, 255, 1) 1%, rgba(255, 255, 255, 0) 100%)
|
|
954
|
+
) !default; // 左侧map遮罩阴影
|
|
955
|
+
$-tabs-nav-map-button-back-color: var(
|
|
956
|
+
--wot-tabs-nav-map-button-back-color,
|
|
957
|
+
rgba(0, 0, 0, 0.04)
|
|
958
|
+
) !default; // map 类型按钮边框颜色
|
|
959
|
+
$-tabs-nav-map-button-radius: var(
|
|
960
|
+
--wot-tabs-nav-map-button-radius,
|
|
961
|
+
16px
|
|
962
|
+
) !default; // map 类型按钮圆角大小
|
|
963
|
+
$-tabs-nav-map-modal-bg: var(
|
|
964
|
+
--wot-tabs-nav-map-modal-bg,
|
|
965
|
+
$-overlay-bg
|
|
966
|
+
) !default; // map 类型蒙层背景色
|
|
701
967
|
/* tag */
|
|
702
968
|
$-tag-fs: var(--wot-tag-fs, $-fs-secondary) !default; // 字号
|
|
703
969
|
$-tag-color: var(--wot-tag-color, $-color-white) !default; // 字体颜色
|
|
@@ -707,34 +973,44 @@ $-tag-primary-color: var(--wot-tag-primary-color, $-color-theme) !default; //
|
|
|
707
973
|
$-tag-danger-color: var(--wot-tag-danger-color, $-color-danger) !default; // danger 颜色
|
|
708
974
|
$-tag-warning-color: var(--wot-tag-warning-color, $-color-warning) !default; // warning 颜色
|
|
709
975
|
$-tag-success-color: var(--wot-tag-success-color, $-color-success) !default; // success 颜色
|
|
710
|
-
$-tag-info-bg: var(
|
|
711
|
-
|
|
976
|
+
$-tag-info-bg: var(
|
|
977
|
+
--wot-tag-info-bg,
|
|
978
|
+
resultColor(49deg, $-color-black, 'dark' 'light', #808080 #999999, 0% 100%)
|
|
979
|
+
) !default; // info 背景颜色
|
|
712
980
|
$-tag-primary-bg: var(--wot-tag-primary-bg, $-color-theme) !default; // 主背景颜色
|
|
713
981
|
$-tag-danger-bg: var(--wot-tag-danger-bg, $-color-danger) !default; // danger 背景颜色
|
|
714
982
|
$-tag-warning-bg: var(--wot-tag-warning-bg, $-color-warning) !default; // warning 背景颜色
|
|
715
983
|
$-tag-success-bg: var(--wot-tag-success-bg, $-color-success) !default; // success 背景颜色
|
|
716
984
|
$-tag-round-color: var(--wot-tag-round-color, rgba(102, 102, 102, 1)) !default; // round 字体颜色
|
|
717
|
-
$-tag-round-border-color: var(
|
|
718
|
-
|
|
985
|
+
$-tag-round-border-color: var(
|
|
986
|
+
--wot-tag-round-border-color,
|
|
987
|
+
rgba(225, 225, 225, 1)
|
|
988
|
+
) !default; // round 边框颜色
|
|
719
989
|
$-tag-round-radius: var(--wot-tag-round-radius, 12px) !default; // round 圆角大小
|
|
720
990
|
$-tag-mark-radius: var(--wot-tag-mark-radius, 6px 2px 6px 2px) !default; // mark 圆角大小
|
|
721
991
|
$-tag-close-size: var(--wot-tag-close-size, 14px) !default; // 关闭按钮字号
|
|
722
992
|
$-tag-close-color: var(--wot-tag-close-color, $-tag-info-color) !default; // 关闭按钮颜色
|
|
723
|
-
$-tag-close-active-color: var(
|
|
724
|
-
|
|
993
|
+
$-tag-close-active-color: var(
|
|
994
|
+
--wot-tag-close-active-color,
|
|
995
|
+
rgba(0, 0, 0, 0.45)
|
|
996
|
+
) !default; // 关闭按钮 active 颜色
|
|
725
997
|
/* toast */
|
|
726
998
|
$-toast-padding: var(--wot-toast-padding, 16px 24px) !default; // padding
|
|
727
999
|
$-toast-max-width: var(--wot-toast-max-width, 300px) !default; // 最大宽度
|
|
728
1000
|
$-toast-radius: var(--wot-toast-radius, 8px) !default; // 圆角大小
|
|
729
1001
|
$-toast-bg: var(--wot-toast-bg, $-overlay-bg) !default; // 背景色
|
|
730
1002
|
$-toast-fs: var(--wot-toast-fs, $-fs-content) !default; // 字号
|
|
731
|
-
$-toast-with-icon-min-width: var(
|
|
732
|
-
|
|
1003
|
+
$-toast-with-icon-min-width: var(
|
|
1004
|
+
--wot-toast-with-icon-min-width,
|
|
1005
|
+
150px
|
|
1006
|
+
) !default; // 有图标的情况下最小宽度
|
|
733
1007
|
$-toast-icon-size: var(--wot-toast-icon-size, 32px) !default; // 图标大小
|
|
734
1008
|
$-toast-icon-margin-right: var(--wot-toast-icon-margin-right, 12px) !default; // 图标右边距
|
|
735
1009
|
$-toast-loading-padding: var(--wot-toast-loading-padding, 10px) !default; // loading 下的padding
|
|
736
|
-
$-toast-box-shadow: var(
|
|
737
|
-
|
|
1010
|
+
$-toast-box-shadow: var(
|
|
1011
|
+
--wot-toast-box-shadow,
|
|
1012
|
+
0px 6px 16px 0px rgba(0, 0, 0, 0.08)
|
|
1013
|
+
) !default; // 外部阴影
|
|
738
1014
|
/* loading */
|
|
739
1015
|
$-loading-size: var(--wot-loading-size, 32px) !default; // loading 大小
|
|
740
1016
|
/* tooltip */
|
|
@@ -751,10 +1027,14 @@ $-tooltip-line-height: var(--wot-tooltip-line-height, 18px) !default; // 行高
|
|
|
751
1027
|
/* popover */
|
|
752
1028
|
$-popover-bg: var(--wot-popover-bg, $-color-white) !default; // 背景色
|
|
753
1029
|
$-popover-color: var(--wot-popover-color, rgba(0, 0, 0, 0.85)) !default; // 文字颜色
|
|
754
|
-
$-popover-box-shadow: var(
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
1030
|
+
$-popover-box-shadow: var(
|
|
1031
|
+
--wot-popover-box-shadow,
|
|
1032
|
+
0px 2px 10px 0px rgba(0, 0, 0, 0.1)
|
|
1033
|
+
) !default; // 阴影颜色
|
|
1034
|
+
$-popover-arrow-box-shadow: var(
|
|
1035
|
+
--wot-popover-arrow-box-shadow,
|
|
1036
|
+
0px 2px 10px 0px rgba(0, 0, 0, 0.2)
|
|
1037
|
+
) !default; // 阴影颜色
|
|
758
1038
|
$-popover-border-color: var(--wot-popover-border-color, rgba(0, 0, 0, 0.09)) !default; // 阴影颜色
|
|
759
1039
|
$-popover-radius: var(--wot-popover-radius, 4px) !default; // 圆角大小
|
|
760
1040
|
$-popover-arrow-size: var(--wot-popover-arrow-size, 6px) !default; // 箭头大小
|
|
@@ -766,8 +1046,10 @@ $-popover-z-index: var(--wot-popover-z-index, $-tooltip-z-index) !default;
|
|
|
766
1046
|
$-grid-item-fs: var(--wot-grid-item-fs, 12px) !default; // 字号
|
|
767
1047
|
$-grid-item-bg: var(--wot-grid-item-bg, $-color-white) !default; // 字号
|
|
768
1048
|
$-grid-item-padding: var(--wot-grid-item-padding, 14px 0px) !default; // 内容的 padding
|
|
769
|
-
$-grid-item-border-color: var(
|
|
770
|
-
|
|
1049
|
+
$-grid-item-border-color: var(
|
|
1050
|
+
--wot-grid-item-border-color,
|
|
1051
|
+
$-color-border-light
|
|
1052
|
+
) !default; // 边框颜色
|
|
771
1053
|
/* statustip */
|
|
772
1054
|
$-statustip-fs: var(--wot-statustip-fs, $-fs-content) !default; // 字号
|
|
773
1055
|
$-statustip-color: var(--wot-statustip-color, rgba(0, 0, 0, 0.45)) !default; // 文字颜色
|
|
@@ -778,51 +1060,75 @@ $-card-bg: var(--wot-card-bg, $-color-white) !default; // 背景色
|
|
|
778
1060
|
$-card-fs: var(--wot-card-fs, $-fs-content) !default; // 卡片字号
|
|
779
1061
|
$-card-padding: var(--wot-card-padding, 0 $-size-side-padding) !default; // 内边距
|
|
780
1062
|
$-card-footer-padding: var(--wot-card-footer-padding, 12px 0 16px) !default; // 底部内边距
|
|
781
|
-
$-card-shadow-color: var(
|
|
782
|
-
|
|
1063
|
+
$-card-shadow-color: var(
|
|
1064
|
+
--wot-card-shadow-color,
|
|
1065
|
+
0px 4px 8px 0px rgba(0, 0, 0, 0.02)
|
|
1066
|
+
) !default; // 阴影
|
|
783
1067
|
$-card-radius: var(--wot-card-radius, 8px) !default; // 圆角大小
|
|
784
1068
|
$-card-line-height: var(--wot-card-line-height, 1.1) !default; // 行高
|
|
785
1069
|
$-card-margin: var(--wot-card-margin, 0 $-size-side-padding) !default; // 外边距
|
|
786
1070
|
$-card-title-color: var(--wot-card-title-color, rgba(0, 0, 0, 0.85)) !default; // 标题颜色
|
|
787
1071
|
$-card-title-fs: var(--wot-card-title-fs, $-fs-title) !default; // 矩形卡片标题字号
|
|
788
|
-
$-card-content-border-color: var(
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
$-card-rectangle-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
1072
|
+
$-card-content-border-color: var(
|
|
1073
|
+
--wot-card-content-border-color,
|
|
1074
|
+
rgba(0, 0, 0, 0.09)
|
|
1075
|
+
) !default; // 内容边框
|
|
1076
|
+
$-card-rectangle-title-padding: var(
|
|
1077
|
+
--wot-card-rectangle-title-padding,
|
|
1078
|
+
15px 15px 12px
|
|
1079
|
+
) !default; // 矩形卡片头部内边距
|
|
1080
|
+
$-card-rectangle-content-padding: var(
|
|
1081
|
+
--wot-card-rectangle-content-padding,
|
|
1082
|
+
16px 0
|
|
1083
|
+
) !default; // 矩形卡片内容内边距
|
|
1084
|
+
$-card-rectangle-footer-padding: var(
|
|
1085
|
+
--wot-card-rectangle-footer-padding,
|
|
1086
|
+
12px 0
|
|
1087
|
+
) !default; // 矩形卡片底部内边距
|
|
796
1088
|
$-card-content-color: var(--wot-card-content-color, rgba(0, 0, 0, 0.45)) !default; // 文本内容颜色
|
|
797
1089
|
$-card-content-line-height: var(--wot-card-content-line-height, 1.428) !default; // 文本内容行高
|
|
798
1090
|
$-card-content-margin: var(--wot-card-content-margin, 13px 0 12px) !default; // 内容外边距
|
|
799
|
-
$-card-content-rectangle-margin: var(
|
|
800
|
-
|
|
1091
|
+
$-card-content-rectangle-margin: var(
|
|
1092
|
+
--wot-card-content-rectangle-margin,
|
|
1093
|
+
14px 0 12px
|
|
1094
|
+
) !default; // 矩形卡片内容外边距
|
|
801
1095
|
/* upload */
|
|
802
1096
|
$-upload-size: var(--wot-upload-size, 80px) !default; // upload的外边框默认尺寸
|
|
803
1097
|
$-upload-evoke-icon-size: var(--wot-upload-evoke-icon-size, 32px) !default; // 唤起项的图标大小
|
|
804
1098
|
$-upload-evoke-bg: var(--wot-upload-evoke-bg, rgba(0, 0, 0, 0.04)) !default; // 唤起项的背景色
|
|
805
|
-
$-upload-evoke-color: var(
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
1099
|
+
$-upload-evoke-color: var(
|
|
1100
|
+
--wot-upload-evoke-color,
|
|
1101
|
+
rgba(0, 0, 0, 0.25)
|
|
1102
|
+
) !default; // 唤起项的图标颜色
|
|
1103
|
+
$-upload-evoke-disabled-color: var(
|
|
1104
|
+
--wot-upload-evoke-disabled-color,
|
|
1105
|
+
rgba(0, 0, 0, 0.09)
|
|
1106
|
+
) !default; // 唤起项禁用颜色
|
|
809
1107
|
$-upload-close-icon-size: var(--wot-upload-close-icon-size, 16px) !default; // 移除按钮尺寸
|
|
810
|
-
$-upload-close-icon-color: var(
|
|
811
|
-
|
|
1108
|
+
$-upload-close-icon-color: var(
|
|
1109
|
+
--wot-upload-close-icon-color,
|
|
1110
|
+
rgba(0, 0, 0, 0.65)
|
|
1111
|
+
) !default; // 移除按钮颜色
|
|
812
1112
|
$-upload-progress-fs: var(--wot-upload-progress-fs, 14px) !default; // 进度文字字号
|
|
813
1113
|
$-upload-file-fs: var(--wot-upload-file-fs, 12px) !default; // 文件名字号
|
|
814
1114
|
$-upload-file-color: var(--wot-upload-file-color, $-color-secondary) !default; // 文件名字颜色
|
|
815
1115
|
$-upload-preview-name-fs: var(--wot-upload-preview-name-fs, 12px) !default; // 预览图片名字号
|
|
816
1116
|
$-upload-preview-icon-size: var(--wot-upload-preview-icon-size, 24px) !default; // 预览内部图标尺寸
|
|
817
|
-
$-upload-preview-name-bg: var(
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
1117
|
+
$-upload-preview-name-bg: var(
|
|
1118
|
+
--wot-upload-preview-name-bg,
|
|
1119
|
+
rgba(0, 0, 0, 0.6)
|
|
1120
|
+
) !default; // 预览文件名背景色
|
|
1121
|
+
$-upload-preview-name-height: var(
|
|
1122
|
+
--wot-upload-preview-name-height,
|
|
1123
|
+
22px
|
|
1124
|
+
) !default; // 预览文件名背景高度
|
|
821
1125
|
$-upload-cover-icon-size: var(--wot-upload-cover-icon-size, 22px) !default; // 视频/文件图标尺寸
|
|
822
1126
|
/* curtain */
|
|
823
1127
|
$-curtain-content-radius: var(--wot-curtain-content-radius, 24px) !default; // 内容圆角
|
|
824
|
-
$-curtain-content-close-color: var(
|
|
825
|
-
|
|
1128
|
+
$-curtain-content-close-color: var(
|
|
1129
|
+
--wot-curtain-content-close-color,
|
|
1130
|
+
$-color-white
|
|
1131
|
+
) !default; // 关闭按钮颜色
|
|
826
1132
|
$-curtain-content-close-fs: var(--wot-curtain-content-close-fs, $-fs-big) !default; // 关闭按钮大小
|
|
827
1133
|
/* notify */
|
|
828
1134
|
$-notify-text-color: var(--wot-notify-text-color, $-color-white) !default;
|
|
@@ -836,8 +1142,10 @@ $-notify-warning-background: var(--wot-notify-warning-background, $-color-warnin
|
|
|
836
1142
|
/* skeleton */
|
|
837
1143
|
$-skeleton-background-color: var(--wot-skeleton-background-color, #eee) !default;
|
|
838
1144
|
$-skeleton-animation-gradient: var(--wot-skeleton-animation-gradient, rgba(0, 0, 0, 0.04)) !default;
|
|
839
|
-
$-skeleton-animation-flashed: var(
|
|
840
|
-
|
|
1145
|
+
$-skeleton-animation-flashed: var(
|
|
1146
|
+
--wot-skeleton-animation-flashed,
|
|
1147
|
+
rgba(230, 230, 230, 0.3)
|
|
1148
|
+
) !default;
|
|
841
1149
|
$-skeleton-text-height-default: var(--wot-skeleton-text-height-default, 16px) !default;
|
|
842
1150
|
$-skeleton-rect-height-default: var(--wot-skeleton-rect-height-default, 16px) !default;
|
|
843
1151
|
$-skeleton-circle-height-default: var(--wot-skeleton-circle-height-default, 48px) !default;
|
|
@@ -868,24 +1176,36 @@ $-swiper-nav-btn-size: var(--wot-swiper-nav-btn-size, 48rpx) !default;
|
|
|
868
1176
|
/* segmented */
|
|
869
1177
|
$-segmented-padding: var(--wot-segmented-padding, 4px) !default; // 分段器padding
|
|
870
1178
|
$-segmented-item-bg-color: var(--wot-segmented-item-bg-color, #eeeeee) !default;
|
|
871
|
-
$-segmented-item-color: var(
|
|
872
|
-
|
|
1179
|
+
$-segmented-item-color: var(
|
|
1180
|
+
--wot-segmented-item-color,
|
|
1181
|
+
rgba(0, 0, 0, 0.85)
|
|
1182
|
+
) !default; // 标题文字颜色
|
|
873
1183
|
$-segmented-item-acitve-bg: var(--wot-segmented-item-acitve-bg, #ffffff) !default; // 标题文字颜色
|
|
874
|
-
$-segmented-item-disabled-color: var(
|
|
875
|
-
|
|
1184
|
+
$-segmented-item-disabled-color: var(
|
|
1185
|
+
--wot-segmented-item-disabled-color,
|
|
1186
|
+
rgba(0, 0, 0, 0.25)
|
|
1187
|
+
) !default; // 标题文字禁用颜色
|
|
876
1188
|
/* tabbar */
|
|
877
1189
|
$-tabbar-height: var(--wot-tabbar-height, 50px) !default;
|
|
878
|
-
$-tabbar-box-shadow: var(
|
|
1190
|
+
$-tabbar-box-shadow: var(
|
|
1191
|
+
--wot-tabbar-box-shadow,
|
|
879
1192
|
0 6px 30px 5px rgba(0, 0, 0, 0.05),
|
|
880
1193
|
0 16px 24px 2px rgba(0, 0, 0, 0.04),
|
|
881
|
-
0 8px 10px -5px rgba(0, 0, 0, 0.08)
|
|
1194
|
+
0 8px 10px -5px rgba(0, 0, 0, 0.08)
|
|
1195
|
+
) !default; // round类型tabbar阴影
|
|
882
1196
|
/* tabbar-item */
|
|
883
|
-
$-tabbar-item-title-font-size: var(
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
$-tabbar-
|
|
888
|
-
|
|
1197
|
+
$-tabbar-item-title-font-size: var(
|
|
1198
|
+
--wot-tabbar-item-title-font-size,
|
|
1199
|
+
10px
|
|
1200
|
+
) !default; // tabbar选项文字大小
|
|
1201
|
+
$-tabbar-item-title-line-height: var(
|
|
1202
|
+
--wot-tabbar-item-title-line-height,
|
|
1203
|
+
initial
|
|
1204
|
+
) !default; // tabbar选项标题文字行高
|
|
1205
|
+
$-tabbar-inactive-color: var(
|
|
1206
|
+
--wot-tabbar-inactive-color,
|
|
1207
|
+
$-color-title
|
|
1208
|
+
) !default; // 标题文字和图标颜色
|
|
889
1209
|
$-tabbar-active-color: var(--wot-tabbar-active-color, $-color-theme) !default; // 选中文字和图标颜色
|
|
890
1210
|
$-tabbar-item-icon-size: var(--wot-tabbar-item-icon-size, 20px) !default; // tabbar选项图标大小
|
|
891
1211
|
/* navbar */
|
|
@@ -894,20 +1214,26 @@ $-navbar-color: var(--wot-navbar-color, $-font-gray-1) !default; // navbar字体
|
|
|
894
1214
|
$-navbar-background: var(--wot-navbar-background, $-color-white) !default; // navbar背景颜色
|
|
895
1215
|
$-navbar-arrow-size: var(--wot-navbar-arrow-size, 24px) !default; // navbar左箭头图标大小
|
|
896
1216
|
$-navbar-desc-font-size: var(--wot-navbar-desc-font-size, 16px); // navbar 左箭头字体大小
|
|
897
|
-
$-navbar-desc-font-color: var(
|
|
898
|
-
|
|
1217
|
+
$-navbar-desc-font-color: var(
|
|
1218
|
+
--wot-navbar-desc-font-color,
|
|
1219
|
+
$-font-gray-1
|
|
1220
|
+
) !default; // navbar左右两侧字体颜色
|
|
899
1221
|
$-navbar-title-font-size: var(--wot-navbar-title-font-size, 18px); // navbar title字体大小
|
|
900
1222
|
$-navbar-title-font-weight: var(--wot-navbar-title-font-weight, 600); // navbar title字重
|
|
901
|
-
$-navbar-disabled-opacity: var(
|
|
902
|
-
|
|
1223
|
+
$-navbar-disabled-opacity: var(
|
|
1224
|
+
--wot-navbar-disabled-opacity,
|
|
1225
|
+
0.6
|
|
1226
|
+
) !default; // navbar左右两侧字体禁用
|
|
903
1227
|
$-navbar-hover-color: var(--wot-navbar-hover-color, #eee) !default; // navbar hover样式
|
|
904
1228
|
/* navbar-capsule */
|
|
905
1229
|
$-navbar-capsule-border-color: var(--wot-navbar-capsule-border-color, #e7e7e7) !default;
|
|
906
1230
|
$-navbar-capsule-border-radius: var(--wot-navbar-capsule-border-radius, 16px) !default;
|
|
907
1231
|
$-navbar-capsule-width: var(--wot-navbar-capsule-width, 88px) !default;
|
|
908
1232
|
$-navbar-capsule-height: var(--wot-navbar-capsule-height, 32px) !default;
|
|
909
|
-
$-navbar-capsule-icon-size: var(
|
|
910
|
-
|
|
1233
|
+
$-navbar-capsule-icon-size: var(
|
|
1234
|
+
--wot-navbar-capsule-icon-size,
|
|
1235
|
+
20px
|
|
1236
|
+
) !default; // navbar capsule图标大小
|
|
911
1237
|
/* table */
|
|
912
1238
|
$-table-color: var(--wot-table-color, $-font-gray-1) !default; // 表格字体颜色
|
|
913
1239
|
$-table-bg: var(--wot-table-bg, #ffffff) !default; // 表格背景颜色
|
|
@@ -946,14 +1272,22 @@ $-number-keyboard-key-font-size: var(--wot-number-keyboard-key-font-size, 28px)
|
|
|
946
1272
|
$-number-keyboard-key-background: var(--wot-number-keyboard-key-background, $-color-white) !default;
|
|
947
1273
|
$-number-keyboard-key-border-radius: var(--wot-number-keyboard-key-border-radius, 8px) !default;
|
|
948
1274
|
$-number-keyboard-delete-font-size: var(--wot-number-keyboard-delete-font-size, 16px) !default;
|
|
949
|
-
$-number-keyboard-key-active-color: var(
|
|
950
|
-
|
|
951
|
-
$-
|
|
952
|
-
|
|
953
|
-
$-number-keyboard-button-
|
|
954
|
-
|
|
955
|
-
$-
|
|
956
|
-
|
|
1275
|
+
$-number-keyboard-key-active-color: var(
|
|
1276
|
+
--wot-number-keyboard-key-active-color,
|
|
1277
|
+
$-color-gray-3
|
|
1278
|
+
) !default;
|
|
1279
|
+
$-number-keyboard-button-text-color: var(
|
|
1280
|
+
--wot-number-keyboard-button-text-color,
|
|
1281
|
+
$-color-white
|
|
1282
|
+
) !default;
|
|
1283
|
+
$-number-keyboard-button-background: var(
|
|
1284
|
+
--wot-number-keyboard--button-background,
|
|
1285
|
+
$-color-theme
|
|
1286
|
+
) !default;
|
|
1287
|
+
$-number-keyboard-button-active-opacity: var(
|
|
1288
|
+
--wot-number-keyboard-button-active-opacity,
|
|
1289
|
+
0.6
|
|
1290
|
+
) !default;
|
|
957
1291
|
$-number-keyboard-background: var(--wot-number-keyboard-background, $-color-gray-2) !default;
|
|
958
1292
|
$-number-keyboard-title-height: var(--wot-number-keyboard-title-height, 34px) !default;
|
|
959
1293
|
$-number-keyboard-title-color: var(--wot-number-keyboard-title-color, $-color-gray-7) !default;
|
|
@@ -981,10 +1315,14 @@ $-password-input-cursor-height: var(--wot-password-input-cursor-height, 40%);
|
|
|
981
1315
|
$-password-input-cursor-duration: var(--wot-password-input-cursor-duration, 1s);
|
|
982
1316
|
/* form-item */
|
|
983
1317
|
$-form-item-error-message-color: var(--wot-form-item-error-message-color, $-color-danger) !default;
|
|
984
|
-
$-form-item-error-message-font-size: var(
|
|
985
|
-
|
|
986
|
-
$-
|
|
987
|
-
|
|
1318
|
+
$-form-item-error-message-font-size: var(
|
|
1319
|
+
--wot-form-item-error-message-font-size,
|
|
1320
|
+
$-fs-secondary
|
|
1321
|
+
) !default;
|
|
1322
|
+
$-form-item-error-message-line-height: var(
|
|
1323
|
+
--wot-form-item-error-message-line-height,
|
|
1324
|
+
24px
|
|
1325
|
+
) !default;
|
|
988
1326
|
/* backtop */
|
|
989
1327
|
$-backtop-bg: var(--wot-backtop-bg, #e1e1e1) !default;
|
|
990
1328
|
$-backtop-icon-size: var(--wot-backtop-icon-size, 20px) !default;
|
|
@@ -999,8 +1337,10 @@ $-text-success-color: var(--wot-text-success-color, $-color-success) !default;
|
|
|
999
1337
|
/* video-preview */
|
|
1000
1338
|
$-video-preview-bg: var(--wot-video-preview-bg, rgba(0, 0, 0, 0.8)) !default; // 背景色
|
|
1001
1339
|
$-video-preview-close-color: var(--wot-video-preview-close-color, #fff) !default; // 图标颜色
|
|
1002
|
-
$-video-preview-close-font-size: var(
|
|
1003
|
-
|
|
1340
|
+
$-video-preview-close-font-size: var(
|
|
1341
|
+
--wot-video-preview-close-font-size,
|
|
1342
|
+
20px
|
|
1343
|
+
) !default; // 图标大小
|
|
1004
1344
|
/* img-cropper */
|
|
1005
1345
|
$-img-cropper-icon-size: var(--wot-img-cropper-icon-size, $-fs-big) !default; // 图标大小
|
|
1006
|
-
$-img-cropper-icon-color: var(--wot-img-cropper-icon-color, #fff) !default; // 图标颜色
|
|
1346
|
+
$-img-cropper-icon-color: var(--wot-img-cropper-icon-color, #fff) !default; // 图标颜色
|