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
@@ -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;
|
@@ -127,7 +127,7 @@
|
|
127
127
|
--select-active-color: #e1ecff;
|
128
128
|
--select-hover-color: #f5f7fa;
|
129
129
|
}
|
130
|
-
.bk-button {
|
130
|
+
:where(.bk-button) {
|
131
131
|
display: inline-flex;
|
132
132
|
height: var(--component-size-base);
|
133
133
|
padding: var(--component-size-base-padding);
|
@@ -146,242 +146,242 @@
|
|
146
146
|
align-items: center;
|
147
147
|
justify-content: center;
|
148
148
|
}
|
149
|
-
.bk-button.bk-button-primary {
|
149
|
+
:where(.bk-button).bk-button-primary {
|
150
150
|
background-color: var(--primary-color);
|
151
151
|
color: var(--white-color);
|
152
152
|
border-color: var(--primary-color);
|
153
153
|
}
|
154
|
-
.bk-button.bk-button-primary:hover {
|
154
|
+
:where(.bk-button).bk-button-primary:hover {
|
155
155
|
background-color: var(--button-primary-hover-color);
|
156
156
|
border-color: var(--button-primary-hover-color);
|
157
157
|
}
|
158
|
-
.bk-button.bk-button-primary:active {
|
158
|
+
:where(.bk-button).bk-button-primary:active {
|
159
159
|
background-color: var(--button-primary-active-color);
|
160
160
|
border-color: var(--button-primary-active-color);
|
161
161
|
color: var(--white-color);
|
162
162
|
}
|
163
|
-
.bk-button.bk-button-primary.is-outline {
|
163
|
+
:where(.bk-button).bk-button-primary.is-outline {
|
164
164
|
color: var(--primary-color);
|
165
165
|
border-color: var(--primary-color);
|
166
166
|
background-color: var(--white-color);
|
167
167
|
}
|
168
|
-
.bk-button.bk-button-primary.is-outline:hover {
|
168
|
+
:where(.bk-button).bk-button-primary.is-outline:hover {
|
169
169
|
background-color: var(--button-primary-hover-color);
|
170
170
|
border-color: var(--button-primary-hover-color);
|
171
171
|
color: var(--white-color);
|
172
172
|
}
|
173
|
-
.bk-button.bk-button-primary.is-outline:active {
|
173
|
+
:where(.bk-button).bk-button-primary.is-outline:active {
|
174
174
|
background-color: var(--button-primary-active-color);
|
175
175
|
border-color: var(--button-primary-active-color);
|
176
176
|
color: var(--white-color);
|
177
177
|
}
|
178
|
-
.bk-button.bk-button-primary.is-text {
|
178
|
+
:where(.bk-button).bk-button-primary.is-text {
|
179
179
|
color: var(--primary-color);
|
180
180
|
background-color: transparent;
|
181
181
|
border: none;
|
182
182
|
}
|
183
|
-
.bk-button.bk-button-primary.is-text:not(.is-disabled):hover {
|
183
|
+
:where(.bk-button).bk-button-primary.is-text:not(.is-disabled):hover {
|
184
184
|
color: var(--button-primary-hover-color);
|
185
185
|
}
|
186
|
-
.bk-button.bk-button-primary.is-disabled {
|
186
|
+
:where(.bk-button).bk-button-primary.is-disabled {
|
187
187
|
color: var(--disable-color);
|
188
188
|
cursor: not-allowed;
|
189
189
|
}
|
190
|
-
.bk-button.bk-button-primary.is-disabled:not(.is-text) {
|
190
|
+
:where(.bk-button).bk-button-primary.is-disabled:not(.is-text) {
|
191
191
|
background-color: var(--disable-color);
|
192
192
|
color: var(--white-color);
|
193
193
|
border-color: var(--disable-color);
|
194
194
|
}
|
195
|
-
.bk-button.bk-button-hover-primary:hover {
|
195
|
+
:where(.bk-button).bk-button-hover-primary:hover {
|
196
196
|
background-color: var(--button-primary-hover-color);
|
197
197
|
border-color: var(--button-primary-hover-color);
|
198
198
|
color: var(--white-color);
|
199
199
|
}
|
200
|
-
.bk-button.bk-button-warning {
|
200
|
+
:where(.bk-button).bk-button-warning {
|
201
201
|
background-color: var(--warning-color);
|
202
202
|
color: var(--white-color);
|
203
203
|
border-color: var(--warning-color);
|
204
204
|
}
|
205
|
-
.bk-button.bk-button-warning:hover {
|
205
|
+
:where(.bk-button).bk-button-warning:hover {
|
206
206
|
background-color: var(--button-warning-hover-color);
|
207
207
|
border-color: var(--button-warning-hover-color);
|
208
208
|
}
|
209
|
-
.bk-button.bk-button-warning:active {
|
209
|
+
:where(.bk-button).bk-button-warning:active {
|
210
210
|
background-color: var(--button-warning-active-color);
|
211
211
|
border-color: var(--button-warning-active-color);
|
212
212
|
color: var(--white-color);
|
213
213
|
}
|
214
|
-
.bk-button.bk-button-warning.is-outline {
|
214
|
+
:where(.bk-button).bk-button-warning.is-outline {
|
215
215
|
color: var(--warning-color);
|
216
216
|
border-color: var(--warning-color);
|
217
217
|
background-color: var(--white-color);
|
218
218
|
}
|
219
|
-
.bk-button.bk-button-warning.is-outline:hover {
|
219
|
+
:where(.bk-button).bk-button-warning.is-outline:hover {
|
220
220
|
background-color: var(--button-warning-hover-color);
|
221
221
|
border-color: var(--button-warning-hover-color);
|
222
222
|
color: var(--white-color);
|
223
223
|
}
|
224
|
-
.bk-button.bk-button-warning.is-outline:active {
|
224
|
+
:where(.bk-button).bk-button-warning.is-outline:active {
|
225
225
|
background-color: var(--button-warning-active-color);
|
226
226
|
border-color: var(--button-warning-active-color);
|
227
227
|
color: var(--white-color);
|
228
228
|
}
|
229
|
-
.bk-button.bk-button-warning.is-text {
|
229
|
+
:where(.bk-button).bk-button-warning.is-text {
|
230
230
|
color: var(--warning-color);
|
231
231
|
background-color: transparent;
|
232
232
|
border: none;
|
233
233
|
}
|
234
|
-
.bk-button.bk-button-warning.is-text:not(.is-disabled):hover {
|
234
|
+
:where(.bk-button).bk-button-warning.is-text:not(.is-disabled):hover {
|
235
235
|
color: var(--button-warning-hover-color);
|
236
236
|
}
|
237
|
-
.bk-button.bk-button-warning.is-disabled {
|
237
|
+
:where(.bk-button).bk-button-warning.is-disabled {
|
238
238
|
color: var(--disable-color);
|
239
239
|
cursor: not-allowed;
|
240
240
|
}
|
241
|
-
.bk-button.bk-button-warning.is-disabled:not(.is-text) {
|
241
|
+
:where(.bk-button).bk-button-warning.is-disabled:not(.is-text) {
|
242
242
|
background-color: var(--disable-color);
|
243
243
|
color: var(--white-color);
|
244
244
|
border-color: var(--disable-color);
|
245
245
|
}
|
246
|
-
.bk-button.bk-button-hover-warning:hover {
|
246
|
+
:where(.bk-button).bk-button-hover-warning:hover {
|
247
247
|
background-color: var(--button-warning-hover-color);
|
248
248
|
border-color: var(--button-warning-hover-color);
|
249
249
|
color: var(--white-color);
|
250
250
|
}
|
251
|
-
.bk-button.bk-button-success {
|
251
|
+
:where(.bk-button).bk-button-success {
|
252
252
|
background-color: var(--success-color);
|
253
253
|
color: var(--white-color);
|
254
254
|
border-color: var(--success-color);
|
255
255
|
}
|
256
|
-
.bk-button.bk-button-success:hover {
|
256
|
+
:where(.bk-button).bk-button-success:hover {
|
257
257
|
background-color: var(--button-success-hover-color);
|
258
258
|
border-color: var(--button-success-hover-color);
|
259
259
|
}
|
260
|
-
.bk-button.bk-button-success:active {
|
260
|
+
:where(.bk-button).bk-button-success:active {
|
261
261
|
background-color: var(--button-success-active-color);
|
262
262
|
border-color: var(--button-success-active-color);
|
263
263
|
color: var(--white-color);
|
264
264
|
}
|
265
|
-
.bk-button.bk-button-success.is-outline {
|
265
|
+
:where(.bk-button).bk-button-success.is-outline {
|
266
266
|
color: var(--success-color);
|
267
267
|
border-color: var(--success-color);
|
268
268
|
background-color: var(--white-color);
|
269
269
|
}
|
270
|
-
.bk-button.bk-button-success.is-outline:hover {
|
270
|
+
:where(.bk-button).bk-button-success.is-outline:hover {
|
271
271
|
background-color: var(--button-success-hover-color);
|
272
272
|
border-color: var(--button-success-hover-color);
|
273
273
|
color: var(--white-color);
|
274
274
|
}
|
275
|
-
.bk-button.bk-button-success.is-outline:active {
|
275
|
+
:where(.bk-button).bk-button-success.is-outline:active {
|
276
276
|
background-color: var(--button-success-active-color);
|
277
277
|
border-color: var(--button-success-active-color);
|
278
278
|
color: var(--white-color);
|
279
279
|
}
|
280
|
-
.bk-button.bk-button-success.is-text {
|
280
|
+
:where(.bk-button).bk-button-success.is-text {
|
281
281
|
color: var(--success-color);
|
282
282
|
background-color: transparent;
|
283
283
|
border: none;
|
284
284
|
}
|
285
|
-
.bk-button.bk-button-success.is-text:not(.is-disabled):hover {
|
285
|
+
:where(.bk-button).bk-button-success.is-text:not(.is-disabled):hover {
|
286
286
|
color: var(--button-success-hover-color);
|
287
287
|
}
|
288
|
-
.bk-button.bk-button-success.is-disabled {
|
288
|
+
:where(.bk-button).bk-button-success.is-disabled {
|
289
289
|
color: var(--disable-color);
|
290
290
|
cursor: not-allowed;
|
291
291
|
}
|
292
|
-
.bk-button.bk-button-success.is-disabled:not(.is-text) {
|
292
|
+
:where(.bk-button).bk-button-success.is-disabled:not(.is-text) {
|
293
293
|
background-color: var(--disable-color);
|
294
294
|
color: var(--white-color);
|
295
295
|
border-color: var(--disable-color);
|
296
296
|
}
|
297
|
-
.bk-button.bk-button-hover-success:hover {
|
297
|
+
:where(.bk-button).bk-button-hover-success:hover {
|
298
298
|
background-color: var(--button-success-hover-color);
|
299
299
|
border-color: var(--button-success-hover-color);
|
300
300
|
color: var(--white-color);
|
301
301
|
}
|
302
|
-
.bk-button.bk-button-danger {
|
302
|
+
:where(.bk-button).bk-button-danger {
|
303
303
|
background-color: var(--danger-color);
|
304
304
|
color: var(--white-color);
|
305
305
|
border-color: var(--danger-color);
|
306
306
|
}
|
307
|
-
.bk-button.bk-button-danger:hover {
|
307
|
+
:where(.bk-button).bk-button-danger:hover {
|
308
308
|
background-color: var(--button-danger-hover-color);
|
309
309
|
border-color: var(--button-danger-hover-color);
|
310
310
|
}
|
311
|
-
.bk-button.bk-button-danger:active {
|
311
|
+
:where(.bk-button).bk-button-danger:active {
|
312
312
|
background-color: var(--button-danger-active-color);
|
313
313
|
border-color: var(--button-danger-active-color);
|
314
314
|
color: var(--white-color);
|
315
315
|
}
|
316
|
-
.bk-button.bk-button-danger.is-outline {
|
316
|
+
:where(.bk-button).bk-button-danger.is-outline {
|
317
317
|
color: var(--danger-color);
|
318
318
|
border-color: var(--danger-color);
|
319
319
|
background-color: var(--white-color);
|
320
320
|
}
|
321
|
-
.bk-button.bk-button-danger.is-outline:hover {
|
321
|
+
:where(.bk-button).bk-button-danger.is-outline:hover {
|
322
322
|
background-color: var(--button-danger-hover-color);
|
323
323
|
border-color: var(--button-danger-hover-color);
|
324
324
|
color: var(--white-color);
|
325
325
|
}
|
326
|
-
.bk-button.bk-button-danger.is-outline:active {
|
326
|
+
:where(.bk-button).bk-button-danger.is-outline:active {
|
327
327
|
background-color: var(--button-danger-active-color);
|
328
328
|
border-color: var(--button-danger-active-color);
|
329
329
|
color: var(--white-color);
|
330
330
|
}
|
331
|
-
.bk-button.bk-button-danger.is-text {
|
331
|
+
:where(.bk-button).bk-button-danger.is-text {
|
332
332
|
color: var(--danger-color);
|
333
333
|
background-color: transparent;
|
334
334
|
border: none;
|
335
335
|
}
|
336
|
-
.bk-button.bk-button-danger.is-text:not(.is-disabled):hover {
|
336
|
+
:where(.bk-button).bk-button-danger.is-text:not(.is-disabled):hover {
|
337
337
|
color: var(--button-danger-hover-color);
|
338
338
|
}
|
339
|
-
.bk-button.bk-button-danger.is-disabled {
|
339
|
+
:where(.bk-button).bk-button-danger.is-disabled {
|
340
340
|
color: var(--disable-color);
|
341
341
|
cursor: not-allowed;
|
342
342
|
}
|
343
|
-
.bk-button.bk-button-danger.is-disabled:not(.is-text) {
|
343
|
+
:where(.bk-button).bk-button-danger.is-disabled:not(.is-text) {
|
344
344
|
background-color: var(--disable-color);
|
345
345
|
color: var(--white-color);
|
346
346
|
border-color: var(--disable-color);
|
347
347
|
}
|
348
|
-
.bk-button.bk-button-hover-danger:hover {
|
348
|
+
:where(.bk-button).bk-button-hover-danger:hover {
|
349
349
|
background-color: var(--button-danger-hover-color);
|
350
350
|
border-color: var(--button-danger-hover-color);
|
351
351
|
color: var(--white-color);
|
352
352
|
}
|
353
|
-
.bk-button.bk-button-small {
|
353
|
+
:where(.bk-button).bk-button-small {
|
354
354
|
height: var(--component-size-small);
|
355
355
|
padding: var(--component-size-small-padding);
|
356
356
|
font-size: var(--font-size-base);
|
357
357
|
}
|
358
|
-
.bk-button.bk-button-large {
|
358
|
+
:where(.bk-button).bk-button-large {
|
359
359
|
height: var(--component-size-large);
|
360
360
|
padding: var(--component-size-large-padding);
|
361
361
|
font-size: var(--font-size-large);
|
362
362
|
}
|
363
|
-
.bk-button .bk-button-text {
|
363
|
+
:where(.bk-button) .bk-button-text {
|
364
364
|
display: inline-flex;
|
365
365
|
align-items: center;
|
366
366
|
line-height: 1;
|
367
367
|
}
|
368
|
-
.bk-button.is-loading {
|
368
|
+
:where(.bk-button).is-loading {
|
369
369
|
position: relative;
|
370
370
|
}
|
371
|
-
.bk-button.is-loading .bk-button-loading:not(:last-child) {
|
371
|
+
:where(.bk-button).is-loading .bk-button-loading:not(:last-child) {
|
372
372
|
position: absolute;
|
373
373
|
}
|
374
|
-
.bk-button.is-loading .bk-button-text {
|
374
|
+
:where(.bk-button).is-loading .bk-button-text {
|
375
375
|
visibility: hidden;
|
376
376
|
}
|
377
|
-
.bk-button:hover {
|
377
|
+
:where(.bk-button):hover {
|
378
378
|
border-color: var(--button-default-hover-border-color);
|
379
379
|
}
|
380
|
-
.bk-button:active {
|
380
|
+
:where(.bk-button):active {
|
381
381
|
color: var(--primary-color);
|
382
382
|
border-color: var(--primary-color);
|
383
383
|
}
|
384
|
-
.bk-button.is-text {
|
384
|
+
:where(.bk-button).is-text {
|
385
385
|
height: auto;
|
386
386
|
padding: 0;
|
387
387
|
font-size: inherit;
|
@@ -392,61 +392,61 @@
|
|
392
392
|
border: none;
|
393
393
|
outline: none;
|
394
394
|
}
|
395
|
-
.bk-button.is-disabled {
|
395
|
+
:where(.bk-button).is-disabled {
|
396
396
|
color: var(--disable-color);
|
397
397
|
cursor: not-allowed;
|
398
398
|
border-color: var(--disable-color);
|
399
399
|
}
|
400
|
-
.bk-button.is-disabled:not(.is-text) {
|
400
|
+
:where(.bk-button).is-disabled:not(.is-text) {
|
401
401
|
background-color: var(--disable-bg-color);
|
402
402
|
}
|
403
|
-
.bk-button-group {
|
403
|
+
:where(.bk-button-group) {
|
404
404
|
display: inline-block;
|
405
405
|
font-size: 0;
|
406
406
|
}
|
407
|
-
.bk-button-group.bk-button-group-small .bk-button {
|
407
|
+
:where(.bk-button-group).bk-button-group-small .bk-button {
|
408
408
|
height: var(--component-size-small);
|
409
409
|
padding: var(--component-size-small-padding);
|
410
410
|
font-size: var(--font-size-base);
|
411
411
|
}
|
412
|
-
.bk-button-group.bk-button-group-large .bk-button {
|
412
|
+
:where(.bk-button-group).bk-button-group-large .bk-button {
|
413
413
|
height: var(--component-size-large);
|
414
414
|
padding: var(--component-size-large-padding);
|
415
415
|
font-size: var(--font-size-large);
|
416
416
|
}
|
417
|
-
.bk-button-group .bk-button {
|
417
|
+
:where(.bk-button-group) .bk-button {
|
418
418
|
height: var(--component-size-base);
|
419
419
|
margin: 0 0 0 -1px;
|
420
420
|
border-radius: 0;
|
421
421
|
}
|
422
|
-
.bk-button-group .bk-button:not(.is-disabled) {
|
422
|
+
:where(.bk-button-group) .bk-button:not(.is-disabled) {
|
423
423
|
color: var(--default-color);
|
424
424
|
background-color: var(--white-color);
|
425
425
|
border-color: var(--light-gray);
|
426
426
|
}
|
427
|
-
.bk-button-group .bk-button.is-disabled {
|
427
|
+
:where(.bk-button-group) .bk-button.is-disabled {
|
428
428
|
color: var(--light-gray);
|
429
429
|
}
|
430
|
-
.bk-button-group .bk-button:first-child {
|
430
|
+
:where(.bk-button-group) .bk-button:first-child {
|
431
431
|
border-radius: var(--border-radius-base) 0 0 var(--border-radius-base);
|
432
432
|
}
|
433
|
-
.bk-button-group .bk-button:last-child {
|
433
|
+
:where(.bk-button-group) .bk-button:last-child {
|
434
434
|
border-radius: 0 var(--border-radius-base) var(--border-radius-base) 0;
|
435
435
|
}
|
436
|
-
.bk-button-group .bk-button:only-child {
|
436
|
+
:where(.bk-button-group) .bk-button:only-child {
|
437
437
|
border-radius: var(--border-radius-base);
|
438
438
|
}
|
439
|
-
.bk-button-group .bk-button:hover:not(.is-disabled),
|
440
|
-
.bk-button-group .bk-button.is-selected:not(.is-disabled) {
|
439
|
+
:where(.bk-button-group) .bk-button:hover:not(.is-disabled),
|
440
|
+
:where(.bk-button-group) .bk-button.is-selected:not(.is-disabled) {
|
441
441
|
position: relative;
|
442
442
|
z-index: 1;
|
443
443
|
color: var(--primary-color);
|
444
444
|
background-color: var(--white-color);
|
445
445
|
border-color: var(--primary-color);
|
446
446
|
}
|
447
|
-
.bk-button-group .bk-button.is-selected:not(.is-disabled) {
|
447
|
+
:where(.bk-button-group) .bk-button.is-selected:not(.is-disabled) {
|
448
448
|
background-color: var(--button-selected-bg-color);
|
449
449
|
}
|
450
|
-
.bk-button-group .bk-button.is-selected.is-disabled {
|
450
|
+
:where(.bk-button-group) .bk-button.is-selected.is-disabled {
|
451
451
|
background-color: var(--button-disabled-selected-bg-color);
|
452
452
|
}
|
package/lib/card/card.css
CHANGED
@@ -11,12 +11,12 @@
|
|
11
11
|
background-color: transparent;
|
12
12
|
}
|
13
13
|
}
|
14
|
-
.bk-transition .bk-fade-enter-active,
|
15
|
-
.bk-transition .bk-fade-leave-active {
|
14
|
+
:where(.bk-transition) .bk-fade-enter-active,
|
15
|
+
:where(.bk-transition) .bk-fade-leave-active {
|
16
16
|
transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
|
17
17
|
}
|
18
|
-
.bk-transition .bk-fade-enter,
|
19
|
-
.bk-transition .bk-fade-leave-to {
|
18
|
+
:where(.bk-transition) .bk-fade-enter,
|
19
|
+
:where(.bk-transition) .bk-fade-leave-to {
|
20
20
|
opacity: 0;
|
21
21
|
}
|
22
22
|
.clearfix-style::after {
|
@@ -27,7 +27,7 @@
|
|
27
27
|
content: '';
|
28
28
|
visibility: hidden;
|
29
29
|
}
|
30
|
-
.bk-popper {
|
30
|
+
:where(.bk-popper) {
|
31
31
|
display: none;
|
32
32
|
padding: 7px 14px;
|
33
33
|
font-size: 12px;
|
@@ -35,42 +35,42 @@
|
|
35
35
|
background: #333;
|
36
36
|
border-radius: 4px;
|
37
37
|
}
|
38
|
-
.bk-popper.light {
|
38
|
+
:where(.bk-popper).light {
|
39
39
|
color: #63656e;
|
40
40
|
background: #fff;
|
41
41
|
box-shadow: #dcdee5 0 0 6px 0;
|
42
42
|
}
|
43
|
-
.bk-popper .bk-popper-arrow,
|
44
|
-
.bk-popper .bk-popper-arrow::before {
|
43
|
+
:where(.bk-popper) .bk-popper-arrow,
|
44
|
+
:where(.bk-popper) .bk-popper-arrow::before {
|
45
45
|
position: absolute;
|
46
46
|
width: 8px;
|
47
47
|
height: 8px;
|
48
48
|
background: inherit;
|
49
49
|
}
|
50
|
-
.bk-popper .bk-popper-arrow {
|
50
|
+
:where(.bk-popper) .bk-popper-arrow {
|
51
51
|
visibility: hidden;
|
52
52
|
}
|
53
|
-
.bk-popper .bk-popper-arrow::before {
|
53
|
+
:where(.bk-popper) .bk-popper-arrow::before {
|
54
54
|
content: '';
|
55
55
|
visibility: visible;
|
56
56
|
transform: rotate(45deg);
|
57
57
|
}
|
58
|
-
.bk-popper[data-show] {
|
58
|
+
:where(.bk-popper)[data-show] {
|
59
59
|
display: block;
|
60
60
|
}
|
61
|
-
.bk-popper[data-popper-placement^='top'] > .bk-popper-arrow {
|
61
|
+
:where(.bk-popper[data-popper-placement^='top'] > .bk-popper-arrow) {
|
62
62
|
bottom: -4px;
|
63
63
|
}
|
64
|
-
.bk-popper[data-popper-placement^='bottom'] > .bk-popper-arrow {
|
64
|
+
:where(.bk-popper[data-popper-placement^='bottom'] > .bk-popper-arrow) {
|
65
65
|
top: -4px;
|
66
66
|
}
|
67
|
-
.bk-popper[data-popper-placement^='left'] > .bk-popper-arrow {
|
67
|
+
:where(.bk-popper[data-popper-placement^='left'] > .bk-popper-arrow) {
|
68
68
|
right: -4px;
|
69
69
|
}
|
70
|
-
.bk-popper[data-popper-placement^='right'] > .bk-popper-arrow {
|
70
|
+
:where(.bk-popper[data-popper-placement^='right'] > .bk-popper-arrow) {
|
71
71
|
left: -4px;
|
72
72
|
}
|
73
|
-
.bk-card {
|
73
|
+
:where(.bk-card) {
|
74
74
|
position: relative;
|
75
75
|
display: inline-block;
|
76
76
|
width: 100%;
|
@@ -80,10 +80,10 @@
|
|
80
80
|
border: 1px solid #dcdee5;
|
81
81
|
border-radius: 2px;
|
82
82
|
}
|
83
|
-
.bk-card:hover {
|
83
|
+
:where(.bk-card):hover {
|
84
84
|
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
|
85
85
|
}
|
86
|
-
.bk-card .bk-card-head {
|
86
|
+
:where(.bk-card) .bk-card-head {
|
87
87
|
position: relative;
|
88
88
|
display: flex;
|
89
89
|
width: 100%;
|
@@ -92,7 +92,7 @@
|
|
92
92
|
line-height: 50px;
|
93
93
|
border-bottom: 1px solid #f0f2f5;
|
94
94
|
}
|
95
|
-
.bk-card .bk-card-head .title {
|
95
|
+
:where(.bk-card) .bk-card-head .title {
|
96
96
|
font-weight: 600;
|
97
97
|
color: #63656e;
|
98
98
|
display: inline-block;
|
@@ -101,24 +101,24 @@
|
|
101
101
|
text-overflow: ellipsis;
|
102
102
|
white-space: nowrap;
|
103
103
|
}
|
104
|
-
.bk-card .bk-card-head .bk-card-input {
|
104
|
+
:where(.bk-card) .bk-card-head .bk-card-input {
|
105
105
|
display: inline-block;
|
106
106
|
line-height: 32px;
|
107
107
|
}
|
108
|
-
.bk-card .bk-card-head.no-line-height {
|
108
|
+
:where(.bk-card) .bk-card-head.no-line-height {
|
109
109
|
line-height: unset;
|
110
110
|
}
|
111
|
-
.bk-card .bk-card-head.collapse {
|
111
|
+
:where(.bk-card) .bk-card-head.collapse {
|
112
112
|
border-bottom: none;
|
113
113
|
}
|
114
|
-
.bk-card .bk-card-head .bk-card-icon {
|
114
|
+
:where(.bk-card) .bk-card-head .bk-card-icon {
|
115
115
|
position: absolute;
|
116
116
|
top: 3px;
|
117
117
|
font-size: 20px;
|
118
118
|
color: #979ba5;
|
119
119
|
cursor: pointer;
|
120
120
|
}
|
121
|
-
.bk-card .bk-card-edit {
|
121
|
+
:where(.bk-card) .bk-card-edit {
|
122
122
|
display: inline-block;
|
123
123
|
margin-left: 4px;
|
124
124
|
font-size: 18px;
|
@@ -126,33 +126,33 @@
|
|
126
126
|
color: #c4c6cc;
|
127
127
|
cursor: pointer;
|
128
128
|
}
|
129
|
-
.bk-card .bk-card-head-left {
|
129
|
+
:where(.bk-card) .bk-card-head-left {
|
130
130
|
padding-right: 20px;
|
131
131
|
padding-left: 24px;
|
132
132
|
}
|
133
|
-
.bk-card .bk-card-head-left .bk-card-icon {
|
133
|
+
:where(.bk-card) .bk-card-head-left .bk-card-icon {
|
134
134
|
left: 6px;
|
135
135
|
}
|
136
|
-
.bk-card .bk-card-head-right {
|
136
|
+
:where(.bk-card) .bk-card-head-right {
|
137
137
|
padding-right: 30px;
|
138
138
|
padding-left: 24px;
|
139
139
|
}
|
140
|
-
.bk-card .bk-card-head-right .bk-card-icon {
|
140
|
+
:where(.bk-card) .bk-card-head-right .bk-card-icon {
|
141
141
|
right: 10px;
|
142
142
|
}
|
143
|
-
.bk-card .bk-card-body {
|
143
|
+
:where(.bk-card) .bk-card-body {
|
144
144
|
width: 100%;
|
145
145
|
padding: 0 24px;
|
146
146
|
text-align: left;
|
147
147
|
}
|
148
|
-
.bk-card .bk-card-footer {
|
148
|
+
:where(.bk-card) .bk-card-footer {
|
149
149
|
width: 100%;
|
150
150
|
height: 50px;
|
151
151
|
line-height: 50px;
|
152
152
|
border-top: 1px solid #f0f2f5;
|
153
153
|
border-bottom: 1px solid #f0f2f5;
|
154
154
|
}
|
155
|
-
.bk-card-border-none {
|
155
|
+
:where(.bk-card-border-none) {
|
156
156
|
border: none;
|
157
157
|
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
|
158
158
|
}
|
package/lib/card/card.less
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
@border-color: #f0f2f5;
|
5
5
|
|
6
|
-
.@{bk-prefix}-card {
|
6
|
+
:where(.@{bk-prefix}-card) {
|
7
7
|
position: relative;
|
8
8
|
display: inline-block;
|
9
9
|
width: 100%;
|
@@ -14,7 +14,7 @@
|
|
14
14
|
border-radius: @border-radius-base;
|
15
15
|
|
16
16
|
&:hover {
|
17
|
-
box-shadow: 0 1px 2px 0 rgba(0,0,0
|
17
|
+
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
|
18
18
|
}
|
19
19
|
.@{bk-prefix}-card-head {
|
20
20
|
position: relative;
|
@@ -86,7 +86,7 @@
|
|
86
86
|
border-bottom: 1px solid @border-color;
|
87
87
|
}
|
88
88
|
}
|
89
|
-
.@{bk-prefix}-card-border-none {
|
89
|
+
:where(.@{bk-prefix}-card-border-none) {
|
90
90
|
border: none;
|
91
|
-
box-shadow: 0px 1px 2px 0px rgba(0,0,0
|
91
|
+
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
|
92
92
|
}
|