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;
|
@@ -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-textarea {
|
202
|
+
:where(.bk-textarea) {
|
203
203
|
--textarea-line-height: 20px;
|
204
204
|
display: inline-flex;
|
205
205
|
width: 100%;
|
@@ -214,48 +214,48 @@
|
|
214
214
|
transition: all 0.3s;
|
215
215
|
flex-direction: column;
|
216
216
|
}
|
217
|
-
.bk-textarea ::placeholder {
|
217
|
+
:where(.bk-textarea) ::placeholder {
|
218
218
|
font-size: 12px;
|
219
219
|
color: #c4c6cc;
|
220
220
|
}
|
221
|
-
.bk-textarea.resizable {
|
221
|
+
:where(.bk-textarea).resizable {
|
222
222
|
resize: both;
|
223
223
|
}
|
224
|
-
.bk-textarea ::-webkit-scrollbar {
|
225
|
-
-webkit-appearance: none;
|
224
|
+
:where(.bk-textarea) ::-webkit-scrollbar {
|
226
225
|
width: 3px;
|
226
|
+
appearance: none;
|
227
227
|
}
|
228
|
-
.bk-textarea ::-webkit-scrollbar-thumb {
|
228
|
+
:where(.bk-textarea) ::-webkit-scrollbar-thumb {
|
229
|
+
background-color: #dcdee5;
|
229
230
|
border-radius: 4px;
|
230
|
-
background-color: #DCDEE5;
|
231
231
|
}
|
232
|
-
.bk-textarea.is-disabled,
|
233
|
-
.bk-textarea.is-readonly {
|
232
|
+
:where(.bk-textarea).is-disabled,
|
233
|
+
:where(.bk-textarea).is-readonly {
|
234
234
|
background-color: #fafbfd;
|
235
235
|
border-color: #dcdee5;
|
236
236
|
}
|
237
|
-
.bk-textarea.is-disabled .bk-input--prefix-area,
|
238
|
-
.bk-textarea.is-readonly .bk-input--prefix-area,
|
239
|
-
.bk-textarea.is-disabled .bk-input--suffix-area,
|
240
|
-
.bk-textarea.is-readonly .bk-input--suffix-area,
|
241
|
-
.bk-textarea.is-disabled .bk-input--suffix-icon,
|
242
|
-
.bk-textarea.is-readonly .bk-input--suffix-icon {
|
237
|
+
:where(.bk-textarea).is-disabled .bk-input--prefix-area,
|
238
|
+
:where(.bk-textarea).is-readonly .bk-input--prefix-area,
|
239
|
+
:where(.bk-textarea).is-disabled .bk-input--suffix-area,
|
240
|
+
:where(.bk-textarea).is-readonly .bk-input--suffix-area,
|
241
|
+
:where(.bk-textarea).is-disabled .bk-input--suffix-icon,
|
242
|
+
:where(.bk-textarea).is-readonly .bk-input--suffix-icon {
|
243
243
|
cursor: not-allowed;
|
244
244
|
background-color: #fafbfd;
|
245
245
|
}
|
246
|
-
.bk-textarea.is-disabled input,
|
247
|
-
.bk-textarea.is-readonly input,
|
248
|
-
.bk-textarea.is-disabled textarea,
|
249
|
-
.bk-textarea.is-readonly textarea {
|
246
|
+
:where(.bk-textarea).is-disabled input,
|
247
|
+
:where(.bk-textarea).is-readonly input,
|
248
|
+
:where(.bk-textarea).is-disabled textarea,
|
249
|
+
:where(.bk-textarea).is-readonly textarea {
|
250
250
|
cursor: not-allowed;
|
251
251
|
background-color: #fafbfd;
|
252
252
|
opacity: 1;
|
253
253
|
}
|
254
|
-
.bk-textarea.is-readonly input,
|
255
|
-
.bk-textarea.is-readonly textarea {
|
254
|
+
:where(.bk-textarea).is-readonly input,
|
255
|
+
:where(.bk-textarea).is-readonly textarea {
|
256
256
|
cursor: auto;
|
257
257
|
}
|
258
|
-
.bk-textarea > textarea {
|
258
|
+
:where(.bk-textarea) > textarea {
|
259
259
|
width: 100%;
|
260
260
|
padding: 5px 10px;
|
261
261
|
line-height: 1.5;
|
@@ -265,7 +265,7 @@
|
|
265
265
|
outline: none;
|
266
266
|
resize: none;
|
267
267
|
}
|
268
|
-
.bk-textarea--max-length {
|
268
|
+
:where(.bk-textarea) .bk-textarea--max-length {
|
269
269
|
padding-right: 8px;
|
270
270
|
margin: 0;
|
271
271
|
margin-left: auto;
|
@@ -274,18 +274,18 @@
|
|
274
274
|
transform: scale(0.8);
|
275
275
|
justify-content: flex-end;
|
276
276
|
}
|
277
|
-
.bk-textarea--max-length.is-over-limit {
|
277
|
+
:where(.bk-textarea) .bk-textarea--max-length.is-over-limit {
|
278
278
|
color: #ea3636;
|
279
279
|
}
|
280
|
-
.bk-textarea--max-length span {
|
280
|
+
:where(.bk-textarea) .bk-textarea--max-length span {
|
281
281
|
color: #979ba5;
|
282
282
|
}
|
283
|
-
.bk-textarea.is-focused:not(.is-readonly) {
|
283
|
+
:where(.bk-textarea).is-focused:not(.is-readonly) {
|
284
284
|
border-color: #3a84ff;
|
285
285
|
outline: 0;
|
286
286
|
box-shadow: 0px 0px 3px 0px #a3c5fd;
|
287
287
|
}
|
288
|
-
.bk-input {
|
288
|
+
:where(.bk-input) {
|
289
289
|
display: inline-flex;
|
290
290
|
align-items: stretch;
|
291
291
|
width: 100%;
|
@@ -295,125 +295,125 @@
|
|
295
295
|
border-radius: 2px;
|
296
296
|
transition: all 0.3s;
|
297
297
|
}
|
298
|
-
.bk-input ::placeholder {
|
298
|
+
:where(.bk-input) ::placeholder {
|
299
299
|
font-size: 12px;
|
300
300
|
color: #c4c6cc;
|
301
301
|
}
|
302
|
-
.bk-input.is-disabled,
|
303
|
-
.bk-input.is-readonly {
|
302
|
+
:where(.bk-input).is-disabled,
|
303
|
+
:where(.bk-input).is-readonly {
|
304
304
|
background-color: #fafbfd;
|
305
305
|
border-color: #dcdee5;
|
306
306
|
}
|
307
|
-
.bk-input.is-disabled .bk-input--prefix-area,
|
308
|
-
.bk-input.is-readonly .bk-input--prefix-area,
|
309
|
-
.bk-input.is-disabled .bk-input--suffix-area,
|
310
|
-
.bk-input.is-readonly .bk-input--suffix-area,
|
311
|
-
.bk-input.is-disabled .bk-input--suffix-icon,
|
312
|
-
.bk-input.is-readonly .bk-input--suffix-icon {
|
307
|
+
:where(.bk-input).is-disabled .bk-input--prefix-area,
|
308
|
+
:where(.bk-input).is-readonly .bk-input--prefix-area,
|
309
|
+
:where(.bk-input).is-disabled .bk-input--suffix-area,
|
310
|
+
:where(.bk-input).is-readonly .bk-input--suffix-area,
|
311
|
+
:where(.bk-input).is-disabled .bk-input--suffix-icon,
|
312
|
+
:where(.bk-input).is-readonly .bk-input--suffix-icon {
|
313
313
|
cursor: not-allowed;
|
314
314
|
background-color: #fafbfd;
|
315
315
|
}
|
316
|
-
.bk-input.is-disabled input,
|
317
|
-
.bk-input.is-readonly input,
|
318
|
-
.bk-input.is-disabled textarea,
|
319
|
-
.bk-input.is-readonly textarea {
|
316
|
+
:where(.bk-input).is-disabled input,
|
317
|
+
:where(.bk-input).is-readonly input,
|
318
|
+
:where(.bk-input).is-disabled textarea,
|
319
|
+
:where(.bk-input).is-readonly textarea {
|
320
320
|
cursor: not-allowed;
|
321
321
|
background-color: #fafbfd;
|
322
322
|
opacity: 1;
|
323
323
|
}
|
324
|
-
.bk-input.is-readonly input,
|
325
|
-
.bk-input.is-readonly textarea {
|
324
|
+
:where(.bk-input).is-readonly input,
|
325
|
+
:where(.bk-input).is-readonly textarea {
|
326
326
|
cursor: auto;
|
327
327
|
}
|
328
|
-
.bk-input:hover:not(.is-disabled) {
|
328
|
+
:where(.bk-input):hover:not(.is-disabled) {
|
329
329
|
border-color: #979ba5;
|
330
330
|
}
|
331
|
-
.bk-input:hover:not(.is-disabled) .show-clear-only-hover {
|
331
|
+
:where(.bk-input):hover:not(.is-disabled) .show-clear-only-hover {
|
332
332
|
display: flex;
|
333
333
|
}
|
334
|
-
.bk-input.is-simplicity {
|
334
|
+
:where(.bk-input).is-simplicity {
|
335
335
|
background-color: transparent;
|
336
336
|
border-color: transparent;
|
337
337
|
border-bottom-color: #c4c6cc;
|
338
338
|
}
|
339
|
-
.bk-input.is-simplicity:hover:not(.is-disabled) {
|
339
|
+
:where(.bk-input).is-simplicity:hover:not(.is-disabled) {
|
340
340
|
background-color: #f5f7fa;
|
341
341
|
border-color: transparent;
|
342
342
|
border-bottom-color: #c4c6cc;
|
343
343
|
box-shadow: none;
|
344
344
|
}
|
345
|
-
.bk-input.is-simplicity:hover:not(.is-disabled) .bk-input--text,
|
346
|
-
.bk-input.is-simplicity:hover:not(.is-disabled) .bk-input--suffix-icon {
|
345
|
+
:where(.bk-input).is-simplicity:hover:not(.is-disabled) .bk-input--text,
|
346
|
+
:where(.bk-input).is-simplicity:hover:not(.is-disabled) .bk-input--suffix-icon {
|
347
347
|
background-color: #f5f7fa;
|
348
348
|
}
|
349
|
-
.bk-input--suffix-icon {
|
349
|
+
:where(.bk-input) .bk-input--suffix-icon {
|
350
350
|
display: flex;
|
351
351
|
height: 100%;
|
352
352
|
padding-right: 8px;
|
353
353
|
font-size: 14px;
|
354
354
|
color: #c4c6cc;
|
355
|
+
cursor: pointer;
|
355
356
|
background-color: white;
|
356
357
|
align-items: center;
|
357
358
|
align-self: center;
|
358
359
|
flex-shrink: 0;
|
359
|
-
cursor: pointer;
|
360
360
|
}
|
361
|
-
.bk-input--suffix-icon:hover {
|
361
|
+
:where(.bk-input) .bk-input--suffix-icon:hover {
|
362
362
|
color: #313238;
|
363
363
|
}
|
364
|
-
.bk-input--suffix-icon.show-clear-only-hover {
|
364
|
+
:where(.bk-input) .bk-input--suffix-icon.show-clear-only-hover {
|
365
365
|
display: none;
|
366
366
|
}
|
367
|
-
.bk-input--clear-icon {
|
367
|
+
:where(.bk-input) .bk-input--clear-icon {
|
368
368
|
cursor: pointer;
|
369
369
|
flex-shrink: 0;
|
370
370
|
}
|
371
|
-
.bk-input--clear-icon:hover {
|
371
|
+
:where(.bk-input) .bk-input--clear-icon:hover {
|
372
372
|
color: #979ba5;
|
373
373
|
}
|
374
|
-
.bk-input--large {
|
374
|
+
:where(.bk-input) .bk-input--large {
|
375
375
|
height: 40px;
|
376
376
|
font-size: 14px;
|
377
377
|
}
|
378
|
-
.bk-input--large ::placeholder {
|
378
|
+
:where(.bk-input) .bk-input--large ::placeholder {
|
379
379
|
font-size: 14px;
|
380
380
|
color: #c4c6cc;
|
381
381
|
}
|
382
|
-
.bk-input--large .bk-input--max-length {
|
382
|
+
:where(.bk-input) .bk-input--large .bk-input--max-length {
|
383
383
|
font-size: 16px;
|
384
384
|
}
|
385
|
-
.bk-input--large .bk-input--number-control span:first-child {
|
385
|
+
:where(.bk-input) .bk-input--large .bk-input--number-control span:first-child {
|
386
386
|
margin-bottom: 4px;
|
387
387
|
}
|
388
|
-
.bk-input--small {
|
388
|
+
:where(.bk-input) .bk-input--small {
|
389
389
|
height: 26px;
|
390
390
|
font-size: 12px;
|
391
391
|
}
|
392
|
-
.bk-input--small .bk-input--max-length {
|
392
|
+
:where(.bk-input) .bk-input--small .bk-input--max-length {
|
393
393
|
font-size: 12px;
|
394
394
|
}
|
395
|
-
.bk-input--default {
|
395
|
+
:where(.bk-input) .bk-input--default {
|
396
396
|
font-size: 12px;
|
397
397
|
}
|
398
|
-
.bk-input--default .bk-input--max-length {
|
398
|
+
:where(.bk-input) .bk-input--default .bk-input--max-length {
|
399
399
|
font-size: 12px;
|
400
400
|
}
|
401
|
-
.bk-input.is-focused:not(.is-readonly) {
|
401
|
+
:where(.bk-input).is-focused:not(.is-readonly) {
|
402
402
|
border-color: #3a84ff;
|
403
403
|
outline: 0;
|
404
404
|
box-shadow: 0px 0px 3px 0px #a3c5fd;
|
405
405
|
}
|
406
|
-
.bk-input.is-focused:not(.is-readonly).is-simplicity {
|
406
|
+
:where(.bk-input).is-focused:not(.is-readonly).is-simplicity {
|
407
407
|
border-color: transparent;
|
408
408
|
border-bottom-color: #3a84ff;
|
409
409
|
box-shadow: none;
|
410
410
|
}
|
411
|
-
.bk-input.is-focused:not(.is-readonly).is-simplicity .bk-input--text,
|
412
|
-
.bk-input.is-focused:not(.is-readonly).is-simplicity .bk-input--suffix-icon {
|
411
|
+
:where(.bk-input).is-focused:not(.is-readonly).is-simplicity .bk-input--text,
|
412
|
+
:where(.bk-input).is-focused:not(.is-readonly).is-simplicity .bk-input--suffix-icon {
|
413
413
|
background-color: #f5f7fa;
|
414
414
|
}
|
415
|
-
.bk-input--prefix-area,
|
416
|
-
.bk-input--suffix-area {
|
415
|
+
:where(.bk-input) .bk-input--prefix-area,
|
416
|
+
:where(.bk-input) .bk-input--suffix-area {
|
417
417
|
display: flex;
|
418
418
|
padding: 0 8px;
|
419
419
|
color: #63656e;
|
@@ -421,23 +421,23 @@
|
|
421
421
|
border-right: 1px solid #c4c6cc;
|
422
422
|
align-items: center;
|
423
423
|
}
|
424
|
-
.bk-input--suffix-area {
|
424
|
+
:where(.bk-input) .bk-input--suffix-area {
|
425
425
|
border: 0;
|
426
426
|
border-left: 1px solid #c4c6cc;
|
427
427
|
}
|
428
|
-
.bk-input--max-length {
|
428
|
+
:where(.bk-input) .bk-input--max-length {
|
429
429
|
align-self: center;
|
430
430
|
padding-right: 8px;
|
431
431
|
font-size: 12px;
|
432
432
|
transform: scale(0.8);
|
433
433
|
}
|
434
|
-
.bk-input--max-length.is-over-limit {
|
434
|
+
:where(.bk-input) .bk-input--max-length.is-over-limit {
|
435
435
|
color: #ea3636;
|
436
436
|
}
|
437
|
-
.bk-input--max-length span {
|
437
|
+
:where(.bk-input) .bk-input--max-length span {
|
438
438
|
color: #979ba5;
|
439
439
|
}
|
440
|
-
.bk-input--text {
|
440
|
+
:where(.bk-input) .bk-input--text {
|
441
441
|
width: 100%;
|
442
442
|
padding: 0 8px;
|
443
443
|
overflow: hidden;
|
@@ -454,28 +454,28 @@
|
|
454
454
|
transition: all 0.3s;
|
455
455
|
flex: 1;
|
456
456
|
}
|
457
|
-
.bk-input--text[type='search']::-webkit-search-decoration,
|
458
|
-
.bk-input--text[type='search']::-webkit-search-cancel-button,
|
459
|
-
.bk-input--text[type='search']::-webkit-search-results-button,
|
460
|
-
.bk-input--text[type='search']::-webkit-search-results-decoration {
|
457
|
+
:where(.bk-input) .bk-input--text[type='search']::-webkit-search-decoration,
|
458
|
+
:where(.bk-input) .bk-input--text[type='search']::-webkit-search-cancel-button,
|
459
|
+
:where(.bk-input) .bk-input--text[type='search']::-webkit-search-results-button,
|
460
|
+
:where(.bk-input) .bk-input--text[type='search']::-webkit-search-results-decoration {
|
461
461
|
appearance: none;
|
462
462
|
}
|
463
|
-
.bk-input--text [type='search']::-ms-clear {
|
463
|
+
:where(.bk-input) .bk-input--text [type='search']::-ms-clear {
|
464
464
|
display: none;
|
465
465
|
width: 0;
|
466
466
|
height: 0;
|
467
467
|
}
|
468
|
-
.bk-input--text [type='search']::-ms-reveal {
|
468
|
+
:where(.bk-input) .bk-input--text [type='search']::-ms-reveal {
|
469
469
|
display: none;
|
470
470
|
width: 0;
|
471
471
|
height: 0;
|
472
472
|
}
|
473
|
-
.bk-input--text[type='number']::-webkit-inner-spin-button,
|
474
|
-
.bk-input--text[type='number']::-webkit-outer-spin-button {
|
473
|
+
:where(.bk-input) .bk-input--text[type='number']::-webkit-inner-spin-button,
|
474
|
+
:where(.bk-input) .bk-input--text[type='number']::-webkit-outer-spin-button {
|
475
475
|
margin: 0;
|
476
476
|
appearance: none;
|
477
477
|
}
|
478
|
-
.bk-input--number-control {
|
478
|
+
:where(.bk-input) .bk-input--number-control {
|
479
479
|
display: flex;
|
480
480
|
width: 26px;
|
481
481
|
height: 100%;
|
@@ -485,7 +485,7 @@
|
|
485
485
|
flex-direction: column;
|
486
486
|
align-items: center;
|
487
487
|
}
|
488
|
-
.bk-input--number-control span {
|
488
|
+
:where(.bk-input) .bk-input--number-control span {
|
489
489
|
display: flex;
|
490
490
|
overflow: hidden;
|
491
491
|
line-height: 1;
|
@@ -496,17 +496,17 @@
|
|
496
496
|
flex: 1;
|
497
497
|
align-items: center;
|
498
498
|
}
|
499
|
-
.bk-input--number-control span.is-disabled {
|
499
|
+
:where(.bk-input) .bk-input--number-control span.is-disabled {
|
500
500
|
color: #c4c6cc;
|
501
501
|
cursor: not-allowed;
|
502
502
|
}
|
503
|
-
.bk-input--number-control svg {
|
503
|
+
:where(.bk-input) .bk-input--number-control svg {
|
504
504
|
font-size: 14px;
|
505
505
|
}
|
506
|
-
.bk-input--number-control span:first-child {
|
506
|
+
:where(.bk-input) .bk-input--number-control span:first-child {
|
507
507
|
transform: rotate(180deg);
|
508
508
|
}
|
509
|
-
.bk-input--number-control span:not(.is-disabled):hover {
|
509
|
+
:where(.bk-input) .bk-input--number-control span:not(.is-disabled):hover {
|
510
510
|
background-color: #eaebf0;
|
511
511
|
}
|
512
512
|
/* 针对 Chrome、Safari 和新版 Edge 的样式 */
|
@@ -514,7 +514,6 @@ input:-webkit-autofill,
|
|
514
514
|
input:-webkit-autofill:hover,
|
515
515
|
input:-webkit-autofill:focus,
|
516
516
|
input:-webkit-autofill:active {
|
517
|
-
-webkit-box-shadow: 0 0 0 100px white inset !important;
|
518
517
|
box-shadow: 0 0 0 100px white inset !important;
|
519
518
|
}
|
520
519
|
/* 针对 Firefox 的样式 */
|
@@ -522,6 +521,5 @@ input:-moz-autofill,
|
|
522
521
|
input:-moz-autofill:hover,
|
523
522
|
input:-moz-autofill:focus,
|
524
523
|
input:-moz-autofill:active {
|
525
|
-
-moz-box-shadow: 0 0 0 100px white inset !important;
|
526
524
|
box-shadow: 0 0 0 100px white inset !important;
|
527
525
|
}
|
package/lib/link/link.css
CHANGED
@@ -1,55 +1,55 @@
|
|
1
|
-
.bk-link {
|
1
|
+
:where(.bk-link) {
|
2
2
|
font-size: 14px;
|
3
3
|
text-decoration: none;
|
4
4
|
}
|
5
|
-
.bk-link.is-disabled {
|
5
|
+
:where(.bk-link).is-disabled {
|
6
6
|
cursor: not-allowed;
|
7
7
|
}
|
8
|
-
.bk-link.has-underline {
|
8
|
+
:where(.bk-link).has-underline {
|
9
9
|
text-decoration: underline;
|
10
10
|
}
|
11
|
-
.bk-link.default {
|
11
|
+
:where(.bk-link).default {
|
12
12
|
color: #63656e;
|
13
13
|
}
|
14
|
-
.bk-link.default:hover {
|
14
|
+
:where(.bk-link).default:hover {
|
15
15
|
color: #979ba5;
|
16
16
|
}
|
17
|
-
.bk-link.default.is-disabled {
|
17
|
+
:where(.bk-link).default.is-disabled {
|
18
18
|
color: #dcdee5;
|
19
19
|
}
|
20
|
-
.bk-link.primary {
|
20
|
+
:where(.bk-link).primary {
|
21
21
|
color: #3a84ff;
|
22
22
|
}
|
23
|
-
.bk-link.primary:hover {
|
23
|
+
:where(.bk-link).primary:hover {
|
24
24
|
color: #699df4;
|
25
25
|
}
|
26
|
-
.bk-link.primary.is-disabled {
|
26
|
+
:where(.bk-link).primary.is-disabled {
|
27
27
|
color: #a3c5fd;
|
28
28
|
}
|
29
|
-
.bk-link.success {
|
29
|
+
:where(.bk-link).success {
|
30
30
|
color: #2dcb56;
|
31
31
|
}
|
32
|
-
.bk-link.success:hover {
|
32
|
+
:where(.bk-link).success:hover {
|
33
33
|
color: #45e35f;
|
34
34
|
}
|
35
|
-
.bk-link.success.is-disabled {
|
35
|
+
:where(.bk-link).success.is-disabled {
|
36
36
|
color: #94f5a4;
|
37
37
|
}
|
38
|
-
.bk-link.warning {
|
38
|
+
:where(.bk-link).warning {
|
39
39
|
color: #ff9c01;
|
40
40
|
}
|
41
|
-
.bk-link.warning:hover {
|
41
|
+
:where(.bk-link).warning:hover {
|
42
42
|
color: #ffb848;
|
43
43
|
}
|
44
|
-
.bk-link.warning.is-disabled {
|
44
|
+
:where(.bk-link).warning.is-disabled {
|
45
45
|
color: #ffd695;
|
46
46
|
}
|
47
|
-
.bk-link.danger {
|
47
|
+
:where(.bk-link).danger {
|
48
48
|
color: #ea3636;
|
49
49
|
}
|
50
|
-
.bk-link.danger:hover {
|
50
|
+
:where(.bk-link).danger:hover {
|
51
51
|
color: #ff5656;
|
52
52
|
}
|
53
|
-
.bk-link.danger.is-disabled {
|
53
|
+
:where(.bk-link).danger.is-disabled {
|
54
54
|
color: #fd9c9c;
|
55
55
|
}
|
package/lib/link/link.less
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
@import '../styles/themes/themes.less';
|
2
2
|
|
3
|
-
.@{bk-prefix}-link {
|
3
|
+
:where(.@{bk-prefix}-link) {
|
4
4
|
font-size: @font-size-medium;
|
5
5
|
text-decoration: none;
|
6
6
|
|
@@ -22,7 +22,6 @@
|
|
22
22
|
&.is-disabled {
|
23
23
|
color: @link-default-disabled-color;
|
24
24
|
}
|
25
|
-
|
26
25
|
}
|
27
26
|
|
28
27
|
&.primary {
|
@@ -47,7 +46,6 @@
|
|
47
46
|
&.is-disabled {
|
48
47
|
color: @link-success-disabled-color;
|
49
48
|
}
|
50
|
-
|
51
49
|
}
|
52
50
|
|
53
51
|
&.warning {
|
@@ -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,58 +127,58 @@
|
|
127
127
|
--select-active-color: #e1ecff;
|
128
128
|
--select-hover-color: #f5f7fa;
|
129
129
|
}
|
130
|
-
.bk-link {
|
130
|
+
:where(.bk-link) {
|
131
131
|
font-size: var(--font-size-medium);
|
132
132
|
text-decoration: none;
|
133
133
|
}
|
134
|
-
.bk-link.is-disabled {
|
134
|
+
:where(.bk-link).is-disabled {
|
135
135
|
cursor: not-allowed;
|
136
136
|
}
|
137
|
-
.bk-link.has-underline {
|
137
|
+
:where(.bk-link).has-underline {
|
138
138
|
text-decoration: underline;
|
139
139
|
}
|
140
|
-
.bk-link.default {
|
140
|
+
:where(.bk-link).default {
|
141
141
|
color: var(--default-color);
|
142
142
|
}
|
143
|
-
.bk-link.default:hover {
|
143
|
+
:where(.bk-link).default:hover {
|
144
144
|
color: var(--link-default-hover-color);
|
145
145
|
}
|
146
|
-
.bk-link.default.is-disabled {
|
146
|
+
:where(.bk-link).default.is-disabled {
|
147
147
|
color: var(--link-default-disabled-color);
|
148
148
|
}
|
149
|
-
.bk-link.primary {
|
149
|
+
:where(.bk-link).primary {
|
150
150
|
color: var(--primary-color);
|
151
151
|
}
|
152
|
-
.bk-link.primary:hover {
|
152
|
+
:where(.bk-link).primary:hover {
|
153
153
|
color: var(--link-primary-hover-color);
|
154
154
|
}
|
155
|
-
.bk-link.primary.is-disabled {
|
155
|
+
:where(.bk-link).primary.is-disabled {
|
156
156
|
color: var(--link-primary-disabled-color);
|
157
157
|
}
|
158
|
-
.bk-link.success {
|
158
|
+
:where(.bk-link).success {
|
159
159
|
color: var(--success-color);
|
160
160
|
}
|
161
|
-
.bk-link.success:hover {
|
161
|
+
:where(.bk-link).success:hover {
|
162
162
|
color: var(--link-success-hover-color);
|
163
163
|
}
|
164
|
-
.bk-link.success.is-disabled {
|
164
|
+
:where(.bk-link).success.is-disabled {
|
165
165
|
color: var(--link-success-disabled-color);
|
166
166
|
}
|
167
|
-
.bk-link.warning {
|
167
|
+
:where(.bk-link).warning {
|
168
168
|
color: var(--warning-color);
|
169
169
|
}
|
170
|
-
.bk-link.warning:hover {
|
170
|
+
:where(.bk-link).warning:hover {
|
171
171
|
color: var(--link-warning-hover-color);
|
172
172
|
}
|
173
|
-
.bk-link.warning.is-disabled {
|
173
|
+
:where(.bk-link).warning.is-disabled {
|
174
174
|
color: var(--link-warning-disabled-color);
|
175
175
|
}
|
176
|
-
.bk-link.danger {
|
176
|
+
:where(.bk-link).danger {
|
177
177
|
color: var(--danger-color);
|
178
178
|
}
|
179
|
-
.bk-link.danger:hover {
|
179
|
+
:where(.bk-link).danger:hover {
|
180
180
|
color: var(--link-danger-hover-color);
|
181
181
|
}
|
182
|
-
.bk-link.danger.is-disabled {
|
182
|
+
:where(.bk-link).danger.is-disabled {
|
183
183
|
color: var(--link-danger-disabled-color);
|
184
184
|
}
|