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
package/lib/message/message.less
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
@import '../styles/themes/themes.less';
|
2
2
|
|
3
|
-
.@{bk-prefix}-message {
|
3
|
+
:where(.@{bk-prefix}-message) {
|
4
4
|
position: fixed;
|
5
5
|
top: 20px;
|
6
6
|
left: 50%;
|
@@ -29,7 +29,7 @@
|
|
29
29
|
}
|
30
30
|
}
|
31
31
|
|
32
|
-
.@{bk-prefix}-message-icon {
|
32
|
+
:where(.@{bk-prefix}-message-icon) {
|
33
33
|
display: inline-block;
|
34
34
|
height: 18px;
|
35
35
|
margin-right: 10px;
|
@@ -37,12 +37,12 @@
|
|
37
37
|
color: @primary-color;
|
38
38
|
}
|
39
39
|
|
40
|
-
.@{bk-prefix}-message-primary {
|
40
|
+
:where(.@{bk-prefix}-message-primary) {
|
41
41
|
background: @message-primary-bg-color;
|
42
42
|
border: 1px solid @message-primary-border-color;
|
43
43
|
}
|
44
44
|
|
45
|
-
.@{bk-prefix}-message-warning {
|
45
|
+
:where(.@{bk-prefix}-message-warning) {
|
46
46
|
background: @message-warning-bg-color;
|
47
47
|
border: 1px solid @message-warning-border-color;
|
48
48
|
box-shadow: 0px 2px 4px 0px @message-warning-shadow-color;
|
@@ -51,7 +51,7 @@
|
|
51
51
|
}
|
52
52
|
}
|
53
53
|
|
54
|
-
.@{bk-prefix}-message-success {
|
54
|
+
:where(.@{bk-prefix}-message-success) {
|
55
55
|
background: @message-success-bg-color;
|
56
56
|
border: 1px solid @message-success-border-color;
|
57
57
|
box-shadow: 0px 2px 4px 0px @message-success-shadow-color;
|
@@ -60,7 +60,7 @@
|
|
60
60
|
}
|
61
61
|
}
|
62
62
|
|
63
|
-
.@{bk-prefix}-message-error {
|
63
|
+
:where(.@{bk-prefix}-message-error) {
|
64
64
|
background: @message-danger-bg-color;
|
65
65
|
border: 1px solid @message-danger-border-color;
|
66
66
|
box-shadow: 0px 2px 4px 0px @message-danger-shadow-color;
|
@@ -69,18 +69,18 @@
|
|
69
69
|
}
|
70
70
|
}
|
71
71
|
|
72
|
-
.@{bk-prefix}-message-fade-enter-active,
|
73
|
-
.@{bk-prefix}-message-fade-leave-active {
|
74
|
-
transition: margin .2s linear;
|
72
|
+
:where(.@{bk-prefix}-message-fade-enter-active),
|
73
|
+
:where(.@{bk-prefix}-message-fade-leave-active) {
|
74
|
+
transition: margin 0.2s linear;
|
75
75
|
}
|
76
76
|
|
77
|
-
.@{bk-prefix}-message-fade-enter-from,
|
78
|
-
.@{bk-prefix}-message-fade-leave-to {
|
77
|
+
:where(.@{bk-prefix}-message-fade-enter-from),
|
78
|
+
:where(.@{bk-prefix}-message-fade-leave-to) {
|
79
79
|
margin-top: -50px;
|
80
80
|
opacity: 0;
|
81
81
|
}
|
82
82
|
|
83
|
-
.@{bk-prefix}-message-content {
|
83
|
+
:where(.@{bk-prefix}-message-content) {
|
84
84
|
display: flex;
|
85
85
|
width: 100%;
|
86
86
|
word-break: break-all;
|
@@ -172,12 +172,12 @@
|
|
172
172
|
margin-top: 10px;
|
173
173
|
|
174
174
|
.message-tree {
|
175
|
+
display: flex;
|
175
176
|
max-height: 480px;
|
176
177
|
padding: 14px 32px;
|
177
178
|
overflow: auto;
|
178
179
|
background: #fff;
|
179
180
|
border-radius: 2px;
|
180
|
-
display: flex;
|
181
181
|
flex-direction: column;
|
182
182
|
|
183
183
|
.message-row {
|
@@ -204,10 +204,10 @@
|
|
204
204
|
|
205
205
|
.copy-value {
|
206
206
|
padding-left: 4px;
|
207
|
-
|
207
|
+
|
208
208
|
&:hover {
|
209
|
-
background: rgba(186, 188, 192, 0.2);
|
210
209
|
cursor: pointer;
|
210
|
+
background: rgba(186, 188, 192, 0.2);
|
211
211
|
border-radius: 2px;
|
212
212
|
}
|
213
213
|
}
|
@@ -217,23 +217,24 @@
|
|
217
217
|
.message-copy {
|
218
218
|
position: absolute;
|
219
219
|
top: 20px;
|
220
|
-
right: 40px;
|
221
|
-
font-size: 16px;
|
222
220
|
top: 0px;
|
221
|
+
right: 40px;
|
223
222
|
right: 0px;
|
224
|
-
|
223
|
+
display: flex;
|
225
224
|
width: 24px;
|
226
225
|
height: 24px;
|
227
|
-
|
228
|
-
|
229
|
-
|
226
|
+
font-size: 16px;
|
227
|
+
font-size: 18px;
|
228
|
+
color: #9fa3ae;
|
230
229
|
cursor: pointer;
|
230
|
+
background: #f5f7fa;
|
231
|
+
border-radius: 0 2px 0 6px;
|
232
|
+
align-items: center;
|
231
233
|
justify-content: center;
|
232
|
-
background: #F5F7FA;
|
233
|
-
color: #9FA3AE;
|
234
234
|
|
235
235
|
&:hover {
|
236
|
-
background: #
|
236
|
+
background: #f0f5ff;
|
237
|
+
|
237
238
|
span {
|
238
239
|
color: #3a84ff;
|
239
240
|
}
|
@@ -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-message {
|
130
|
+
:where(.bk-message) {
|
131
131
|
position: fixed;
|
132
132
|
top: 20px;
|
133
133
|
left: 50%;
|
@@ -143,78 +143,78 @@
|
|
143
143
|
box-shadow: 0px 2px 4px 0px var(--message-primary-shadow-color);
|
144
144
|
justify-content: space-between;
|
145
145
|
}
|
146
|
-
.bk-message .bk-message-close {
|
146
|
+
:where(.bk-message) .bk-message-close {
|
147
147
|
padding-left: 20px;
|
148
148
|
margin-right: 0;
|
149
149
|
font-size: 14px;
|
150
150
|
color: var(--light-gray);
|
151
151
|
cursor: pointer;
|
152
152
|
}
|
153
|
-
.bk-message .bk-message-close:hover {
|
153
|
+
:where(.bk-message) .bk-message-close:hover {
|
154
154
|
color: var(--gray-color);
|
155
155
|
}
|
156
|
-
.bk-message-icon {
|
156
|
+
:where(.bk-message-icon) {
|
157
157
|
display: inline-block;
|
158
158
|
height: 18px;
|
159
159
|
margin-right: 10px;
|
160
160
|
font-size: 18px;
|
161
161
|
color: var(--primary-color);
|
162
162
|
}
|
163
|
-
.bk-message-primary {
|
163
|
+
:where(.bk-message-primary) {
|
164
164
|
background: var(--message-primary-bg-color);
|
165
165
|
border: 1px solid var(--message-primary-border-color);
|
166
166
|
}
|
167
|
-
.bk-message-warning {
|
167
|
+
:where(.bk-message-warning) {
|
168
168
|
background: var(--message-warning-bg-color);
|
169
169
|
border: 1px solid var(--message-warning-border-color);
|
170
170
|
box-shadow: 0px 2px 4px 0px var(--message-warning-shadow-color);
|
171
171
|
}
|
172
|
-
.bk-message-warning .bk-message-icon {
|
172
|
+
:where(.bk-message-warning) .bk-message-icon {
|
173
173
|
color: var(--warning-color);
|
174
174
|
}
|
175
|
-
.bk-message-success {
|
175
|
+
:where(.bk-message-success) {
|
176
176
|
background: var(--message-success-bg-color);
|
177
177
|
border: 1px solid var(--message-success-border-color);
|
178
178
|
box-shadow: 0px 2px 4px 0px var(--message-success-shadow-color);
|
179
179
|
}
|
180
|
-
.bk-message-success .bk-message-icon {
|
180
|
+
:where(.bk-message-success) .bk-message-icon {
|
181
181
|
color: var(--success-color);
|
182
182
|
}
|
183
|
-
.bk-message-error {
|
183
|
+
:where(.bk-message-error) {
|
184
184
|
background: var(--message-danger-bg-color);
|
185
185
|
border: 1px solid var(--message-danger-border-color);
|
186
186
|
box-shadow: 0px 2px 4px 0px var(--message-danger-shadow-color);
|
187
187
|
}
|
188
|
-
.bk-message-error .bk-message-icon {
|
188
|
+
:where(.bk-message-error) .bk-message-icon {
|
189
189
|
color: var(--danger-color);
|
190
190
|
}
|
191
|
-
.bk-message-fade-enter-active,
|
192
|
-
.bk-message-fade-leave-active {
|
191
|
+
:where(.bk-message-fade-enter-active),
|
192
|
+
:where(.bk-message-fade-leave-active) {
|
193
193
|
transition: margin 0.2s linear;
|
194
194
|
}
|
195
|
-
.bk-message-fade-enter-from,
|
196
|
-
.bk-message-fade-leave-to {
|
195
|
+
:where(.bk-message-fade-enter-from),
|
196
|
+
:where(.bk-message-fade-leave-to) {
|
197
197
|
margin-top: -50px;
|
198
198
|
opacity: 0;
|
199
199
|
}
|
200
|
-
.bk-message-content {
|
200
|
+
:where(.bk-message-content) {
|
201
201
|
display: flex;
|
202
202
|
width: 100%;
|
203
203
|
word-break: break-all;
|
204
204
|
}
|
205
|
-
.bk-message-content.multi {
|
205
|
+
:where(.bk-message-content).multi {
|
206
206
|
flex-direction: column;
|
207
207
|
position: relative;
|
208
208
|
}
|
209
|
-
.bk-message-content.multi .overview {
|
209
|
+
:where(.bk-message-content).multi .overview {
|
210
210
|
display: flex;
|
211
211
|
justify-content: space-between;
|
212
212
|
align-items: self-start;
|
213
213
|
}
|
214
|
-
.bk-message-content.multi .overview .left-content {
|
214
|
+
:where(.bk-message-content).multi .overview .left-content {
|
215
215
|
display: flex;
|
216
216
|
}
|
217
|
-
.bk-message-content.multi .overview .left-content .describe {
|
217
|
+
:where(.bk-message-content).multi .overview .left-content .describe {
|
218
218
|
display: box;
|
219
219
|
max-width: 560px;
|
220
220
|
max-height: 60px;
|
@@ -223,64 +223,64 @@
|
|
223
223
|
-webkit-box-orient: vertical;
|
224
224
|
-webkit-line-clamp: 3;
|
225
225
|
}
|
226
|
-
.bk-message-content.multi .overview .tools {
|
226
|
+
:where(.bk-message-content).multi .overview .tools {
|
227
227
|
display: flex;
|
228
228
|
align-items: center;
|
229
229
|
}
|
230
|
-
.bk-message-content.multi .overview .tools .tool {
|
230
|
+
:where(.bk-message-content).multi .overview .tools .tool {
|
231
231
|
display: flex;
|
232
232
|
padding: 0 5px;
|
233
233
|
font-size: 14px;
|
234
234
|
cursor: pointer;
|
235
235
|
align-items: center;
|
236
236
|
}
|
237
|
-
.bk-message-content.multi .overview .tools .tool .bk-message-close {
|
237
|
+
:where(.bk-message-content).multi .overview .tools .tool .bk-message-close {
|
238
238
|
padding-left: 0;
|
239
239
|
}
|
240
|
-
.bk-message-content.multi .overview .tools .tool .message-action-text {
|
240
|
+
:where(.bk-message-content).multi .overview .tools .tool .message-action-text {
|
241
241
|
padding-left: 4px;
|
242
242
|
overflow: hidden;
|
243
243
|
text-overflow: ellipsis;
|
244
244
|
white-space: nowrap;
|
245
245
|
}
|
246
|
-
.bk-message-content.multi .overview .tools .tool:not(.fix) span {
|
246
|
+
:where(.bk-message-content).multi .overview .tools .tool:not(.fix) span {
|
247
247
|
color: #3a84ff;
|
248
248
|
}
|
249
|
-
.bk-message-content.multi .overview .tools .tool.fix.fixed span {
|
249
|
+
:where(.bk-message-content).multi .overview .tools .tool.fix.fixed span {
|
250
250
|
color: #3a84ff;
|
251
251
|
}
|
252
|
-
.bk-message-content.multi .overview .tools .tool.fix span {
|
252
|
+
:where(.bk-message-content).multi .overview .tools .tool.fix span {
|
253
253
|
color: #979ba5;
|
254
254
|
}
|
255
|
-
.bk-message-content.multi .overview .tools .tool.fix:hover span {
|
255
|
+
:where(.bk-message-content).multi .overview .tools .tool.fix:hover span {
|
256
256
|
color: #3a84ff;
|
257
257
|
}
|
258
|
-
.bk-message-content.multi .overview .tools .tool.close span {
|
258
|
+
:where(.bk-message-content).multi .overview .tools .tool.close span {
|
259
259
|
color: #c4c6cc;
|
260
260
|
}
|
261
|
-
.bk-message-content.multi .overview .tools .tool.close span:hover {
|
261
|
+
:where(.bk-message-content).multi .overview .tools .tool.close span:hover {
|
262
262
|
color: #979ba5;
|
263
263
|
}
|
264
|
-
.bk-message-content.multi .message-detail {
|
264
|
+
:where(.bk-message-content).multi .message-detail {
|
265
265
|
position: relative;
|
266
266
|
margin-top: 10px;
|
267
267
|
}
|
268
|
-
.bk-message-content.multi .message-detail .message-tree {
|
268
|
+
:where(.bk-message-content).multi .message-detail .message-tree {
|
269
|
+
display: flex;
|
269
270
|
max-height: 480px;
|
270
271
|
padding: 14px 32px;
|
271
272
|
overflow: auto;
|
272
273
|
background: #fff;
|
273
274
|
border-radius: 2px;
|
274
|
-
display: flex;
|
275
275
|
flex-direction: column;
|
276
276
|
}
|
277
|
-
.bk-message-content.multi .message-detail .message-tree .message-row {
|
277
|
+
:where(.bk-message-content).multi .message-detail .message-tree .message-row {
|
278
278
|
display: inline-flex;
|
279
279
|
font-size: 14px;
|
280
280
|
line-height: 34px;
|
281
281
|
color: #313238;
|
282
282
|
}
|
283
|
-
.bk-message-content.multi .message-detail .message-tree .message-row label {
|
283
|
+
:where(.bk-message-content).multi .message-detail .message-tree .message-row label {
|
284
284
|
display: inline-block;
|
285
285
|
width: 94px;
|
286
286
|
min-width: 94px;
|
@@ -291,46 +291,46 @@
|
|
291
291
|
text-overflow: ellipsis;
|
292
292
|
white-space: nowrap;
|
293
293
|
}
|
294
|
-
.bk-message-content.multi .message-detail .message-tree .message-row label::after {
|
294
|
+
:where(.bk-message-content).multi .message-detail .message-tree .message-row label::after {
|
295
295
|
content: ':';
|
296
296
|
}
|
297
|
-
.bk-message-content.multi .message-detail .message-tree .message-row .copy-value {
|
297
|
+
:where(.bk-message-content).multi .message-detail .message-tree .message-row .copy-value {
|
298
298
|
padding-left: 4px;
|
299
299
|
}
|
300
|
-
.bk-message-content.multi .message-detail .message-tree .message-row .copy-value:hover {
|
301
|
-
background: rgba(186, 188, 192, 0.2);
|
300
|
+
:where(.bk-message-content).multi .message-detail .message-tree .message-row .copy-value:hover {
|
302
301
|
cursor: pointer;
|
302
|
+
background: rgba(186, 188, 192, 0.2);
|
303
303
|
border-radius: 2px;
|
304
304
|
}
|
305
|
-
.bk-message-content.multi .message-detail .message-copy {
|
305
|
+
:where(.bk-message-content).multi .message-detail .message-copy {
|
306
306
|
position: absolute;
|
307
307
|
top: 20px;
|
308
|
-
right: 40px;
|
309
|
-
font-size: 16px;
|
310
308
|
top: 0px;
|
309
|
+
right: 40px;
|
311
310
|
right: 0px;
|
312
|
-
|
311
|
+
display: flex;
|
313
312
|
width: 24px;
|
314
313
|
height: 24px;
|
315
|
-
|
316
|
-
|
317
|
-
|
314
|
+
font-size: 16px;
|
315
|
+
font-size: 18px;
|
316
|
+
color: #9fa3ae;
|
318
317
|
cursor: pointer;
|
318
|
+
background: #f5f7fa;
|
319
|
+
border-radius: 0 2px 0 6px;
|
320
|
+
align-items: center;
|
319
321
|
justify-content: center;
|
320
|
-
background: #F5F7FA;
|
321
|
-
color: #9FA3AE;
|
322
322
|
}
|
323
|
-
.bk-message-content.multi .message-detail .message-copy:hover {
|
324
|
-
background: #
|
323
|
+
:where(.bk-message-content).multi .message-detail .message-copy:hover {
|
324
|
+
background: #f0f5ff;
|
325
325
|
}
|
326
|
-
.bk-message-content.multi .message-detail .message-copy:hover span {
|
326
|
+
:where(.bk-message-content).multi .message-detail .message-copy:hover span {
|
327
327
|
color: #3a84ff;
|
328
328
|
}
|
329
|
-
.bk-message-content.multi .message-detail .copy-status {
|
329
|
+
:where(.bk-message-content).multi .message-detail .copy-status {
|
330
330
|
display: none;
|
331
331
|
padding-bottom: 4px;
|
332
332
|
}
|
333
|
-
.bk-message-content.multi .message-detail .copy-status .inner {
|
333
|
+
:where(.bk-message-content).multi .message-detail .copy-status .inner {
|
334
334
|
position: relative;
|
335
335
|
display: flex;
|
336
336
|
padding: 6px 8px;
|
@@ -342,10 +342,10 @@
|
|
342
342
|
box-shadow: 0 2px 6px 0 #0000001a;
|
343
343
|
align-items: center;
|
344
344
|
}
|
345
|
-
.bk-message-content.multi .message-detail .copy-status .inner span {
|
345
|
+
:where(.bk-message-content).multi .message-detail .copy-status .inner span {
|
346
346
|
margin-right: 4px;
|
347
347
|
}
|
348
|
-
.bk-message-content.multi .message-detail .copy-status .inner::after {
|
348
|
+
:where(.bk-message-content).multi .message-detail .copy-status .inner::after {
|
349
349
|
position: absolute;
|
350
350
|
bottom: 0;
|
351
351
|
left: 50%;
|
@@ -360,13 +360,13 @@
|
|
360
360
|
box-shadow: 5px 3px 6px 0 #0000001a;
|
361
361
|
box-sizing: border-box;
|
362
362
|
}
|
363
|
-
.bk-message-content.multi .message-detail .copy-status.success .inner span {
|
363
|
+
:where(.bk-message-content).multi .message-detail .copy-status.success .inner span {
|
364
364
|
color: #2dcb9d;
|
365
365
|
}
|
366
|
-
.bk-message-content.multi .message-detail .copy-status.error .inner span {
|
366
|
+
:where(.bk-message-content).multi .message-detail .copy-status.error .inner span {
|
367
367
|
color: #ea3636;
|
368
368
|
}
|
369
|
-
.bk-message-content.multi .message-detail .copy-status.is-show {
|
369
|
+
:where(.bk-message-content).multi .message-detail .copy-status.is-show {
|
370
370
|
position: absolute;
|
371
371
|
top: 0;
|
372
372
|
left: 0;
|
@@ -374,6 +374,6 @@
|
|
374
374
|
white-space: nowrap;
|
375
375
|
transform: translate(-50%, -100%);
|
376
376
|
}
|
377
|
-
.bk-message-content.multi .message-detail .copy-status.is-hidden {
|
377
|
+
:where(.bk-message-content).multi .message-detail .copy-status.is-hidden {
|
378
378
|
display: none;
|
379
379
|
}
|
package/lib/modal/modal.css
CHANGED
@@ -1,68 +1,68 @@
|
|
1
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper {
|
1
|
+
:where(.bk-modal-ctx).bk-info-wrapper .bk-modal-wrapper {
|
2
2
|
width: 440px;
|
3
3
|
}
|
4
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper.normal {
|
4
|
+
:where(.bk-modal-ctx).bk-info-wrapper .bk-modal-wrapper.normal {
|
5
5
|
width: 440px;
|
6
6
|
}
|
7
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper.small {
|
7
|
+
:where(.bk-modal-ctx).bk-info-wrapper .bk-modal-wrapper.small {
|
8
8
|
width: 400px;
|
9
9
|
}
|
10
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-body {
|
10
|
+
:where(.bk-modal-ctx).bk-info-wrapper .bk-modal-wrapper .bk-modal-body {
|
11
11
|
border-radius: 2px;
|
12
12
|
}
|
13
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header {
|
13
|
+
:where(.bk-modal-ctx).bk-info-wrapper .bk-modal-wrapper .bk-dialog-header {
|
14
14
|
padding: 24px 24px 0;
|
15
15
|
}
|
16
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
|
16
|
+
:where(.bk-modal-ctx).bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
|
17
17
|
height: 27px;
|
18
18
|
margin: 15px 0 10px;
|
19
19
|
}
|
20
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-content {
|
20
|
+
:where(.bk-modal-ctx).bk-info-wrapper .bk-modal-wrapper .bk-modal-content {
|
21
21
|
height: 100%;
|
22
22
|
max-height: 100%;
|
23
23
|
min-height: 100%;
|
24
24
|
padding: 0 50px 10px;
|
25
25
|
word-break: break-all;
|
26
26
|
}
|
27
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-content .bk-info-sub-title {
|
27
|
+
:where(.bk-modal-ctx).bk-info-wrapper .bk-modal-wrapper .bk-modal-content .bk-info-sub-title {
|
28
28
|
margin-bottom: 10px;
|
29
29
|
text-align: center;
|
30
30
|
word-break: break-all;
|
31
31
|
}
|
32
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer {
|
32
|
+
:where(.bk-modal-ctx).bk-info-wrapper .bk-modal-wrapper .bk-modal-footer {
|
33
33
|
padding: 0 65px 33px;
|
34
34
|
background-color: #fff;
|
35
35
|
border-top: none;
|
36
36
|
}
|
37
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer .bk-dialog-footer button {
|
37
|
+
:where(.bk-modal-ctx).bk-info-wrapper .bk-modal-wrapper .bk-modal-footer .bk-dialog-footer button {
|
38
38
|
min-width: 88px;
|
39
39
|
}
|
40
|
-
.bk-modal-ctx {
|
41
|
-
pointer-events: auto;
|
40
|
+
:where(.bk-modal-ctx) {
|
42
41
|
top: 0px;
|
43
42
|
left: 0px;
|
44
43
|
width: 100%;
|
45
44
|
height: 100%;
|
45
|
+
pointer-events: auto;
|
46
46
|
}
|
47
|
-
.bk-modal-ctx.--show {
|
47
|
+
:where(.bk-modal-ctx).--show {
|
48
48
|
position: fixed;
|
49
49
|
}
|
50
|
-
.bk-modal-ctx.--hide {
|
50
|
+
:where(.bk-modal-ctx).--hide {
|
51
51
|
display: none;
|
52
52
|
}
|
53
|
-
.bk-modal-ctx .bk-modal-ctx-mask {
|
54
|
-
display: none;
|
55
|
-
left: 0;
|
53
|
+
:where(.bk-modal-ctx) .bk-modal-ctx-mask {
|
56
54
|
top: 0;
|
55
|
+
left: 0;
|
56
|
+
display: none;
|
57
57
|
width: 100%;
|
58
58
|
height: 100%;
|
59
59
|
background-color: rgba(0, 0, 0, 0.6);
|
60
60
|
}
|
61
|
-
.bk-modal-ctx .bk-modal-ctx-mask.--show {
|
61
|
+
:where(.bk-modal-ctx) .bk-modal-ctx-mask.--show {
|
62
62
|
position: fixed;
|
63
63
|
display: inherit;
|
64
64
|
}
|
65
|
-
.bk-modal-wrapper {
|
65
|
+
:where(.bk-modal-wrapper) {
|
66
66
|
position: absolute;
|
67
67
|
top: 50%;
|
68
68
|
left: 50%;
|
@@ -70,32 +70,32 @@
|
|
70
70
|
border-radius: 2px;
|
71
71
|
transform: translate(-50%, -50%);
|
72
72
|
}
|
73
|
-
.bk-modal-wrapper .bk-modal-outside {
|
73
|
+
:where(.bk-modal-wrapper) .bk-modal-outside {
|
74
74
|
position: fixed;
|
75
75
|
top: 0;
|
76
76
|
right: 0;
|
77
77
|
bottom: 0;
|
78
78
|
left: 0;
|
79
79
|
}
|
80
|
-
.bk-modal-wrapper.normal {
|
80
|
+
:where(.bk-modal-wrapper).normal {
|
81
81
|
width: 480px;
|
82
82
|
height: 240px;
|
83
83
|
}
|
84
|
-
.bk-modal-wrapper.small {
|
84
|
+
:where(.bk-modal-wrapper).small {
|
85
85
|
width: 400px;
|
86
86
|
height: 200px;
|
87
87
|
}
|
88
|
-
.bk-modal-wrapper.medium {
|
88
|
+
:where(.bk-modal-wrapper).medium {
|
89
89
|
width: 640px;
|
90
90
|
height: 400px;
|
91
91
|
}
|
92
|
-
.bk-modal-wrapper.large {
|
92
|
+
:where(.bk-modal-wrapper).large {
|
93
93
|
width: 960px;
|
94
94
|
height: 720px;
|
95
95
|
}
|
96
|
-
.bk-modal-wrapper .bk-modal-body {
|
97
|
-
height: 100%;
|
96
|
+
:where(.bk-modal-wrapper) .bk-modal-body {
|
98
97
|
width: 100%;
|
98
|
+
height: 100%;
|
99
99
|
background: #fff;
|
100
100
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
101
101
|
}
|
package/lib/modal/modal.less
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
@import '../styles/themes/themes.less';
|
2
2
|
@import '../info-box/info-box.less';
|
3
3
|
|
4
|
-
.@{bk-prefix}-modal-ctx {
|
5
|
-
pointer-events: auto;
|
4
|
+
:where(.@{bk-prefix}-modal-ctx) {
|
6
5
|
top: 0px;
|
7
6
|
left: 0px;
|
8
7
|
|
9
8
|
width: 100%;
|
10
9
|
height: 100%;
|
10
|
+
pointer-events: auto;
|
11
11
|
|
12
12
|
&.--show {
|
13
13
|
position: fixed;
|
@@ -18,12 +18,12 @@
|
|
18
18
|
}
|
19
19
|
|
20
20
|
.@{bk-prefix}-modal-ctx-mask {
|
21
|
-
display: none;
|
22
|
-
left: 0;
|
23
21
|
top: 0;
|
22
|
+
left: 0;
|
23
|
+
display: none;
|
24
24
|
width: 100%;
|
25
25
|
height: 100%;
|
26
|
-
background-color: rgba(0,0,0,0.6);
|
26
|
+
background-color: rgba(0, 0, 0, 0.6);
|
27
27
|
|
28
28
|
&.--show {
|
29
29
|
position: fixed;
|
@@ -32,9 +32,7 @@
|
|
32
32
|
}
|
33
33
|
}
|
34
34
|
|
35
|
-
|
36
|
-
|
37
|
-
.@{bk-prefix}-modal-wrapper {
|
35
|
+
:where(.@{bk-prefix}-modal-wrapper) {
|
38
36
|
position: absolute;
|
39
37
|
top: 50%;
|
40
38
|
left: 50%;
|
@@ -72,11 +70,9 @@
|
|
72
70
|
}
|
73
71
|
|
74
72
|
.@{bk-prefix}-modal-body {
|
75
|
-
height: 100%;
|
76
73
|
width: 100%;
|
74
|
+
height: 100%;
|
77
75
|
background: #fff;
|
78
|
-
box-shadow: 0 4px 12px rgba(0,0,0
|
76
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
79
77
|
}
|
80
78
|
}
|
81
|
-
|
82
|
-
|