bkui-vue 0.0.1-beta.14 → 0.0.1-beta.17

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 (260) hide show
  1. package/README.md +25 -17
  2. package/README_EN.md +89 -0
  3. package/dist/bkui-vue.cjs.js +2266 -535
  4. package/dist/bkui-vue.esm.js +2308 -582
  5. package/dist/bkui-vue.umd.js +2266 -535
  6. package/dist/style.css +601 -189
  7. package/lib/alert/alert.d.ts +24 -15
  8. package/lib/alert/alert.variable.css +6 -0
  9. package/lib/alert/index.d.ts +96 -60
  10. package/lib/alert/index.js +1 -1
  11. package/lib/animate-number/animate-number.d.ts +12 -7
  12. package/lib/animate-number/index.d.ts +48 -28
  13. package/lib/backtop/backtop.d.ts +27 -13
  14. package/lib/backtop/backtop.variable.css +6 -0
  15. package/lib/backtop/index.d.ts +108 -52
  16. package/lib/backtop/index.js +1 -1
  17. package/lib/badge/badge.d.ts +40 -19
  18. package/lib/badge/badge.variable.css +6 -0
  19. package/lib/badge/index.d.ts +144 -76
  20. package/lib/badge/index.js +1 -1
  21. package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
  22. package/lib/breadcrumb/breadcrumb.css +10 -1
  23. package/lib/breadcrumb/breadcrumb.d.ts +37 -9
  24. package/lib/breadcrumb/breadcrumb.less +13 -2
  25. package/lib/breadcrumb/breadcrumb.variable.css +16 -1
  26. package/lib/breadcrumb/index.d.ts +117 -45
  27. package/lib/breadcrumb/index.js +1 -1
  28. package/lib/button/button-group.d.ts +3 -5
  29. package/lib/button/button.d.ts +27 -22
  30. package/lib/button/button.variable.css +6 -0
  31. package/lib/button/index.d.ts +111 -93
  32. package/lib/button/index.js +1 -1
  33. package/lib/card/card.d.ts +30 -15
  34. package/lib/card/card.variable.css +6 -0
  35. package/lib/card/index.d.ts +120 -60
  36. package/lib/card/index.js +1 -1
  37. package/lib/checkbox/checkbox-group.d.ts +13 -9
  38. package/lib/checkbox/checkbox.d.ts +31 -22
  39. package/lib/checkbox/checkbox.variable.css +6 -0
  40. package/lib/checkbox/index.d.ts +137 -97
  41. package/lib/checkbox/index.js +1 -1
  42. package/lib/collapse/collapse.d.ts +50 -18
  43. package/lib/collapse/index.d.ts +108 -72
  44. package/lib/collapse/index.js +1 -1
  45. package/lib/components.d.ts +4 -0
  46. package/lib/date-picker/date-picker.d.ts +110 -63
  47. package/lib/date-picker/date-picker.variable.css +6 -0
  48. package/lib/date-picker/index.d.ts +437 -249
  49. package/lib/date-picker/index.js +1 -1
  50. package/lib/dialog/dialog.d.ts +46 -25
  51. package/lib/dialog/index.d.ts +179 -95
  52. package/lib/directives/index.js +1 -1
  53. package/lib/divider/divider.d.ts +21 -13
  54. package/lib/divider/divider.variable.css +6 -0
  55. package/lib/divider/index.d.ts +84 -52
  56. package/lib/dropdown/dropdown-item.d.ts +6 -5
  57. package/lib/dropdown/dropdown-menu.d.ts +6 -5
  58. package/lib/dropdown/dropdown.d.ts +25 -13
  59. package/lib/dropdown/dropdown.variable.css +6 -0
  60. package/lib/dropdown/index.d.ts +94 -62
  61. package/lib/exception/exception.d.ts +11 -9
  62. package/lib/exception/exception.variable.css +6 -0
  63. package/lib/exception/index.d.ts +44 -36
  64. package/lib/fixed-navbar/fixed-navbar.d.ts +15 -9
  65. package/lib/fixed-navbar/fixed-navbar.variable.css +6 -0
  66. package/lib/fixed-navbar/index.d.ts +60 -36
  67. package/lib/form/form-item.d.ts +46 -27
  68. package/lib/form/form.d.ts +21 -13
  69. package/lib/form/index.js +1 -1
  70. package/lib/icon/angle-double-left.js +15 -0
  71. package/lib/icon/angle-double-right.js +15 -0
  72. package/lib/icon/angle-down-fill.d.ts +4 -0
  73. package/lib/icon/angle-down-fill.js +15 -0
  74. package/lib/icon/angle-down-line.js +15 -0
  75. package/lib/icon/angle-down.js +15 -0
  76. package/lib/icon/angle-left.js +15 -0
  77. package/lib/icon/angle-right.js +15 -0
  78. package/lib/icon/angle-up-fill.d.ts +4 -0
  79. package/lib/icon/angle-up-fill.js +15 -0
  80. package/lib/icon/angle-up.js +15 -0
  81. package/lib/icon/arrows-left.d.ts +4 -0
  82. package/lib/icon/arrows-left.js +15 -0
  83. package/lib/icon/circle.js +15 -0
  84. package/lib/icon/close.js +15 -0
  85. package/lib/icon/code.js +15 -0
  86. package/lib/icon/cog-shape.js +15 -0
  87. package/lib/icon/collapse-left.js +15 -0
  88. package/lib/icon/copy.js +15 -0
  89. package/lib/icon/done.js +15 -0
  90. package/lib/icon/down-shape.js +15 -0
  91. package/lib/icon/down-small.js +15 -0
  92. package/lib/icon/error.js +15 -0
  93. package/lib/icon/eye.js +15 -0
  94. package/lib/icon/folder-open.js +15 -0
  95. package/lib/icon/folder-shape-open.js +15 -0
  96. package/lib/icon/folder-shape.js +15 -0
  97. package/lib/icon/folder.js +15 -0
  98. package/lib/icon/help-document-fill.js +15 -0
  99. package/lib/icon/help-fill.js +15 -0
  100. package/lib/icon/help.js +15 -0
  101. package/lib/icon/icon.js +15 -0
  102. package/lib/icon/index.d.ts +7 -3
  103. package/lib/icon/index.js +1 -1
  104. package/lib/icon/info-line.js +15 -0
  105. package/lib/icon/info.js +15 -0
  106. package/lib/icon/play-shape.js +15 -0
  107. package/lib/icon/plus.js +15 -0
  108. package/lib/icon/right-shape.js +15 -0
  109. package/lib/icon/search.js +15 -0
  110. package/lib/icon/share.js +15 -0
  111. package/lib/icon/spinner.d.ts +4 -0
  112. package/lib/icon/spinner.js +15 -0
  113. package/lib/icon/success.js +15 -0
  114. package/lib/icon/switcher-loading.js +15 -0
  115. package/lib/icon/text-file.js +15 -0
  116. package/lib/icon/tree-application-shape.js +15 -0
  117. package/lib/icon/unvisible.js +15 -0
  118. package/lib/icon/warn.js +15 -0
  119. package/lib/input/index.d.ts +251 -163
  120. package/lib/input/index.js +2 -2
  121. package/lib/input/input.css +1 -0
  122. package/lib/input/input.d.ts +62 -40
  123. package/lib/input/input.less +4 -3
  124. package/lib/input/input.variable.css +7 -0
  125. package/lib/link/index.d.ts +100 -52
  126. package/lib/link/link.d.ts +25 -13
  127. package/lib/link/link.variable.css +6 -0
  128. package/lib/loading/index.d.ts +64 -64
  129. package/lib/loading/index.js +1 -1
  130. package/lib/loading/loading.d.ts +16 -16
  131. package/lib/loading/loading.variable.css +6 -0
  132. package/lib/menu/index.d.ts +90 -71
  133. package/lib/menu/index.js +1 -1
  134. package/lib/menu/menu-group.d.ts +6 -5
  135. package/lib/menu/menu-item.d.ts +6 -5
  136. package/lib/menu/menu.d.ts +18 -14
  137. package/lib/menu/menu.variable.css +6 -0
  138. package/lib/menu/submenu.css +3 -0
  139. package/lib/menu/submenu.d.ts +6 -5
  140. package/lib/menu/submenu.less +1 -1
  141. package/lib/menu/submenu.variable.css +9 -0
  142. package/lib/message/index.js +1 -1
  143. package/lib/message/message.variable.css +6 -0
  144. package/lib/message/messageConstructor.d.ts +28 -16
  145. package/lib/modal/index.d.ts +92 -56
  146. package/lib/modal/index.js +1 -1
  147. package/lib/modal/modal.d.ts +24 -15
  148. package/lib/modal/props.mixin.d.ts +1 -1
  149. package/lib/navigation/index.js +1 -1
  150. package/lib/navigation/navigation-title.d.ts +10 -7
  151. package/lib/navigation/navigation.d.ts +40 -23
  152. package/lib/navigation/navigation.variable.css +6 -0
  153. package/lib/notify/index.js +1 -1
  154. package/lib/notify/notify.variable.css +6 -0
  155. package/lib/notify/notifyConstructor.d.ts +37 -21
  156. package/lib/popover/index.d.ts +219 -134
  157. package/lib/popover/index.js +1 -1
  158. package/lib/popover/popover.css +22 -13
  159. package/lib/popover/popover.d.ts +73 -44
  160. package/lib/popover/popover.less +55 -45
  161. package/lib/popover/popover.variable.css +28 -13
  162. package/lib/popover/props.d.ts +77 -0
  163. package/lib/process/index.d.ts +120 -60
  164. package/lib/process/index.js +1 -1
  165. package/lib/process/process.css +2 -3
  166. package/lib/process/process.d.ts +30 -15
  167. package/lib/process/process.less +2 -3
  168. package/lib/process/process.variable.css +8 -3
  169. package/lib/progress/index.d.ts +290 -120
  170. package/lib/progress/index.js +1 -1
  171. package/lib/progress/progress.css +0 -3
  172. package/lib/progress/progress.d.ts +84 -31
  173. package/lib/progress/progress.less +0 -4
  174. package/lib/progress/progress.variable.css +6 -3
  175. package/lib/radio/index.d.ts +127 -78
  176. package/lib/radio/index.js +1 -1
  177. package/lib/radio/radio-button.d.ts +24 -16
  178. package/lib/radio/radio-group.d.ts +11 -10
  179. package/lib/radio/radio.d.ts +23 -13
  180. package/lib/radio/radio.variable.css +6 -0
  181. package/lib/rate/index.d.ts +52 -40
  182. package/lib/rate/rate.d.ts +13 -10
  183. package/lib/rate/star.d.ts +32 -15
  184. package/lib/select/common.d.ts +10 -1
  185. package/lib/select/index.d.ts +515 -503
  186. package/lib/select/index.js +2 -2
  187. package/lib/select/option.d.ts +10 -17
  188. package/lib/select/optionGroup.d.ts +67 -52
  189. package/lib/select/select.css +71 -14
  190. package/lib/select/select.d.ts +136 -137
  191. package/lib/select/select.less +73 -14
  192. package/lib/select/select.variable.css +77 -14
  193. package/lib/shared/bk-helper-core.d.ts +6 -0
  194. package/lib/shared/bk-popover.d.ts +45 -4
  195. package/lib/shared/index.d.ts +10 -0
  196. package/lib/shared/index.js +1 -1
  197. package/lib/shared/utils.d.ts +6 -0
  198. package/lib/sideslider/index.d.ts +111 -63
  199. package/lib/sideslider/sideslider.d.ts +29 -17
  200. package/lib/sideslider/sideslider.variable.css +6 -0
  201. package/lib/slider/slider-button.d.ts +10 -7
  202. package/lib/slider/slider.d.ts +70 -40
  203. package/lib/slider/slider.variable.css +6 -0
  204. package/lib/steps/index.d.ts +156 -104
  205. package/lib/steps/index.js +1 -1
  206. package/lib/steps/steps.css +3 -0
  207. package/lib/steps/steps.d.ts +39 -26
  208. package/lib/steps/steps.less +4 -0
  209. package/lib/steps/steps.variable.css +9 -0
  210. package/lib/styles/index.d.ts +2 -0
  211. package/lib/styles/index.js +1 -1
  212. package/lib/styles/themes/themes.less +10 -0
  213. package/lib/switcher/index.d.ts +192 -128
  214. package/lib/switcher/index.js +1 -1
  215. package/lib/switcher/switcher.css +149 -135
  216. package/lib/switcher/switcher.d.ts +48 -32
  217. package/lib/switcher/switcher.less +210 -154
  218. package/lib/switcher/switcher.variable.css +155 -135
  219. package/lib/tab/index.d.ts +344 -208
  220. package/lib/tab/index.js +1 -1
  221. package/lib/tab/tab-nav.d.ts +74 -38
  222. package/lib/tab/tab-panel.d.ts +22 -20
  223. package/lib/tab/tab.d.ts +64 -32
  224. package/lib/tab/tab.variable.css +6 -0
  225. package/lib/table/const.d.ts +4 -0
  226. package/lib/table/index.d.ts +169 -70
  227. package/lib/table/index.js +1 -1
  228. package/lib/table/props.d.ts +56 -0
  229. package/lib/table/render.d.ts +19 -3
  230. package/lib/table/table.css +52 -13
  231. package/lib/table/table.d.ts +71 -12
  232. package/lib/table/table.less +62 -18
  233. package/lib/table/table.variable.css +60 -15
  234. package/lib/table/utils.d.ts +34 -1
  235. package/lib/tag/index.d.ts +10 -286
  236. package/lib/tag/tag.d.ts +2 -48
  237. package/lib/tag/tag.variable.css +6 -0
  238. package/lib/timeline/index.d.ts +129 -0
  239. package/lib/timeline/index.js +1 -0
  240. package/lib/timeline/timeline.css +235 -0
  241. package/lib/timeline/timeline.d.ts +81 -0
  242. package/lib/timeline/timeline.less +239 -0
  243. package/lib/timeline/timeline.variable.css +327 -0
  244. package/lib/tree/index.d.ts +148 -69
  245. package/lib/tree/index.js +1 -1
  246. package/lib/tree/props.d.ts +70 -0
  247. package/lib/tree/tree.css +16 -7
  248. package/lib/tree/tree.d.ts +51 -23
  249. package/lib/tree/tree.less +24 -24
  250. package/lib/tree/tree.variable.css +16 -7
  251. package/lib/tree/util.d.ts +3 -44
  252. package/lib/virtual-render/index.d.ts +556 -0
  253. package/lib/virtual-render/index.js +1 -0
  254. package/lib/virtual-render/props.d.ts +157 -0
  255. package/lib/virtual-render/v-virtual-render.d.ts +7 -0
  256. package/lib/virtual-render/virtual-render.css +40 -0
  257. package/lib/virtual-render/virtual-render.d.ts +244 -0
  258. package/lib/virtual-render/virtual-render.less +51 -0
  259. package/lib/virtual-render/virtual-render.variable.css +40 -0
  260. package/package.json +9 -7
