vdesign-ui 0.2.12 → 0.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +78 -78
- package/dist/components/actionbar/index.js +8 -8
- package/dist/components/actionbar/index.vue +39 -39
- package/dist/components/actionbar/style.less +44 -44
- package/dist/components/actionbar-cell/index.js +7 -7
- package/dist/components/actionbar-cell/index.vue +38 -38
- package/dist/components/actions/index.js +6 -6
- package/dist/components/actions/index.vue +77 -76
- package/dist/components/actions/style.less +109 -109
- package/dist/components/actions-cell/index.js +6 -6
- package/dist/components/actions-cell/index.vue +94 -94
- package/dist/components/actions-cell/style.less +38 -38
- package/dist/components/activityviews/index.js +8 -8
- package/dist/components/activityviews/index.vue +192 -192
- package/dist/components/activityviews/style.less +151 -151
- package/dist/components/badge/index.js +8 -8
- package/dist/components/badge/index.vue +49 -49
- package/dist/components/badge/style.less +54 -54
- package/dist/components/button/index.js +8 -8
- package/dist/components/button/index.vue +93 -93
- package/dist/components/button/style.less +558 -558
- package/dist/components/calendar/index-element.vue +84 -84
- package/dist/components/calendar/index.js +7 -7
- package/dist/components/calendar/index.vue +52 -52
- package/dist/components/calendar/style.less +138 -138
- package/dist/components/checkbox/index.js +8 -8
- package/dist/components/checkbox/index.vue +161 -161
- package/dist/components/checkbox/style.less +288 -288
- package/dist/components/checkbox-group/index.js +7 -7
- package/dist/components/checkbox-group/index.vue +69 -69
- package/dist/components/common/state/index.vue +33 -33
- package/dist/components/common/state/style.less +47 -47
- package/dist/components/data-list/index.js +10 -10
- package/dist/components/data-list/index.vue +19 -19
- package/dist/components/data-list/style.less +623 -623
- package/dist/components/datetime-picker/index.js +7 -7
- package/dist/components/datetime-picker/index.vue +37 -37
- package/dist/components/datetime-picker/style.less +23 -23
- package/dist/components/dialog/index.js +8 -8
- package/dist/components/dialog/index.vue +164 -164
- package/dist/components/dialog/overlay-manager.js +18 -18
- package/dist/components/dialog/style.less +138 -138
- package/dist/components/divider/index.js +8 -8
- package/dist/components/divider/index.vue +54 -54
- package/dist/components/divider/style.less +92 -92
- package/dist/components/dropdown/index.js +8 -8
- package/dist/components/dropdown/index.vue +218 -218
- package/dist/components/dropdown/style.less +432 -432
- package/dist/components/empty/index.js +8 -8
- package/dist/components/empty/index.vue +138 -138
- package/dist/components/empty/style.less +60 -60
- package/dist/components/footer/index.js +6 -6
- package/dist/components/footer/index.vue +33 -33
- package/dist/components/footer/style.less +20 -20
- package/dist/components/footnav/index.js +6 -6
- package/dist/components/footnav/index.vue +93 -93
- package/dist/components/footnav/style.less +22 -22
- package/dist/components/footnav-item/index.js +6 -6
- package/dist/components/footnav-item/index.vue +50 -50
- package/dist/components/footnav-item/style.less +39 -39
- package/dist/components/form/index.js +6 -6
- package/dist/components/form/index.vue +12 -12
- package/dist/components/headnav/index.js +6 -6
- package/dist/components/headnav/index.vue +185 -185
- package/dist/components/headnav/style.less +231 -231
- package/dist/components/icon/font/iconfont.css +163 -163
- package/dist/components/icon/font/iconfont.js +5 -5
- package/dist/components/icon/index.js +9 -9
- package/dist/components/icon/index.vue +96 -96
- package/dist/components/icon/style.less +44 -44
- package/dist/components/input/calcTextareaHeight.js +162 -162
- package/dist/components/input/index.js +8 -8
- package/dist/components/input/index.vue +345 -345
- package/dist/components/input/style.less +470 -470
- package/dist/components/list/index.js +8 -8
- package/dist/components/list/index.vue +152 -152
- package/dist/components/list/style.less +213 -213
- package/dist/components/loading/index.js +6 -6
- package/dist/components/loading/index.vue +68 -68
- package/dist/components/loading/style.less +53 -53
- package/dist/components/mixins/clickoutside.js +81 -81
- package/dist/components/mixins/dom.js +41 -41
- package/dist/components/mixins/languageMixin.js +41 -41
- package/dist/components/mixins/outlineConfigPlugin.js +45 -45
- package/dist/components/mixins/router-link.js +22 -22
- package/dist/components/mixins/themeMixin.js +43 -43
- package/dist/components/noticebar/index.js +8 -8
- package/dist/components/noticebar/index.vue +258 -258
- package/dist/components/noticebar/style.less +328 -328
- package/dist/components/overlay/index.js +8 -8
- package/dist/components/overlay/index.vue +184 -184
- package/dist/components/overlay/style.less +23 -23
- package/dist/components/pagebreak/index.js +6 -6
- package/dist/components/pagebreak/index.vue +67 -67
- package/dist/components/pagebreak/style.less +41 -41
- package/dist/components/password/index.js +8 -8
- package/dist/components/password/index.vue +60 -60
- package/dist/components/popover/index.js +8 -8
- package/dist/components/popover/index.vue +100 -100
- package/dist/components/popover/style.less +346 -346
- package/dist/components/popover/vue-popover.vue +314 -314
- package/dist/components/popup/index.js +7 -7
- package/dist/components/popup/index.vue +243 -243
- package/dist/components/radio/index.js +8 -8
- package/dist/components/radio/index.vue +184 -184
- package/dist/components/radio/style.less +293 -293
- package/dist/components/radio-group/index.js +6 -6
- package/dist/components/radio-group/index.vue +58 -58
- package/dist/components/result/index.js +8 -8
- package/dist/components/result/index.vue +73 -73
- package/dist/components/result/style.less +43 -43
- package/dist/components/search/index.js +8 -8
- package/dist/components/search/index.vue +66 -66
- package/dist/components/selector/index.js +8 -8
- package/dist/components/selector/index.vue +161 -161
- package/dist/components/selector/style.less +484 -484
- package/dist/components/skeleton/index.js +6 -6
- package/dist/components/skeleton/index.vue +207 -207
- package/dist/components/skeleton/style.less +196 -196
- package/dist/components/slider/draggable.js +49 -49
- package/dist/components/slider/index.js +6 -6
- package/dist/components/slider/index.vue +167 -167
- package/dist/components/slider/style.less +99 -99
- package/dist/components/slider/utils.js +59 -59
- package/dist/components/step/index.js +7 -7
- package/dist/components/step/index.vue +48 -48
- package/dist/components/step/style.less +66 -58
- package/dist/components/step-item/index.js +7 -7
- package/dist/components/step-item/index.vue +126 -126
- package/dist/components/step-item/style.less +399 -362
- package/dist/components/stepper/index.js +8 -8
- package/dist/components/stepper/index.vue +146 -146
- package/dist/components/style/index.vue +42 -42
- package/dist/components/switch/index.js +8 -8
- package/dist/components/switch/index.vue +72 -72
- package/dist/components/switch/style.less +56 -56
- package/dist/components/tab/index.js +7 -7
- package/dist/components/tab/index.vue +94 -94
- package/dist/components/tabs/index.js +8 -8
- package/dist/components/tabs/index.vue +292 -281
- package/dist/components/tabs/style.less +408 -408
- package/dist/components/tag/index.js +6 -6
- package/dist/components/tag/index.vue +64 -64
- package/dist/components/tag/style.less +210 -210
- package/dist/components/title/index.js +8 -8
- package/dist/components/title/index.vue +99 -99
- package/dist/components/title/style.less +187 -187
- package/dist/components/toast/index.js +97 -97
- package/dist/components/toast/index.vue +49 -49
- package/dist/components/toast/style.less +57 -57
- package/dist/components/transition/index.js +8 -8
- package/dist/components/transition/index.vue +13 -13
- package/dist/components/transition/style.less +208 -208
- package/dist/components/upload/index.js +6 -6
- package/dist/components/upload/index.vue +106 -106
- package/dist/components/upload/style.less +147 -147
- package/dist/components/utils/assist.js +34 -34
- package/dist/components/utils/env.js +21 -21
- package/dist/locale/ar.js +97 -97
- package/dist/locale/en.js +97 -97
- package/dist/locale/zh.js +97 -97
- package/dist/token.css +23 -17
- package/dist/vdesign-ui.common.js +141 -129
- package/dist/vdesign-ui.css +1 -1
- package/dist/vdesign-ui.umd.js +141 -129
- package/dist/vdesign-ui.umd.min.js +2 -2
- package/package.json +113 -113
|
@@ -1,432 +1,432 @@
|
|
|
1
|
-
.vd-menu-mask {
|
|
2
|
-
position: fixed;
|
|
3
|
-
z-index: 999;
|
|
4
|
-
top: 0;
|
|
5
|
-
right: 0;
|
|
6
|
-
left: 0;
|
|
7
|
-
bottom: 0;
|
|
8
|
-
background-color: rgba(0, 0, 0, 0);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
@dropdown-prefix-cls: vd-dropdown;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
.@{dropdown-prefix-cls} {
|
|
16
|
-
--translate-x: -50%;
|
|
17
|
-
|
|
18
|
-
position: relative;
|
|
19
|
-
font-size: var(--en-single-f-c-r-fontSize);
|
|
20
|
-
|
|
21
|
-
// 额外加的 btn,token之外的
|
|
22
|
-
&--btn {
|
|
23
|
-
display: flex;
|
|
24
|
-
align-items: center;
|
|
25
|
-
flex-wrap: nowrap;
|
|
26
|
-
flex-direction: row;
|
|
27
|
-
justify-content: space-between;
|
|
28
|
-
padding: 10px 0;
|
|
29
|
-
gap: 10px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&-menu {
|
|
33
|
-
z-index: 1000;
|
|
34
|
-
background: #fff;
|
|
35
|
-
transform-origin: top center;
|
|
36
|
-
position: absolute;
|
|
37
|
-
transition: transform 0.25s ease, opacity 0.25s ease;
|
|
38
|
-
inset-block-start: 100%;
|
|
39
|
-
// 默认 center
|
|
40
|
-
inset-inline-start: 50%;
|
|
41
|
-
transform: translate(var(--translate-x), 2px);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&-start {
|
|
45
|
-
.@{dropdown-prefix-cls}-menu {
|
|
46
|
-
inset-inline-start: 0;
|
|
47
|
-
transform: translate(0, 2px);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&-end {
|
|
52
|
-
.@{dropdown-prefix-cls}-menu {
|
|
53
|
-
inset-inline-start: inherit;
|
|
54
|
-
inset-inline-end: 0;
|
|
55
|
-
transform: translate(0, 2px);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&-center {
|
|
60
|
-
.@{dropdown-prefix-cls}-menu {
|
|
61
|
-
inset-inline-start: 50%;
|
|
62
|
-
transform: translate(var(--translate-x), 2px);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&-primary {
|
|
67
|
-
.@{dropdown-prefix-cls}-menu {
|
|
68
|
-
display: inline-block;
|
|
69
|
-
overflow-y: auto;
|
|
70
|
-
min-width: var(--width-dropdown-primary_small);
|
|
71
|
-
max-height: var(--height-dropdown-primary_large);
|
|
72
|
-
background-color: var(--color-dropdown-bg-default);
|
|
73
|
-
padding-block-start: var(--spacing-dropdown-primary-padding_x);
|
|
74
|
-
padding-block-end: var(--spacing-dropdown-primary-padding_x);
|
|
75
|
-
padding-inline-start: var(--spacing-dropdown-primary-padding_y);
|
|
76
|
-
padding-inline-end: var(--spacing-dropdown-primary-padding_y);
|
|
77
|
-
box-shadow: var(--shadow-s2);
|
|
78
|
-
border-radius: var(--radius-dropdown-primary);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.@{dropdown-prefix-cls}-item {
|
|
82
|
-
position: relative;
|
|
83
|
-
display: flex;
|
|
84
|
-
justify-content: space-between;
|
|
85
|
-
align-items: center;
|
|
86
|
-
height: var(--height-dropdown-primary_item);
|
|
87
|
-
line-height: var(--height-dropdown-primary_item);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.@{dropdown-prefix-cls} {
|
|
91
|
-
&-left {
|
|
92
|
-
display: flex;
|
|
93
|
-
align-items: center;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
&-text {
|
|
97
|
-
white-space: nowrap;
|
|
98
|
-
color: var(--color-dropdown-primary-text-default);
|
|
99
|
-
font-size: var(--en-single-f-c-r-fontSize);
|
|
100
|
-
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
&-icon {
|
|
104
|
-
font-size: var(--icon-dropdown-primary);
|
|
105
|
-
margin-inline-end: var(--spacing-dropdown-primary_icon-margin_right);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
&-active-select {
|
|
109
|
-
font-size: var(--icon-dropdown-primary_select);
|
|
110
|
-
margin-inline-start: var(--spacing-dropdown-primary_icon_select-margin_left);
|
|
111
|
-
transform: scaleX(1) !important;
|
|
112
|
-
direction: ltr;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.@{dropdown-prefix-cls}--active {
|
|
117
|
-
.@{dropdown-prefix-cls}-text {
|
|
118
|
-
color: var(--color-dropdown-primary-text-active);
|
|
119
|
-
font-size: var(--en-single-f-c-s-fontSize);
|
|
120
|
-
font-weight: var(--en-single-f-c-s-fontWeight);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.@{dropdown-prefix-cls}--disabled {
|
|
125
|
-
pointer-events: none;
|
|
126
|
-
cursor: not-allowed;
|
|
127
|
-
|
|
128
|
-
.@{dropdown-prefix-cls}-text {
|
|
129
|
-
color: var(--color-dropdown-primary-text-disable);
|
|
130
|
-
font-size: var(--en-single-f-c-r-fontSize);
|
|
131
|
-
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.@{dropdown-prefix-cls}-icon {
|
|
135
|
-
opacity: var(--opacity-30);
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
&-secondary {
|
|
141
|
-
.@{dropdown-prefix-cls}-menu {
|
|
142
|
-
display: inline-block;
|
|
143
|
-
overflow-y: auto;
|
|
144
|
-
max-height: var(--height-dropdown-secondary_large);
|
|
145
|
-
background-color: var(--color-dropdown-bg-default);
|
|
146
|
-
padding-block-start: var(--spacing-dropdown-secondary-padding_x);
|
|
147
|
-
padding-block-end: var(--spacing-dropdown-secondary-padding_x);
|
|
148
|
-
padding-inline-start: var(--spacing-dropdown-secondary-padding_y);
|
|
149
|
-
padding-inline-end: var(--spacing-dropdown-secondary-padding_y);
|
|
150
|
-
box-shadow: var(--shadow-s2);
|
|
151
|
-
border-radius: var(--radius-dropdown-secondary);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.@{dropdown-prefix-cls}-item {
|
|
155
|
-
position: relative;
|
|
156
|
-
display: flex;
|
|
157
|
-
justify-content: space-between;
|
|
158
|
-
align-items: center;
|
|
159
|
-
height: var(--height-dropdown-secondary_item);
|
|
160
|
-
line-height: var(--height-dropdown-secondary_item);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.@{dropdown-prefix-cls} {
|
|
164
|
-
&-left {
|
|
165
|
-
display: flex;
|
|
166
|
-
align-items: center;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
&-text {
|
|
170
|
-
white-space: nowrap;
|
|
171
|
-
color: var(--color-dropdown-secondary-text-default);
|
|
172
|
-
font-size: var(--en-single-f-c-r-fontSize);
|
|
173
|
-
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
&-icon {
|
|
177
|
-
font-size: var(--icon-dropdown-secondary);
|
|
178
|
-
margin-inline-end: var(--spacing-dropdown-secondary_icon-margin_right);
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.@{dropdown-prefix-cls}--active {
|
|
183
|
-
.@{dropdown-prefix-cls}-text {
|
|
184
|
-
color: var(--color-dropdown-secondary-text-active);
|
|
185
|
-
font-size: var(--en-single-f-c-s-fontSize);
|
|
186
|
-
font-weight: var(--en-single-f-c-s-fontWeight);
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.@{dropdown-prefix-cls}--disabled {
|
|
191
|
-
pointer-events: none;
|
|
192
|
-
cursor: not-allowed;
|
|
193
|
-
|
|
194
|
-
.@{dropdown-prefix-cls}-text {
|
|
195
|
-
color: var(--color-dropdown-secondary-text-disable);
|
|
196
|
-
font-size: var(--en-single-f-c-r-fontSize);
|
|
197
|
-
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.@{dropdown-prefix-cls}-icon {
|
|
201
|
-
opacity: var(--opacity-30);
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
&-state {
|
|
207
|
-
.@{dropdown-prefix-cls}-menu {
|
|
208
|
-
overflow-y: auto;
|
|
209
|
-
min-width: var(--width-dropdown-state_small);
|
|
210
|
-
max-height: var(--height-dropdown-state_large);
|
|
211
|
-
background-color: var(--color-dropdown-bg-default);
|
|
212
|
-
padding-block-start: var(--spacing-dropdown-state-padding_x);
|
|
213
|
-
padding-block-end: var(--spacing-dropdown-state-padding_x);
|
|
214
|
-
padding-inline-start: var(--spacing-dropdown-state-padding_y);
|
|
215
|
-
padding-inline-end: var(--spacing-dropdown-state-padding_y);
|
|
216
|
-
box-shadow: var(--shadow-s2);
|
|
217
|
-
border-radius: var(--radius-dropdown-state);
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
.@{dropdown-prefix-cls}-item {
|
|
221
|
-
position: relative;
|
|
222
|
-
display: flex;
|
|
223
|
-
justify-content: space-between;
|
|
224
|
-
align-items: center;
|
|
225
|
-
height: var(--height-dropdown-state_item);
|
|
226
|
-
line-height: var(--height-dropdown-state_item);
|
|
227
|
-
padding-inline-start: var(--spacing-dropdown-state_item-padding_y);
|
|
228
|
-
padding-inline-end: var(--spacing-dropdown-state_item-padding_y);
|
|
229
|
-
border-radius: var(--radius-dropdown-state_item);
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
.@{dropdown-prefix-cls} {
|
|
233
|
-
&-left {
|
|
234
|
-
display: flex;
|
|
235
|
-
align-items: center;
|
|
236
|
-
flex: 1;
|
|
237
|
-
overflow: hidden;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
&-text {
|
|
241
|
-
text-overflow: ellipsis;
|
|
242
|
-
overflow: hidden;
|
|
243
|
-
white-space: nowrap;
|
|
244
|
-
color: var(--color-dropdown-state-text-default);
|
|
245
|
-
font-size: var(--en-single-f-c-r-fontSize);
|
|
246
|
-
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
&-icon {
|
|
250
|
-
font-size: var(--icon-dropdown-state);
|
|
251
|
-
margin-inline-end: var(--spacing-dropdown-state_icon-margin_right);
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
&-state-text {
|
|
255
|
-
font-size: var(--en-single-f-b-r-fontSize);
|
|
256
|
-
font-weight: var(--en-single-f-b-r-fontWeight);
|
|
257
|
-
|
|
258
|
-
&::before {
|
|
259
|
-
content: '';
|
|
260
|
-
display: inline-block;
|
|
261
|
-
border-radius: 50%;
|
|
262
|
-
width: var(--width-dropdown-state_drop);
|
|
263
|
-
height: var(--width-dropdown-state_drop);
|
|
264
|
-
margin-inline-start: var(--spacing-dropdown-state_drop-margin_left);
|
|
265
|
-
margin-inline-end: var(--spacing-dropdown-state_drop-margin_right);
|
|
266
|
-
background-color: var(--color-dropdown-state-open);
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
&--open {
|
|
270
|
-
color: var(--color-dropdown-state-open);
|
|
271
|
-
|
|
272
|
-
&::before {
|
|
273
|
-
background-color: var(--color-dropdown-state-open);
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
&--preopen {
|
|
278
|
-
color: var(--color-dropdown-state-preopen);
|
|
279
|
-
|
|
280
|
-
&::before {
|
|
281
|
-
background-color: var(--color-dropdown-state-preopen);
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
&--close {
|
|
286
|
-
color: var(--color-dropdown-state-close);
|
|
287
|
-
|
|
288
|
-
&::before {
|
|
289
|
-
background-color: var(--text-color-h3);
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
&--fusing {
|
|
294
|
-
color: var(--color-dropdown-state-fusing);
|
|
295
|
-
|
|
296
|
-
&::before {
|
|
297
|
-
background-color: var(--color-dropdown-state-fusing);
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
&--pre {
|
|
302
|
-
color: var(--color-dropdown-state-pre_market_auction);
|
|
303
|
-
|
|
304
|
-
&::before {
|
|
305
|
-
background-color: var(--color-dropdown-state-pre_market_auction);
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
&--last {
|
|
310
|
-
color: var(--color-dropdown-state-last_trading_session);
|
|
311
|
-
|
|
312
|
-
&::before {
|
|
313
|
-
background-color: var(--color-dropdown-state-last_trading_session);
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
.@{dropdown-prefix-cls}--active {
|
|
320
|
-
background: var(--color-dropdown-state-bg-active);
|
|
321
|
-
|
|
322
|
-
.@{dropdown-prefix-cls}-text {
|
|
323
|
-
color: var(--color-dropdown-state-text-active);
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
.@{dropdown-prefix-cls}--disabled {
|
|
328
|
-
pointer-events: none;
|
|
329
|
-
cursor: not-allowed;
|
|
330
|
-
|
|
331
|
-
.@{dropdown-prefix-cls}-text {
|
|
332
|
-
font-size: var(--en-single-f-c-r-fontSize);
|
|
333
|
-
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
.@{dropdown-prefix-cls}-icon {
|
|
337
|
-
opacity: var(--opacity-30);
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
&-group {
|
|
343
|
-
.@{dropdown-prefix-cls}-menu {
|
|
344
|
-
overflow-y: auto;
|
|
345
|
-
min-width: var(--width-dropdown-group_default);
|
|
346
|
-
max-height: var(--height-dropdown-group_large);
|
|
347
|
-
background-color: var(--color-dropdown-bg-default);
|
|
348
|
-
padding-block-start: var(--spacing-dropdown-group-padding_x);
|
|
349
|
-
padding-block-end: var(--spacing-dropdown-group-padding_x);
|
|
350
|
-
padding-inline-start: var(--spacing-dropdown-group-padding_y);
|
|
351
|
-
padding-inline-end: var(--spacing-dropdown-group-padding_y);
|
|
352
|
-
box-shadow: var(--shadow-s2);
|
|
353
|
-
border-radius: var(--radius-dropdown-group);
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
.@{dropdown-prefix-cls}-item {
|
|
357
|
-
position: relative;
|
|
358
|
-
display: flex;
|
|
359
|
-
justify-content: space-between;
|
|
360
|
-
align-items: center;
|
|
361
|
-
padding-block-start: var(--spacing-dropdown-group_item-padding_top);
|
|
362
|
-
padding-block-end: var(--spacing-dropdown-group_item-padding_bottom);
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
.@{dropdown-prefix-cls} {
|
|
366
|
-
&-left {
|
|
367
|
-
display: flex;
|
|
368
|
-
align-items: center;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
&-group-cell {
|
|
372
|
-
display: flex;
|
|
373
|
-
flex-direction: column;
|
|
374
|
-
color: var(--color-dropdown-state-text-default);
|
|
375
|
-
font-size: var(--en-single-f-c-r-fontSize);
|
|
376
|
-
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
&-text {
|
|
380
|
-
color: var(--color-dropdown-group-title-default);
|
|
381
|
-
font-size: var(--en-single-f-c-r-fontSize);
|
|
382
|
-
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
&-group-sub {
|
|
386
|
-
display: flex;
|
|
387
|
-
align-items: center;
|
|
388
|
-
margin-block-start: var(--spacing-dropdown-group_text-margin_bottom);
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
&-sub-icon {
|
|
392
|
-
font-size: var(--icon-dropdown-group);
|
|
393
|
-
margin-inline-end: 6px;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
&-subtext {
|
|
397
|
-
color: var(--color-dropdown-group-text-default);
|
|
398
|
-
font-size: var(--en-single-f-c-s-fontSize);
|
|
399
|
-
font-weight: var(--en-single-f-c-s-fontWeight);
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
&-multext {
|
|
403
|
-
margin-block-start: var(--spacing-dropdown-group_text-margin_bottom);
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
&--divided {
|
|
409
|
-
.@{dropdown-prefix-cls}-item {
|
|
410
|
-
&:not(:last-child)::after {
|
|
411
|
-
position: absolute;
|
|
412
|
-
box-sizing: border-box;
|
|
413
|
-
content: ' ';
|
|
414
|
-
pointer-events: none;
|
|
415
|
-
top: -50%;
|
|
416
|
-
right: -50%;
|
|
417
|
-
bottom: -50%;
|
|
418
|
-
left: -50%;
|
|
419
|
-
border: 0 solid var(--color-dropdown-divider);
|
|
420
|
-
-webkit-transform: scale(0.5);
|
|
421
|
-
transform: scale(0.5);
|
|
422
|
-
border-bottom-width: 1px;
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
[dir="rtl"] .@{dropdown-prefix-cls} {
|
|
431
|
-
--translate-x: 50%;
|
|
432
|
-
}
|
|
1
|
+
.vd-menu-mask {
|
|
2
|
+
position: fixed;
|
|
3
|
+
z-index: 999;
|
|
4
|
+
top: 0;
|
|
5
|
+
right: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
bottom: 0;
|
|
8
|
+
background-color: rgba(0, 0, 0, 0);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
@dropdown-prefix-cls: vd-dropdown;
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
.@{dropdown-prefix-cls} {
|
|
16
|
+
--translate-x: -50%;
|
|
17
|
+
|
|
18
|
+
position: relative;
|
|
19
|
+
font-size: var(--en-single-f-c-r-fontSize);
|
|
20
|
+
|
|
21
|
+
// 额外加的 btn,token之外的
|
|
22
|
+
&--btn {
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
flex-wrap: nowrap;
|
|
26
|
+
flex-direction: row;
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
padding: 10px 0;
|
|
29
|
+
gap: 10px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&-menu {
|
|
33
|
+
z-index: 1000;
|
|
34
|
+
background: #fff;
|
|
35
|
+
transform-origin: top center;
|
|
36
|
+
position: absolute;
|
|
37
|
+
transition: transform 0.25s ease, opacity 0.25s ease;
|
|
38
|
+
inset-block-start: 100%;
|
|
39
|
+
// 默认 center
|
|
40
|
+
inset-inline-start: 50%;
|
|
41
|
+
transform: translate(var(--translate-x), 2px);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&-start {
|
|
45
|
+
.@{dropdown-prefix-cls}-menu {
|
|
46
|
+
inset-inline-start: 0;
|
|
47
|
+
transform: translate(0, 2px);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&-end {
|
|
52
|
+
.@{dropdown-prefix-cls}-menu {
|
|
53
|
+
inset-inline-start: inherit;
|
|
54
|
+
inset-inline-end: 0;
|
|
55
|
+
transform: translate(0, 2px);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&-center {
|
|
60
|
+
.@{dropdown-prefix-cls}-menu {
|
|
61
|
+
inset-inline-start: 50%;
|
|
62
|
+
transform: translate(var(--translate-x), 2px);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&-primary {
|
|
67
|
+
.@{dropdown-prefix-cls}-menu {
|
|
68
|
+
display: inline-block;
|
|
69
|
+
overflow-y: auto;
|
|
70
|
+
min-width: var(--width-dropdown-primary_small);
|
|
71
|
+
max-height: var(--height-dropdown-primary_large);
|
|
72
|
+
background-color: var(--color-dropdown-bg-default);
|
|
73
|
+
padding-block-start: var(--spacing-dropdown-primary-padding_x);
|
|
74
|
+
padding-block-end: var(--spacing-dropdown-primary-padding_x);
|
|
75
|
+
padding-inline-start: var(--spacing-dropdown-primary-padding_y);
|
|
76
|
+
padding-inline-end: var(--spacing-dropdown-primary-padding_y);
|
|
77
|
+
box-shadow: var(--shadow-s2);
|
|
78
|
+
border-radius: var(--radius-dropdown-primary);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.@{dropdown-prefix-cls}-item {
|
|
82
|
+
position: relative;
|
|
83
|
+
display: flex;
|
|
84
|
+
justify-content: space-between;
|
|
85
|
+
align-items: center;
|
|
86
|
+
height: var(--height-dropdown-primary_item);
|
|
87
|
+
line-height: var(--height-dropdown-primary_item);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.@{dropdown-prefix-cls} {
|
|
91
|
+
&-left {
|
|
92
|
+
display: flex;
|
|
93
|
+
align-items: center;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&-text {
|
|
97
|
+
white-space: nowrap;
|
|
98
|
+
color: var(--color-dropdown-primary-text-default);
|
|
99
|
+
font-size: var(--en-single-f-c-r-fontSize);
|
|
100
|
+
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&-icon {
|
|
104
|
+
font-size: var(--icon-dropdown-primary);
|
|
105
|
+
margin-inline-end: var(--spacing-dropdown-primary_icon-margin_right);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&-active-select {
|
|
109
|
+
font-size: var(--icon-dropdown-primary_select);
|
|
110
|
+
margin-inline-start: var(--spacing-dropdown-primary_icon_select-margin_left);
|
|
111
|
+
transform: scaleX(1) !important;
|
|
112
|
+
direction: ltr;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.@{dropdown-prefix-cls}--active {
|
|
117
|
+
.@{dropdown-prefix-cls}-text {
|
|
118
|
+
color: var(--color-dropdown-primary-text-active);
|
|
119
|
+
font-size: var(--en-single-f-c-s-fontSize);
|
|
120
|
+
font-weight: var(--en-single-f-c-s-fontWeight);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.@{dropdown-prefix-cls}--disabled {
|
|
125
|
+
pointer-events: none;
|
|
126
|
+
cursor: not-allowed;
|
|
127
|
+
|
|
128
|
+
.@{dropdown-prefix-cls}-text {
|
|
129
|
+
color: var(--color-dropdown-primary-text-disable);
|
|
130
|
+
font-size: var(--en-single-f-c-r-fontSize);
|
|
131
|
+
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.@{dropdown-prefix-cls}-icon {
|
|
135
|
+
opacity: var(--opacity-30);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
&-secondary {
|
|
141
|
+
.@{dropdown-prefix-cls}-menu {
|
|
142
|
+
display: inline-block;
|
|
143
|
+
overflow-y: auto;
|
|
144
|
+
max-height: var(--height-dropdown-secondary_large);
|
|
145
|
+
background-color: var(--color-dropdown-bg-default);
|
|
146
|
+
padding-block-start: var(--spacing-dropdown-secondary-padding_x);
|
|
147
|
+
padding-block-end: var(--spacing-dropdown-secondary-padding_x);
|
|
148
|
+
padding-inline-start: var(--spacing-dropdown-secondary-padding_y);
|
|
149
|
+
padding-inline-end: var(--spacing-dropdown-secondary-padding_y);
|
|
150
|
+
box-shadow: var(--shadow-s2);
|
|
151
|
+
border-radius: var(--radius-dropdown-secondary);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.@{dropdown-prefix-cls}-item {
|
|
155
|
+
position: relative;
|
|
156
|
+
display: flex;
|
|
157
|
+
justify-content: space-between;
|
|
158
|
+
align-items: center;
|
|
159
|
+
height: var(--height-dropdown-secondary_item);
|
|
160
|
+
line-height: var(--height-dropdown-secondary_item);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.@{dropdown-prefix-cls} {
|
|
164
|
+
&-left {
|
|
165
|
+
display: flex;
|
|
166
|
+
align-items: center;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&-text {
|
|
170
|
+
white-space: nowrap;
|
|
171
|
+
color: var(--color-dropdown-secondary-text-default);
|
|
172
|
+
font-size: var(--en-single-f-c-r-fontSize);
|
|
173
|
+
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
&-icon {
|
|
177
|
+
font-size: var(--icon-dropdown-secondary);
|
|
178
|
+
margin-inline-end: var(--spacing-dropdown-secondary_icon-margin_right);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.@{dropdown-prefix-cls}--active {
|
|
183
|
+
.@{dropdown-prefix-cls}-text {
|
|
184
|
+
color: var(--color-dropdown-secondary-text-active);
|
|
185
|
+
font-size: var(--en-single-f-c-s-fontSize);
|
|
186
|
+
font-weight: var(--en-single-f-c-s-fontWeight);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.@{dropdown-prefix-cls}--disabled {
|
|
191
|
+
pointer-events: none;
|
|
192
|
+
cursor: not-allowed;
|
|
193
|
+
|
|
194
|
+
.@{dropdown-prefix-cls}-text {
|
|
195
|
+
color: var(--color-dropdown-secondary-text-disable);
|
|
196
|
+
font-size: var(--en-single-f-c-r-fontSize);
|
|
197
|
+
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.@{dropdown-prefix-cls}-icon {
|
|
201
|
+
opacity: var(--opacity-30);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
&-state {
|
|
207
|
+
.@{dropdown-prefix-cls}-menu {
|
|
208
|
+
overflow-y: auto;
|
|
209
|
+
min-width: var(--width-dropdown-state_small);
|
|
210
|
+
max-height: var(--height-dropdown-state_large);
|
|
211
|
+
background-color: var(--color-dropdown-bg-default);
|
|
212
|
+
padding-block-start: var(--spacing-dropdown-state-padding_x);
|
|
213
|
+
padding-block-end: var(--spacing-dropdown-state-padding_x);
|
|
214
|
+
padding-inline-start: var(--spacing-dropdown-state-padding_y);
|
|
215
|
+
padding-inline-end: var(--spacing-dropdown-state-padding_y);
|
|
216
|
+
box-shadow: var(--shadow-s2);
|
|
217
|
+
border-radius: var(--radius-dropdown-state);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.@{dropdown-prefix-cls}-item {
|
|
221
|
+
position: relative;
|
|
222
|
+
display: flex;
|
|
223
|
+
justify-content: space-between;
|
|
224
|
+
align-items: center;
|
|
225
|
+
height: var(--height-dropdown-state_item);
|
|
226
|
+
line-height: var(--height-dropdown-state_item);
|
|
227
|
+
padding-inline-start: var(--spacing-dropdown-state_item-padding_y);
|
|
228
|
+
padding-inline-end: var(--spacing-dropdown-state_item-padding_y);
|
|
229
|
+
border-radius: var(--radius-dropdown-state_item);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.@{dropdown-prefix-cls} {
|
|
233
|
+
&-left {
|
|
234
|
+
display: flex;
|
|
235
|
+
align-items: center;
|
|
236
|
+
flex: 1;
|
|
237
|
+
overflow: hidden;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
&-text {
|
|
241
|
+
text-overflow: ellipsis;
|
|
242
|
+
overflow: hidden;
|
|
243
|
+
white-space: nowrap;
|
|
244
|
+
color: var(--color-dropdown-state-text-default);
|
|
245
|
+
font-size: var(--en-single-f-c-r-fontSize);
|
|
246
|
+
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
&-icon {
|
|
250
|
+
font-size: var(--icon-dropdown-state);
|
|
251
|
+
margin-inline-end: var(--spacing-dropdown-state_icon-margin_right);
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
&-state-text {
|
|
255
|
+
font-size: var(--en-single-f-b-r-fontSize);
|
|
256
|
+
font-weight: var(--en-single-f-b-r-fontWeight);
|
|
257
|
+
|
|
258
|
+
&::before {
|
|
259
|
+
content: '';
|
|
260
|
+
display: inline-block;
|
|
261
|
+
border-radius: 50%;
|
|
262
|
+
width: var(--width-dropdown-state_drop);
|
|
263
|
+
height: var(--width-dropdown-state_drop);
|
|
264
|
+
margin-inline-start: var(--spacing-dropdown-state_drop-margin_left);
|
|
265
|
+
margin-inline-end: var(--spacing-dropdown-state_drop-margin_right);
|
|
266
|
+
background-color: var(--color-dropdown-state-open);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
&--open {
|
|
270
|
+
color: var(--color-dropdown-state-open);
|
|
271
|
+
|
|
272
|
+
&::before {
|
|
273
|
+
background-color: var(--color-dropdown-state-open);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
&--preopen {
|
|
278
|
+
color: var(--color-dropdown-state-preopen);
|
|
279
|
+
|
|
280
|
+
&::before {
|
|
281
|
+
background-color: var(--color-dropdown-state-preopen);
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
&--close {
|
|
286
|
+
color: var(--color-dropdown-state-close);
|
|
287
|
+
|
|
288
|
+
&::before {
|
|
289
|
+
background-color: var(--text-color-h3);
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
&--fusing {
|
|
294
|
+
color: var(--color-dropdown-state-fusing);
|
|
295
|
+
|
|
296
|
+
&::before {
|
|
297
|
+
background-color: var(--color-dropdown-state-fusing);
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
&--pre {
|
|
302
|
+
color: var(--color-dropdown-state-pre_market_auction);
|
|
303
|
+
|
|
304
|
+
&::before {
|
|
305
|
+
background-color: var(--color-dropdown-state-pre_market_auction);
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
&--last {
|
|
310
|
+
color: var(--color-dropdown-state-last_trading_session);
|
|
311
|
+
|
|
312
|
+
&::before {
|
|
313
|
+
background-color: var(--color-dropdown-state-last_trading_session);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.@{dropdown-prefix-cls}--active {
|
|
320
|
+
background: var(--color-dropdown-state-bg-active);
|
|
321
|
+
|
|
322
|
+
.@{dropdown-prefix-cls}-text {
|
|
323
|
+
color: var(--color-dropdown-state-text-active);
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.@{dropdown-prefix-cls}--disabled {
|
|
328
|
+
pointer-events: none;
|
|
329
|
+
cursor: not-allowed;
|
|
330
|
+
|
|
331
|
+
.@{dropdown-prefix-cls}-text {
|
|
332
|
+
font-size: var(--en-single-f-c-r-fontSize);
|
|
333
|
+
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.@{dropdown-prefix-cls}-icon {
|
|
337
|
+
opacity: var(--opacity-30);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
&-group {
|
|
343
|
+
.@{dropdown-prefix-cls}-menu {
|
|
344
|
+
overflow-y: auto;
|
|
345
|
+
min-width: var(--width-dropdown-group_default);
|
|
346
|
+
max-height: var(--height-dropdown-group_large);
|
|
347
|
+
background-color: var(--color-dropdown-bg-default);
|
|
348
|
+
padding-block-start: var(--spacing-dropdown-group-padding_x);
|
|
349
|
+
padding-block-end: var(--spacing-dropdown-group-padding_x);
|
|
350
|
+
padding-inline-start: var(--spacing-dropdown-group-padding_y);
|
|
351
|
+
padding-inline-end: var(--spacing-dropdown-group-padding_y);
|
|
352
|
+
box-shadow: var(--shadow-s2);
|
|
353
|
+
border-radius: var(--radius-dropdown-group);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.@{dropdown-prefix-cls}-item {
|
|
357
|
+
position: relative;
|
|
358
|
+
display: flex;
|
|
359
|
+
justify-content: space-between;
|
|
360
|
+
align-items: center;
|
|
361
|
+
padding-block-start: var(--spacing-dropdown-group_item-padding_top);
|
|
362
|
+
padding-block-end: var(--spacing-dropdown-group_item-padding_bottom);
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.@{dropdown-prefix-cls} {
|
|
366
|
+
&-left {
|
|
367
|
+
display: flex;
|
|
368
|
+
align-items: center;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
&-group-cell {
|
|
372
|
+
display: flex;
|
|
373
|
+
flex-direction: column;
|
|
374
|
+
color: var(--color-dropdown-state-text-default);
|
|
375
|
+
font-size: var(--en-single-f-c-r-fontSize);
|
|
376
|
+
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
&-text {
|
|
380
|
+
color: var(--color-dropdown-group-title-default);
|
|
381
|
+
font-size: var(--en-single-f-c-r-fontSize);
|
|
382
|
+
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
&-group-sub {
|
|
386
|
+
display: flex;
|
|
387
|
+
align-items: center;
|
|
388
|
+
margin-block-start: var(--spacing-dropdown-group_text-margin_bottom);
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
&-sub-icon {
|
|
392
|
+
font-size: var(--icon-dropdown-group);
|
|
393
|
+
margin-inline-end: 6px;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
&-subtext {
|
|
397
|
+
color: var(--color-dropdown-group-text-default);
|
|
398
|
+
font-size: var(--en-single-f-c-s-fontSize);
|
|
399
|
+
font-weight: var(--en-single-f-c-s-fontWeight);
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
&-multext {
|
|
403
|
+
margin-block-start: var(--spacing-dropdown-group_text-margin_bottom);
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
&--divided {
|
|
409
|
+
.@{dropdown-prefix-cls}-item {
|
|
410
|
+
&:not(:last-child)::after {
|
|
411
|
+
position: absolute;
|
|
412
|
+
box-sizing: border-box;
|
|
413
|
+
content: ' ';
|
|
414
|
+
pointer-events: none;
|
|
415
|
+
top: -50%;
|
|
416
|
+
right: -50%;
|
|
417
|
+
bottom: -50%;
|
|
418
|
+
left: -50%;
|
|
419
|
+
border: 0 solid var(--color-dropdown-divider);
|
|
420
|
+
-webkit-transform: scale(0.5);
|
|
421
|
+
transform: scale(0.5);
|
|
422
|
+
border-bottom-width: 1px;
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
[dir="rtl"] .@{dropdown-prefix-cls} {
|
|
431
|
+
--translate-x: 50%;
|
|
432
|
+
}
|