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
package/lib/tag/tag.css CHANGED
@@ -1,4 +1,4 @@
1
- .bk-tag {
1
+ :where(.bk-tag) {
2
2
  display: inline-flex;
3
3
  align-items: center;
4
4
  height: 22px;
@@ -11,121 +11,121 @@
11
11
  border-color: rgba(151, 155, 165, 0.3);
12
12
  box-sizing: border-box;
13
13
  }
14
- .bk-tag.bk-tag-success {
14
+ :where(.bk-tag).bk-tag-success {
15
15
  color: #14a568;
16
16
  border-color: rgba(20, 165, 104, 0.3);
17
- background-color: #E4FAF0;
17
+ background-color: #e4faf0;
18
18
  }
19
- .bk-tag.bk-tag-success.bk-tag-filled {
20
- background-color: #14A568;
19
+ :where(.bk-tag).bk-tag-success.bk-tag-filled {
20
+ background-color: #14a568;
21
21
  }
22
- .bk-tag.bk-tag-success.bk-tag-filled:hover {
23
- background-color: #42B685;
22
+ :where(.bk-tag).bk-tag-success.bk-tag-filled:hover {
23
+ background-color: #42b685;
24
24
  }
25
- .bk-tag.bk-tag-success:hover:not(.bk-tag-filled) {
26
- background-color: #C9F5E2;
25
+ :where(.bk-tag).bk-tag-success:hover:not(.bk-tag-filled) {
26
+ background-color: #c9f5e2;
27
27
  }
28
- .bk-tag.bk-tag-info {
28
+ :where(.bk-tag).bk-tag-info {
29
29
  color: #3a84ff;
30
30
  border-color: rgba(58, 132, 255, 0.3);
31
- background-color: #EDF4FF;
31
+ background-color: #edf4ff;
32
32
  }
33
- .bk-tag.bk-tag-info.bk-tag-filled {
34
- background-color: #3A84FF;
33
+ :where(.bk-tag).bk-tag-info.bk-tag-filled {
34
+ background-color: #3a84ff;
35
35
  }
36
- .bk-tag.bk-tag-info.bk-tag-filled:hover {
37
- background-color: #609CFE;
36
+ :where(.bk-tag).bk-tag-info.bk-tag-filled:hover {
37
+ background-color: #609cfe;
38
38
  }
39
- .bk-tag.bk-tag-info:hover:not(.bk-tag-filled) {
40
- background-color: #E1ECFF;
39
+ :where(.bk-tag).bk-tag-info:hover:not(.bk-tag-filled) {
40
+ background-color: #e1ecff;
41
41
  }
42
- .bk-tag.bk-tag-warning {
42
+ :where(.bk-tag).bk-tag-warning {
43
43
  color: #fe9c00;
44
44
  border-color: rgba(254, 165, 0, 0.3);
45
- background-color: #FFF1DB;
45
+ background-color: #fff1db;
46
46
  }
47
- .bk-tag.bk-tag-warning.bk-tag-filled {
48
- background-color: #FE9C00;
47
+ :where(.bk-tag).bk-tag-warning.bk-tag-filled {
48
+ background-color: #fe9c00;
49
49
  }
50
- .bk-tag.bk-tag-warning.bk-tag-filled:hover {
51
- background-color: #FDAF32;
50
+ :where(.bk-tag).bk-tag-warning.bk-tag-filled:hover {
51
+ background-color: #fdaf32;
52
52
  }
53
- .bk-tag.bk-tag-warning:hover:not(.bk-tag-filled) {
54
- background-color: #FFE8C3;
53
+ :where(.bk-tag).bk-tag-warning:hover:not(.bk-tag-filled) {
54
+ background-color: #ffe8c3;
55
55
  }
56
- .bk-tag.bk-tag-danger {
56
+ :where(.bk-tag).bk-tag-danger {
57
57
  color: #ea3636;
58
58
  border-color: rgba(234, 53, 54, 0.3);
59
- background-color: #FEEBEA;
59
+ background-color: #feebea;
60
60
  }
61
- .bk-tag.bk-tag-danger.bk-tag-filled {
62
- background-color: #EA3536;
61
+ :where(.bk-tag).bk-tag-danger.bk-tag-filled {
62
+ background-color: #ea3536;
63
63
  }
64
- .bk-tag.bk-tag-danger.bk-tag-filled:hover {
65
- background-color: #ED5C5D;
64
+ :where(.bk-tag).bk-tag-danger.bk-tag-filled:hover {
65
+ background-color: #ed5c5d;
66
66
  }
67
- .bk-tag.bk-tag-danger:hover:not(.bk-tag-filled) {
68
- background-color: #FEDDDC;
67
+ :where(.bk-tag).bk-tag-danger:hover:not(.bk-tag-filled) {
68
+ background-color: #fedddc;
69
69
  }
70
- .bk-tag:hover {
70
+ :where(.bk-tag):hover {
71
71
  background-color: #dcdee5;
72
72
  }
73
- .bk-tag.bk-tag-filled {
73
+ :where(.bk-tag).bk-tag-filled {
74
74
  color: #fff;
75
- background-color: #979BA5;
75
+ background-color: #979ba5;
76
76
  }
77
- .bk-tag.bk-tag-filled:hover {
78
- background-color: #ACAFB6;
77
+ :where(.bk-tag).bk-tag-filled:hover {
78
+ background-color: #acafb6;
79
79
  }
80
- .bk-tag.bk-tag-stroke {
80
+ :where(.bk-tag).bk-tag-stroke {
81
81
  padding: 0 9px;
82
82
  line-height: 20px;
83
83
  border-style: solid;
84
84
  border-width: 1px;
85
85
  }
86
- .bk-tag.bk-tag-closable {
86
+ :where(.bk-tag).bk-tag-closable {
87
87
  padding: 0 4px 0 10px;
88
88
  }
89
- .bk-tag.bk-tag-checkable {
89
+ :where(.bk-tag).bk-tag-checkable {
90
90
  cursor: pointer;
91
91
  background: none;
92
92
  }
93
- .bk-tag.bk-tag-checkable:hover {
94
- background: #F0F1F5;
93
+ :where(.bk-tag).bk-tag-checkable:hover {
94
+ background: #f0f1f5;
95
95
  }
96
- .bk-tag.bk-tag-check {
96
+ :where(.bk-tag).bk-tag-check {
97
97
  color: #fff;
98
98
  background: #3a84ff;
99
99
  }
100
- .bk-tag.bk-tag-check:hover {
100
+ :where(.bk-tag).bk-tag-check:hover {
101
101
  color: #fff;
102
102
  background: #3a84ff;
103
103
  opacity: 1;
104
104
  }
105
- .bk-tag--defaul {
105
+ :where(.bk-tag--defaul) {
106
106
  padding: 0 8px;
107
107
  }
108
- .bk-tag--small {
108
+ :where(.bk-tag--small) {
109
109
  height: 16px;
110
110
  padding: 0 4px;
111
111
  line-height: 16px;
112
112
  }
113
- .bk-tag--small .bk-tag-text {
113
+ :where(.bk-tag--small) .bk-tag-text {
114
114
  font-size: 10px;
115
115
  }
116
- .bk-tag-text {
116
+ :where(.bk-tag-text) {
117
117
  flex: 1;
118
118
  overflow: hidden;
119
119
  text-overflow: ellipsis;
120
120
  white-space: nowrap;
121
121
  }
122
- .bk-tag-icon {
122
+ :where(.bk-tag-icon) {
123
123
  flex-shrink: 0;
124
124
  margin-right: 4px;
125
125
  font-size: 14px;
126
126
  line-height: 0;
127
127
  }
128
- .bk-tag-close {
128
+ :where(.bk-tag-close) {
129
129
  flex-shrink: 0;
130
130
  margin-left: 4px;
131
131
  font-size: 12px;
package/lib/tag/tag.less CHANGED
@@ -6,37 +6,37 @@
6
6
  @tag-warning-color: #fe9c00;
7
7
  @tag-danger-color: @danger-color;
8
8
 
9
- @tag-success-bg-color: #E4FAF0;
10
- @tag-info-bg-color: #EDF4FF;
11
- @tag-warning-bg-color: #FFF1DB;
12
- @tag-danger-bg-color: #FEEBEA;
13
- @tag-stroke-bg-color: #FAFBFD;
14
- @tag-filled-bg-color: #979BA5;
15
- @tag-filled-success-bg-color: #14A568;
16
- @tag-filled-info-bg-color: #3A84FF;
17
- @tag-filled-warning-bg-color: #FE9C00;
18
- @tag-filled-danger-bg-color: #EA3536;
19
-
20
- @tag-success-border-color: rgba(20,165,104,.3);
21
- @tag-info-border-color: rgba(58,132,255,.3);
22
- @tag-warning-border-color: rgba(254,165,0,.3);
23
- @tag-danger-border-color: rgba(234,53,54,.3);
24
-
25
- @tag-success-hover-bg-color: #C9F5E2;
26
- @tag-info-hover-bg-color: #E1ECFF;
27
- @tag-warning-hover-bg-color: #FFE8C3;
28
- @tag-danger-hover-bg-color: #FEDDDC;
29
- @tag-stroke-hover-bg-color: #F0F1F5;
30
- @tag-filled-hover-bg-color: #ACAFB6;
31
- @tag-filled-success-hover-bg-color: #42B685;
32
- @tag-filled-info-hover-bg-color: #609CFE;
33
- @tag-filled-warning-hover-bg-color: #FDAF32;
34
- @tag-filled-danger-hover-bg-color: #ED5C5D;
35
- @tag-checkable-hover-bg-color: #F0F1F5;
9
+ @tag-success-bg-color: #e4faf0;
10
+ @tag-info-bg-color: #edf4ff;
11
+ @tag-warning-bg-color: #fff1db;
12
+ @tag-danger-bg-color: #feebea;
13
+ @tag-stroke-bg-color: #fafbfd;
14
+ @tag-filled-bg-color: #979ba5;
15
+ @tag-filled-success-bg-color: #14a568;
16
+ @tag-filled-info-bg-color: #3a84ff;
17
+ @tag-filled-warning-bg-color: #fe9c00;
18
+ @tag-filled-danger-bg-color: #ea3536;
19
+
20
+ @tag-success-border-color: rgba(20, 165, 104, 0.3);
21
+ @tag-info-border-color: rgba(58, 132, 255, 0.3);
22
+ @tag-warning-border-color: rgba(254, 165, 0, 0.3);
23
+ @tag-danger-border-color: rgba(234, 53, 54, 0.3);
24
+
25
+ @tag-success-hover-bg-color: #c9f5e2;
26
+ @tag-info-hover-bg-color: #e1ecff;
27
+ @tag-warning-hover-bg-color: #ffe8c3;
28
+ @tag-danger-hover-bg-color: #fedddc;
29
+ @tag-stroke-hover-bg-color: #f0f1f5;
30
+ @tag-filled-hover-bg-color: #acafb6;
31
+ @tag-filled-success-hover-bg-color: #42b685;
32
+ @tag-filled-info-hover-bg-color: #609cfe;
33
+ @tag-filled-warning-hover-bg-color: #fdaf32;
34
+ @tag-filled-danger-hover-bg-color: #ed5c5d;
35
+ @tag-checkable-hover-bg-color: #f0f1f5;
36
36
 
37
37
  @themeSelectors: success, info, warning, danger;
38
38
 
39
- .@{bk-prefix}-tag {
39
+ :where(.@{bk-prefix}-tag) {
40
40
  display: inline-flex;
41
41
  align-items: center;
42
42
  height: 22px;
@@ -46,7 +46,7 @@
46
46
  color: @default-color;
47
47
  cursor: default;
48
48
  background-color: #f0f1f5;
49
- border-color: rgba(151,155,165,.3);
49
+ border-color: rgba(151, 155, 165, 0.3);
50
50
  box-sizing: border-box;
51
51
 
52
52
  each(@themeSelectors, {
@@ -117,11 +117,11 @@
117
117
  }
118
118
  }
119
119
 
120
- .@{bk-prefix}-tag--defaul {
120
+ :where(.@{bk-prefix}-tag--defaul) {
121
121
  padding: 0 8px;
122
122
  }
123
123
 
124
- .@{bk-prefix}-tag--small {
124
+ :where(.@{bk-prefix}-tag--small) {
125
125
  height: 16px;
126
126
  padding: 0 4px;
127
127
  line-height: 16px;
@@ -131,21 +131,21 @@
131
131
  }
132
132
  }
133
133
 
134
- .@{bk-prefix}-tag-text {
134
+ :where(.@{bk-prefix}-tag-text) {
135
135
  flex: 1;
136
136
  overflow: hidden;
137
137
  text-overflow: ellipsis;
138
138
  white-space: nowrap;
139
139
  }
140
140
 
141
- .@{bk-prefix}-tag-icon {
141
+ :where(.@{bk-prefix}-tag-icon) {
142
142
  flex-shrink: 0;
143
143
  margin-right: 4px;
144
144
  font-size: 14px;
145
145
  line-height: 0;
146
146
  }
147
147
 
148
- .@{bk-prefix}-tag-close {
148
+ :where(.@{bk-prefix}-tag-close) {
149
149
  flex-shrink: 0;
150
150
  margin-left: 4px;
151
151
  font-size: 12px;
@@ -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-tag {
130
+ :where(.bk-tag) {
131
131
  display: inline-flex;
132
132
  align-items: center;
133
133
  height: 22px;
@@ -140,121 +140,121 @@
140
140
  border-color: rgba(151, 155, 165, 0.3);
141
141
  box-sizing: border-box;
142
142
  }
143
- .bk-tag.bk-tag-success {
143
+ :where(.bk-tag).bk-tag-success {
144
144
  color: #14a568;
145
145
  border-color: rgba(20, 165, 104, 0.3);
146
- background-color: #E4FAF0;
146
+ background-color: #e4faf0;
147
147
  }
148
- .bk-tag.bk-tag-success.bk-tag-filled {
149
- background-color: #14A568;
148
+ :where(.bk-tag).bk-tag-success.bk-tag-filled {
149
+ background-color: #14a568;
150
150
  }
151
- .bk-tag.bk-tag-success.bk-tag-filled:hover {
152
- background-color: #42B685;
151
+ :where(.bk-tag).bk-tag-success.bk-tag-filled:hover {
152
+ background-color: #42b685;
153
153
  }
154
- .bk-tag.bk-tag-success:hover:not(.bk-tag-filled) {
155
- background-color: #C9F5E2;
154
+ :where(.bk-tag).bk-tag-success:hover:not(.bk-tag-filled) {
155
+ background-color: #c9f5e2;
156
156
  }
157
- .bk-tag.bk-tag-info {
157
+ :where(.bk-tag).bk-tag-info {
158
158
  color: var(--primary-color);
159
159
  border-color: rgba(58, 132, 255, 0.3);
160
- background-color: #EDF4FF;
160
+ background-color: #edf4ff;
161
161
  }
162
- .bk-tag.bk-tag-info.bk-tag-filled {
163
- background-color: #3A84FF;
162
+ :where(.bk-tag).bk-tag-info.bk-tag-filled {
163
+ background-color: #3a84ff;
164
164
  }
165
- .bk-tag.bk-tag-info.bk-tag-filled:hover {
166
- background-color: #609CFE;
165
+ :where(.bk-tag).bk-tag-info.bk-tag-filled:hover {
166
+ background-color: #609cfe;
167
167
  }
168
- .bk-tag.bk-tag-info:hover:not(.bk-tag-filled) {
169
- background-color: #E1ECFF;
168
+ :where(.bk-tag).bk-tag-info:hover:not(.bk-tag-filled) {
169
+ background-color: #e1ecff;
170
170
  }
171
- .bk-tag.bk-tag-warning {
171
+ :where(.bk-tag).bk-tag-warning {
172
172
  color: #fe9c00;
173
173
  border-color: rgba(254, 165, 0, 0.3);
174
- background-color: #FFF1DB;
174
+ background-color: #fff1db;
175
175
  }
176
- .bk-tag.bk-tag-warning.bk-tag-filled {
177
- background-color: #FE9C00;
176
+ :where(.bk-tag).bk-tag-warning.bk-tag-filled {
177
+ background-color: #fe9c00;
178
178
  }
179
- .bk-tag.bk-tag-warning.bk-tag-filled:hover {
180
- background-color: #FDAF32;
179
+ :where(.bk-tag).bk-tag-warning.bk-tag-filled:hover {
180
+ background-color: #fdaf32;
181
181
  }
182
- .bk-tag.bk-tag-warning:hover:not(.bk-tag-filled) {
183
- background-color: #FFE8C3;
182
+ :where(.bk-tag).bk-tag-warning:hover:not(.bk-tag-filled) {
183
+ background-color: #ffe8c3;
184
184
  }
185
- .bk-tag.bk-tag-danger {
185
+ :where(.bk-tag).bk-tag-danger {
186
186
  color: var(--danger-color);
187
187
  border-color: rgba(234, 53, 54, 0.3);
188
- background-color: #FEEBEA;
188
+ background-color: #feebea;
189
189
  }
190
- .bk-tag.bk-tag-danger.bk-tag-filled {
191
- background-color: #EA3536;
190
+ :where(.bk-tag).bk-tag-danger.bk-tag-filled {
191
+ background-color: #ea3536;
192
192
  }
193
- .bk-tag.bk-tag-danger.bk-tag-filled:hover {
194
- background-color: #ED5C5D;
193
+ :where(.bk-tag).bk-tag-danger.bk-tag-filled:hover {
194
+ background-color: #ed5c5d;
195
195
  }
196
- .bk-tag.bk-tag-danger:hover:not(.bk-tag-filled) {
197
- background-color: #FEDDDC;
196
+ :where(.bk-tag).bk-tag-danger:hover:not(.bk-tag-filled) {
197
+ background-color: #fedddc;
198
198
  }
199
- .bk-tag:hover {
199
+ :where(.bk-tag):hover {
200
200
  background-color: #dcdee5;
201
201
  }
202
- .bk-tag.bk-tag-filled {
202
+ :where(.bk-tag).bk-tag-filled {
203
203
  color: #fff;
204
- background-color: #979BA5;
204
+ background-color: #979ba5;
205
205
  }
206
- .bk-tag.bk-tag-filled:hover {
207
- background-color: #ACAFB6;
206
+ :where(.bk-tag).bk-tag-filled:hover {
207
+ background-color: #acafb6;
208
208
  }
209
- .bk-tag.bk-tag-stroke {
209
+ :where(.bk-tag).bk-tag-stroke {
210
210
  padding: 0 9px;
211
211
  line-height: 20px;
212
212
  border-style: solid;
213
213
  border-width: 1px;
214
214
  }
215
- .bk-tag.bk-tag-closable {
215
+ :where(.bk-tag).bk-tag-closable {
216
216
  padding: 0 4px 0 10px;
217
217
  }
218
- .bk-tag.bk-tag-checkable {
218
+ :where(.bk-tag).bk-tag-checkable {
219
219
  cursor: pointer;
220
220
  background: none;
221
221
  }
222
- .bk-tag.bk-tag-checkable:hover {
223
- background: #F0F1F5;
222
+ :where(.bk-tag).bk-tag-checkable:hover {
223
+ background: #f0f1f5;
224
224
  }
225
- .bk-tag.bk-tag-check {
225
+ :where(.bk-tag).bk-tag-check {
226
226
  color: #fff;
227
227
  background: var(--primary-color);
228
228
  }
229
- .bk-tag.bk-tag-check:hover {
229
+ :where(.bk-tag).bk-tag-check:hover {
230
230
  color: #fff;
231
231
  background: var(--primary-color);
232
232
  opacity: 1;
233
233
  }
234
- .bk-tag--defaul {
234
+ :where(.bk-tag--defaul) {
235
235
  padding: 0 8px;
236
236
  }
237
- .bk-tag--small {
237
+ :where(.bk-tag--small) {
238
238
  height: 16px;
239
239
  padding: 0 4px;
240
240
  line-height: 16px;
241
241
  }
242
- .bk-tag--small .bk-tag-text {
242
+ :where(.bk-tag--small) .bk-tag-text {
243
243
  font-size: 10px;
244
244
  }
245
- .bk-tag-text {
245
+ :where(.bk-tag-text) {
246
246
  flex: 1;
247
247
  overflow: hidden;
248
248
  text-overflow: ellipsis;
249
249
  white-space: nowrap;
250
250
  }
251
- .bk-tag-icon {
251
+ :where(.bk-tag-icon) {
252
252
  flex-shrink: 0;
253
253
  margin-right: 4px;
254
254
  font-size: 14px;
255
255
  line-height: 0;
256
256
  }
257
- .bk-tag-close {
257
+ :where(.bk-tag-close) {
258
258
  flex-shrink: 0;
259
259
  margin-left: 4px;
260
260
  font-size: 12px;