bkui-vue 1.0.3-beta.24 → 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/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.less +55 -54
- package/lib/date-picker/date-picker.variable.css +94 -94
- 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/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/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/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/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/notify/notify.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
.bk-notify {
|
1
|
+
:where(.bk-notify) {
|
2
2
|
position: fixed;
|
3
3
|
display: flex;
|
4
4
|
width: 360px;
|
@@ -11,23 +11,23 @@
|
|
11
11
|
border-radius: 2px;
|
12
12
|
box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
|
13
13
|
}
|
14
|
-
.bk-notify .bk-notify-icon {
|
14
|
+
:where(.bk-notify) .bk-notify-icon {
|
15
15
|
position: absolute;
|
16
16
|
top: 17px;
|
17
17
|
margin-right: 5px;
|
18
18
|
font-size: 18px;
|
19
19
|
color: #3a84ff;
|
20
20
|
}
|
21
|
-
.bk-notify.bk-notify-warning .bk-notify-icon {
|
21
|
+
:where(.bk-notify).bk-notify-warning .bk-notify-icon {
|
22
22
|
color: #ff9c01;
|
23
23
|
}
|
24
|
-
.bk-notify.bk-notify-success .bk-notify-icon {
|
24
|
+
:where(.bk-notify).bk-notify-success .bk-notify-icon {
|
25
25
|
color: #2dcb56;
|
26
26
|
}
|
27
|
-
.bk-notify.bk-notify-error .bk-notify-icon {
|
27
|
+
:where(.bk-notify).bk-notify-error .bk-notify-icon {
|
28
28
|
color: #ea3636;
|
29
29
|
}
|
30
|
-
.bk-notify .bk-notify-icon.bk-notify-close {
|
30
|
+
:where(.bk-notify) .bk-notify-icon.bk-notify-close {
|
31
31
|
top: 6px;
|
32
32
|
right: 6px;
|
33
33
|
margin-right: 0;
|
@@ -35,10 +35,10 @@
|
|
35
35
|
color: #c4c6cc;
|
36
36
|
cursor: pointer;
|
37
37
|
}
|
38
|
-
.bk-notify .bk-notify-icon.bk-notify-close:hover {
|
38
|
+
:where(.bk-notify) .bk-notify-icon.bk-notify-close:hover {
|
39
39
|
color: #979ba5;
|
40
40
|
}
|
41
|
-
.bk-notify .bk-notify-content-header {
|
41
|
+
:where(.bk-notify) .bk-notify-content-header {
|
42
42
|
display: inline-block;
|
43
43
|
padding-left: 25px;
|
44
44
|
margin-top: 0;
|
@@ -47,23 +47,23 @@
|
|
47
47
|
font-weight: 700;
|
48
48
|
color: #313238;
|
49
49
|
}
|
50
|
-
.bk-notify .bk-notify-content-text {
|
50
|
+
:where(.bk-notify) .bk-notify-content-text {
|
51
51
|
display: inline-block;
|
52
52
|
padding-left: 23px;
|
53
53
|
}
|
54
|
-
.bk-notify-fade-enter-active,
|
55
|
-
.bk-notify-fade-leave-active {
|
54
|
+
:where(.bk-notify-fade-enter-active),
|
55
|
+
:where(.bk-notify-fade-leave-active) {
|
56
56
|
transition: transform 0.3s linear, opacity 0.2s linear;
|
57
57
|
}
|
58
|
-
.bk-notify-fade-enter-from,
|
59
|
-
.bk-notify-fade-leave-to {
|
58
|
+
:where(.bk-notify-fade-enter-from),
|
59
|
+
:where(.bk-notify-fade-leave-to) {
|
60
60
|
opacity: 0;
|
61
61
|
}
|
62
|
-
.bk-notify-fade-enter-from.right,
|
63
|
-
.bk-notify-fade-leave-to.right {
|
62
|
+
:where(.bk-notify-fade-enter-from).right,
|
63
|
+
:where(.bk-notify-fade-leave-to).right {
|
64
64
|
transform: translateX(100%);
|
65
65
|
}
|
66
|
-
.bk-notify-fade-enter-from.left,
|
67
|
-
.bk-notify-fade-leave-to.left {
|
66
|
+
:where(.bk-notify-fade-enter-from).left,
|
67
|
+
:where(.bk-notify-fade-leave-to).left {
|
68
68
|
transform: translateX(-100%);
|
69
69
|
}
|
package/lib/notify/notify.less
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
@import '../styles/themes/themes.less';
|
2
2
|
|
3
|
-
.@{bk-prefix}-notify {
|
3
|
+
:where(.@{bk-prefix}-notify) {
|
4
4
|
position: fixed;
|
5
5
|
display: flex;
|
6
6
|
width: 360px;
|
@@ -62,13 +62,15 @@
|
|
62
62
|
}
|
63
63
|
}
|
64
64
|
|
65
|
-
.@{bk-prefix}-notify-fade-enter-active,
|
66
|
-
.@{bk-prefix}-notify-fade-leave-active {
|
67
|
-
transition:
|
65
|
+
:where(.@{bk-prefix}-notify-fade-enter-active),
|
66
|
+
:where(.@{bk-prefix}-notify-fade-leave-active) {
|
67
|
+
transition:
|
68
|
+
transform 0.3s linear,
|
69
|
+
opacity 0.2s linear;
|
68
70
|
}
|
69
71
|
|
70
|
-
.@{bk-prefix}-notify-fade-enter-from,
|
71
|
-
.@{bk-prefix}-notify-fade-leave-to {
|
72
|
+
:where(.@{bk-prefix}-notify-fade-enter-from),
|
73
|
+
:where(.@{bk-prefix}-notify-fade-leave-to) {
|
72
74
|
opacity: 0;
|
73
75
|
|
74
76
|
&.right {
|
@@ -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-notify {
|
130
|
+
:where(.bk-notify) {
|
131
131
|
position: fixed;
|
132
132
|
display: flex;
|
133
133
|
width: 360px;
|
@@ -140,23 +140,23 @@
|
|
140
140
|
border-radius: 2px;
|
141
141
|
box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
|
142
142
|
}
|
143
|
-
.bk-notify .bk-notify-icon {
|
143
|
+
:where(.bk-notify) .bk-notify-icon {
|
144
144
|
position: absolute;
|
145
145
|
top: 17px;
|
146
146
|
margin-right: 5px;
|
147
147
|
font-size: 18px;
|
148
148
|
color: var(--primary-color);
|
149
149
|
}
|
150
|
-
.bk-notify.bk-notify-warning .bk-notify-icon {
|
150
|
+
:where(.bk-notify).bk-notify-warning .bk-notify-icon {
|
151
151
|
color: var(--warning-color);
|
152
152
|
}
|
153
|
-
.bk-notify.bk-notify-success .bk-notify-icon {
|
153
|
+
:where(.bk-notify).bk-notify-success .bk-notify-icon {
|
154
154
|
color: var(--success-color);
|
155
155
|
}
|
156
|
-
.bk-notify.bk-notify-error .bk-notify-icon {
|
156
|
+
:where(.bk-notify).bk-notify-error .bk-notify-icon {
|
157
157
|
color: var(--danger-color);
|
158
158
|
}
|
159
|
-
.bk-notify .bk-notify-icon.bk-notify-close {
|
159
|
+
:where(.bk-notify) .bk-notify-icon.bk-notify-close {
|
160
160
|
top: 6px;
|
161
161
|
right: 6px;
|
162
162
|
margin-right: 0;
|
@@ -164,10 +164,10 @@
|
|
164
164
|
color: var(--light-gray);
|
165
165
|
cursor: pointer;
|
166
166
|
}
|
167
|
-
.bk-notify .bk-notify-icon.bk-notify-close:hover {
|
167
|
+
:where(.bk-notify) .bk-notify-icon.bk-notify-close:hover {
|
168
168
|
color: var(--gray-color);
|
169
169
|
}
|
170
|
-
.bk-notify .bk-notify-content-header {
|
170
|
+
:where(.bk-notify) .bk-notify-content-header {
|
171
171
|
display: inline-block;
|
172
172
|
padding-left: 25px;
|
173
173
|
margin-top: 0;
|
@@ -176,23 +176,23 @@
|
|
176
176
|
font-weight: 700;
|
177
177
|
color: #313238;
|
178
178
|
}
|
179
|
-
.bk-notify .bk-notify-content-text {
|
179
|
+
:where(.bk-notify) .bk-notify-content-text {
|
180
180
|
display: inline-block;
|
181
181
|
padding-left: 23px;
|
182
182
|
}
|
183
|
-
.bk-notify-fade-enter-active,
|
184
|
-
.bk-notify-fade-leave-active {
|
183
|
+
:where(.bk-notify-fade-enter-active),
|
184
|
+
:where(.bk-notify-fade-leave-active) {
|
185
185
|
transition: transform 0.3s linear, opacity 0.2s linear;
|
186
186
|
}
|
187
|
-
.bk-notify-fade-enter-from,
|
188
|
-
.bk-notify-fade-leave-to {
|
187
|
+
:where(.bk-notify-fade-enter-from),
|
188
|
+
:where(.bk-notify-fade-leave-to) {
|
189
189
|
opacity: 0;
|
190
190
|
}
|
191
|
-
.bk-notify-fade-enter-from.right,
|
192
|
-
.bk-notify-fade-leave-to.right {
|
191
|
+
:where(.bk-notify-fade-enter-from).right,
|
192
|
+
:where(.bk-notify-fade-leave-to).right {
|
193
193
|
transform: translateX(100%);
|
194
194
|
}
|
195
|
-
.bk-notify-fade-enter-from.left,
|
196
|
-
.bk-notify-fade-leave-to.left {
|
195
|
+
:where(.bk-notify-fade-enter-from).left,
|
196
|
+
:where(.bk-notify-fade-leave-to).left {
|
197
197
|
transform: translateX(-100%);
|
198
198
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.bk-pagination {
|
1
|
+
:where(.bk-pagination) {
|
2
2
|
display: flex;
|
3
3
|
align-items: center;
|
4
4
|
font-size: 12px;
|
@@ -6,43 +6,43 @@
|
|
6
6
|
color: #63656e;
|
7
7
|
user-select: none;
|
8
8
|
}
|
9
|
-
.bk-pagination.is-disabled {
|
9
|
+
:where(.bk-pagination).is-disabled {
|
10
10
|
cursor: not-allowed;
|
11
11
|
}
|
12
|
-
.bk-pagination.is-align-left {
|
12
|
+
:where(.bk-pagination).is-align-left {
|
13
13
|
justify-content: flex-start;
|
14
14
|
}
|
15
|
-
.bk-pagination.is-align-center {
|
15
|
+
:where(.bk-pagination).is-align-center {
|
16
16
|
justify-content: center;
|
17
17
|
}
|
18
|
-
.bk-pagination.is-align-right {
|
18
|
+
:where(.bk-pagination).is-align-right {
|
19
19
|
justify-content: flex-end;
|
20
20
|
}
|
21
|
-
.bk-pagination > * {
|
21
|
+
:where(.bk-pagination) > * {
|
22
22
|
margin: 0 6px;
|
23
23
|
}
|
24
|
-
.bk-pagination > .is-first {
|
24
|
+
:where(.bk-pagination) > .is-first {
|
25
25
|
margin-left: 0;
|
26
26
|
}
|
27
|
-
.bk-pagination > .is-last {
|
27
|
+
:where(.bk-pagination) > .is-last {
|
28
28
|
margin-right: 0;
|
29
29
|
}
|
30
|
-
.bk-pagination-total {
|
30
|
+
:where(.bk-pagination-total) {
|
31
31
|
display: flex;
|
32
32
|
user-select: none;
|
33
33
|
}
|
34
|
-
.bk-pagination-total-num {
|
34
|
+
:where(.bk-pagination-total-num) {
|
35
35
|
padding: 0 2px;
|
36
36
|
}
|
37
|
-
.bk-pagination-list {
|
37
|
+
:where(.bk-pagination-list) {
|
38
38
|
display: flex;
|
39
39
|
margin-right: 8px;
|
40
40
|
}
|
41
|
-
.bk-pagination-list-pre-batch,
|
42
|
-
.bk-pagination-list-next-batch,
|
43
|
-
.bk-pagination-list-pre,
|
44
|
-
.bk-pagination-list-next,
|
45
|
-
.bk-pagination-list-item {
|
41
|
+
:where(.bk-pagination-list-pre-batch),
|
42
|
+
:where(.bk-pagination-list-next-batch),
|
43
|
+
:where(.bk-pagination-list-pre),
|
44
|
+
:where(.bk-pagination-list-next),
|
45
|
+
:where(.bk-pagination-list-item) {
|
46
46
|
display: flex;
|
47
47
|
align-items: center;
|
48
48
|
justify-content: center;
|
@@ -57,78 +57,78 @@
|
|
57
57
|
border-radius: 2px;
|
58
58
|
user-select: none;
|
59
59
|
}
|
60
|
-
.bk-pagination-list-pre-batch.is-active,
|
61
|
-
.bk-pagination-list-next-batch.is-active,
|
62
|
-
.bk-pagination-list-pre.is-active,
|
63
|
-
.bk-pagination-list-next.is-active,
|
64
|
-
.bk-pagination-list-item.is-active {
|
60
|
+
:where(.bk-pagination-list-pre-batch).is-active,
|
61
|
+
:where(.bk-pagination-list-next-batch).is-active,
|
62
|
+
:where(.bk-pagination-list-pre).is-active,
|
63
|
+
:where(.bk-pagination-list-next).is-active,
|
64
|
+
:where(.bk-pagination-list-item).is-active {
|
65
65
|
color: #3a84ff;
|
66
66
|
background: #e1ecff;
|
67
67
|
}
|
68
|
-
.bk-pagination-list-pre-batch:hover,
|
69
|
-
.bk-pagination-list-next-batch:hover,
|
70
|
-
.bk-pagination-list-pre:hover,
|
71
|
-
.bk-pagination-list-next:hover,
|
72
|
-
.bk-pagination-list-item:hover {
|
68
|
+
:where(.bk-pagination-list-pre-batch):hover,
|
69
|
+
:where(.bk-pagination-list-next-batch):hover,
|
70
|
+
:where(.bk-pagination-list-pre):hover,
|
71
|
+
:where(.bk-pagination-list-next):hover,
|
72
|
+
:where(.bk-pagination-list-item):hover {
|
73
73
|
background: #f0f1f5;
|
74
74
|
}
|
75
|
-
.bk-pagination-list-pre-batch.is-disabled,
|
76
|
-
.bk-pagination-list-next-batch.is-disabled,
|
77
|
-
.bk-pagination-list-pre.is-disabled,
|
78
|
-
.bk-pagination-list-next.is-disabled,
|
79
|
-
.bk-pagination-list-item.is-disabled {
|
75
|
+
:where(.bk-pagination-list-pre-batch).is-disabled,
|
76
|
+
:where(.bk-pagination-list-next-batch).is-disabled,
|
77
|
+
:where(.bk-pagination-list-pre).is-disabled,
|
78
|
+
:where(.bk-pagination-list-next).is-disabled,
|
79
|
+
:where(.bk-pagination-list-item).is-disabled {
|
80
80
|
color: #c4c6cc;
|
81
81
|
cursor: not-allowed;
|
82
82
|
background-color: #fafbfd;
|
83
83
|
border-color: #dcdee5;
|
84
84
|
}
|
85
|
-
.bk-pagination-list-pre,
|
86
|
-
.bk-pagination-list-next {
|
85
|
+
:where(.bk-pagination-list-pre),
|
86
|
+
:where(.bk-pagination-list-next) {
|
87
87
|
font-size: 20px;
|
88
88
|
color: #979ba5;
|
89
89
|
}
|
90
|
-
.bk-pagination-list-pre.is-disabled,
|
91
|
-
.bk-pagination-list-next.is-disabled {
|
90
|
+
:where(.bk-pagination-list-pre).is-disabled,
|
91
|
+
:where(.bk-pagination-list-next).is-disabled {
|
92
92
|
color: #dcdee5;
|
93
93
|
cursor: not-allowed;
|
94
94
|
background-color: transparent;
|
95
95
|
}
|
96
|
-
.bk-pagination-list-item {
|
96
|
+
:where(.bk-pagination-list-item) {
|
97
97
|
margin-right: 2px;
|
98
98
|
margin-left: 2px;
|
99
99
|
}
|
100
|
-
.bk-pagination-limit {
|
100
|
+
:where(.bk-pagination-limit) {
|
101
101
|
display: flex;
|
102
102
|
align-items: center;
|
103
103
|
user-select: none;
|
104
104
|
}
|
105
|
-
.bk-pagination-limit-select {
|
105
|
+
:where(.bk-pagination-limit-select) {
|
106
106
|
width: 60px;
|
107
107
|
margin: 0 4px;
|
108
108
|
}
|
109
|
-
.bk-pagination-limit-select .bk-input {
|
109
|
+
:where(.bk-pagination-limit-select) .bk-input {
|
110
110
|
border-color: #f0f1f5;
|
111
111
|
}
|
112
|
-
.bk-pagination-limit-select .bk-input--text {
|
112
|
+
:where(.bk-pagination-limit-select) .bk-input--text {
|
113
113
|
background-color: #f0f1f5;
|
114
114
|
}
|
115
|
-
.bk-pagination-limit-select:hover .bk-input {
|
115
|
+
:where(.bk-pagination-limit-select):hover .bk-input {
|
116
116
|
border-color: #eaebf0;
|
117
117
|
}
|
118
|
-
.bk-pagination-limit-select:hover .bk-input--text {
|
118
|
+
:where(.bk-pagination-limit-select):hover .bk-input--text {
|
119
119
|
background-color: #eaebf0;
|
120
120
|
}
|
121
|
-
.bk-pagination-limit-select .bk-input.is-focused {
|
121
|
+
:where(.bk-pagination-limit-select) .bk-input.is-focused {
|
122
122
|
border-color: #3a84ff;
|
123
123
|
}
|
124
|
-
.bk-pagination-limit-select .bk-input.is-focused .bk-input--text {
|
124
|
+
:where(.bk-pagination-limit-select) .bk-input.is-focused .bk-input--text {
|
125
125
|
background-color: #fff;
|
126
126
|
}
|
127
|
-
.bk-pagination-small-list {
|
127
|
+
:where(.bk-pagination-small-list) {
|
128
128
|
display: flex;
|
129
129
|
align-items: center;
|
130
130
|
}
|
131
|
-
.bk-pagination-small-list .bk-pagination-picker {
|
131
|
+
:where(.bk-pagination-small-list) .bk-pagination-picker {
|
132
132
|
display: flex;
|
133
133
|
height: 26px;
|
134
134
|
margin: 0 4px;
|
@@ -138,16 +138,16 @@
|
|
138
138
|
border-radius: 2px;
|
139
139
|
align-items: center;
|
140
140
|
}
|
141
|
-
.bk-pagination-small-list .bk-pagination-picker:hover {
|
141
|
+
:where(.bk-pagination-small-list) .bk-pagination-picker:hover {
|
142
142
|
background-color: #eaebf0;
|
143
143
|
border-color: #eaebf0;
|
144
144
|
}
|
145
|
-
.bk-pagination-small-list .bk-pagination-picker.is-focused {
|
145
|
+
:where(.bk-pagination-small-list) .bk-pagination-picker.is-focused {
|
146
146
|
background-color: #fff;
|
147
147
|
border-color: #3a84ff;
|
148
148
|
box-shadow: 0px 0px 4px rgba(58, 132, 255, 0.4);
|
149
149
|
}
|
150
|
-
.bk-pagination-editor {
|
150
|
+
:where(.bk-pagination-editor) {
|
151
151
|
height: 16px;
|
152
152
|
min-width: 23px;
|
153
153
|
padding-right: 4px;
|
@@ -160,12 +160,12 @@
|
|
160
160
|
outline: none;
|
161
161
|
transition: all 0.15s;
|
162
162
|
}
|
163
|
-
.bk-pagination-small-list-total {
|
163
|
+
:where(.bk-pagination-small-list-total) {
|
164
164
|
padding-right: 8px;
|
165
165
|
padding-left: 4px;
|
166
166
|
}
|
167
|
-
.bk-pagination-btn-pre,
|
168
|
-
.bk-pagination-btn-next {
|
167
|
+
:where(.bk-pagination-btn-pre),
|
168
|
+
:where(.bk-pagination-btn-next) {
|
169
169
|
display: flex;
|
170
170
|
width: 26px;
|
171
171
|
height: 26px;
|
@@ -175,23 +175,23 @@
|
|
175
175
|
justify-content: center;
|
176
176
|
align-items: center;
|
177
177
|
}
|
178
|
-
.bk-pagination-btn-pre:hover,
|
179
|
-
.bk-pagination-btn-next:hover {
|
178
|
+
:where(.bk-pagination-btn-pre):hover,
|
179
|
+
:where(.bk-pagination-btn-next):hover {
|
180
180
|
color: #3a84ff;
|
181
181
|
background: #f0f1f5;
|
182
182
|
}
|
183
|
-
.bk-pagination-btn-pre.is-disabled,
|
184
|
-
.bk-pagination-btn-next.is-disabled {
|
183
|
+
:where(.bk-pagination-btn-pre).is-disabled,
|
184
|
+
:where(.bk-pagination-btn-next).is-disabled {
|
185
185
|
color: #dcdee5;
|
186
186
|
cursor: not-allowed;
|
187
187
|
}
|
188
|
-
.bk-pagination-picker-list {
|
188
|
+
:where(.bk-pagination-picker-list) {
|
189
189
|
max-height: 216px;
|
190
190
|
padding: 7px 0;
|
191
191
|
margin: -7px -14px;
|
192
192
|
overflow: auto;
|
193
193
|
}
|
194
|
-
.bk-pagination-picker-list .item {
|
194
|
+
:where(.bk-pagination-picker-list) .item {
|
195
195
|
height: 32px;
|
196
196
|
padding: 0 10px;
|
197
197
|
font-size: 12px;
|
@@ -199,8 +199,8 @@
|
|
199
199
|
color: #63656e;
|
200
200
|
cursor: pointer;
|
201
201
|
}
|
202
|
-
.bk-pagination-picker-list .item:hover,
|
203
|
-
.bk-pagination-picker-list .item.is-actived {
|
202
|
+
:where(.bk-pagination-picker-list) .item:hover,
|
203
|
+
:where(.bk-pagination-picker-list) .item.is-actived {
|
204
204
|
color: #3a84ff;
|
205
205
|
background: #f4f6fa;
|
206
206
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
@import '../styles/themes/themes.less';
|
2
2
|
|
3
|
-
.@{bk-prefix}-pagination {
|
3
|
+
:where(.@{bk-prefix}-pagination) {
|
4
4
|
display: flex;
|
5
5
|
align-items: center;
|
6
6
|
font-size: 12px;
|
@@ -17,11 +17,11 @@
|
|
17
17
|
}
|
18
18
|
|
19
19
|
&.is-align-center {
|
20
|
-
justify-content: center
|
20
|
+
justify-content: center;
|
21
21
|
}
|
22
22
|
|
23
23
|
&.is-align-right {
|
24
|
-
justify-content: flex-end
|
24
|
+
justify-content: flex-end;
|
25
25
|
}
|
26
26
|
|
27
27
|
& > * {
|
@@ -35,27 +35,26 @@
|
|
35
35
|
& > .is-last {
|
36
36
|
margin-right: 0;
|
37
37
|
}
|
38
|
-
|
39
38
|
}
|
40
|
-
.@{bk-prefix}-pagination-total {
|
39
|
+
:where(.@{bk-prefix}-pagination-total) {
|
41
40
|
display: flex;
|
42
41
|
user-select: none;
|
43
42
|
}
|
44
43
|
|
45
|
-
.@{bk-prefix}-pagination-total-num {
|
44
|
+
:where(.@{bk-prefix}-pagination-total-num) {
|
46
45
|
padding: 0 2px;
|
47
46
|
}
|
48
47
|
|
49
|
-
.@{bk-prefix}-pagination-list {
|
48
|
+
:where(.@{bk-prefix}-pagination-list) {
|
50
49
|
display: flex;
|
51
50
|
margin-right: 8px;
|
52
51
|
}
|
53
52
|
|
54
|
-
.@{bk-prefix}-pagination-list-pre-batch,
|
55
|
-
.@{bk-prefix}-pagination-list-next-batch,
|
56
|
-
.@{bk-prefix}-pagination-list-pre,
|
57
|
-
.@{bk-prefix}-pagination-list-next,
|
58
|
-
.@{bk-prefix}-pagination-list-item {
|
53
|
+
:where(.@{bk-prefix}-pagination-list-pre-batch),
|
54
|
+
:where(.@{bk-prefix}-pagination-list-next-batch),
|
55
|
+
:where(.@{bk-prefix}-pagination-list-pre),
|
56
|
+
:where(.@{bk-prefix}-pagination-list-next),
|
57
|
+
:where(.@{bk-prefix}-pagination-list-item) {
|
59
58
|
display: flex;
|
60
59
|
align-items: center;
|
61
60
|
justify-content: center;
|
@@ -87,8 +86,8 @@
|
|
87
86
|
}
|
88
87
|
}
|
89
88
|
|
90
|
-
.@{bk-prefix}-pagination-list-pre,
|
91
|
-
.@{bk-prefix}-pagination-list-next {
|
89
|
+
:where(.@{bk-prefix}-pagination-list-pre),
|
90
|
+
:where(.@{bk-prefix}-pagination-list-next) {
|
92
91
|
font-size: 20px;
|
93
92
|
color: #979ba5;
|
94
93
|
|
@@ -99,18 +98,18 @@
|
|
99
98
|
}
|
100
99
|
}
|
101
100
|
|
102
|
-
.@{bk-prefix}-pagination-list-item {
|
101
|
+
:where(.@{bk-prefix}-pagination-list-item) {
|
103
102
|
margin-right: 2px;
|
104
103
|
margin-left: 2px;
|
105
104
|
}
|
106
105
|
|
107
|
-
.@{bk-prefix}-pagination-limit {
|
106
|
+
:where(.@{bk-prefix}-pagination-limit) {
|
108
107
|
display: flex;
|
109
108
|
align-items: center;
|
110
109
|
user-select: none;
|
111
110
|
}
|
112
111
|
|
113
|
-
.@{bk-prefix}-pagination-limit-select {
|
112
|
+
:where(.@{bk-prefix}-pagination-limit-select) {
|
114
113
|
width: 60px;
|
115
114
|
margin: 0 4px;
|
116
115
|
|
@@ -143,7 +142,7 @@
|
|
143
142
|
}
|
144
143
|
}
|
145
144
|
|
146
|
-
.@{bk-prefix}-pagination-small-list {
|
145
|
+
:where(.@{bk-prefix}-pagination-small-list) {
|
147
146
|
display: flex;
|
148
147
|
align-items: center;
|
149
148
|
|
@@ -165,12 +164,12 @@
|
|
165
164
|
&.is-focused {
|
166
165
|
background-color: #fff;
|
167
166
|
border-color: #3a84ff;
|
168
|
-
box-shadow: 0px 0px 4px rgba(58, 132, 255, .4);
|
167
|
+
box-shadow: 0px 0px 4px rgba(58, 132, 255, 0.4);
|
169
168
|
}
|
170
169
|
}
|
171
170
|
}
|
172
171
|
|
173
|
-
.@{bk-prefix}-pagination-editor {
|
172
|
+
:where(.@{bk-prefix}-pagination-editor) {
|
174
173
|
height: 16px;
|
175
174
|
min-width: 23px;
|
176
175
|
padding-right: 4px;
|
@@ -181,14 +180,14 @@
|
|
181
180
|
border: 0;
|
182
181
|
border-radius: 2px;
|
183
182
|
outline: none;
|
184
|
-
transition: all .15s
|
183
|
+
transition: all 0.15s;
|
185
184
|
}
|
186
|
-
.@{bk-prefix}-pagination-small-list-total {
|
185
|
+
:where(.@{bk-prefix}-pagination-small-list-total) {
|
187
186
|
padding-right: 8px;
|
188
187
|
padding-left: 4px;
|
189
188
|
}
|
190
|
-
.@{bk-prefix}-pagination-btn-pre,
|
191
|
-
.@{bk-prefix}-pagination-btn-next {
|
189
|
+
:where(.@{bk-prefix}-pagination-btn-pre),
|
190
|
+
:where(.@{bk-prefix}-pagination-btn-next) {
|
192
191
|
display: flex;
|
193
192
|
width: 26px;
|
194
193
|
height: 26px;
|
@@ -208,7 +207,7 @@
|
|
208
207
|
cursor: not-allowed;
|
209
208
|
}
|
210
209
|
}
|
211
|
-
.@{bk-prefix}-pagination-picker-list {
|
210
|
+
:where(.@{bk-prefix}-pagination-picker-list) {
|
212
211
|
max-height: @popover-max-height;
|
213
212
|
padding: 7px 0;
|
214
213
|
margin: -7px -14px;
|