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.
Files changed (205) hide show
  1. package/dist/style.css +1 -1
  2. package/dist/style.variable.css +1 -1
  3. package/lib/affix/affix.css +1 -1
  4. package/lib/affix/affix.less +2 -2
  5. package/lib/affix/affix.variable.css +3 -3
  6. package/lib/alert/alert.css +21 -21
  7. package/lib/alert/alert.less +17 -16
  8. package/lib/alert/alert.variable.css +23 -23
  9. package/lib/backtop/backtop.css +11 -11
  10. package/lib/backtop/backtop.less +3 -3
  11. package/lib/backtop/backtop.variable.css +13 -13
  12. package/lib/badge/badge.css +32 -32
  13. package/lib/badge/badge.less +5 -5
  14. package/lib/badge/badge.variable.css +34 -34
  15. package/lib/breadcrumb/breadcrumb.css +31 -31
  16. package/lib/breadcrumb/breadcrumb.less +8 -8
  17. package/lib/breadcrumb/breadcrumb.variable.css +33 -33
  18. package/lib/button/button.css +69 -69
  19. package/lib/button/button.less +3 -5
  20. package/lib/button/button.variable.css +71 -71
  21. package/lib/card/card.css +31 -31
  22. package/lib/card/card.less +4 -4
  23. package/lib/card/card.variable.css +33 -33
  24. package/lib/cascader/cascader.css +63 -63
  25. package/lib/cascader/cascader.less +12 -11
  26. package/lib/cascader/cascader.variable.css +65 -65
  27. package/lib/checkbox/checkbox.css +21 -21
  28. package/lib/checkbox/checkbox.less +8 -8
  29. package/lib/checkbox/checkbox.variable.css +23 -23
  30. package/lib/code-diff/code-diff.css +97 -97
  31. package/lib/code-diff/code-diff.less +3 -4
  32. package/lib/code-diff/code-diff.variable.css +99 -99
  33. package/lib/collapse/collapse.css +30 -30
  34. package/lib/collapse/collapse.less +25 -24
  35. package/lib/collapse/collapse.variable.css +32 -32
  36. package/lib/collapse-transition/collapse-transition.css +32 -32
  37. package/lib/collapse-transition/collapse-transition.less +59 -48
  38. package/lib/collapse-transition/collapse-transition.variable.css +34 -34
  39. package/lib/color-picker/color-picker.css +57 -57
  40. package/lib/color-picker/color-picker.less +36 -30
  41. package/lib/color-picker/color-picker.variable.css +59 -59
  42. package/lib/config-provider/config-provider.variable.css +2 -2
  43. package/lib/container/container.css +19 -19
  44. package/lib/container/container.less +3 -3
  45. package/lib/container/container.variable.css +21 -21
  46. package/lib/date-picker/date-picker.css +92 -92
  47. package/lib/date-picker/date-picker.less +55 -54
  48. package/lib/date-picker/date-picker.variable.css +94 -94
  49. package/lib/dialog/dialog.css +51 -51
  50. package/lib/dialog/dialog.less +1 -1
  51. package/lib/dialog/dialog.variable.css +53 -53
  52. package/lib/divider/divider.css +8 -8
  53. package/lib/divider/divider.less +5 -8
  54. package/lib/divider/divider.variable.css +10 -10
  55. package/lib/dropdown/dropdown.css +15 -15
  56. package/lib/dropdown/dropdown.less +6 -6
  57. package/lib/dropdown/dropdown.variable.css +17 -17
  58. package/lib/exception/exception.css +13 -13
  59. package/lib/exception/exception.less +6 -6
  60. package/lib/exception/exception.variable.css +15 -15
  61. package/lib/fixed-navbar/fixed-navbar.css +9 -9
  62. package/lib/fixed-navbar/fixed-navbar.less +1 -2
  63. package/lib/fixed-navbar/fixed-navbar.variable.css +11 -11
  64. package/lib/form/form.css +63 -63
  65. package/lib/form/form.less +14 -16
  66. package/lib/form/form.variable.css +65 -65
  67. package/lib/image/image-viewer.css +23 -23
  68. package/lib/image/image-viewer.less +24 -25
  69. package/lib/image/image-viewer.variable.css +25 -25
  70. package/lib/image/image.css +29 -29
  71. package/lib/image/image.less +6 -8
  72. package/lib/image/image.variable.css +31 -31
  73. package/lib/info-box/info-box.css +10 -10
  74. package/lib/info-box/info-box.less +1 -2
  75. package/lib/info-box/info-box.variable.css +12 -12
  76. package/lib/input/input.css +102 -104
  77. package/lib/input/input.less +27 -33
  78. package/lib/input/input.variable.css +104 -106
  79. package/lib/link/link.css +18 -18
  80. package/lib/link/link.less +1 -3
  81. package/lib/link/link.variable.css +20 -20
  82. package/lib/loading/loading.css +94 -94
  83. package/lib/loading/loading.less +4 -4
  84. package/lib/loading/loading.variable.css +96 -96
  85. package/lib/menu/menu.css +38 -38
  86. package/lib/menu/menu.less +10 -10
  87. package/lib/menu/menu.variable.css +40 -40
  88. package/lib/menu/submenu.css +1 -1
  89. package/lib/menu/submenu.less +1 -1
  90. package/lib/menu/submenu.variable.css +3 -3
  91. package/lib/message/message.css +59 -59
  92. package/lib/message/message.less +25 -24
  93. package/lib/message/message.variable.css +61 -61
  94. package/lib/modal/modal.css +26 -26
  95. package/lib/modal/modal.less +8 -12
  96. package/lib/modal/modal.variable.css +28 -28
  97. package/lib/navigation/navigation.css +25 -25
  98. package/lib/navigation/navigation.less +9 -9
  99. package/lib/navigation/navigation.variable.css +27 -27
  100. package/lib/notify/notify.css +17 -17
  101. package/lib/notify/notify.less +8 -6
  102. package/lib/notify/notify.variable.css +19 -19
  103. package/lib/pagination/pagination.css +60 -60
  104. package/lib/pagination/pagination.less +24 -25
  105. package/lib/pagination/pagination.variable.css +62 -62
  106. package/lib/pop-confirm/pop-confirm.css +10 -10
  107. package/lib/pop-confirm/pop-confirm.less +14 -11
  108. package/lib/pop-confirm/pop-confirm.variable.css +12 -12
  109. package/lib/popover/popover.css +5 -5
  110. package/lib/popover/popover.less +5 -6
  111. package/lib/popover/popover.variable.css +7 -7
  112. package/lib/process/process.css +36 -33
  113. package/lib/process/process.less +8 -7
  114. package/lib/process/process.variable.css +38 -35
  115. package/lib/progress/progress.css +33 -33
  116. package/lib/progress/progress.less +6 -5
  117. package/lib/progress/progress.variable.css +35 -35
  118. package/lib/radio/radio.css +51 -51
  119. package/lib/radio/radio.less +13 -20
  120. package/lib/radio/radio.variable.css +53 -53
  121. package/lib/rate/rate.css +2 -2
  122. package/lib/rate/rate.less +1 -1
  123. package/lib/rate/rate.variable.css +4 -4
  124. package/lib/rate/star.css +7 -7
  125. package/lib/rate/star.less +1 -1
  126. package/lib/rate/star.variable.css +9 -9
  127. package/lib/resize-layout/resize-layout.css +42 -42
  128. package/lib/resize-layout/resize-layout.less +17 -10
  129. package/lib/resize-layout/resize-layout.variable.css +44 -44
  130. package/lib/search-select/search-select.css +15 -15
  131. package/lib/search-select/search-select.variable.css +17 -17
  132. package/lib/select/select.css +87 -87
  133. package/lib/select/select.less +27 -22
  134. package/lib/select/select.variable.css +89 -89
  135. package/lib/sideslider/sideslider.css +14 -14
  136. package/lib/sideslider/sideslider.less +9 -13
  137. package/lib/sideslider/sideslider.variable.css +16 -16
  138. package/lib/slider/slider.css +31 -31
  139. package/lib/slider/slider.less +8 -8
  140. package/lib/slider/slider.variable.css +33 -33
  141. package/lib/steps/steps.css +134 -134
  142. package/lib/steps/steps.less +44 -48
  143. package/lib/steps/steps.variable.css +136 -136
  144. package/lib/styles/mixins/animate.css +4 -4
  145. package/lib/styles/mixins/animate.less +3 -3
  146. package/lib/styles/mixins/animate.variable.css +6 -6
  147. package/lib/styles/mixins/mixins.css +15 -15
  148. package/lib/styles/mixins/mixins.variable.css +15 -15
  149. package/lib/styles/mixins/popper.css +11 -11
  150. package/lib/styles/mixins/popper.less +6 -6
  151. package/lib/styles/mixins/popper.variable.css +13 -13
  152. package/lib/styles/mixins/scroll.css +5 -5
  153. package/lib/styles/mixins/scroll.less +4 -4
  154. package/lib/styles/mixins/scroll.variable.css +7 -7
  155. package/lib/styles/reset.css +6 -6
  156. package/lib/styles/reset.less +4 -5
  157. package/lib/styles/reset.variable.css +8 -8
  158. package/lib/styles/themes/themes copy.less +167 -0
  159. package/lib/styles/themes/themes.less +3 -10
  160. package/lib/swiper/swiper.css +15 -15
  161. package/lib/swiper/swiper.less +8 -8
  162. package/lib/swiper/swiper.variable.css +17 -17
  163. package/lib/switcher/switcher.css +57 -57
  164. package/lib/switcher/switcher.less +14 -22
  165. package/lib/switcher/switcher.variable.css +59 -59
  166. package/lib/tab/tab.css +78 -78
  167. package/lib/tab/tab.less +40 -39
  168. package/lib/tab/tab.variable.css +80 -80
  169. package/lib/table/plugins/head-filter.css +13 -13
  170. package/lib/table/plugins/head-filter.less +3 -3
  171. package/lib/table/plugins/head-filter.variable.css +15 -15
  172. package/lib/table/plugins/head-sort.css +5 -5
  173. package/lib/table/plugins/head-sort.less +2 -2
  174. package/lib/table/plugins/head-sort.variable.css +7 -7
  175. package/lib/table/plugins/settings.css +26 -26
  176. package/lib/table/plugins/settings.less +1 -3
  177. package/lib/table/plugins/settings.variable.css +28 -28
  178. package/lib/table/table.css +380 -380
  179. package/lib/table/table.less +10 -14
  180. package/lib/table/table.variable.css +382 -382
  181. package/lib/tag/tag.css +51 -51
  182. package/lib/tag/tag.less +34 -34
  183. package/lib/tag/tag.variable.css +53 -53
  184. package/lib/tag-input/tag-input.css +38 -38
  185. package/lib/tag-input/tag-input.less +3 -3
  186. package/lib/tag-input/tag-input.variable.css +40 -40
  187. package/lib/time-picker/time-picker.css +40 -40
  188. package/lib/time-picker/time-picker.less +76 -44
  189. package/lib/time-picker/time-picker.variable.css +42 -42
  190. package/lib/timeline/timeline.css +69 -69
  191. package/lib/timeline/timeline.less +6 -12
  192. package/lib/timeline/timeline.variable.css +71 -71
  193. package/lib/transfer/transfer.css +89 -89
  194. package/lib/transfer/transfer.less +1 -1
  195. package/lib/transfer/transfer.variable.css +91 -91
  196. package/lib/tree/tree.css +49 -49
  197. package/lib/tree/tree.less +6 -7
  198. package/lib/tree/tree.variable.css +51 -51
  199. package/lib/upload/upload.css +98 -98
  200. package/lib/upload/upload.less +68 -69
  201. package/lib/upload/upload.variable.css +100 -100
  202. package/lib/virtual-render/virtual-render.css +9 -9
  203. package/lib/virtual-render/virtual-render.less +1 -1
  204. package/lib/virtual-render/virtual-render.variable.css +11 -11
  205. package/package.json +1 -1
@@ -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
  }
@@ -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: transform .3s linear, opacity .2s linear;
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: #63656E;
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;