bkui-vue 2.0.1-beta.15.table.6 → 2.0.1-beta.16
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 +64 -64
- package/dist/index.esm.js +20429 -20328
- package/dist/index.umd.js +64 -64
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.css +0 -129
- package/lib/affix/affix.variable.css +0 -258
- package/lib/alert/alert.css +3 -132
- package/lib/alert/alert.variable.css +0 -258
- package/lib/backtop/backtop.css +3 -132
- package/lib/backtop/backtop.variable.css +3 -390
- package/lib/badge/badge.css +26 -155
- package/lib/badge/badge.variable.css +0 -258
- package/lib/breadcrumb/breadcrumb.css +5 -134
- package/lib/breadcrumb/breadcrumb.variable.css +5 -392
- package/lib/button/button.css +143 -272
- package/lib/button/button.variable.css +0 -258
- package/lib/card/card.css +4 -133
- package/lib/card/card.variable.css +4 -391
- package/lib/cascader/cascader.css +23 -152
- package/lib/cascader/cascader.variable.css +23 -410
- package/lib/checkbox/checkbox.css +9 -138
- package/lib/checkbox/checkbox.variable.css +0 -258
- package/lib/code-diff/code-diff.css +0 -129
- package/lib/code-diff/code-diff.variable.css +0 -258
- package/lib/collapse/collapse.css +1 -130
- package/lib/collapse/collapse.variable.css +0 -258
- package/lib/collapse-transition/collapse-transition.css +0 -129
- package/lib/collapse-transition/collapse-transition.variable.css +0 -258
- package/lib/color-picker/color-picker.css +0 -129
- package/lib/color-picker/color-picker.variable.css +0 -258
- package/lib/config-provider/config-provider.css +0 -129
- package/lib/config-provider/config-provider.variable.css +0 -258
- package/lib/container/container.css +0 -129
- package/lib/container/container.variable.css +0 -387
- package/lib/date-picker/date-picker.css +17 -146
- package/lib/date-picker/date-picker.variable.css +0 -258
- package/lib/date-picker/index.js +2 -2
- package/lib/dialog/dialog.css +8 -137
- package/lib/dialog/dialog.variable.css +8 -395
- package/lib/divider/divider.css +3 -132
- package/lib/divider/divider.variable.css +0 -258
- package/lib/dropdown/dropdown.css +0 -129
- package/lib/dropdown/dropdown.variable.css +0 -387
- package/lib/exception/exception.css +0 -129
- package/lib/exception/exception.variable.css +0 -258
- package/lib/fixed-navbar/fixed-navbar.css +4 -133
- package/lib/fixed-navbar/fixed-navbar.variable.css +0 -258
- package/lib/form/form.css +0 -129
- package/lib/form/form.variable.css +0 -258
- package/lib/image/image-viewer.css +0 -129
- package/lib/image/image-viewer.variable.css +0 -258
- package/lib/image/image.css +0 -129
- package/lib/image/image.variable.css +0 -387
- package/lib/index.js +1 -1
- package/lib/info-box/info-box.css +4 -133
- package/lib/info-box/info-box.variable.css +0 -258
- package/lib/input/input.css +72 -201
- package/lib/input/input.variable.css +72 -459
- package/lib/link/link.css +16 -145
- package/lib/link/link.variable.css +0 -258
- package/lib/loading/loading.css +16 -145
- package/lib/loading/loading.variable.css +16 -403
- package/lib/menu/menu.css +18 -147
- package/lib/menu/menu.variable.css +18 -405
- package/lib/menu/submenu.css +0 -129
- package/lib/menu/submenu.variable.css +0 -258
- package/lib/message/message.css +21 -150
- package/lib/message/message.variable.css +0 -258
- package/lib/modal/modal.css +4 -133
- package/lib/modal/modal.variable.css +4 -391
- package/lib/navigation/navigation.css +2 -131
- package/lib/navigation/navigation.variable.css +0 -258
- package/lib/notify/notify.css +7 -136
- package/lib/notify/notify.variable.css +0 -258
- package/lib/pagination/pagination.css +1 -130
- package/lib/pagination/pagination.variable.css +0 -258
- package/lib/pop-confirm/pop-confirm.css +0 -129
- package/lib/pop-confirm/pop-confirm.variable.css +0 -258
- package/lib/popover/popover.css +0 -129
- package/lib/popover/popover.variable.css +0 -258
- package/lib/process/process.css +13 -142
- package/lib/process/process.variable.css +0 -258
- package/lib/progress/progress.css +4 -133
- package/lib/progress/progress.variable.css +4 -391
- package/lib/radio/radio.css +42 -171
- package/lib/radio/radio.variable.css +0 -258
- package/lib/rate/rate.css +0 -129
- package/lib/rate/rate.variable.css +0 -258
- package/lib/resize-layout/resize-layout.css +0 -129
- package/lib/resize-layout/resize-layout.variable.css +0 -258
- package/lib/scrollbar/index.js +17275 -14
- package/lib/scrollbar/scrollbar-core/index.d.ts +1 -2
- package/lib/scrollbar/scrollbar.css +0 -129
- package/lib/scrollbar/scrollbar.variable.css +0 -258
- package/lib/search-select/search-select.css +33 -162
- package/lib/search-select/search-select.variable.css +33 -420
- package/lib/select/select.css +39 -168
- package/lib/select/select.variable.css +39 -426
- package/lib/shared/index.d.ts +0 -1
- package/lib/shared/index.js +1 -72
- package/lib/sideslider/sideslider.css +1 -130
- package/lib/sideslider/sideslider.variable.css +0 -258
- package/lib/slider/slider.css +5 -134
- package/lib/slider/slider.variable.css +0 -258
- package/lib/steps/index.d.ts +3 -3
- package/lib/steps/steps.css +38 -167
- package/lib/steps/steps.d.ts +1 -1
- package/lib/steps/steps.variable.css +0 -258
- package/lib/styles/mixins/animate.css +0 -129
- package/lib/styles/mixins/animate.variable.css +0 -258
- package/lib/styles/mixins/mixins.css +0 -129
- package/lib/styles/mixins/mixins.variable.css +0 -129
- package/lib/styles/mixins/popper.css +0 -129
- package/lib/styles/mixins/popper.variable.css +0 -258
- package/lib/styles/mixins/scroll.css +0 -129
- package/lib/styles/mixins/scroll.variable.css +0 -258
- package/lib/styles/reset.css +0 -129
- package/lib/styles/reset.variable.css +0 -258
- package/lib/styles/themes/themes.less +127 -306
- package/lib/swiper/swiper.css +0 -129
- package/lib/swiper/swiper.variable.css +0 -258
- package/lib/switcher/switcher.css +17 -146
- package/lib/switcher/switcher.variable.css +17 -404
- package/lib/tab/tab.css +17 -146
- package/lib/tab/tab.variable.css +0 -258
- package/lib/table/components/table-column.d.ts +0 -1
- package/lib/table/const.d.ts +0 -12
- package/lib/table/events.d.ts +98 -2
- package/lib/table/index.d.ts +502 -28
- package/lib/table/index.js +3519 -3225
- package/lib/table/plugins/col-group.d.ts +38 -0
- package/lib/table/plugins/head-filter.css +0 -129
- package/lib/table/plugins/head-filter.d.ts +1 -2
- package/lib/table/plugins/head-filter.variable.css +0 -258
- package/lib/table/plugins/head-sort.css +0 -129
- package/lib/table/plugins/head-sort.variable.css +0 -258
- package/lib/table/plugins/settings.css +0 -130
- package/lib/table/plugins/settings.d.ts +16 -0
- package/lib/table/plugins/settings.less +0 -1
- package/lib/table/plugins/settings.variable.css +0 -259
- package/lib/table/plugins/use-active-columns.d.ts +16 -0
- package/lib/table/plugins/use-column-resize.d.ts +35 -0
- package/lib/table/{hooks → plugins}/use-column-template.d.ts +2 -1
- package/lib/table/{hooks → plugins}/use-draggable.d.ts +2 -2
- package/lib/table/plugins/use-fixed-column.d.ts +27 -0
- package/lib/table/plugins/use-head-cell.d.ts +7 -0
- package/lib/table/plugins/use-pagination.d.ts +23 -0
- package/lib/table/props.d.ts +9 -19
- package/lib/table/table.css +212 -329
- package/lib/table/table.d.ts +174 -18
- package/lib/table/table.less +47 -35
- package/lib/table/table.variable.css +212 -587
- package/lib/table/use-attributes.d.ts +62 -0
- package/lib/table/use-column.d.ts +155 -0
- package/lib/table/use-common.d.ts +1679 -0
- package/lib/table/use-render.d.ts +11 -0
- package/lib/table/utils.d.ts +3 -26
- package/lib/table-column/index.d.ts +0 -3
- package/lib/table-column/index.js +8 -26
- package/lib/tag/tag.css +5 -134
- package/lib/tag/tag.variable.css +0 -258
- package/lib/tag-input/tag-input.css +18 -147
- package/lib/tag-input/tag-input.variable.css +0 -258
- package/lib/time-picker/time-picker.css +0 -129
- package/lib/time-picker/time-picker.variable.css +0 -258
- package/lib/timeline/timeline.css +19 -148
- package/lib/timeline/timeline.variable.css +0 -258
- package/lib/transfer/transfer.css +19 -148
- package/lib/transfer/transfer.variable.css +0 -258
- package/lib/tree/tree.css +9 -138
- package/lib/tree/tree.variable.css +9 -396
- package/lib/upload/upload.css +27 -156
- package/lib/upload/upload.variable.css +27 -414
- package/lib/virtual-render/index.js +1 -1
- package/lib/virtual-render/virtual-render.css +0 -129
- package/lib/virtual-render/virtual-render.variable.css +0 -387
- package/package.json +2 -1
- package/lib/shared/frame-throttle.d.ts +0 -15
- package/lib/styles/themes/themes.css +0 -129
- package/lib/styles/themes/themes.variable.css +0 -129
- package/lib/table/hooks/use-column-resize.d.ts +0 -7
- package/lib/table/hooks/use-columns.d.ts +0 -55
- package/lib/table/hooks/use-fixed-column.d.ts +0 -10
- package/lib/table/hooks/use-head.d.ts +0 -15
- package/lib/table/hooks/use-layout.d.ts +0 -20
- package/lib/table/hooks/use-pagination.d.ts +0 -16
- package/lib/table/hooks/use-render.d.ts +0 -23
- package/lib/table/hooks/use-rows.d.ts +0 -25
- package/lib/table/hooks/use-settings.d.ts +0 -23
- /package/lib/table/{components → plugins}/body-empty.d.ts +0 -0
- /package/lib/table/{hooks → plugins}/use-observer-resize.d.ts +0 -0
- /package/lib/table/{hooks → plugins}/use-scroll-loading.d.ts +0 -0
- /package/lib/table/{hooks → plugins}/use-shift-key.d.ts +0 -0
package/lib/input/input.css
CHANGED
@@ -1,132 +1,3 @@
|
|
1
|
-
:root {
|
2
|
-
--bk-prefix: bk;
|
3
|
-
--popover-max-height: 216px;
|
4
|
-
--primary-color: #3a84ff;
|
5
|
-
--success-color: #2dcb56;
|
6
|
-
--warning-color: #ff9c01;
|
7
|
-
--danger-color: #ea3636;
|
8
|
-
--default-color: #63656e;
|
9
|
-
--gray-color: #979ba5;
|
10
|
-
--light-gray: #c4c6cc;
|
11
|
-
--white-color: white;
|
12
|
-
--whitesmoke-color: #fafbfd;
|
13
|
-
--disable-color: #dcdee5;
|
14
|
-
--disable-bg-color: #f9fafd;
|
15
|
-
--border-color: #dcdee5;
|
16
|
-
--font-size-base: 12px;
|
17
|
-
--font-size-medium: 14px;
|
18
|
-
--font-size-large: 16px;
|
19
|
-
--line-height-base: 16px;
|
20
|
-
--line-height-medium: 16px;
|
21
|
-
--line-height-large: 18px;
|
22
|
-
--component-size-small: 26px;
|
23
|
-
--component-size-base: 32px;
|
24
|
-
--component-size-large: 40px;
|
25
|
-
--component-size-small-padding: 0 12px;
|
26
|
-
--component-size-base-padding: 0 14px;
|
27
|
-
--component-size-large-padding: 0 16px;
|
28
|
-
--border-width-base: 1px;
|
29
|
-
--border-style-base: solid;
|
30
|
-
--border-radius-base: 2px;
|
31
|
-
--border-style-color: var(--light-gray);
|
32
|
-
--input-disabled-bg: #fafbfd;
|
33
|
-
--input-disabled-border: var(--disable-color);
|
34
|
-
--input-height-base: var(--component-size-base);
|
35
|
-
--input-color: var(--default-color);
|
36
|
-
--input-bg: white;
|
37
|
-
--input-border-color: var(--light-gray);
|
38
|
-
--input-broder-radius: 3px;
|
39
|
-
--input-shadow-color: #a3c5fd;
|
40
|
-
--input-horizontal-padding: 8px;
|
41
|
-
--input-block-color: #f5f7fa;
|
42
|
-
--input-block-hover-color: #eaebf0;
|
43
|
-
--input-icon-size: var(--font-size-medium);
|
44
|
-
--input-maxlength-color: #979ba5;
|
45
|
-
--button-primary-hover-color: #5594fa;
|
46
|
-
--button-danger-hover-color: #ff5656;
|
47
|
-
--button-success-hover-color: #45e35f;
|
48
|
-
--button-warning-hover-color: #ffb848;
|
49
|
-
--button-default-hover-border-color: #979ba5;
|
50
|
-
--button-primary-active-color: #2c77f4;
|
51
|
-
--button-danger-active-color: #db2626;
|
52
|
-
--button-success-active-color: #1ab943;
|
53
|
-
--button-warning-active-color: #eb9000;
|
54
|
-
--button-selected-bg-color: #e1ecff;
|
55
|
-
--button-disabled-selected-bg-color: #f0f1f5;
|
56
|
-
--radio-font-color: #63656e;
|
57
|
-
--radio-active-color: #3a84ff;
|
58
|
-
--radio-hover-border-color: #979ba5;
|
59
|
-
--radio-disabled-border: #dcdee5;
|
60
|
-
--radio-disabled-font-color: #c4c6cc;
|
61
|
-
--radio-disabled-checked-bg: #a3c5fd;
|
62
|
-
--radio-button-checked-bg: #e1ecff;
|
63
|
-
--radio-button-disabled-checked-bg: #fafbfd;
|
64
|
-
--checkbox-disabled-checked-bg: #a3c5fd;
|
65
|
-
--fixed-navbar-background: #fff;
|
66
|
-
--fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
|
67
|
-
--switch-default-color: #fff;
|
68
|
-
--switch-grey-color: #c4c6cc;
|
69
|
-
--breadcrumb-black-color: #979ba5;
|
70
|
-
--breadcrumb-primary-hover-color: #0082ff;
|
71
|
-
--breadcrumb-fn-main-color: #63656e;
|
72
|
-
--link-default-hover-color: #979ba5;
|
73
|
-
--link-primary-hover-color: #699df4;
|
74
|
-
--link-success-hover-color: #45e35f;
|
75
|
-
--link-warning-hover-color: #ffb848;
|
76
|
-
--link-danger-hover-color: #ff5656;
|
77
|
-
--link-default-disabled-color: #dcdee5;
|
78
|
-
--link-primary-disabled-color: #a3c5fd;
|
79
|
-
--link-success-disabled-color: #94f5a4;
|
80
|
-
--link-warning-disabled-color: #ffd695;
|
81
|
-
--link-danger-disabled-color: #fd9c9c;
|
82
|
-
--message-color: var(--default-color);
|
83
|
-
--message-primary-bg-color: #f0f8ff;
|
84
|
-
--message-primary-border-color: #e1ecff;
|
85
|
-
--message-primary-shadow-color: #e1e8f4;
|
86
|
-
--message-warning-bg-color: #fff4e2;
|
87
|
-
--message-warning-border-color: #ffe8c3;
|
88
|
-
--message-warning-shadow-color: #ede6db;
|
89
|
-
--message-success-bg-color: #f2fff4;
|
90
|
-
--message-success-border-color: #dcffe2;
|
91
|
-
--message-success-shadow-color: #cef0d7;
|
92
|
-
--message-danger-bg-color: #ffeded;
|
93
|
-
--message-danger-border-color: #ffdddd;
|
94
|
-
--message-danger-shadow-color: #f6dada;
|
95
|
-
--slider-default-bg: #dcdee5;
|
96
|
-
--slider-disable-bar-bg: #979ba5;
|
97
|
-
--menu-bg-color: #182132;
|
98
|
-
--submenu-bg-color: #151d2c;
|
99
|
-
--menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
|
100
|
-
--menu-color: #96a2b9;
|
101
|
-
--menu-group-color: var(--default-color);
|
102
|
-
--menu-width: 260px;
|
103
|
-
--menu-collapse-width: 60px;
|
104
|
-
--menu-active-color: white;
|
105
|
-
--nav-header-bg-color: #182132;
|
106
|
-
--nav-bg-color: #182132;
|
107
|
-
--date-picker-disabled-bg: #fafbfd;
|
108
|
-
--date-picker-dropdown-mb: 4px;
|
109
|
-
--date-picker-dropdown-bg: #fff;
|
110
|
-
--table-bg-color: var(--white-color);
|
111
|
-
--table-border-color: #dcdee5;
|
112
|
-
--table-head-bg-color: #fafbfd;
|
113
|
-
--table-head-font-color: #313238;
|
114
|
-
--table-body-font-color: #63656E;
|
115
|
-
--table-row-hover-bg-color: #f5f7fa;
|
116
|
-
--table-row-active-bg-color: #f0f1f5;
|
117
|
-
--cascader-panel-border-color: #dcdee5;
|
118
|
-
--cascader-panel-hover: #f5f7fa;
|
119
|
-
--cascader-panel-active: #e1ecff;
|
120
|
-
--cascader-panel-disabled-bg: #fff;
|
121
|
-
--search-select-focus-border-color: var(--primary-color);
|
122
|
-
--search-select-focus-color: #3c96ff;
|
123
|
-
--search-select-font-color: var(--default-color);
|
124
|
-
--search-select-placeholder-color: var(--light-gray);
|
125
|
-
--search-select-message-color: var(--danger-color);
|
126
|
-
--search-select-menu-border-color: var(--disable-color);
|
127
|
-
--select-active-color: #e1ecff;
|
128
|
-
--select-hover-color: #f5f7fa;
|
129
|
-
}
|
130
1
|
@keyframes loading-scale-animate {
|
131
2
|
0% {
|
132
3
|
transform: scale(1);
|
@@ -204,19 +75,19 @@
|
|
204
75
|
display: inline-flex;
|
205
76
|
width: 100%;
|
206
77
|
overflow: hidden;
|
207
|
-
font-size:
|
78
|
+
font-size: 12px;
|
208
79
|
line-height: var(--textarea-line-height);
|
209
|
-
color:
|
80
|
+
color: #63656e;
|
210
81
|
background-color: white;
|
211
|
-
border:
|
212
|
-
border-radius:
|
82
|
+
border: 1px solid #c4c6cc;
|
83
|
+
border-radius: 2px;
|
213
84
|
box-sizing: border-box;
|
214
85
|
transition: all 0.3s;
|
215
86
|
flex-direction: column;
|
216
87
|
}
|
217
88
|
.bk-textarea ::placeholder {
|
218
|
-
font-size:
|
219
|
-
color:
|
89
|
+
font-size: 12px;
|
90
|
+
color: #c4c6cc;
|
220
91
|
}
|
221
92
|
.bk-textarea.resizable {
|
222
93
|
resize: both;
|
@@ -231,8 +102,8 @@
|
|
231
102
|
}
|
232
103
|
.bk-textarea.is-disabled,
|
233
104
|
.bk-textarea.is-readonly {
|
234
|
-
background-color:
|
235
|
-
border-color:
|
105
|
+
background-color: #fafbfd;
|
106
|
+
border-color: #dcdee5;
|
236
107
|
}
|
237
108
|
.bk-textarea.is-disabled .bk-input--prefix-area,
|
238
109
|
.bk-textarea.is-readonly .bk-input--prefix-area,
|
@@ -241,14 +112,14 @@
|
|
241
112
|
.bk-textarea.is-disabled .bk-input--suffix-icon,
|
242
113
|
.bk-textarea.is-readonly .bk-input--suffix-icon {
|
243
114
|
cursor: not-allowed;
|
244
|
-
background-color:
|
115
|
+
background-color: #fafbfd;
|
245
116
|
}
|
246
117
|
.bk-textarea.is-disabled input,
|
247
118
|
.bk-textarea.is-readonly input,
|
248
119
|
.bk-textarea.is-disabled textarea,
|
249
120
|
.bk-textarea.is-readonly textarea {
|
250
121
|
cursor: not-allowed;
|
251
|
-
background-color:
|
122
|
+
background-color: #fafbfd;
|
252
123
|
opacity: 1;
|
253
124
|
}
|
254
125
|
.bk-textarea.is-readonly input,
|
@@ -261,48 +132,48 @@
|
|
261
132
|
line-height: 1.5;
|
262
133
|
text-align: left;
|
263
134
|
border: 0;
|
264
|
-
border-radius:
|
135
|
+
border-radius: 2px;
|
265
136
|
outline: none;
|
266
137
|
resize: none;
|
267
138
|
}
|
268
139
|
.bk-textarea--max-length {
|
269
|
-
padding-right:
|
140
|
+
padding-right: 8px;
|
270
141
|
margin: 0;
|
271
142
|
margin-left: auto;
|
272
|
-
font-size:
|
143
|
+
font-size: 12px;
|
273
144
|
text-align: right;
|
274
145
|
transform: scale(0.8);
|
275
146
|
justify-content: flex-end;
|
276
147
|
}
|
277
148
|
.bk-textarea--max-length.is-over-limit {
|
278
|
-
color:
|
149
|
+
color: #ea3636;
|
279
150
|
}
|
280
151
|
.bk-textarea--max-length span {
|
281
|
-
color:
|
152
|
+
color: #979ba5;
|
282
153
|
}
|
283
154
|
.bk-textarea.is-focused:not(.is-readonly) {
|
284
|
-
border-color:
|
155
|
+
border-color: #3a84ff;
|
285
156
|
outline: 0;
|
286
|
-
box-shadow: 0px 0px 3px 0px
|
157
|
+
box-shadow: 0px 0px 3px 0px #a3c5fd;
|
287
158
|
}
|
288
159
|
.bk-input {
|
289
160
|
display: inline-flex;
|
290
161
|
align-items: stretch;
|
291
162
|
width: 100%;
|
292
|
-
height:
|
293
|
-
font-size:
|
294
|
-
border:
|
295
|
-
border-radius:
|
163
|
+
height: 32px;
|
164
|
+
font-size: 12px;
|
165
|
+
border: 1px solid #c4c6cc;
|
166
|
+
border-radius: 2px;
|
296
167
|
transition: all 0.3s;
|
297
168
|
}
|
298
169
|
.bk-input ::placeholder {
|
299
|
-
font-size:
|
300
|
-
color:
|
170
|
+
font-size: 12px;
|
171
|
+
color: #c4c6cc;
|
301
172
|
}
|
302
173
|
.bk-input.is-disabled,
|
303
174
|
.bk-input.is-readonly {
|
304
|
-
background-color:
|
305
|
-
border-color:
|
175
|
+
background-color: #fafbfd;
|
176
|
+
border-color: #dcdee5;
|
306
177
|
}
|
307
178
|
.bk-input.is-disabled .bk-input--prefix-area,
|
308
179
|
.bk-input.is-readonly .bk-input--prefix-area,
|
@@ -311,14 +182,14 @@
|
|
311
182
|
.bk-input.is-disabled .bk-input--suffix-icon,
|
312
183
|
.bk-input.is-readonly .bk-input--suffix-icon {
|
313
184
|
cursor: not-allowed;
|
314
|
-
background-color:
|
185
|
+
background-color: #fafbfd;
|
315
186
|
}
|
316
187
|
.bk-input.is-disabled input,
|
317
188
|
.bk-input.is-readonly input,
|
318
189
|
.bk-input.is-disabled textarea,
|
319
190
|
.bk-input.is-readonly textarea {
|
320
191
|
cursor: not-allowed;
|
321
|
-
background-color:
|
192
|
+
background-color: #fafbfd;
|
322
193
|
opacity: 1;
|
323
194
|
}
|
324
195
|
.bk-input.is-readonly input,
|
@@ -326,7 +197,7 @@
|
|
326
197
|
cursor: auto;
|
327
198
|
}
|
328
199
|
.bk-input:hover:not(.is-disabled) {
|
329
|
-
border-color:
|
200
|
+
border-color: #979ba5;
|
330
201
|
}
|
331
202
|
.bk-input:hover:not(.is-disabled) .show-clear-only-hover {
|
332
203
|
display: flex;
|
@@ -334,25 +205,25 @@
|
|
334
205
|
.bk-input.is-simplicity {
|
335
206
|
background-color: transparent;
|
336
207
|
border-color: transparent;
|
337
|
-
border-bottom-color:
|
208
|
+
border-bottom-color: #c4c6cc;
|
338
209
|
}
|
339
210
|
.bk-input.is-simplicity:hover:not(.is-disabled) {
|
340
|
-
background-color:
|
211
|
+
background-color: #f5f7fa;
|
341
212
|
border-color: transparent;
|
342
|
-
border-bottom-color:
|
213
|
+
border-bottom-color: #c4c6cc;
|
343
214
|
box-shadow: none;
|
344
215
|
}
|
345
216
|
.bk-input.is-simplicity:hover:not(.is-disabled) .bk-input--text,
|
346
217
|
.bk-input.is-simplicity:hover:not(.is-disabled) .bk-input--suffix-icon {
|
347
|
-
background-color:
|
218
|
+
background-color: #f5f7fa;
|
348
219
|
}
|
349
220
|
.bk-input--suffix-icon {
|
350
221
|
display: flex;
|
351
222
|
height: 100%;
|
352
|
-
padding-right:
|
353
|
-
font-size:
|
354
|
-
color:
|
355
|
-
background-color:
|
223
|
+
padding-right: 8px;
|
224
|
+
font-size: 14px;
|
225
|
+
color: #c4c6cc;
|
226
|
+
background-color: white;
|
356
227
|
align-items: center;
|
357
228
|
align-self: center;
|
358
229
|
flex-shrink: 0;
|
@@ -369,86 +240,86 @@
|
|
369
240
|
flex-shrink: 0;
|
370
241
|
}
|
371
242
|
.bk-input--clear-icon:hover {
|
372
|
-
color:
|
243
|
+
color: #979ba5;
|
373
244
|
}
|
374
245
|
.bk-input--large {
|
375
|
-
height:
|
376
|
-
font-size:
|
246
|
+
height: 40px;
|
247
|
+
font-size: 14px;
|
377
248
|
}
|
378
249
|
.bk-input--large ::placeholder {
|
379
|
-
font-size:
|
380
|
-
color:
|
250
|
+
font-size: 14px;
|
251
|
+
color: #c4c6cc;
|
381
252
|
}
|
382
253
|
.bk-input--large .bk-input--max-length {
|
383
|
-
font-size:
|
254
|
+
font-size: 16px;
|
384
255
|
}
|
385
256
|
.bk-input--large .bk-input--number-control span:first-child {
|
386
257
|
margin-bottom: 4px;
|
387
258
|
}
|
388
259
|
.bk-input--small {
|
389
|
-
height:
|
390
|
-
font-size:
|
260
|
+
height: 26px;
|
261
|
+
font-size: 12px;
|
391
262
|
}
|
392
263
|
.bk-input--small .bk-input--max-length {
|
393
|
-
font-size:
|
264
|
+
font-size: 12px;
|
394
265
|
}
|
395
266
|
.bk-input--default {
|
396
|
-
font-size:
|
267
|
+
font-size: 12px;
|
397
268
|
}
|
398
269
|
.bk-input--default .bk-input--max-length {
|
399
|
-
font-size:
|
270
|
+
font-size: 12px;
|
400
271
|
}
|
401
272
|
.bk-input.is-focused:not(.is-readonly) {
|
402
|
-
border-color:
|
273
|
+
border-color: #3a84ff;
|
403
274
|
outline: 0;
|
404
|
-
box-shadow: 0px 0px 3px 0px
|
275
|
+
box-shadow: 0px 0px 3px 0px #a3c5fd;
|
405
276
|
}
|
406
277
|
.bk-input.is-focused:not(.is-readonly).is-simplicity {
|
407
278
|
border-color: transparent;
|
408
|
-
border-bottom-color:
|
279
|
+
border-bottom-color: #3a84ff;
|
409
280
|
box-shadow: none;
|
410
281
|
}
|
411
282
|
.bk-input.is-focused:not(.is-readonly).is-simplicity .bk-input--text,
|
412
283
|
.bk-input.is-focused:not(.is-readonly).is-simplicity .bk-input--suffix-icon {
|
413
|
-
background-color:
|
284
|
+
background-color: #f5f7fa;
|
414
285
|
}
|
415
286
|
.bk-input--prefix-area,
|
416
287
|
.bk-input--suffix-area {
|
417
288
|
display: flex;
|
418
|
-
padding: 0
|
419
|
-
color:
|
420
|
-
background-color:
|
421
|
-
border-right: 1px solid
|
289
|
+
padding: 0 8px;
|
290
|
+
color: #63656e;
|
291
|
+
background-color: #f5f7fa;
|
292
|
+
border-right: 1px solid #c4c6cc;
|
422
293
|
align-items: center;
|
423
294
|
}
|
424
295
|
.bk-input--suffix-area {
|
425
296
|
border: 0;
|
426
|
-
border-left: 1px solid
|
297
|
+
border-left: 1px solid #c4c6cc;
|
427
298
|
}
|
428
299
|
.bk-input--max-length {
|
429
300
|
align-self: center;
|
430
|
-
padding-right:
|
301
|
+
padding-right: 8px;
|
431
302
|
font-size: 12px;
|
432
303
|
transform: scale(0.8);
|
433
304
|
}
|
434
305
|
.bk-input--max-length.is-over-limit {
|
435
|
-
color:
|
306
|
+
color: #ea3636;
|
436
307
|
}
|
437
308
|
.bk-input--max-length span {
|
438
|
-
color:
|
309
|
+
color: #979ba5;
|
439
310
|
}
|
440
311
|
.bk-input--text {
|
441
312
|
width: 100%;
|
442
|
-
padding: 0
|
313
|
+
padding: 0 8px;
|
443
314
|
overflow: hidden;
|
444
315
|
line-height: 1;
|
445
|
-
color:
|
316
|
+
color: #63656e;
|
446
317
|
text-overflow: ellipsis;
|
447
318
|
white-space: nowrap;
|
448
|
-
background-color:
|
319
|
+
background-color: white;
|
449
320
|
background-image: none;
|
450
321
|
border: none;
|
451
|
-
border-radius:
|
322
|
+
border-radius: 2px;
|
452
323
|
outline: none;
|
453
324
|
box-sizing: border-box;
|
454
325
|
transition: all 0.3s;
|
@@ -489,39 +360,39 @@
|
|
489
360
|
display: flex;
|
490
361
|
overflow: hidden;
|
491
362
|
line-height: 1;
|
492
|
-
color:
|
363
|
+
color: #979ba5;
|
493
364
|
text-align: center;
|
494
365
|
cursor: pointer;
|
495
|
-
background-color:
|
366
|
+
background-color: #f5f7fa;
|
496
367
|
flex: 1;
|
497
368
|
align-items: center;
|
498
369
|
}
|
499
370
|
.bk-input--number-control span.is-disabled {
|
500
|
-
color:
|
371
|
+
color: #c4c6cc;
|
501
372
|
cursor: not-allowed;
|
502
373
|
}
|
503
374
|
.bk-input--number-control svg {
|
504
|
-
font-size:
|
375
|
+
font-size: 14px;
|
505
376
|
}
|
506
377
|
.bk-input--number-control span:first-child {
|
507
378
|
transform: rotate(180deg);
|
508
379
|
}
|
509
380
|
.bk-input--number-control span:not(.is-disabled):hover {
|
510
|
-
background-color:
|
381
|
+
background-color: #eaebf0;
|
511
382
|
}
|
512
383
|
/* 针对 Chrome、Safari 和新版 Edge 的样式 */
|
513
384
|
input:-webkit-autofill,
|
514
385
|
input:-webkit-autofill:hover,
|
515
386
|
input:-webkit-autofill:focus,
|
516
387
|
input:-webkit-autofill:active {
|
517
|
-
-webkit-box-shadow: 0 0 0 100px
|
518
|
-
box-shadow: 0 0 0 100px
|
388
|
+
-webkit-box-shadow: 0 0 0 100px white inset !important;
|
389
|
+
box-shadow: 0 0 0 100px white inset !important;
|
519
390
|
}
|
520
391
|
/* 针对 Firefox 的样式 */
|
521
392
|
input:-moz-autofill,
|
522
393
|
input:-moz-autofill:hover,
|
523
394
|
input:-moz-autofill:focus,
|
524
395
|
input:-moz-autofill:active {
|
525
|
-
-moz-box-shadow: 0 0 0 100px
|
526
|
-
box-shadow: 0 0 0 100px
|
396
|
+
-moz-box-shadow: 0 0 0 100px white inset !important;
|
397
|
+
box-shadow: 0 0 0 100px white inset !important;
|
527
398
|
}
|