package/dist/style.css CHANGED
@@ -547,8 +547,17 @@ optgroup {
547
547
  margin: 0 6px;
548
548
  font-weight: normal;
549
549
  }
550
+ .bk-breadcrumb-goback {
551
+ margin-right: 12px;
552
+ color: #0082ff;
553
+ cursor: pointer;
554
+ }
555
+ .bk-breadcrumb-goback svg {
556
+ font-size: 26px;
557
+ }
550
558
  .bk-breadcrumb-item-inner.is-link,
551
559
  .bk-breadcrumb-item-inner a {
560
+ color: #63656e;
552
561
  text-decoration: none;
553
562
  }
554
563
  .bk-breadcrumb-item-inner.is-link:hover,
@@ -557,7 +566,7 @@ optgroup {
557
566
  cursor: pointer;
558
567
  }
559
568
  .bk-breadcrumb-item:last-child {
560
- color: #63656e;
569
+ color: #979ba5;
561
570
  }
562
571
  .bk-breadcrumb-item:last-child .el-breadcrumb__inner,
563
572
  .bk-breadcrumb-item:last-child .el-breadcrumb__inner a,
@@ -1153,6 +1162,7 @@ optgroup {
1153
1162
  .bk-input--suffix-icon {
1154
1163
  padding-right: 10px;
1155
1164
  font-size: 16px;
1165
+ line-height: 1;
1156
1166
  color: #c4c6cc;
1157
1167
  align-self: center;
1158
1168
  }
@@ -1589,7 +1599,16 @@ optgroup {
1589
1599
  .bk-popover .bk-popover-reference {
1590
1600
  display: inline-block;
1591
1601
  }
1592
- .bk-popover .bk-popover-content {
1602
+ .bk-popover .fade-in-enter-active,
1603
+ .bk-popover .fade-in-linear-leave-active {
1604
+ transition: opacity 200ms linear;
1605
+ }
1606
+ .bk-popover .fade-in-enter,
1607
+ .bk-popover .fade-in-leave,
1608
+ .bk-popover .fade-in-leave-active {
1609
+ opacity: 0;
1610
+ }
1611
+ .bk-popover-content {
1593
1612
  display: none;
1594
1613
  padding: 7px 14px;
1595
1614
  font-size: 12px;
@@ -1598,29 +1617,29 @@ optgroup {
1598
1617
  border-radius: 4px;
1599
1618
  box-sizing: border-box;
1600
1619
  }
1601
- .bk-popover .bk-popover-content[data-theme='dark'] {
1620
+ .bk-popover-content[data-theme^='dark'] {
1602
1621
  color: #fff;
1603
1622
  background: #26323d;
1604
1623
  }
1605
- .bk-popover .bk-popover-content[data-theme='light'] {
1624
+ .bk-popover-content[data-theme^='light'] {
1606
1625
  color: #26323d;
1607
1626
  background-color: #fff;
1608
1627
  box-shadow: 0 0 6px 0 #dcdee5;
1609
1628
  }
1610
- .bk-popover .bk-popover-content[data-theme='light'][data-show] {
1629
+ .bk-popover-content[data-theme^='light'][data-show] {
1611
1630
  box-shadow: 0 0 6px 0 #dcdee5;
1612
1631
  }
1613
- .bk-popover .bk-popover-content[data-show] {
1632
+ .bk-popover-content[data-show] {
1614
1633
  display: block;
1615
1634
  }
1616
- .bk-popover .bk-popover-content .arrow {
1635
+ .bk-popover-content .arrow {
1617
1636
  position: absolute;
1618
1637
  width: 8px;
1619
1638
  height: 8px;
1620
1639
  background: inherit;
1621
1640
  visibility: hidden;
1622
1641
  }
1623
- .bk-popover .bk-popover-content .arrow::before {
1642
+ .bk-popover-content .arrow::before {
1624
1643
  position: absolute;
1625
1644
  width: 8px;
1626
1645
  height: 8px;
@@ -1629,17 +1648,17 @@ optgroup {
1629
1648
  visibility: visible;
1630
1649
  transform: rotate(45deg);
1631
1650
  }
1632
- .bk-popover .bk-popover-content[data-popper-placement^='top'] > .arrow {
1651
+ .bk-popover-content[data-popper-placement^='top'] > .arrow {
1633
1652
  bottom: -4px;
1634
1653
  }
1635
- .bk-popover .bk-popover-content[data-popper-placement^='bottom'] > .arrow {
1654
+ .bk-popover-content[data-popper-placement^='bottom'] > .arrow {
1636
1655
  top: -4px;
1637
1656
  }
1638
- .bk-popover .bk-popover-content[data-popper-placement^='left'] > .arrow {
1639
- right: 0;
1657
+ .bk-popover-content[data-popper-placement^='left'] > .arrow {
1658
+ right: -4px;
1640
1659
  }
1641
- .bk-popover .bk-popover-content[data-popper-placement^='right'] > .arrow {
1642
- left: -8px;
1660
+ .bk-popover-content[data-popper-placement^='right'] > .arrow {
1661
+ left: -4px;
1643
1662
  }
1644
1663
  @keyframes loading-scale-animate {
1645
1664
  0% {
@@ -1719,9 +1738,6 @@ optgroup {
1719
1738
  width: 7%;
1720
1739
  text-align: center;
1721
1740
  }
1722
- .bk-progress .process-circle-trail {
1723
- stroke: #f5f5f5;
1724
- }
1725
1741
  .bk-progress .progress-circle-text {
1726
1742
  position: absolute;
1727
1743
  top: 50%;
@@ -1963,6 +1979,7 @@ optgroup {
1963
1979
  position: absolute;
1964
1980
  top: 6px;
1965
1981
  left: 4px;
1982
+ font-size: 14px;
1966
1983
  }
1967
1984
  .bk-select .bk-select-trigger .angle-up {
1968
1985
  transform: rotate(180deg);
@@ -1994,6 +2011,38 @@ optgroup {
1994
2011
  .bk-select .bk-select-trigger .clear-icon:hover {
1995
2012
  color: #979ba5;
1996
2013
  }
2014
+ .bk-select .bk-select-trigger .spinner {
2015
+ position: absolute;
2016
+ top: 6px;
2017
+ right: 4px;
2018
+ display: flex;
2019
+ align-items: center;
2020
+ justify-content: center;
2021
+ width: 20px;
2022
+ height: 20px;
2023
+ font-size: 16px;
2024
+ color: #3A84FF;
2025
+ }
2026
+ .bk-select .bk-select-empty {
2027
+ display: flex;
2028
+ align-items: center;
2029
+ justify-content: center;
2030
+ height: 56px;
2031
+ color: #63656e;
2032
+ }
2033
+ .bk-select .bk-select-empty .spinner {
2034
+ display: flex;
2035
+ width: 14px;
2036
+ height: 14px;
2037
+ margin-right: 4px;
2038
+ font-size: 14px;
2039
+ color: #c4c6cc;
2040
+ align-items: center;
2041
+ justify-content: center;
2042
+ }
2043
+ .bk-select .bk-select-dropdown {
2044
+ overflow: auto;
2045
+ }
1997
2046
  .bk-select .bk-select-dropdown .bk-select-search {
1998
2047
  position: relative;
1999
2048
  padding: 0 5px;
@@ -2016,20 +2065,19 @@ optgroup {
2016
2065
  border-bottom: 1px solid #dcdee5;
2017
2066
  outline: 0;
2018
2067
  }
2019
- .bk-select .bk-select-empty {
2020
- height: 32px;
2021
- font-size: 12px;
2022
- line-height: 32px;
2023
- color: #63656e;
2024
- text-align: center;
2025
- user-select: none;
2068
+ .bk-select .bk-select-extension {
2069
+ display: flex;
2070
+ height: 40px;
2071
+ background-color: #fafbfd;
2072
+ align-items: center;
2026
2073
  }
2027
2074
  .bk-select .bk-select-options {
2028
- padding: 6px 0;
2075
+ padding: 8px 0;
2029
2076
  }
2030
2077
  .bk-select .bk-select-option {
2078
+ position: relative;
2031
2079
  height: 32px;
2032
- padding: 0 10px;
2080
+ padding: 0 20px 0 12px;
2033
2081
  line-height: 32px;
2034
2082
  color: #63656e;
2035
2083
  text-align: left;
@@ -2041,15 +2089,14 @@ optgroup {
2041
2089
  }
2042
2090
  .bk-select .bk-select-option:hover {
2043
2091
  color: #3a84ff;
2044
- background-color: #eaf3ff;
2092
+ background-color: #f5f7fa;
2045
2093
  }
2046
2094
  .bk-select .bk-select-option.is-selected {
2047
2095
  color: #3a84ff;
2048
- background-color: #f4f6fa;
2049
2096
  }
2050
2097
  .bk-select .bk-select-option.is-selected.is-multiple::after {
2051
2098
  position: absolute;
2052
- right: 20px;
2099
+ right: 12px;
2053
2100
  font-size: 12px;
2054
2101
  font-weight: 700;
2055
2102
  content: '\2713';
@@ -2061,11 +2108,37 @@ optgroup {
2061
2108
  }
2062
2109
  .bk-select .bk-option-group-label {
2063
2110
  height: 32px;
2064
- margin: 0 10px;
2111
+ padding: 0 8px;
2065
2112
  line-height: 32px;
2066
2113
  color: #979ba5;
2067
2114
  text-align: left;
2068
- border-bottom: 1px solid #dcdee5;
2115
+ }
2116
+ .bk-select .bk-option-group-label.collapsible {
2117
+ cursor: pointer;
2118
+ }
2119
+ .bk-select .bk-option-group.collapsible .bk-select-option {
2120
+ padding-left: 40px;
2121
+ }
2122
+ .bk-select .bk-option-group .default-group-label {
2123
+ display: flex;
2124
+ user-select: none;
2125
+ align-items: center;
2126
+ }
2127
+ .bk-select .bk-option-group .default-group-label-icon {
2128
+ display: flex;
2129
+ width: 12px;
2130
+ height: 12px;
2131
+ margin-right: 8px;
2132
+ font-size: 12px;
2133
+ transition: all 0.1s;
2134
+ align-items: center;
2135
+ justify-content: center;
2136
+ }
2137
+ .bk-select .bk-option-group .default-group-label-icon.collapse {
2138
+ transform: rotate(-90deg);
2139
+ }
2140
+ .bk-select .bk-option-group .bk-select-option {
2141
+ padding-left: 24px;
2069
2142
  }
2070
2143
  .bk-modal-wrapper.bk-sideslider-wrapper {
2071
2144
  position: fixed;
@@ -2160,181 +2233,181 @@ optgroup {
2160
2233
  .bk-switcher {
2161
2234
  position: relative;
2162
2235
  display: inline-block;
2163
- /* 默认尺寸 */
2164
- width: 36px;
2165
2236
  height: 20px;
2237
+ /* 默认尺寸 */
2238
+ min-width: 36px;
2239
+ padding: 0;
2240
+ margin: 0;
2241
+ font-size: 14px;
2166
2242
  line-height: 20px;
2167
2243
  text-align: left;
2168
2244
  vertical-align: middle;
2245
+ list-style: none;
2246
+ cursor: pointer;
2169
2247
  background-color: #c4c6cc;
2248
+ border: 1px solid transparent;
2170
2249
  border-radius: 50px;
2250
+ border-radius: 100px;
2251
+ box-sizing: border-box;
2171
2252
  transition: all 0.4s ease;
2253
+ transition: all 0.36s;
2254
+ user-select: none;
2172
2255
  /* 显示文本时固定尺寸 */
2173
2256
  }
2174
- .bk-switcher:focus {
2175
- box-shadow: 0px 0px 6px #c4c6cc;
2176
- }
2177
2257
  .bk-switcher:after {
2178
2258
  position: absolute;
2179
- top: 2px;
2180
- left: 2px;
2181
- display: block;
2182
- width: 24px;
2183
- height: 24px;
2259
+ top: 1px;
2260
+ left: 1px;
2261
+ width: 16px;
2262
+ height: 16px;
2184
2263
  cursor: pointer;
2185
2264
  background: #fff;
2186
- border-radius: 100px;
2187
- content: '';
2188
- box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
2265
+ background-color: #fff;
2266
+ border-radius: 18px;
2267
+ content: ' ';
2189
2268
  transition: all 0.3s ease;
2190
2269
  }
2191
- .bk-switcher:not(.show-label):after {
2192
- width: 16px;
2193
- height: 16px;
2194
- }
2195
- .bk-switcher:not(.show-label).is-checked:after {
2196
- margin-left: -18px;
2197
- }
2198
- .bk-switcher.is-loading {
2199
- cursor: defalt;
2270
+ .bk-switcher .switcher-text {
2271
+ display: block;
2272
+ margin-right: 6px;
2273
+ margin-left: 28px;
2274
+ font-size: 12px;
2275
+ font-weight: 400;
2276
+ color: #fff;
2277
+ text-align: center;
2278
+ transition: all 0.3s ease;
2200
2279
  }
2201
- .bk-switcher.is-loading input[type=checkbox] {
2202
- cursor: default;
2280
+ .bk-switcher .animating-node {
2281
+ position: absolute;
2282
+ top: 0;
2283
+ right: 0;
2284
+ bottom: 0;
2285
+ left: 0;
2286
+ display: block;
2287
+ pointer-events: none;
2288
+ border-radius: inherit;
2289
+ content: '';
2290
+ opacity: 0.2;
2291
+ box-shadow: 0 0 0 0 #1890ff;
2292
+ animation: fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1), waveEffect 0.4s cubic-bezier(0.08, 0.82, 0.17, 1);
2293
+ animation-fill-mode: forwards;
2203
2294
  }
2204
2295
  .bk-switcher .bk-switcher-loading {
2205
2296
  position: absolute;
2206
- top: 50%;
2297
+ top: 1px;
2207
2298
  left: 1px;
2208
- z-index: 10;
2209
- display: flex;
2210
- width: 18px;
2211
- height: 18px;
2212
- transform: translateY(-50%);
2299
+ z-index: 1;
2300
+ width: 16px;
2301
+ height: 16px;
2302
+ font-size: 12px;
2303
+ color: #c4c6cc;
2304
+ cursor: pointer;
2305
+ background: transparent;
2306
+ border-radius: 16px;
2307
+ content: ' ';
2308
+ transition: all 0.36s cubic-bezier(0.78, 0.14, 0.15, 0.86);
2213
2309
  }
2214
2310
  .bk-switcher .bk-switcher-loading svg {
2215
- color: #3a84ff;
2216
- }
2217
- .bk-switcher .switcher-label {
2218
- display: none;
2219
- width: 30px;
2220
- height: 28px;
2221
- margin: 0 0 0 26px;
2222
- font-size: 12px;
2223
- font-weight: normal;
2224
- color: #fff;
2225
- text-align: center;
2226
- vertical-align: top;
2227
- transition: all ease 0.3s;
2311
+ position: absolute;
2312
+ top: 0;
2313
+ right: 0;
2314
+ bottom: 0;
2315
+ left: 0;
2316
+ margin: auto;
2317
+ animation: loading 1s linear infinite;
2228
2318
  }
2229
- .bk-switcher .switcher-label .on-text {
2230
- display: none;
2319
+ .bk-switcher.is-loading {
2320
+ cursor: defalt;
2231
2321
  }
2232
- .bk-switcher .switcher-label .off-text {
2233
- display: inline-block;
2322
+ .bk-switcher.is-loading input[type=checkbox] {
2323
+ cursor: default;
2234
2324
  }
2235
2325
  .bk-switcher.show-label {
2236
- width: 60px;
2237
2326
  height: 28px;
2327
+ min-width: 60px;
2238
2328
  line-height: 28px;
2239
2329
  }
2240
- .bk-switcher.show-label .switcher-label {
2241
- display: inline-block;
2330
+ .bk-switcher.show-label::after {
2331
+ width: 24px;
2332
+ height: 24px;
2242
2333
  }
2243
2334
  .bk-switcher.show-label .bk-switcher-loading {
2244
- width: 26px;
2245
- height: 26px;
2246
- align-items: center;
2247
- justify-content: center;
2335
+ width: 24px;
2336
+ height: 24px;
2337
+ font-size: 20px;
2248
2338
  }
2249
- .bk-switcher.show-label .bk-switcher-loading svg {
2250
- font-size: 24px;
2339
+ .bk-switcher.show-label.is-checked .bk-switcher-loading {
2340
+ left: 100%;
2341
+ margin-left: -25px;
2251
2342
  }
2252
2343
  .bk-switcher.is-disabled {
2253
- cursor: default;
2254
- /* background-color: #eee !important; */
2344
+ cursor: not-allowed;
2255
2345
  opacity: 0.3;
2256
2346
  }
2257
- .bk-switcher.is-disabled input[type=checkbox] {
2347
+ .bk-switcher.is-disabled .bk-switcher-loading {
2348
+ cursor: not-allowed;
2349
+ }
2350
+ .bk-switcher.is-disabled::after {
2258
2351
  cursor: not-allowed;
2259
2352
  }
2260
2353
  .bk-switcher.is-checked {
2261
2354
  background: #2dcb56;
2262
2355
  }
2263
- .bk-switcher.is-checked:focus {
2264
- box-shadow: 0px 0px 6px #2dcb56;
2356
+ .bk-switcher.is-checked .bk-switcher-loading svg {
2357
+ color: #2dcb56;
2265
2358
  }
2266
- .bk-switcher.is-checked.primary {
2359
+ .bk-switcher.is-checked:not(.bk-switcher-outline).bk-switcher.is-checked.primary {
2267
2360
  background: #3a84ff;
2268
2361
  }
2269
- .bk-switcher.is-checked.primary:focus {
2270
- box-shadow: 0px 0px 6px #3a84ff;
2362
+ .bk-switcher.is-checked:not(.bk-switcher-outline).bk-switcher.is-checked.primary .bk-switcher-loading svg {
2363
+ color: #3a84ff;
2271
2364
  }
2272
2365
  .bk-switcher.is-checked:after {
2273
- top: 2px;
2274
2366
  left: 100%;
2275
- margin-left: -26px;
2276
- }
2277
- .bk-switcher.is-checked .switcher-label {
2278
- margin-left: 4px;
2279
- }
2280
- .bk-switcher.is-checked .switcher-label .on-text {
2281
- display: inline-block;
2367
+ margin-left: -1px;
2368
+ transform: translateX(-100%);
2282
2369
  }
2283
- .bk-switcher.is-checked .switcher-label .off-text {
2284
- display: none;
2370
+ .bk-switcher.is-checked .switcher-text {
2371
+ margin-right: 28px;
2372
+ margin-left: 6px;
2285
2373
  }
2286
- .bk-switcher.is-checked .bk-switcher-loading {
2287
- right: 1px;
2288
- left: auto;
2374
+ .bk-switcher:not(.show-label).is-checked .bk-switcher-loading {
2375
+ left: 100%;
2376
+ margin-left: -17px;
2289
2377
  }
2290
2378
  .bk-switcher.bk-switcher-outline {
2291
2379
  background: #fff;
2292
2380
  border: 1px solid #c4c6cc;
2293
2381
  }
2294
2382
  .bk-switcher.bk-switcher-outline:after {
2295
- width: 22px;
2296
- height: 22px;
2383
+ width: 24px;
2384
+ height: 24px;
2297
2385
  background-color: #c4c6cc;
2298
2386
  box-shadow: none;
2299
2387
  }
2300
- .bk-switcher.bk-switcher-outline .switcher-label {
2301
- height: 26px;
2302
- margin-left: 24px;
2388
+ .bk-switcher.bk-switcher-outline .switcher-text {
2303
2389
  color: #c4c6cc;
2304
2390
  }
2305
- .bk-switcher.bk-switcher-outline .bk-switcher-loading {
2306
- width: 22px;
2307
- height: 22px;
2308
- align-items: center;
2309
- justify-content: center;
2310
- }
2311
2391
  .bk-switcher.bk-switcher-outline.is-checked {
2312
2392
  border: 1px solid #2dcb56;
2313
2393
  }
2314
2394
  .bk-switcher.bk-switcher-outline.is-checked:after {
2315
- margin-left: -24px;
2316
2395
  background-color: #2dcb56;
2317
2396
  }
2318
- .bk-switcher.bk-switcher-outline.is-checked .switcher-label {
2319
- margin-left: 4px;
2397
+ .bk-switcher.bk-switcher-outline.is-checked .switcher-text {
2320
2398
  color: #2dcb56;
2321
2399
  }
2322
- .bk-switcher.bk-switcher-outline.is-disabled {
2323
- background-color: #fff;
2324
- border-color: #eee;
2325
- }
2326
- .bk-switcher.bk-switcher-outline.is-disabled .switcher-label {
2327
- color: #eee;
2400
+ .bk-switcher.bk-switcher-outline .bk-switcher-loading svg {
2401
+ color: #fff;
2328
2402
  }
2329
- .bk-switcher.bk-switcher-outline.is-disabled:after {
2330
- background-color: #eee;
2403
+ .bk-switcher.bk-switcher-outline.bk-switcher.primary.is-checked {
2404
+ border: 1px solid #3a84ff;
2331
2405
  }
2332
- .bk-switcher.bk-switcher-outline.bk-switcher-large:after {
2333
- width: 18px;
2334
- height: 18px;
2406
+ .bk-switcher.bk-switcher-outline.bk-switcher.primary.is-checked:after {
2407
+ background: #3a84ff;
2335
2408
  }
2336
- .bk-switcher.bk-switcher-outline.bk-switcher-large.is-checked:after {
2337
- margin-left: -20px;
2409
+ .bk-switcher.bk-switcher-outline.bk-switcher.primary.is-checked .switcher-text {
2410
+ color: #3a84ff;
2338
2411
  }
2339
2412
  .bk-switcher.bk-switcher-square {
2340
2413
  border-radius: 2px;
@@ -2342,97 +2415,150 @@ optgroup {
2342
2415
  .bk-switcher.bk-switcher-square:after {
2343
2416
  border-radius: 2px;
2344
2417
  }
2345
- .bk-switcher.bk-switcher-square .switcher-label {
2346
- width: 35px;
2347
- }
2348
2418
  .bk-switcher.bk-switcher-large {
2349
- width: 42px;
2350
2419
  height: 24px;
2420
+ min-width: 42px;
2351
2421
  line-height: 22px;
2352
- border-radius: 12px;
2353
2422
  }
2354
2423
  .bk-switcher.bk-switcher-large:after {
2355
2424
  width: 20px;
2356
2425
  height: 20px;
2357
2426
  }
2358
- .bk-switcher.bk-switcher-large.is-checked:after {
2359
- top: 2px;
2360
- left: 100%;
2361
- margin-left: -22px;
2362
- }
2363
2427
  .bk-switcher.bk-switcher-large .bk-switcher-loading {
2364
- width: 22px;
2365
- height: 22px;
2428
+ width: 20px;
2429
+ height: 20px;
2430
+ font-size: 16px;
2431
+ }
2432
+ .bk-switcher.bk-switcher-large.is-checked .bk-switcher-loading {
2433
+ margin-left: -21px;
2366
2434
  }
2367
2435
  .bk-switcher.bk-switcher-small {
2368
- width: 26px;
2369
2436
  height: 16px;
2437
+ min-width: 26px;
2370
2438
  line-height: 22px;
2371
2439
  }
2372
2440
  .bk-switcher.bk-switcher-small:after {
2373
2441
  width: 12px;
2374
2442
  height: 12px;
2375
2443
  }
2376
- .bk-switcher.bk-switcher-small.is-checked:after {
2377
- top: 2px;
2378
- left: 100%;
2379
- margin-left: -14px;
2380
- }
2381
2444
  .bk-switcher.bk-switcher-small .bk-switcher-loading {
2382
- width: 14px;
2383
- height: 14px;
2445
+ width: 12px;
2446
+ height: 12px;
2447
+ font-weight: 700;
2448
+ transform: scale(0.66667);
2384
2449
  }
2385
- .bk-switcher input[type=checkbox],
2386
- .bk-switcher input[type=radio] {
2387
- position: absolute;
2388
- top: 0;
2389
- left: 0;
2390
- z-index: 1;
2391
- width: 100%;
2392
- height: 100%;
2393
- margin: 0;
2394
- cursor: pointer;
2395
- opacity: 0;
2450
+ .bk-switcher.bk-switcher-small.is-checked .bk-switcher-loading {
2451
+ margin-left: -13px;
2396
2452
  }
2397
- .bk-table .bk-table-body {
2398
- height: 500px;
2453
+ :not(.show-label).bk-switcher-nomal.bk-switcher-outline::after {
2454
+ width: 16px;
2455
+ height: 16px;
2456
+ }
2457
+ :not(.show-label).bk-switcher-outline.is-checked.bk-switcher-small::after {
2458
+ width: 12px;
2459
+ height: 12px;
2460
+ }
2461
+ :not(.show-label).bk-switcher-outline.is-checked.bk-switcher-large::after {
2462
+ width: 20px;
2463
+ height: 20px;
2464
+ }
2465
+ :not(.show-label).bk-switcher-outline.is-checked::after {
2466
+ width: 16px;
2467
+ height: 16px;
2468
+ }
2469
+ @keyframes fadeEffect {
2470
+ 100% {
2471
+ opacity: 0;
2472
+ }
2473
+ }
2474
+ @keyframes waveEffect {
2475
+ 100% {
2476
+ box-shadow: 0 0 0 #1890ff;
2477
+ }
2478
+ }
2479
+ @keyframes loading {
2480
+ 100% {
2481
+ transform: rotate(1turn);
2482
+ }
2483
+ }
2484
+ .bk-table {
2399
2485
  overflow: auto;
2486
+ border-top: 1px solid #dcdee5;
2487
+ border-bottom: 1px solid #dcdee5;
2488
+ }
2489
+ .bk-table .bk-table-head,
2490
+ .bk-table .bk-table-body {
2400
2491
  background: white;
2401
2492
  }
2493
+ .bk-table .bk-table-head table,
2402
2494
  .bk-table .bk-table-body table {
2403
2495
  width: 100%;
2404
2496
  border-collapse: collapse;
2405
2497
  }
2406
- .bk-table .bk-table-body table .cell {
2407
- height: 40px;
2498
+ .bk-table .bk-table-head table th,
2499
+ .bk-table .bk-table-body table th,
2500
+ .bk-table .bk-table-head table td,
2501
+ .bk-table .bk-table-body table td {
2502
+ min-width: 80px;
2503
+ }
2504
+ .bk-table .bk-table-head table th .cell,
2505
+ .bk-table .bk-table-body table th .cell,
2506
+ .bk-table .bk-table-head table td .cell,
2507
+ .bk-table .bk-table-body table td .cell {
2508
+ height: var(--row-height);
2408
2509
  padding: 0 15px;
2409
2510
  overflow: hidden;
2410
- line-height: 40px;
2511
+ line-height: var(--row-height);
2512
+ color: #575961;
2513
+ text-align: left;
2411
2514
  text-overflow: ellipsis;
2412
2515
  white-space: nowrap;
2413
2516
  }
2414
- .bk-table .bk-table-body table th,
2415
- .bk-table .bk-table-body table td {
2416
- min-width: 80px;
2417
- border-bottom: 1px solid #dfe0e5;
2418
- }
2517
+ .bk-table .bk-table-head table thead th,
2419
2518
  .bk-table .bk-table-body table thead th {
2420
2519
  position: sticky;
2421
2520
  top: 0;
2422
2521
  z-index: 1;
2423
- background-color: #fff;
2522
+ color: #313238;
2523
+ background-color: #fafbfd;
2424
2524
  }
2425
- .bk-table .bk-table-body table thead th.active {
2525
+ .bk-table .bk-table-head table thead th.active,
2526
+ .bk-table .bk-table-body table thead th.active,
2527
+ .bk-table .bk-table-head table thead th:hover,
2528
+ .bk-table .bk-table-body table thead th:hover {
2426
2529
  background: #f0f1f5;
2427
2530
  }
2531
+ .bk-table .bk-table-head table tbody tr:hover td,
2428
2532
  .bk-table .bk-table-body table tbody tr:hover td {
2429
2533
  background: #f5f7fa;
2430
2534
  }
2535
+ .bk-table.bordered-row .cell {
2536
+ border-bottom: 1px solid #dcdee5;
2537
+ }
2538
+ .bk-table.bordered-outer {
2539
+ border-right: 1px solid #dcdee5;
2540
+ border-left: 1px solid #dcdee5;
2541
+ }
2542
+ .bk-table.bordered-col th .cell,
2543
+ .bk-table.bordered-col td .cell {
2544
+ border-right: 1px solid #dcdee5;
2545
+ }
2546
+ .bk-table.bordered-col th:last-child .cell,
2547
+ .bk-table.bordered-col td:last-child .cell {
2548
+ border-right: none;
2549
+ }
2550
+ .bk-table.bordered-none th .cell,
2551
+ .bk-table.bordered-none td .cell {
2552
+ border-top: none;
2553
+ border-right: none;
2554
+ border-bottom: none;
2555
+ border-left: none;
2556
+ }
2431
2557
  .bk-table .bk-table-fixed {
2432
2558
  width: 100%;
2433
2559
  }
2434
2560
  .bk-table colgroup col {
2435
- background: #fff;
2561
+ background: white;
2436
2562
  }
2437
2563
  .bk-table colgroup col.active {
2438
2564
  position: relative;
@@ -2596,6 +2722,9 @@ optgroup {
2596
2722
  .bk-steps .bk-step.done .bk-step-description {
2597
2723
  color: #63656e;
2598
2724
  }
2725
+ .bk-steps .bk-step.done .bk-steps-icon {
2726
+ font-size: 22px;
2727
+ }
2599
2728
  .bk-steps .bk-step.current .bk-step-number,
2600
2729
  .bk-steps .bk-step.current .bk-step-icon,
2601
2730
  .bk-steps .bk-step.current .bk-step-text {
@@ -2871,13 +3000,13 @@ optgroup {
2871
3000
  line-height: var(--lineHeight);
2872
3001
  cursor: pointer;
2873
3002
  }
2874
- .bk-tree .bk-tree-node.is-open::after {
3003
+ .bk-tree .bk-tree-node.is-open:not(.is-virtual-render)::after {
2875
3004
  position: absolute;
2876
- top: calc(var(--lineHeight) / 2);
2877
- left: 0;
3005
+ top: calc(var(--lineHeight) / 2 + 6px);
3006
+ left: 6px;
2878
3007
  z-index: 1;
2879
3008
  width: 0;
2880
- height: calc(var(--lines) * var(--lineHeight));
3009
+ height: calc(var(--lines) * var(--lineHeight) - 6px);
2881
3010
  pointer-events: none;
2882
3011
  border-left: var(--level-line);
2883
3012
  content: '';
@@ -2887,15 +3016,24 @@ optgroup {
2887
3016
  }
2888
3017
  .bk-tree .bk-tree-node:not(.is-root)::before {
2889
3018
  position: absolute;
2890
- top: 50%;
2891
- left: calc(0px - var(--indent));
3019
+ top: calc(50% + 1px);
3020
+ left: calc(0px - var(--indent) + 6px);
2892
3021
  z-index: 1;
2893
- width: var(--indent);
3022
+ width: calc(var(--indent) - 6px);
2894
3023
  height: 0;
2895
3024
  pointer-events: none;
2896
3025
  border-bottom: var(--level-line);
2897
3026
  content: '';
2898
3027
  }
3028
+ .bk-tree .bk-tree-node .node-virtual-line {
3029
+ display: inline-block;
3030
+ position: absolute;
3031
+ left: calc(var(--depth) * var(--indent) * -1 + 6px);
3032
+ top: -12px;
3033
+ bottom: 50%;
3034
+ width: 0;
3035
+ border-left: var(--level-line);
3036
+ }
2899
3037
  .bk-tree .bk-tree-node .bk-tree-icon {
2900
3038
  margin: 0 6px 0 4px;
2901
3039
  }
@@ -4039,9 +4177,8 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em {
4039
4177
  }
4040
4178
  .bk-process .bk-process-icon-done {
4041
4179
  display: inline-block;
4042
- height: 20px;
4043
- font-size: 21px;
4044
- line-height: 20px;
4180
+ font-size: 22px;
4181
+ line-height: 18px;
4045
4182
  }
4046
4183
  .bk-process .bk-icon.icon-loading {
4047
4184
  display: inline-block;
@@ -4145,6 +4282,281 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em {
4145
4282
  .bk-process li.current > .bk-spin-loading {
4146
4283
  vertical-align: -3px;
4147
4284
  }
4285
+ .bk-virtual-render {
4286
+ position: relative;
4287
+ }
4288
+ .bk-virtual-render .bk-virtual-content,
4289
+ .bk-virtual-render.bk-virtual-content {
4290
+ position: absolute;
4291
+ top: 0;
4292
+ bottom: 0;
4293
+ left: 0;
4294
+ width: 100%;
4295
+ height: 100%;
4296
+ }
4297
+ .bk-virtual-render .bk-virtual-section {
4298
+ width: 1px;
4299
+ background: transparent;
4300
+ }
4301
+ .bk-virtual-render.bk-scroll-x {
4302
+ overflow-x: auto;
4303
+ scrollbar-color: #a0a0a0 transparent;
4304
+ scrollbar-width: thin;
4305
+ }
4306
+ .bk-virtual-render.bk-scroll-x::-webkit-scrollbar {
4307
+ height: 8px;
4308
+ background-color: transparent;
4309
+ }
4310
+ .bk-virtual-render.bk-scroll-x::-webkit-scrollbar-thumb {
4311
+ background-color: #a0a0a0;
4312
+ border-radius: 8px;
4313
+ }
4314
+ .bk-virtual-render.bk-scroll-y {
4315
+ overflow-y: auto;
4316
+ }
4317
+ .bk-virtual-render.bk-scroll-y::-webkit-scrollbar {
4318
+ width: 6px;
4319
+ background-color: transparent;
4320
+ }
4321
+ .bk-virtual-render.bk-scroll-y::-webkit-scrollbar-thumb {
4322
+ background-color: #dcdee5;
4323
+ border-radius: 6px;
4324
+ }
4325
+ * {
4326
+ box-sizing: border-box;
4327
+ }
4328
+ .bk-timeline {
4329
+ padding: 0;
4330
+ margin: 16px 0 0;
4331
+ font-style: normal;
4332
+ font-weight: 400;
4333
+ line-height: normal;
4334
+ text-align: left;
4335
+ list-style: none;
4336
+ }
4337
+ .bk-timeline .bk-timeline-dot {
4338
+ position: relative;
4339
+ padding-bottom: 24px;
4340
+ padding-left: 16px;
4341
+ /* spacing 1px */
4342
+ margin-top: 13px;
4343
+ font-size: 0;
4344
+ border-left: 1px solid #d8d8d8;
4345
+ }
4346
+ .bk-timeline .bk-timeline-dot::before {
4347
+ position: absolute;
4348
+ top: calc((11px + 1px) * -1);
4349
+ left: -6px;
4350
+ display: inline-block;
4351
+ width: 11px;
4352
+ height: 11px;
4353
+ background: #fff;
4354
+ border: 2px solid #d8d8d8;
4355
+ border-radius: 50%;
4356
+ content: '';
4357
+ box-sizing: border-box;
4358
+ }
4359
+ .bk-timeline .bk-timeline-dot:last-child {
4360
+ padding-bottom: 0;
4361
+ /* 保留border使用间距保持一致 */
4362
+ border-left: 1px solid transparent;
4363
+ }
4364
+ .bk-timeline .bk-timeline-dot .bk-timeline-title {
4365
+ display: inline-block;
4366
+ padding-bottom: 10px;
4367
+ margin-top: -3px;
4368
+ font-size: 14px;
4369
+ color: #63656e;
4370
+ cursor: pointer;
4371
+ }
4372
+ .bk-timeline .bk-timeline-dot .bk-timeline-content {
4373
+ max-width: 300px;
4374
+ font-size: 14px;
4375
+ color: #666;
4376
+ word-break: break-all;
4377
+ }
4378
+ .bk-timeline .bk-timeline-dot .bk-timeline-icon {
4379
+ position: absolute;
4380
+ top: calc((15px + 1px) * -1);
4381
+ left: -8px;
4382
+ display: inline-block;
4383
+ width: 15px;
4384
+ height: 15px;
4385
+ background: #fff;
4386
+ border: 2px solid #d8d8d8;
4387
+ border-radius: 50%;
4388
+ box-sizing: border-box;
4389
+ }
4390
+ .bk-timeline .bk-timeline-dot .bk-timeline-icon .bk-timeline-icon-inner {
4391
+ display: inline-block;
4392
+ transform: scale(1) translate(-0.5px, -4px);
4393
+ }
4394
+ .bk-timeline .bk-timeline-dot .bk-timeline-icon .bk-timeline-icon-inner > :first-child {
4395
+ font-size: 12px;
4396
+ }
4397
+ .bk-timeline .bk-timeline-dot .bk-timeline-section {
4398
+ position: relative;
4399
+ top: calc((11px + 2px) * -1);
4400
+ }
4401
+ .bk-timeline .bk-timeline-dot.bk-timeline-large {
4402
+ margin-top: calc(15px + 2px);
4403
+ }
4404
+ .bk-timeline .bk-timeline-dot.bk-timeline-large::before {
4405
+ top: calc((15px + 1px) * -1);
4406
+ left: -8px;
4407
+ width: 15px;
4408
+ height: 15px;
4409
+ }
4410
+ .bk-timeline .bk-timeline-dot.bk-timeline-large > .bk-timeline-section {
4411
+ top: calc((15px + 1px) * -1);
4412
+ }
4413
+ .bk-timeline .bk-timeline-dot.bk-timeline-item-custom-icon {
4414
+ margin-top: calc(15px + 2px);
4415
+ }
4416
+ .bk-timeline .bk-timeline-dot.bk-timeline-item-custom-icon::before {
4417
+ display: none;
4418
+ }
4419
+ .bk-timeline .bk-timeline-dot.bk-timeline-item-custom-icon > .bk-timeline-section {
4420
+ top: calc((15px + 1px) * -1);
4421
+ }
4422
+ .bk-timeline .bk-timeline-dot:first-child {
4423
+ margin-top: 0;
4424
+ }
4425
+ .bk-timeline .bk-timeline-primary {
4426
+ border-left: 1px solid #3a84ff;
4427
+ }
4428
+ .bk-timeline .bk-timeline-primary::before,
4429
+ .bk-timeline .bk-timeline-primary .bk-timeline-icon {
4430
+ color: #3a84ff;
4431
+ border: 2px solid #3a84ff;
4432
+ }
4433
+ .bk-timeline .bk-timeline-primary.bk-timeline-filled::before,
4434
+ .bk-timeline .bk-timeline-primary.bk-timeline-filled .bk-timeline-icon {
4435
+ background: #3a84ff;
4436
+ }
4437
+ .bk-timeline .bk-timeline-warning {
4438
+ border-left: 1px solid #ff9c01;
4439
+ }
4440
+ .bk-timeline .bk-timeline-warning::before,
4441
+ .bk-timeline .bk-timeline-warning .bk-timeline-icon {
4442
+ color: #ff9c01;
4443
+ border: 2px solid #ff9c01;
4444
+ }
4445
+ .bk-timeline .bk-timeline-warning.bk-timeline-filled::before,
4446
+ .bk-timeline .bk-timeline-warning.bk-timeline-filled .bk-timeline-icon {
4447
+ background: #ff9c01;
4448
+ }
4449
+ .bk-timeline .bk-timeline-success {
4450
+ border-left: 1px solid #2dcb56;
4451
+ }
4452
+ .bk-timeline .bk-timeline-success::before,
4453
+ .bk-timeline .bk-timeline-success .bk-timeline-icon {
4454
+ color: #2dcb56;
4455
+ border: 2px solid #2dcb56;
4456
+ }
4457
+ .bk-timeline .bk-timeline-success.bk-timeline-filled::before,
4458
+ .bk-timeline .bk-timeline-success.bk-timeline-filled .bk-timeline-icon {
4459
+ background: #2dcb56;
4460
+ }
4461
+ .bk-timeline .bk-timeline-danger {
4462
+ border-left: 1px solid #ea3636;
4463
+ }
4464
+ .bk-timeline .bk-timeline-danger::before,
4465
+ .bk-timeline .bk-timeline-danger .bk-timeline-icon {
4466
+ color: #ea3636;
4467
+ border: 2px solid #ea3636;
4468
+ }
4469
+ .bk-timeline .bk-timeline-danger.bk-timeline-filled::before,
4470
+ .bk-timeline .bk-timeline-danger.bk-timeline-filled .bk-timeline-icon {
4471
+ background: #ea3636;
4472
+ }
4473
+ .bk-timeline .bk-timeline-blue::before,
4474
+ .bk-timeline .bk-timeline-blue .bk-timeline-icon {
4475
+ color: #3a84ff;
4476
+ border: 2px solid #3a84ff;
4477
+ }
4478
+ .bk-timeline .bk-timeline-blue.bk-timeline-filled::before,
4479
+ .bk-timeline .bk-timeline-blue.bk-timeline-filled .bk-timeline-icon {
4480
+ background: #3a84ff;
4481
+ }
4482
+ .bk-timeline .bk-timeline-red::before,
4483
+ .bk-timeline .bk-timeline-red .bk-timeline-icon {
4484
+ color: #ea3636;
4485
+ border: 2px solid #ea3636;
4486
+ }
4487
+ .bk-timeline .bk-timeline-red.bk-timeline-filled::before,
4488
+ .bk-timeline .bk-timeline-red.bk-timeline-filled .bk-timeline-icon {
4489
+ background: #ea3636;
4490
+ }
4491
+ .bk-timeline .bk-timeline-green::before,
4492
+ .bk-timeline .bk-timeline-green .bk-timeline-icon {
4493
+ color: #2dcb56;
4494
+ border: 2px solid #2dcb56;
4495
+ }
4496
+ .bk-timeline .bk-timeline-green.bk-timeline-filled::before,
4497
+ .bk-timeline .bk-timeline-green.bk-timeline-filled .bk-timeline-icon {
4498
+ background: #2dcb56;
4499
+ }
4500
+ .bk-timeline .bk-timeline-yellow::before,
4501
+ .bk-timeline .bk-timeline-yellow .bk-timeline-icon {
4502
+ color: #ff9c01;
4503
+ border: 2px solid #ff9c01;
4504
+ }
4505
+ .bk-timeline .bk-timeline-yellow.bk-timeline-filled::before,
4506
+ .bk-timeline .bk-timeline-yellow.bk-timeline-filled .bk-timeline-icon {
4507
+ background: #ff9c01;
4508
+ }
4509
+ .bk-timeline .bk-timeline-gray::before,
4510
+ .bk-timeline .bk-timeline-gray .bk-timeline-icon {
4511
+ color: #63656e;
4512
+ border: 2px solid #63656e;
4513
+ }
4514
+ .bk-timeline .bk-timeline-gray.bk-timeline-filled::before,
4515
+ .bk-timeline .bk-timeline-gray.bk-timeline-filled .bk-timeline-icon {
4516
+ background: #63656e;
4517
+ }
4518
+ .bk-timeline-dashed .bk-step .bk-step-title::after,
4519
+ .bk-timeline-dashed .bk-step .bk-step-indicator::after {
4520
+ background-image: linear-gradient(to right, #c4c6cc 50%, transparent 0%);
4521
+ background-position: bottom;
4522
+ background-repeat: repeat-x;
4523
+ background-size: 6px 1px;
4524
+ }
4525
+ .bk-timeline-solid .bk-step .bk-step-title::after,
4526
+ .bk-timeline-solid .bk-step .bk-step-indicator::after {
4527
+ background-color: #c4c6cc;
4528
+ }
4529
+ .bk-timeline-vertical {
4530
+ height: 100%;
4531
+ flex-direction: column;
4532
+ }
4533
+ .bk-timeline-vertical .bk-step {
4534
+ margin-right: 0;
4535
+ margin-bottom: 8px;
4536
+ }
4537
+ .bk-timeline-vertical .bk-step .bk-step-title::after,
4538
+ .bk-timeline-vertical .bk-step .bk-step-indicator::after {
4539
+ display: none;
4540
+ }
4541
+ .bk-timeline-vertical .bk-step::after {
4542
+ position: absolute;
4543
+ top: 32px;
4544
+ left: 12px;
4545
+ width: 1px;
4546
+ height: 100%;
4547
+ background-image: linear-gradient(#c4c6cc 50%, transparent 0%);
4548
+ background-position: right;
4549
+ background-repeat: repeat-y;
4550
+ background-size: 1px 6px;
4551
+ content: '';
4552
+ }
4553
+ .bk-timeline-vertical .bk-step .bk-step-title {
4554
+ display: flex;
4555
+ height: 100%;
4556
+ margin-top: 0;
4557
+ text-align: left;
4558
+ align-items: center;
4559
+ }
4148
4560
  .bk-popper {
4149
4561
  display: none;
4150
4562
  padding: 7px 14px;