bkui-vue 1.0.3-beta.25 → 1.0.3-beta.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +46 -46
- package/dist/index.esm.js +6148 -6162
- package/dist/index.umd.js +46 -46
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.css +1 -1
- package/lib/affix/affix.less +2 -2
- package/lib/affix/affix.variable.css +3 -3
- package/lib/alert/alert.css +21 -21
- package/lib/alert/alert.less +17 -16
- package/lib/alert/alert.variable.css +23 -23
- package/lib/backtop/backtop.css +11 -11
- package/lib/backtop/backtop.less +3 -3
- package/lib/backtop/backtop.variable.css +13 -13
- package/lib/badge/badge.css +32 -32
- package/lib/badge/badge.less +5 -5
- package/lib/badge/badge.variable.css +34 -34
- package/lib/breadcrumb/breadcrumb.css +31 -31
- package/lib/breadcrumb/breadcrumb.less +8 -8
- package/lib/breadcrumb/breadcrumb.variable.css +33 -33
- package/lib/button/button.css +69 -69
- package/lib/button/button.less +3 -5
- package/lib/button/button.variable.css +71 -71
- package/lib/card/card.css +31 -31
- package/lib/card/card.less +4 -4
- package/lib/card/card.variable.css +33 -33
- package/lib/cascader/cascader.css +63 -63
- package/lib/cascader/cascader.less +12 -11
- package/lib/cascader/cascader.variable.css +65 -65
- package/lib/checkbox/checkbox.css +21 -21
- package/lib/checkbox/checkbox.less +8 -8
- package/lib/checkbox/checkbox.variable.css +23 -23
- package/lib/code-diff/code-diff.css +97 -97
- package/lib/code-diff/code-diff.less +3 -4
- package/lib/code-diff/code-diff.variable.css +99 -99
- package/lib/collapse/collapse.css +30 -30
- package/lib/collapse/collapse.less +25 -24
- package/lib/collapse/collapse.variable.css +32 -32
- package/lib/collapse-transition/collapse-transition.css +32 -32
- package/lib/collapse-transition/collapse-transition.less +59 -48
- package/lib/collapse-transition/collapse-transition.variable.css +34 -34
- package/lib/color-picker/color-picker.css +57 -57
- package/lib/color-picker/color-picker.less +36 -30
- package/lib/color-picker/color-picker.variable.css +59 -59
- package/lib/config-provider/config-provider.variable.css +2 -2
- package/lib/container/container.css +19 -19
- package/lib/container/container.less +3 -3
- package/lib/container/container.variable.css +21 -21
- package/lib/date-picker/date-picker.css +92 -92
- package/lib/date-picker/date-picker.d.ts +0 -1
- package/lib/date-picker/date-picker.less +55 -54
- package/lib/date-picker/date-picker.variable.css +94 -94
- package/lib/date-picker/index.d.ts +0 -3
- package/lib/date-picker/index.js +8 -8
- package/lib/date-picker/time-picker.d.ts +0 -1
- package/lib/dialog/dialog.css +51 -51
- package/lib/dialog/dialog.less +1 -1
- package/lib/dialog/dialog.variable.css +53 -53
- package/lib/divider/divider.css +8 -8
- package/lib/divider/divider.less +5 -8
- package/lib/divider/divider.variable.css +10 -10
- package/lib/dropdown/dropdown.css +15 -15
- package/lib/dropdown/dropdown.less +6 -6
- package/lib/dropdown/dropdown.variable.css +17 -17
- package/lib/exception/exception.css +13 -13
- package/lib/exception/exception.less +6 -6
- package/lib/exception/exception.variable.css +15 -15
- package/lib/fixed-navbar/fixed-navbar.css +9 -9
- package/lib/fixed-navbar/fixed-navbar.less +1 -2
- package/lib/fixed-navbar/fixed-navbar.variable.css +11 -11
- package/lib/form/form.css +63 -63
- package/lib/form/form.less +14 -16
- package/lib/form/form.variable.css +65 -65
- package/lib/image/image-viewer.css +23 -23
- package/lib/image/image-viewer.less +24 -25
- package/lib/image/image-viewer.variable.css +25 -25
- package/lib/image/image.css +29 -29
- package/lib/image/image.less +6 -8
- package/lib/image/image.variable.css +31 -31
- package/lib/info-box/info-box.css +10 -10
- package/lib/info-box/info-box.less +1 -2
- package/lib/info-box/info-box.variable.css +12 -12
- package/lib/input/input.css +102 -104
- package/lib/input/input.less +27 -33
- package/lib/input/input.variable.css +104 -106
- package/lib/link/link.css +18 -18
- package/lib/link/link.less +1 -3
- package/lib/link/link.variable.css +20 -20
- package/lib/loading/loading.css +94 -94
- package/lib/loading/loading.less +4 -4
- package/lib/loading/loading.variable.css +96 -96
- package/lib/menu/menu.css +38 -38
- package/lib/menu/menu.less +10 -10
- package/lib/menu/menu.variable.css +40 -40
- package/lib/menu/submenu.css +1 -1
- package/lib/menu/submenu.less +1 -1
- package/lib/menu/submenu.variable.css +3 -3
- package/lib/message/message.css +59 -59
- package/lib/message/message.less +25 -24
- package/lib/message/message.variable.css +61 -61
- package/lib/modal/modal.css +26 -26
- package/lib/modal/modal.less +8 -12
- package/lib/modal/modal.variable.css +28 -28
- package/lib/navigation/navigation.css +25 -25
- package/lib/navigation/navigation.less +9 -9
- package/lib/navigation/navigation.variable.css +27 -27
- package/lib/notify/notify.css +17 -17
- package/lib/notify/notify.less +8 -6
- package/lib/notify/notify.variable.css +19 -19
- package/lib/pagination/pagination.css +60 -60
- package/lib/pagination/pagination.less +24 -25
- package/lib/pagination/pagination.variable.css +62 -62
- package/lib/pop-confirm/pop-confirm.css +10 -10
- package/lib/pop-confirm/pop-confirm.less +14 -11
- package/lib/pop-confirm/pop-confirm.variable.css +12 -12
- package/lib/popover/popover.css +5 -5
- package/lib/popover/popover.less +5 -6
- package/lib/popover/popover.variable.css +7 -7
- package/lib/process/process.css +36 -33
- package/lib/process/process.less +8 -7
- package/lib/process/process.variable.css +38 -35
- package/lib/progress/progress.css +33 -33
- package/lib/progress/progress.less +6 -5
- package/lib/progress/progress.variable.css +35 -35
- package/lib/radio/radio.css +51 -51
- package/lib/radio/radio.less +13 -20
- package/lib/radio/radio.variable.css +53 -53
- package/lib/rate/rate.css +2 -2
- package/lib/rate/rate.less +1 -1
- package/lib/rate/rate.variable.css +4 -4
- package/lib/rate/star.css +7 -7
- package/lib/rate/star.less +1 -1
- package/lib/rate/star.variable.css +9 -9
- package/lib/resize-layout/resize-layout.css +42 -42
- package/lib/resize-layout/resize-layout.less +17 -10
- package/lib/resize-layout/resize-layout.variable.css +44 -44
- package/lib/search-select/search-select.css +15 -15
- package/lib/search-select/search-select.variable.css +17 -17
- package/lib/select/select.css +87 -87
- package/lib/select/select.less +27 -22
- package/lib/select/select.variable.css +89 -89
- package/lib/shared/index.js +6 -4
- package/lib/sideslider/sideslider.css +14 -14
- package/lib/sideslider/sideslider.less +9 -13
- package/lib/sideslider/sideslider.variable.css +16 -16
- package/lib/slider/slider.css +31 -31
- package/lib/slider/slider.less +8 -8
- package/lib/slider/slider.variable.css +33 -33
- package/lib/steps/steps.css +134 -134
- package/lib/steps/steps.less +44 -48
- package/lib/steps/steps.variable.css +136 -136
- package/lib/styles/mixins/animate.css +4 -4
- package/lib/styles/mixins/animate.less +3 -3
- package/lib/styles/mixins/animate.variable.css +6 -6
- package/lib/styles/mixins/mixins.css +15 -15
- package/lib/styles/mixins/mixins.variable.css +15 -15
- package/lib/styles/mixins/popper.css +11 -11
- package/lib/styles/mixins/popper.less +6 -6
- package/lib/styles/mixins/popper.variable.css +13 -13
- package/lib/styles/mixins/scroll.css +5 -5
- package/lib/styles/mixins/scroll.less +4 -4
- package/lib/styles/mixins/scroll.variable.css +7 -7
- package/lib/styles/reset.css +6 -6
- package/lib/styles/reset.less +4 -5
- package/lib/styles/reset.variable.css +8 -8
- package/lib/styles/themes/themes copy.less +167 -0
- package/lib/styles/themes/themes.less +3 -10
- package/lib/swiper/swiper.css +15 -15
- package/lib/swiper/swiper.less +8 -8
- package/lib/swiper/swiper.variable.css +17 -17
- package/lib/switcher/switcher.css +57 -57
- package/lib/switcher/switcher.less +14 -22
- package/lib/switcher/switcher.variable.css +59 -59
- package/lib/tab/tab.css +78 -78
- package/lib/tab/tab.less +40 -39
- package/lib/tab/tab.variable.css +80 -80
- package/lib/table/components/table-column.d.ts +0 -1
- package/lib/table/index.d.ts +0 -1
- package/lib/table/index.js +0 -20
- package/lib/table/plugins/head-filter.css +13 -13
- package/lib/table/plugins/head-filter.less +3 -3
- package/lib/table/plugins/head-filter.variable.css +15 -15
- package/lib/table/plugins/head-sort.css +5 -5
- package/lib/table/plugins/head-sort.less +2 -2
- package/lib/table/plugins/head-sort.variable.css +7 -7
- package/lib/table/plugins/settings.css +26 -26
- package/lib/table/plugins/settings.less +1 -3
- package/lib/table/plugins/settings.variable.css +28 -28
- package/lib/table/table.css +380 -380
- package/lib/table/table.less +10 -14
- package/lib/table/table.variable.css +382 -382
- package/lib/table-column/index.d.ts +0 -3
- package/lib/table-column/index.js +0 -15
- package/lib/tag/tag.css +51 -51
- package/lib/tag/tag.less +34 -34
- package/lib/tag/tag.variable.css +53 -53
- package/lib/tag-input/tag-input.css +38 -38
- package/lib/tag-input/tag-input.less +3 -3
- package/lib/tag-input/tag-input.variable.css +40 -40
- package/lib/time-picker/index.d.ts +0 -3
- package/lib/time-picker/time-picker.css +40 -40
- package/lib/time-picker/time-picker.less +76 -44
- package/lib/time-picker/time-picker.variable.css +42 -42
- package/lib/timeline/timeline.css +69 -69
- package/lib/timeline/timeline.less +6 -12
- package/lib/timeline/timeline.variable.css +71 -71
- package/lib/transfer/transfer.css +89 -89
- package/lib/transfer/transfer.less +1 -1
- package/lib/transfer/transfer.variable.css +91 -91
- package/lib/tree/tree.css +49 -49
- package/lib/tree/tree.less +6 -7
- package/lib/tree/tree.variable.css +51 -51
- package/lib/upload/upload.css +98 -98
- package/lib/upload/upload.less +68 -69
- package/lib/upload/upload.variable.css +100 -100
- package/lib/virtual-render/virtual-render.css +9 -9
- package/lib/virtual-render/virtual-render.less +1 -1
- package/lib/virtual-render/virtual-render.variable.css +11 -11
- package/package.json +1 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
@import '../styles/themes/themes.less';
|
2
2
|
@import '../styles/mixins/mixins.less';
|
3
3
|
|
4
|
-
.@{bk-prefix}-switcher {
|
4
|
+
:where(.@{bk-prefix}-switcher) {
|
5
5
|
position: relative;
|
6
6
|
position: relative;
|
7
7
|
display: inline-block;
|
@@ -23,8 +23,8 @@
|
|
23
23
|
border-radius: 50px;
|
24
24
|
border-radius: 100px;
|
25
25
|
box-sizing: border-box;
|
26
|
-
transition: all .4s ease;
|
27
|
-
transition: all .36s;
|
26
|
+
transition: all 0.4s ease;
|
27
|
+
transition: all 0.36s;
|
28
28
|
user-select: none;
|
29
29
|
|
30
30
|
&:after {
|
@@ -38,7 +38,7 @@
|
|
38
38
|
background-color: #fff;
|
39
39
|
border-radius: 18px;
|
40
40
|
content: ' ';
|
41
|
-
transition: all .3s ease;
|
41
|
+
transition: all 0.3s ease;
|
42
42
|
}
|
43
43
|
|
44
44
|
.switcher-text {
|
@@ -49,7 +49,7 @@
|
|
49
49
|
font-weight: 400;
|
50
50
|
color: #fff;
|
51
51
|
text-align: center;
|
52
|
-
transition: all .3s ease;
|
52
|
+
transition: all 0.3s ease;
|
53
53
|
}
|
54
54
|
|
55
55
|
.animating-node {
|
@@ -62,14 +62,14 @@
|
|
62
62
|
pointer-events: none;
|
63
63
|
border-radius: inherit;
|
64
64
|
content: '';
|
65
|
-
opacity: .2;
|
65
|
+
opacity: 0.2;
|
66
66
|
box-shadow: 0 0 0 0 #1890ff;
|
67
|
-
animation:
|
67
|
+
animation:
|
68
|
+
fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1),
|
69
|
+
waveEffect 0.4s cubic-bezier(0.08, 0.82, 0.17, 1);
|
68
70
|
animation-fill-mode: forwards;
|
69
|
-
|
70
71
|
}
|
71
72
|
|
72
|
-
|
73
73
|
.@{bk-prefix}-switcher-loading {
|
74
74
|
position: absolute;
|
75
75
|
top: 1px;
|
@@ -83,7 +83,7 @@
|
|
83
83
|
background: transparent;
|
84
84
|
border-radius: 16px;
|
85
85
|
content: ' ';
|
86
|
-
transition: all .36s cubic-bezier(.78
|
86
|
+
transition: all 0.36s cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
87
87
|
|
88
88
|
svg {
|
89
89
|
position: absolute;
|
@@ -92,14 +92,14 @@
|
|
92
92
|
bottom: 0;
|
93
93
|
left: 0;
|
94
94
|
margin: auto;
|
95
|
-
animation: loading 1s linear infinite
|
95
|
+
animation: loading 1s linear infinite;
|
96
96
|
}
|
97
97
|
}
|
98
98
|
|
99
99
|
&.is-loading {
|
100
100
|
cursor: defalt;
|
101
101
|
|
102
|
-
input[type=checkbox] {
|
102
|
+
input[type='checkbox'] {
|
103
103
|
cursor: default;
|
104
104
|
}
|
105
105
|
}
|
@@ -131,7 +131,7 @@
|
|
131
131
|
|
132
132
|
&.is-disabled {
|
133
133
|
cursor: not-allowed;
|
134
|
-
opacity: .3;
|
134
|
+
opacity: 0.3;
|
135
135
|
|
136
136
|
.@{bk-prefix}-switcher-loading {
|
137
137
|
cursor: not-allowed;
|
@@ -171,7 +171,6 @@
|
|
171
171
|
margin-right: 28px;
|
172
172
|
margin-left: 6px;
|
173
173
|
}
|
174
|
-
|
175
174
|
}
|
176
175
|
|
177
176
|
&:not(.show-label).is-checked .@{bk-prefix}-switcher-loading {
|
@@ -194,8 +193,6 @@
|
|
194
193
|
color: @switch-grey-color;
|
195
194
|
}
|
196
195
|
|
197
|
-
|
198
|
-
|
199
196
|
&.is-checked {
|
200
197
|
border: 1px solid @success-color;
|
201
198
|
|
@@ -206,7 +203,6 @@
|
|
206
203
|
.switcher-text {
|
207
204
|
color: @success-color;
|
208
205
|
}
|
209
|
-
|
210
206
|
}
|
211
207
|
|
212
208
|
.@{bk-prefix}-switcher-loading {
|
@@ -228,7 +224,6 @@
|
|
228
224
|
color: @primary-color;
|
229
225
|
}
|
230
226
|
}
|
231
|
-
|
232
227
|
}
|
233
228
|
|
234
229
|
&.@{bk-prefix}-switcher-square {
|
@@ -260,7 +255,6 @@
|
|
260
255
|
margin-left: -21px;
|
261
256
|
}
|
262
257
|
}
|
263
|
-
|
264
258
|
}
|
265
259
|
|
266
260
|
&.@{bk-prefix}-switcher-small {
|
@@ -277,7 +271,7 @@
|
|
277
271
|
width: 12px;
|
278
272
|
height: 12px;
|
279
273
|
font-weight: 700;
|
280
|
-
transform: scale(.66667);
|
274
|
+
transform: scale(0.66667);
|
281
275
|
}
|
282
276
|
}
|
283
277
|
|
@@ -285,7 +279,6 @@
|
|
285
279
|
.@{bk-prefix}-switcher-loading {
|
286
280
|
margin-left: -13px;
|
287
281
|
}
|
288
|
-
|
289
282
|
}
|
290
283
|
}
|
291
284
|
|
@@ -317,7 +310,6 @@
|
|
317
310
|
}
|
318
311
|
}
|
319
312
|
|
320
|
-
|
321
313
|
@keyframes fadeEffect {
|
322
314
|
100% {
|
323
315
|
opacity: 0;
|
@@ -12,13 +12,13 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
-
--border-color: #dcdee5;
|
16
15
|
--font-size-base: 12px;
|
17
16
|
--font-size-medium: 14px;
|
18
17
|
--font-size-large: 16px;
|
19
18
|
--line-height-base: 16px;
|
20
19
|
--line-height-medium: 16px;
|
21
20
|
--line-height-large: 18px;
|
21
|
+
--border-color: #dcdee5;
|
22
22
|
--component-size-small: 26px;
|
23
23
|
--component-size-base: 32px;
|
24
24
|
--component-size-large: 40px;
|
@@ -111,7 +111,7 @@
|
|
111
111
|
--table-border-color: #dcdee5;
|
112
112
|
--table-head-bg-color: #fafbfd;
|
113
113
|
--table-head-font-color: #313238;
|
114
|
-
--table-body-font-color: #
|
114
|
+
--table-body-font-color: #63656e;
|
115
115
|
--table-row-hover-bg-color: #f5f7fa;
|
116
116
|
--table-row-active-bg-color: #f0f1f5;
|
117
117
|
--cascader-panel-border-color: #dcdee5;
|
@@ -140,12 +140,12 @@
|
|
140
140
|
background-color: transparent;
|
141
141
|
}
|
142
142
|
}
|
143
|
-
.bk-transition .bk-fade-enter-active,
|
144
|
-
.bk-transition .bk-fade-leave-active {
|
143
|
+
:where(.bk-transition) .bk-fade-enter-active,
|
144
|
+
:where(.bk-transition) .bk-fade-leave-active {
|
145
145
|
transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
|
146
146
|
}
|
147
|
-
.bk-transition .bk-fade-enter,
|
148
|
-
.bk-transition .bk-fade-leave-to {
|
147
|
+
:where(.bk-transition) .bk-fade-enter,
|
148
|
+
:where(.bk-transition) .bk-fade-leave-to {
|
149
149
|
opacity: 0;
|
150
150
|
}
|
151
151
|
.clearfix-style::after {
|
@@ -156,7 +156,7 @@
|
|
156
156
|
content: '';
|
157
157
|
visibility: hidden;
|
158
158
|
}
|
159
|
-
.bk-popper {
|
159
|
+
:where(.bk-popper) {
|
160
160
|
display: none;
|
161
161
|
padding: 7px 14px;
|
162
162
|
font-size: 12px;
|
@@ -164,42 +164,42 @@
|
|
164
164
|
background: #333;
|
165
165
|
border-radius: 4px;
|
166
166
|
}
|
167
|
-
.bk-popper.light {
|
167
|
+
:where(.bk-popper).light {
|
168
168
|
color: #63656e;
|
169
169
|
background: #fff;
|
170
170
|
box-shadow: #dcdee5 0 0 6px 0;
|
171
171
|
}
|
172
|
-
.bk-popper .bk-popper-arrow,
|
173
|
-
.bk-popper .bk-popper-arrow::before {
|
172
|
+
:where(.bk-popper) .bk-popper-arrow,
|
173
|
+
:where(.bk-popper) .bk-popper-arrow::before {
|
174
174
|
position: absolute;
|
175
175
|
width: 8px;
|
176
176
|
height: 8px;
|
177
177
|
background: inherit;
|
178
178
|
}
|
179
|
-
.bk-popper .bk-popper-arrow {
|
179
|
+
:where(.bk-popper) .bk-popper-arrow {
|
180
180
|
visibility: hidden;
|
181
181
|
}
|
182
|
-
.bk-popper .bk-popper-arrow::before {
|
182
|
+
:where(.bk-popper) .bk-popper-arrow::before {
|
183
183
|
content: '';
|
184
184
|
visibility: visible;
|
185
185
|
transform: rotate(45deg);
|
186
186
|
}
|
187
|
-
.bk-popper[data-show] {
|
187
|
+
:where(.bk-popper)[data-show] {
|
188
188
|
display: block;
|
189
189
|
}
|
190
|
-
.bk-popper[data-popper-placement^='top'] > .bk-popper-arrow {
|
190
|
+
:where(.bk-popper[data-popper-placement^='top'] > .bk-popper-arrow) {
|
191
191
|
bottom: -4px;
|
192
192
|
}
|
193
|
-
.bk-popper[data-popper-placement^='bottom'] > .bk-popper-arrow {
|
193
|
+
:where(.bk-popper[data-popper-placement^='bottom'] > .bk-popper-arrow) {
|
194
194
|
top: -4px;
|
195
195
|
}
|
196
|
-
.bk-popper[data-popper-placement^='left'] > .bk-popper-arrow {
|
196
|
+
:where(.bk-popper[data-popper-placement^='left'] > .bk-popper-arrow) {
|
197
197
|
right: -4px;
|
198
198
|
}
|
199
|
-
.bk-popper[data-popper-placement^='right'] > .bk-popper-arrow {
|
199
|
+
:where(.bk-popper[data-popper-placement^='right'] > .bk-popper-arrow) {
|
200
200
|
left: -4px;
|
201
201
|
}
|
202
|
-
.bk-switcher {
|
202
|
+
:where(.bk-switcher) {
|
203
203
|
position: relative;
|
204
204
|
display: inline-block;
|
205
205
|
height: 20px;
|
@@ -223,7 +223,7 @@
|
|
223
223
|
user-select: none;
|
224
224
|
/* 显示文本时固定尺寸 */
|
225
225
|
}
|
226
|
-
.bk-switcher:after {
|
226
|
+
:where(.bk-switcher):after {
|
227
227
|
position: absolute;
|
228
228
|
top: 1px;
|
229
229
|
left: 1px;
|
@@ -236,7 +236,7 @@
|
|
236
236
|
content: ' ';
|
237
237
|
transition: all 0.3s ease;
|
238
238
|
}
|
239
|
-
.bk-switcher .switcher-text {
|
239
|
+
:where(.bk-switcher) .switcher-text {
|
240
240
|
display: block;
|
241
241
|
margin-right: 6px;
|
242
242
|
margin-left: 28px;
|
@@ -246,7 +246,7 @@
|
|
246
246
|
text-align: center;
|
247
247
|
transition: all 0.3s ease;
|
248
248
|
}
|
249
|
-
.bk-switcher .animating-node {
|
249
|
+
:where(.bk-switcher) .animating-node {
|
250
250
|
position: absolute;
|
251
251
|
top: 0;
|
252
252
|
right: 0;
|
@@ -261,7 +261,7 @@
|
|
261
261
|
animation: fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1), waveEffect 0.4s cubic-bezier(0.08, 0.82, 0.17, 1);
|
262
262
|
animation-fill-mode: forwards;
|
263
263
|
}
|
264
|
-
.bk-switcher .bk-switcher-loading {
|
264
|
+
:where(.bk-switcher) .bk-switcher-loading {
|
265
265
|
position: absolute;
|
266
266
|
top: 1px;
|
267
267
|
left: 1px;
|
@@ -276,7 +276,7 @@
|
|
276
276
|
content: ' ';
|
277
277
|
transition: all 0.36s cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
278
278
|
}
|
279
|
-
.bk-switcher .bk-switcher-loading svg {
|
279
|
+
:where(.bk-switcher) .bk-switcher-loading svg {
|
280
280
|
position: absolute;
|
281
281
|
top: 0;
|
282
282
|
right: 0;
|
@@ -285,138 +285,138 @@
|
|
285
285
|
margin: auto;
|
286
286
|
animation: loading 1s linear infinite;
|
287
287
|
}
|
288
|
-
.bk-switcher.is-loading {
|
288
|
+
:where(.bk-switcher).is-loading {
|
289
289
|
cursor: defalt;
|
290
290
|
}
|
291
|
-
.bk-switcher.is-loading input[type=checkbox] {
|
291
|
+
:where(.bk-switcher).is-loading input[type='checkbox'] {
|
292
292
|
cursor: default;
|
293
293
|
}
|
294
|
-
.bk-switcher.show-label {
|
294
|
+
:where(.bk-switcher).show-label {
|
295
295
|
height: 28px;
|
296
296
|
min-width: 60px;
|
297
297
|
line-height: 28px;
|
298
298
|
}
|
299
|
-
.bk-switcher.show-label::after {
|
299
|
+
:where(.bk-switcher).show-label::after {
|
300
300
|
width: 24px;
|
301
301
|
height: 24px;
|
302
302
|
}
|
303
|
-
.bk-switcher.show-label .bk-switcher-loading {
|
303
|
+
:where(.bk-switcher).show-label .bk-switcher-loading {
|
304
304
|
width: 24px;
|
305
305
|
height: 24px;
|
306
306
|
font-size: 20px;
|
307
307
|
}
|
308
|
-
.bk-switcher.show-label.is-checked .bk-switcher-loading {
|
308
|
+
:where(.bk-switcher).show-label.is-checked .bk-switcher-loading {
|
309
309
|
left: 100%;
|
310
310
|
margin-left: -25px;
|
311
311
|
}
|
312
|
-
.bk-switcher.is-disabled {
|
312
|
+
:where(.bk-switcher).is-disabled {
|
313
313
|
cursor: not-allowed;
|
314
314
|
opacity: 0.3;
|
315
315
|
}
|
316
|
-
.bk-switcher.is-disabled .bk-switcher-loading {
|
316
|
+
:where(.bk-switcher).is-disabled .bk-switcher-loading {
|
317
317
|
cursor: not-allowed;
|
318
318
|
}
|
319
|
-
.bk-switcher.is-disabled::after {
|
319
|
+
:where(.bk-switcher).is-disabled::after {
|
320
320
|
cursor: not-allowed;
|
321
321
|
}
|
322
|
-
.bk-switcher.is-checked {
|
322
|
+
:where(.bk-switcher).is-checked {
|
323
323
|
background: #2dcb56;
|
324
324
|
}
|
325
|
-
.bk-switcher.is-checked .bk-switcher-loading svg {
|
325
|
+
:where(.bk-switcher).is-checked .bk-switcher-loading svg {
|
326
326
|
color: #2dcb56;
|
327
327
|
}
|
328
|
-
.bk-switcher.is-checked:not(.bk-switcher-outline).bk-switcher.is-checked.bk-primary {
|
328
|
+
:where(.bk-switcher).is-checked:not(.bk-switcher-outline):where(.bk-switcher).is-checked.bk-primary {
|
329
329
|
background: #3a84ff;
|
330
330
|
}
|
331
|
-
.bk-switcher.is-checked:not(.bk-switcher-outline).bk-switcher.is-checked.bk-primary .bk-switcher-loading svg {
|
331
|
+
:where(.bk-switcher).is-checked:not(.bk-switcher-outline):where(.bk-switcher).is-checked.bk-primary .bk-switcher-loading svg {
|
332
332
|
color: #3a84ff;
|
333
333
|
}
|
334
|
-
.bk-switcher.is-checked:after {
|
334
|
+
:where(.bk-switcher).is-checked:after {
|
335
335
|
left: 100%;
|
336
336
|
margin-left: -1px;
|
337
337
|
transform: translateX(-100%);
|
338
338
|
}
|
339
|
-
.bk-switcher.is-checked .switcher-text {
|
339
|
+
:where(.bk-switcher).is-checked .switcher-text {
|
340
340
|
margin-right: 28px;
|
341
341
|
margin-left: 6px;
|
342
342
|
}
|
343
|
-
.bk-switcher:not(.show-label).is-checked .bk-switcher-loading {
|
343
|
+
:where(.bk-switcher):not(.show-label).is-checked .bk-switcher-loading {
|
344
344
|
left: 100%;
|
345
345
|
margin-left: -17px;
|
346
346
|
}
|
347
|
-
.bk-switcher.bk-switcher-outline {
|
347
|
+
:where(.bk-switcher).bk-switcher-outline {
|
348
348
|
background: #fff;
|
349
349
|
border: 1px solid #c4c6cc;
|
350
350
|
}
|
351
|
-
.bk-switcher.bk-switcher-outline:after {
|
351
|
+
:where(.bk-switcher).bk-switcher-outline:after {
|
352
352
|
width: 24px;
|
353
353
|
height: 24px;
|
354
354
|
background-color: #c4c6cc;
|
355
355
|
box-shadow: none;
|
356
356
|
}
|
357
|
-
.bk-switcher.bk-switcher-outline .switcher-text {
|
357
|
+
:where(.bk-switcher).bk-switcher-outline .switcher-text {
|
358
358
|
color: #c4c6cc;
|
359
359
|
}
|
360
|
-
.bk-switcher.bk-switcher-outline.is-checked {
|
360
|
+
:where(.bk-switcher).bk-switcher-outline.is-checked {
|
361
361
|
border: 1px solid #2dcb56;
|
362
362
|
}
|
363
|
-
.bk-switcher.bk-switcher-outline.is-checked:after {
|
363
|
+
:where(.bk-switcher).bk-switcher-outline.is-checked:after {
|
364
364
|
background-color: #2dcb56;
|
365
365
|
}
|
366
|
-
.bk-switcher.bk-switcher-outline.is-checked .switcher-text {
|
366
|
+
:where(.bk-switcher).bk-switcher-outline.is-checked .switcher-text {
|
367
367
|
color: #2dcb56;
|
368
368
|
}
|
369
|
-
.bk-switcher.bk-switcher-outline .bk-switcher-loading svg {
|
369
|
+
:where(.bk-switcher).bk-switcher-outline .bk-switcher-loading svg {
|
370
370
|
color: #fff;
|
371
371
|
}
|
372
|
-
.bk-switcher.bk-switcher-outline.bk-switcher.bk-primary.is-checked {
|
372
|
+
:where(.bk-switcher).bk-switcher-outline:where(.bk-switcher).bk-primary.is-checked {
|
373
373
|
border: 1px solid #3a84ff;
|
374
374
|
}
|
375
|
-
.bk-switcher.bk-switcher-outline.bk-switcher.bk-primary.is-checked:after {
|
375
|
+
:where(.bk-switcher).bk-switcher-outline:where(.bk-switcher).bk-primary.is-checked:after {
|
376
376
|
background: #3a84ff;
|
377
377
|
}
|
378
|
-
.bk-switcher.bk-switcher-outline.bk-switcher.bk-primary.is-checked .switcher-text {
|
378
|
+
:where(.bk-switcher).bk-switcher-outline:where(.bk-switcher).bk-primary.is-checked .switcher-text {
|
379
379
|
color: #3a84ff;
|
380
380
|
}
|
381
|
-
.bk-switcher.bk-switcher-square {
|
381
|
+
:where(.bk-switcher).bk-switcher-square {
|
382
382
|
border-radius: 2px;
|
383
383
|
}
|
384
|
-
.bk-switcher.bk-switcher-square:after {
|
384
|
+
:where(.bk-switcher).bk-switcher-square:after {
|
385
385
|
border-radius: 2px;
|
386
386
|
}
|
387
|
-
.bk-switcher.bk-switcher-large {
|
387
|
+
:where(.bk-switcher).bk-switcher-large {
|
388
388
|
height: 24px;
|
389
389
|
min-width: 42px;
|
390
390
|
line-height: 22px;
|
391
391
|
}
|
392
|
-
.bk-switcher.bk-switcher-large:after {
|
392
|
+
:where(.bk-switcher).bk-switcher-large:after {
|
393
393
|
width: 20px;
|
394
394
|
height: 20px;
|
395
395
|
}
|
396
|
-
.bk-switcher.bk-switcher-large .bk-switcher-loading {
|
396
|
+
:where(.bk-switcher).bk-switcher-large .bk-switcher-loading {
|
397
397
|
width: 20px;
|
398
398
|
height: 20px;
|
399
399
|
font-size: 16px;
|
400
400
|
}
|
401
|
-
.bk-switcher.bk-switcher-large.is-checked .bk-switcher-loading {
|
401
|
+
:where(.bk-switcher).bk-switcher-large.is-checked .bk-switcher-loading {
|
402
402
|
margin-left: -21px;
|
403
403
|
}
|
404
|
-
.bk-switcher.bk-switcher-small {
|
404
|
+
:where(.bk-switcher).bk-switcher-small {
|
405
405
|
height: 16px;
|
406
406
|
min-width: 26px;
|
407
407
|
line-height: 22px;
|
408
408
|
}
|
409
|
-
.bk-switcher.bk-switcher-small:after {
|
409
|
+
:where(.bk-switcher).bk-switcher-small:after {
|
410
410
|
width: 12px;
|
411
411
|
height: 12px;
|
412
412
|
}
|
413
|
-
.bk-switcher.bk-switcher-small .bk-switcher-loading {
|
413
|
+
:where(.bk-switcher).bk-switcher-small .bk-switcher-loading {
|
414
414
|
width: 12px;
|
415
415
|
height: 12px;
|
416
416
|
font-weight: 700;
|
417
417
|
transform: scale(0.66667);
|
418
418
|
}
|
419
|
-
.bk-switcher.bk-switcher-small.is-checked .bk-switcher-loading {
|
419
|
+
:where(.bk-switcher).bk-switcher-small.is-checked .bk-switcher-loading {
|
420
420
|
margin-left: -13px;
|
421
421
|
}
|
422
422
|
:not(.show-label).bk-switcher-default.bk-switcher-outline::after {
|