bkui-vue 2.0.1-beta.10 → 2.0.1-beta.100

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 (396) hide show
  1. package/README.md +15 -0
  2. package/dist/index.cjs.js +73 -73
  3. package/dist/index.esm.js +28556 -27759
  4. package/dist/index.umd.js +73 -73
  5. package/dist/style.css +1 -1
  6. package/dist/style.variable.css +1 -1
  7. package/lib/affix/affix.css +130 -0
  8. package/lib/affix/affix.variable.css +262 -1
  9. package/lib/alert/alert.css +133 -3
  10. package/lib/alert/alert.d.ts +5 -12
  11. package/lib/alert/alert.variable.css +262 -1
  12. package/lib/alert/index.d.ts +11 -26
  13. package/lib/alert/index.js +6 -6
  14. package/lib/backtop/backtop.css +133 -3
  15. package/lib/backtop/backtop.variable.css +395 -4
  16. package/lib/badge/badge.css +156 -26
  17. package/lib/badge/badge.variable.css +262 -1
  18. package/lib/breadcrumb/breadcrumb.css +135 -5
  19. package/lib/breadcrumb/breadcrumb.variable.css +397 -6
  20. package/lib/button/button.css +417 -243
  21. package/lib/button/button.d.ts +7 -7
  22. package/lib/button/button.less +74 -71
  23. package/lib/button/button.variable.css +450 -145
  24. package/lib/button/index.d.ts +11 -11
  25. package/lib/button/index.js +0 -1
  26. package/lib/card/card.css +134 -4
  27. package/lib/card/card.variable.css +396 -5
  28. package/lib/cascader/cascader-panel.d.ts +5 -0
  29. package/lib/cascader/cascader.css +153 -23
  30. package/lib/cascader/cascader.d.ts +4 -0
  31. package/lib/cascader/cascader.variable.css +415 -24
  32. package/lib/cascader/index.d.ts +1 -0
  33. package/lib/cascader/index.js +79 -8
  34. package/lib/checkbox/checkbox-group.d.ts +0 -16
  35. package/lib/checkbox/checkbox.css +147 -9
  36. package/lib/checkbox/checkbox.d.ts +39 -7
  37. package/lib/checkbox/checkbox.less +12 -0
  38. package/lib/checkbox/checkbox.variable.css +270 -1
  39. package/lib/checkbox/index.d.ts +57 -22
  40. package/lib/checkbox/index.js +18 -5
  41. package/lib/code-diff/code-diff.css +130 -0
  42. package/lib/code-diff/code-diff.variable.css +262 -1
  43. package/lib/collapse/collapse-panel.d.ts +5 -5
  44. package/lib/collapse/collapse.css +131 -1
  45. package/lib/collapse/collapse.variable.css +262 -1
  46. package/lib/collapse/index.d.ts +5 -5
  47. package/lib/collapse/index.js +2 -0
  48. package/lib/collapse/props.d.ts +2 -2
  49. package/lib/collapse-transition/collapse-transition.css +130 -0
  50. package/lib/collapse-transition/collapse-transition.variable.css +262 -1
  51. package/lib/color-picker/color-picker.css +130 -0
  52. package/lib/color-picker/color-picker.d.ts +16 -0
  53. package/lib/color-picker/color-picker.variable.css +262 -1
  54. package/lib/color-picker/index.d.ts +23 -0
  55. package/lib/color-picker/index.js +8 -1
  56. package/lib/components.d.ts +0 -2
  57. package/lib/components.js +0 -2
  58. package/lib/config-provider/config-provider.css +130 -0
  59. package/lib/config-provider/config-provider.variable.css +262 -1
  60. package/lib/container/container.css +130 -0
  61. package/lib/container/container.variable.css +392 -1
  62. package/lib/container/index.js +0 -1
  63. package/lib/date-picker/date-picker.css +147 -17
  64. package/lib/date-picker/date-picker.d.ts +3 -11
  65. package/lib/date-picker/date-picker.variable.css +262 -1
  66. package/lib/date-picker/index.d.ts +10 -24
  67. package/lib/date-picker/index.js +70 -32
  68. package/lib/date-picker/panel/date-range.d.ts +4 -4
  69. package/lib/date-picker/panel/time-range.d.ts +0 -9
  70. package/lib/date-picker/panel/time.d.ts +1 -10
  71. package/lib/date-picker/props.d.ts +0 -4
  72. package/lib/date-picker/time-picker.d.ts +3 -10
  73. package/lib/dialog/dialog.css +138 -8
  74. package/lib/dialog/dialog.d.ts +34 -18
  75. package/lib/dialog/dialog.variable.css +400 -9
  76. package/lib/dialog/index.d.ts +72 -38
  77. package/lib/dialog/index.js +3 -1
  78. package/lib/dialog/props.d.ts +15 -8
  79. package/lib/directives/index.d.ts +1 -0
  80. package/lib/directives/index.js +32 -10
  81. package/lib/dist.index.js +2 -4
  82. package/lib/divider/divider.css +133 -3
  83. package/lib/divider/divider.variable.css +262 -1
  84. package/lib/dropdown/dropdown-item.d.ts +1 -1
  85. package/lib/dropdown/dropdown-menu.d.ts +1 -1
  86. package/lib/dropdown/dropdown.css +130 -0
  87. package/lib/dropdown/dropdown.d.ts +1 -1
  88. package/lib/dropdown/dropdown.variable.css +392 -1
  89. package/lib/dropdown/index.d.ts +4 -4
  90. package/lib/dropdown/index.js +3 -1
  91. package/lib/exception/exception.css +130 -0
  92. package/lib/exception/exception.variable.css +262 -1
  93. package/lib/fixed-navbar/fixed-navbar.css +134 -4
  94. package/lib/fixed-navbar/fixed-navbar.variable.css +262 -1
  95. package/lib/form/form-item.d.ts +7 -19
  96. package/lib/form/form.css +130 -0
  97. package/lib/form/form.variable.css +262 -1
  98. package/lib/form/index.d.ts +7 -14
  99. package/lib/form/index.js +8 -7
  100. package/lib/image/image-viewer.css +130 -0
  101. package/lib/image/image-viewer.variable.css +262 -1
  102. package/lib/image/image.css +130 -0
  103. package/lib/image/image.variable.css +392 -1
  104. package/lib/image/index.js +0 -1
  105. package/lib/index.d.ts +6 -0
  106. package/lib/index.js +2 -26
  107. package/lib/info-box/index.js +4 -5
  108. package/lib/info-box/info-box.css +134 -4
  109. package/lib/info-box/info-box.variable.css +262 -1
  110. package/lib/input/index.js +47 -500
  111. package/lib/input/input.css +225 -73
  112. package/lib/input/input.less +30 -1
  113. package/lib/input/input.variable.css +487 -74
  114. package/lib/link/index.d.ts +11 -11
  115. package/lib/link/link.css +146 -16
  116. package/lib/link/link.d.ts +5 -5
  117. package/lib/link/link.variable.css +262 -1
  118. package/lib/loading/index.d.ts +12 -11
  119. package/lib/loading/index.js +4 -2
  120. package/lib/loading/loading.css +146 -16
  121. package/lib/loading/loading.d.ts +5 -5
  122. package/lib/loading/loading.variable.css +408 -17
  123. package/lib/menu/index.d.ts +19 -0
  124. package/lib/menu/index.js +25 -4
  125. package/lib/menu/menu-group.d.ts +9 -0
  126. package/lib/menu/menu-item.d.ts +9 -0
  127. package/lib/menu/menu.css +176 -34
  128. package/lib/menu/menu.less +33 -18
  129. package/lib/menu/menu.variable.css +438 -35
  130. package/lib/menu/submenu.css +130 -0
  131. package/lib/menu/submenu.d.ts +1 -0
  132. package/lib/menu/submenu.variable.css +262 -1
  133. package/lib/message/message.css +153 -22
  134. package/lib/message/message.less +3 -2
  135. package/lib/message/message.variable.css +264 -2
  136. package/lib/message/messageConstructor.d.ts +5 -5
  137. package/lib/modal/index.d.ts +59 -18
  138. package/lib/modal/index.js +44 -23
  139. package/lib/modal/modal.css +134 -4
  140. package/lib/modal/modal.d.ts +23 -7
  141. package/lib/modal/modal.variable.css +396 -5
  142. package/lib/modal/props.mixin.d.ts +10 -3
  143. package/lib/navigation/navigation.css +132 -2
  144. package/lib/navigation/navigation.variable.css +262 -1
  145. package/lib/notify/notify.css +137 -7
  146. package/lib/notify/notify.variable.css +262 -1
  147. package/lib/notify/notifyConstructor.d.ts +5 -5
  148. package/lib/overflow-title/components/overflow-title.d.ts +16 -7
  149. package/lib/overflow-title/index.d.ts +32 -15
  150. package/lib/overflow-title/index.js +15 -8
  151. package/lib/overflow-title/props.d.ts +8 -3
  152. package/lib/pagination/index.d.ts +0 -19
  153. package/lib/pagination/index.js +62 -9
  154. package/lib/pagination/pagination.css +139 -9
  155. package/lib/pagination/pagination.d.ts +0 -13
  156. package/lib/pagination/pagination.less +14 -13
  157. package/lib/pagination/pagination.variable.css +270 -9
  158. package/lib/plugin-popover/index.js +17403 -56
  159. package/lib/pop-confirm/index.d.ts +11 -43
  160. package/lib/pop-confirm/index.js +18 -19
  161. package/lib/pop-confirm/pop-confirm.css +133 -1
  162. package/lib/pop-confirm/pop-confirm.d.ts +5 -19
  163. package/lib/pop-confirm/pop-confirm.less +3 -1
  164. package/lib/pop-confirm/pop-confirm.variable.css +265 -2
  165. package/lib/pop-confirm/props.d.ts +3 -9
  166. package/lib/popover/content.d.ts +5 -2
  167. package/lib/popover/index.d.ts +50 -3
  168. package/lib/popover/index.js +17403 -56
  169. package/lib/popover/popover.css +130 -0
  170. package/lib/popover/popover.d.ts +22 -1
  171. package/lib/popover/popover.variable.css +262 -1
  172. package/lib/popover/props.d.ts +8 -0
  173. package/lib/popover/use-floating.d.ts +2 -2
  174. package/lib/popover/use-popover-init.d.ts +3 -1
  175. package/lib/popover/utils.d.ts +2 -0
  176. package/lib/preset.d.ts +0 -1
  177. package/lib/preset.js +0 -1
  178. package/lib/process/process.css +143 -13
  179. package/lib/process/process.variable.css +262 -1
  180. package/lib/progress/index.d.ts +11 -11
  181. package/lib/progress/index.js +0 -1
  182. package/lib/progress/progress.css +134 -4
  183. package/lib/progress/progress.d.ts +7 -7
  184. package/lib/progress/progress.variable.css +396 -5
  185. package/lib/radio/index.d.ts +21 -21
  186. package/lib/radio/index.js +18 -7
  187. package/lib/radio/radio-button.d.ts +7 -7
  188. package/lib/radio/radio-group.d.ts +7 -7
  189. package/lib/radio/radio.css +172 -42
  190. package/lib/radio/radio.d.ts +7 -7
  191. package/lib/radio/radio.variable.css +262 -1
  192. package/lib/rate/rate.css +130 -0
  193. package/lib/rate/rate.variable.css +262 -1
  194. package/lib/resize-layout/index.d.ts +23 -0
  195. package/lib/resize-layout/index.js +26 -6
  196. package/lib/resize-layout/resize-layout.css +130 -0
  197. package/lib/resize-layout/resize-layout.d.ts +11 -0
  198. package/lib/resize-layout/resize-layout.variable.css +262 -1
  199. package/lib/scrollbar/css/scrollbar.css +239 -0
  200. package/lib/scrollbar/css/scrollbar.less +139 -0
  201. package/lib/scrollbar/css/scrollbar.variable.css +499 -0
  202. package/lib/scrollbar/handlers/click-rail.d.ts +2 -0
  203. package/lib/scrollbar/handlers/drag-thumb.d.ts +1 -0
  204. package/lib/scrollbar/handlers/keyboard.d.ts +2 -0
  205. package/lib/scrollbar/handlers/mouse-wheel.d.ts +2 -0
  206. package/lib/scrollbar/handlers/touch.d.ts +4 -0
  207. package/lib/scrollbar/helper/class-names.d.ts +21 -0
  208. package/lib/scrollbar/helper/css.d.ts +3 -0
  209. package/lib/scrollbar/helper/dom.d.ts +4 -0
  210. package/lib/scrollbar/helper/event-manager.d.ts +20 -0
  211. package/lib/scrollbar/helper/util.d.ts +11 -0
  212. package/lib/scrollbar/index.d.ts +133 -13
  213. package/lib/scrollbar/index.js +1332 -18433
  214. package/lib/scrollbar/process-scroll-diff.d.ts +1 -0
  215. package/lib/scrollbar/update-geometry.d.ts +8 -0
  216. package/lib/search-select/index.d.ts +106 -78
  217. package/lib/search-select/index.js +316 -158
  218. package/lib/search-select/input.d.ts +18 -6
  219. package/lib/search-select/menu.d.ts +12 -0
  220. package/lib/search-select/search-select.css +163 -35
  221. package/lib/search-select/search-select.d.ts +35 -43
  222. package/lib/search-select/search-select.less +2 -2
  223. package/lib/search-select/search-select.variable.css +425 -36
  224. package/lib/search-select/selected.d.ts +36 -9
  225. package/lib/search-select/utils.d.ts +3 -3
  226. package/lib/select/common.d.ts +4 -4
  227. package/lib/select/index.d.ts +212 -51
  228. package/lib/select/index.js +257 -134
  229. package/lib/select/option.d.ts +5 -5
  230. package/lib/select/select.css +175 -43
  231. package/lib/select/select.d.ts +87 -17
  232. package/lib/select/select.less +7 -4
  233. package/lib/select/select.variable.css +437 -44
  234. package/lib/select/selectTagInput.d.ts +6 -5
  235. package/lib/select/type.d.ts +9 -10
  236. package/lib/shared/frame-throttle.d.ts +15 -0
  237. package/lib/shared/index.d.ts +1 -0
  238. package/lib/shared/index.js +72 -1
  239. package/lib/shared/vue-types.d.ts +8 -8
  240. package/lib/sideslider/index.d.ts +49 -15
  241. package/lib/sideslider/index.js +1 -0
  242. package/lib/sideslider/sideslider.css +138 -9
  243. package/lib/sideslider/sideslider.d.ts +23 -7
  244. package/lib/sideslider/sideslider.less +7 -8
  245. package/lib/sideslider/sideslider.variable.css +269 -9
  246. package/lib/slider/slider.css +135 -5
  247. package/lib/slider/slider.variable.css +262 -1
  248. package/lib/steps/index.d.ts +14 -29
  249. package/lib/steps/index.js +0 -1
  250. package/lib/steps/steps.css +168 -38
  251. package/lib/steps/steps.d.ts +8 -18
  252. package/lib/steps/steps.variable.css +262 -1
  253. package/lib/styles/index.d.ts +1 -0
  254. package/lib/styles/mixins/animate.css +130 -0
  255. package/lib/styles/mixins/animate.variable.css +262 -1
  256. package/lib/styles/mixins/mixins.css +130 -0
  257. package/lib/styles/mixins/mixins.variable.css +130 -0
  258. package/lib/styles/mixins/popper.css +130 -0
  259. package/lib/styles/mixins/popper.variable.css +262 -1
  260. package/lib/styles/mixins/scroll.css +130 -0
  261. package/lib/styles/mixins/scroll.variable.css +262 -1
  262. package/lib/styles/reset.css +130 -0
  263. package/lib/styles/reset.variable.css +262 -1
  264. package/lib/{scrollbar/scrollbar.variable.css → styles/themes/themes.css} +2 -76
  265. package/lib/styles/themes/themes.less +299 -129
  266. package/lib/styles/themes/themes.variable.css +130 -0
  267. package/lib/swiper/swiper.css +130 -0
  268. package/lib/swiper/swiper.variable.css +262 -1
  269. package/lib/switcher/index.d.ts +11 -11
  270. package/lib/switcher/switcher.css +147 -17
  271. package/lib/switcher/switcher.d.ts +7 -7
  272. package/lib/switcher/switcher.variable.css +409 -18
  273. package/lib/tab/index.d.ts +27 -97
  274. package/lib/tab/index.js +47 -36
  275. package/lib/tab/props.d.ts +12 -37
  276. package/lib/tab/tab-nav.d.ts +16 -56
  277. package/lib/tab/tab-panel.d.ts +27 -5
  278. package/lib/tab/tab.css +211 -17
  279. package/lib/tab/tab.d.ts +0 -44
  280. package/lib/tab/tab.less +91 -4
  281. package/lib/tab/tab.variable.css +326 -1
  282. package/lib/table/components/ghost-body.d.ts +2 -0
  283. package/lib/table/components/table-cell.d.ts +22 -0
  284. package/lib/table/components/table-column.d.ts +1 -44
  285. package/lib/table/const.d.ts +15 -2
  286. package/lib/table/events.d.ts +2 -98
  287. package/lib/table/hooks/use-cell.d.ts +20 -0
  288. package/lib/table/hooks/use-checkbox-tooltip.d.ts +11 -0
  289. package/lib/table/hooks/use-column-resize.d.ts +7 -0
  290. package/lib/table/hooks/use-column-template.d.ts +5 -0
  291. package/lib/table/hooks/use-columns.d.ts +69 -0
  292. package/lib/table/{plugins → hooks}/use-draggable.d.ts +2 -2
  293. package/lib/table/hooks/use-fixed-column.d.ts +10 -0
  294. package/lib/table/hooks/use-head.d.ts +16 -0
  295. package/lib/table/hooks/use-layout.d.ts +25 -0
  296. package/lib/table/hooks/use-pagination.d.ts +16 -0
  297. package/lib/table/hooks/use-render.d.ts +21 -0
  298. package/lib/table/hooks/use-rows.d.ts +30 -0
  299. package/lib/table/hooks/use-settings.d.ts +138 -0
  300. package/lib/table/{plugins → hooks}/use-shift-key.d.ts +4 -2
  301. package/lib/table/index.d.ts +89 -561
  302. package/lib/table/index.js +4521 -3456
  303. package/lib/table/plugins/head-filter.css +135 -0
  304. package/lib/table/plugins/head-filter.d.ts +2 -1
  305. package/lib/table/plugins/head-filter.less +4 -0
  306. package/lib/table/plugins/head-filter.variable.css +267 -1
  307. package/lib/table/plugins/head-sort.css +130 -0
  308. package/lib/table/plugins/head-sort.variable.css +262 -1
  309. package/lib/table/plugins/settings.css +141 -1
  310. package/lib/table/plugins/settings.less +12 -1
  311. package/lib/table/plugins/settings.variable.css +273 -2
  312. package/lib/table/props.d.ts +95 -30
  313. package/lib/table/table.css +763 -432
  314. package/lib/table/table.d.ts +47 -181
  315. package/lib/table/table.less +244 -112
  316. package/lib/table/table.variable.css +1066 -474
  317. package/lib/table/utils.d.ts +41 -18
  318. package/lib/table-column/index.d.ts +3 -132
  319. package/lib/table-column/index.js +17367 -28
  320. package/lib/tag/index.d.ts +11 -11
  321. package/lib/tag/index.js +0 -1
  322. package/lib/tag/tag.css +136 -6
  323. package/lib/tag/tag.d.ts +5 -5
  324. package/lib/tag/tag.less +1 -1
  325. package/lib/tag/tag.variable.css +263 -2
  326. package/lib/tag-input/common.d.ts +1 -1
  327. package/lib/tag-input/index.d.ts +61 -3
  328. package/lib/tag-input/index.js +48 -24
  329. package/lib/tag-input/tag-input.css +157 -27
  330. package/lib/tag-input/tag-input.d.ts +31 -15
  331. package/lib/tag-input/tag-input.less +9 -9
  332. package/lib/tag-input/tag-input.variable.css +271 -10
  333. package/lib/tag-input/tag-props.d.ts +13 -0
  334. package/lib/time-picker/index.d.ts +10 -21
  335. package/lib/time-picker/time-picker.css +130 -0
  336. package/lib/time-picker/time-picker.variable.css +262 -1
  337. package/lib/timeline/timeline.css +149 -19
  338. package/lib/timeline/timeline.variable.css +262 -1
  339. package/lib/transfer/transfer.css +149 -19
  340. package/lib/transfer/transfer.variable.css +262 -1
  341. package/lib/tree/constant.d.ts +3 -1
  342. package/lib/tree/index.d.ts +21 -7
  343. package/lib/tree/index.js +66 -19
  344. package/lib/tree/props.d.ts +12 -5
  345. package/lib/tree/tree.css +242 -78
  346. package/lib/tree/tree.d.ts +11 -11
  347. package/lib/tree/tree.variable.css +504 -79
  348. package/lib/tree/use-node-action.d.ts +10 -9
  349. package/lib/tree/use-node-async.d.ts +2 -1
  350. package/lib/tree/use-node-attribute.d.ts +42 -34
  351. package/lib/tree/use-search.d.ts +1 -1
  352. package/lib/tree/use-tree-init.d.ts +8 -5
  353. package/lib/tree/util.d.ts +21 -21
  354. package/lib/upload/index.d.ts +52 -6
  355. package/lib/upload/index.js +109 -29
  356. package/lib/upload/props.d.ts +11 -2
  357. package/lib/upload/upload-list.d.ts +11 -1
  358. package/lib/upload/upload-trigger.d.ts +11 -1
  359. package/lib/upload/upload.css +157 -27
  360. package/lib/upload/upload.d.ts +24 -3
  361. package/lib/upload/upload.type.d.ts +6 -0
  362. package/lib/upload/upload.variable.css +419 -28
  363. package/lib/virtual-render/index.d.ts +12 -46
  364. package/lib/virtual-render/index.js +17468 -148
  365. package/lib/virtual-render/props.d.ts +2 -9
  366. package/lib/virtual-render/use-fix-top.d.ts +1 -1
  367. package/lib/virtual-render/use-scrollbar.d.ts +4 -17
  368. package/lib/virtual-render/v-virtual-render.d.ts +7 -1
  369. package/lib/virtual-render/virtual-render.css +225 -69
  370. package/lib/virtual-render/virtual-render.d.ts +6 -22
  371. package/lib/virtual-render/virtual-render.less +2 -11
  372. package/lib/virtual-render/virtual-render.variable.css +487 -70
  373. package/lib/volar.components.d.ts +2 -0
  374. package/package.json +6 -8
  375. package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +0 -2
  376. package/lib/scrollbar/scrollbar-core/helpers.d.ts +0 -5
  377. package/lib/scrollbar/scrollbar-core/index.d.ts +0 -241
  378. package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +0 -5
  379. package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +0 -1
  380. package/lib/scrollbar/scrollbar.css +0 -75
  381. package/lib/scrollbar/scrollbar.less +0 -94
  382. package/lib/table/plugins/col-group.d.ts +0 -38
  383. package/lib/table/plugins/settings.d.ts +0 -16
  384. package/lib/table/plugins/use-active-columns.d.ts +0 -16
  385. package/lib/table/plugins/use-column-resize.d.ts +0 -35
  386. package/lib/table/plugins/use-column-template.d.ts +0 -7
  387. package/lib/table/plugins/use-fixed-column.d.ts +0 -27
  388. package/lib/table/plugins/use-head-cell.d.ts +0 -7
  389. package/lib/table/plugins/use-pagination.d.ts +0 -23
  390. package/lib/table/use-attributes.d.ts +0 -62
  391. package/lib/table/use-column.d.ts +0 -155
  392. package/lib/table/use-common.d.ts +0 -1679
  393. package/lib/table/use-render.d.ts +0 -11
  394. /package/lib/table/{plugins → components}/body-empty.d.ts +0 -0
  395. /package/lib/table/{plugins → hooks}/use-observer-resize.d.ts +0 -0
  396. /package/lib/table/{plugins → hooks}/use-scroll-loading.d.ts +0 -0
@@ -1,3 +1,133 @@
1
+ :root {
2
+ --bk-prefix: bk;
3
+ --popover-max-height: 216px;
4
+ --primary-color: #3a84ff;
5
+ --success-color: #2dcb56;
6
+ --warning-color: #ff9c01;
7
+ --danger-color: #ea3636;
8
+ --default-color: #63656e;
9
+ --gray-color: #979ba5;
10
+ --light-gray: #c4c6cc;
11
+ --white-color: white;
12
+ --whitesmoke-color: #fafbfd;
13
+ --disable-color: #dcdee5;
14
+ --disable-bg-color: #f9fafd;
15
+ --border-color: #dcdee5;
16
+ --font-size-base: 12px;
17
+ --font-size-medium: 14px;
18
+ --font-size-large: 16px;
19
+ --line-height-base: 16px;
20
+ --line-height-medium: 16px;
21
+ --line-height-large: 18px;
22
+ --component-size-small: 26px;
23
+ --component-size-base: 32px;
24
+ --component-size-large: 40px;
25
+ --component-size-small-padding: 0 12px;
26
+ --component-size-base-padding: 0 14px;
27
+ --component-size-large-padding: 0 16px;
28
+ --border-width-base: 1px;
29
+ --border-style-base: solid;
30
+ --border-radius-base: 2px;
31
+ --border-style-color: var(--light-gray);
32
+ --input-disabled-bg: #fafbfd;
33
+ --input-disabled-border: var(--disable-color);
34
+ --input-height-base: var(--component-size-base);
35
+ --input-color: var(--default-color);
36
+ --input-bg: white;
37
+ --input-border-color: var(--light-gray);
38
+ --input-broder-radius: 3px;
39
+ --input-shadow-color: #a3c5fd;
40
+ --input-horizontal-padding: 8px;
41
+ --input-block-color: #f5f7fa;
42
+ --input-block-hover-color: #eaebf0;
43
+ --input-icon-size: var(--font-size-medium);
44
+ --input-maxlength-color: #979ba5;
45
+ --button-primary-hover-color: #5594fa;
46
+ --button-danger-hover-color: #ff5656;
47
+ --button-success-hover-color: #45e35f;
48
+ --button-warning-hover-color: #ffb848;
49
+ --button-default-hover-border-color: #979ba5;
50
+ --button-primary-active-color: #2c77f4;
51
+ --button-danger-active-color: #db2626;
52
+ --button-success-active-color: #1ab943;
53
+ --button-warning-active-color: #eb9000;
54
+ --button-selected-bg-color: #e1ecff;
55
+ --button-disabled-selected-bg-color: #f0f1f5;
56
+ --radio-font-color: #63656e;
57
+ --radio-active-color: #3a84ff;
58
+ --radio-hover-border-color: #979ba5;
59
+ --radio-disabled-border: #dcdee5;
60
+ --radio-disabled-font-color: #c4c6cc;
61
+ --radio-disabled-checked-bg: #a3c5fd;
62
+ --radio-button-checked-bg: #e1ecff;
63
+ --radio-button-disabled-checked-bg: #fafbfd;
64
+ --checkbox-disabled-checked-bg: #a3c5fd;
65
+ --fixed-navbar-background: #fff;
66
+ --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
67
+ --switch-default-color: #fff;
68
+ --switch-grey-color: #c4c6cc;
69
+ --breadcrumb-black-color: #979ba5;
70
+ --breadcrumb-primary-hover-color: #0082ff;
71
+ --breadcrumb-fn-main-color: #63656e;
72
+ --link-default-hover-color: #979ba5;
73
+ --link-primary-hover-color: #699df4;
74
+ --link-success-hover-color: #45e35f;
75
+ --link-warning-hover-color: #ffb848;
76
+ --link-danger-hover-color: #ff5656;
77
+ --link-default-disabled-color: #dcdee5;
78
+ --link-primary-disabled-color: #a3c5fd;
79
+ --link-success-disabled-color: #94f5a4;
80
+ --link-warning-disabled-color: #ffd695;
81
+ --link-danger-disabled-color: #fd9c9c;
82
+ --message-color: var(--default-color);
83
+ --message-primary-bg-color: #f0f8ff;
84
+ --message-primary-border-color: #e1ecff;
85
+ --message-primary-shadow-color: #e1e8f4;
86
+ --message-warning-bg-color: #fff4e2;
87
+ --message-warning-border-color: #ffe8c3;
88
+ --message-warning-shadow-color: #ede6db;
89
+ --message-success-bg-color: #f2fff4;
90
+ --message-success-border-color: #dcffe2;
91
+ --message-success-shadow-color: #cef0d7;
92
+ --message-danger-bg-color: #ffeded;
93
+ --message-danger-border-color: #ffdddd;
94
+ --message-danger-shadow-color: #f6dada;
95
+ --slider-default-bg: #dcdee5;
96
+ --slider-disable-bar-bg: #979ba5;
97
+ --menu-bg-color: #182132;
98
+ --submenu-bg-color: #151d2c;
99
+ --menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
100
+ --menu-color: #96a2b9;
101
+ --menu-group-color: var(--default-color);
102
+ --menu-width: 260px;
103
+ --menu-collapse-width: 60px;
104
+ --menu-active-color: white;
105
+ --nav-header-bg-color: #182132;
106
+ --nav-bg-color: #182132;
107
+ --date-picker-disabled-bg: #fafbfd;
108
+ --date-picker-dropdown-mb: 4px;
109
+ --date-picker-dropdown-bg: #fff;
110
+ --table-bg-color: var(--white-color);
111
+ --table-border-color: #dcdee5;
112
+ --table-strip-color: #fafbfd;
113
+ --table-head-bg-color: #fafbfd;
114
+ --table-head-font-color: #313238;
115
+ --table-body-font-color: #63656e;
116
+ --table-row-hover-bg-color: #f5f7fa;
117
+ --table-row-active-bg-color: #f0f1f5;
118
+ --cascader-panel-border-color: #dcdee5;
119
+ --cascader-panel-hover: #f5f7fa;
120
+ --cascader-panel-active: #e1ecff;
121
+ --cascader-panel-disabled-bg: #fff;
122
+ --search-select-focus-border-color: var(--primary-color);
123
+ --search-select-focus-color: #3c96ff;
124
+ --search-select-font-color: var(--default-color);
125
+ --search-select-placeholder-color: var(--light-gray);
126
+ --search-select-message-color: var(--danger-color);
127
+ --search-select-menu-border-color: var(--disable-color);
128
+ --select-active-color: #e1ecff;
129
+ --select-hover-color: #f5f7fa;
130
+ }
1
131
  .bk-F-scroll-x {
2
132
  overflow-x: auto;
3
133
  scrollbar-color: #a0a0a0 transparent;
@@ -15,92 +145,118 @@
15
145
  .bk-F-scroll-y::-webkit-scrollbar-thumb {
16
146
  border-radius: 4px;
17
147
  }
18
- .bk-scrollbar-wrapper {
19
- position: relative;
20
- overflow: hidden;
148
+ .bk-scrollbar {
149
+ overflow: hidden !important;
150
+ overflow-anchor: none;
151
+ touch-action: auto;
152
+ /*
153
+ * Scrollbar rail styles
154
+ */
155
+ /*
156
+ * Scrollbar thumb styles
157
+ */
158
+ }
159
+ .bk-scrollbar.bk--active-x > .bk__rail-x,
160
+ .bk-scrollbar.bk--active-y > .bk__rail-y {
161
+ display: block;
21
162
  }
22
- .bk-scrollbar-wrapper .bk-scrollbar-content-el {
23
- display: inline-flex;
24
- flex-direction: column;
25
- width: 100%;
163
+ .bk-scrollbar .bk__rail-x:hover,
164
+ .bk-scrollbar .bk__rail-y:hover,
165
+ .bk-scrollbar .bk__rail-x:focus,
166
+ .bk-scrollbar .bk__rail-y:focus,
167
+ .bk-scrollbar .bk__rail-x.bk--clicking,
168
+ .bk-scrollbar .bk__rail-y.bk--clicking {
169
+ background-color: #f0f1f5;
26
170
  }
27
- .bk-scrollbar-wrapper .bk-scrollbar-track {
28
- z-index: 1;
171
+ .bk-scrollbar .bk__rail-x {
172
+ display: none;
173
+ opacity: 0;
174
+ transition: background-color 0.2s linear, opacity 0.2s linear;
175
+ height: 10px;
176
+ bottom: 0px;
29
177
  position: absolute;
30
- right: 0;
31
- bottom: 0;
32
- pointer-events: none;
33
- overflow: hidden;
34
178
  }
35
- .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-hover {
36
- background-color: #F0F1F5;
37
- cursor: pointer;
179
+ .bk-scrollbar .bk__rail-x.bk-size-small {
180
+ height: 8px;
38
181
  }
39
- .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-hover .bk-scrollbar::before {
40
- background-color: #979BA5;
182
+ .bk-scrollbar .bk__rail-x.bk-size-small .bk__thumb-x {
183
+ height: 6px;
41
184
  }
42
- .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-vertical {
43
- top: 0;
44
- width: 8px;
45
- transform: translate(var(--scroll-offset-x), var(--scroll-offset-y));
185
+ .bk-scrollbar .bk__rail-y {
186
+ display: none;
187
+ opacity: 0;
188
+ transition: background-color 0.2s linear, opacity 0.2s linear;
189
+ width: 10px;
190
+ right: 0px;
191
+ position: absolute;
192
+ margin-right: 2px;
46
193
  }
47
- .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-horizontal {
48
- left: 0;
49
- height: 8px;
50
- transform: translate(var(--scroll-offset-x), var(--scroll-offset-y));
194
+ .bk-scrollbar .bk__rail-y.bk-size-small {
195
+ width: 8px;
51
196
  }
52
- .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-horizontal.bk-scrollbar {
53
- right: auto;
54
- left: 0;
55
- top: 0;
56
- bottom: 0;
57
- min-height: 0;
58
- min-width: 8px;
59
- width: auto;
197
+ .bk-scrollbar .bk__rail-y.bk-size-small .bk__thumb-y {
198
+ width: 6px;
60
199
  }
61
- .bk-scrollbar-wrapper .bk-scrollbar-dragging {
62
- pointer-events: none;
63
- -webkit-touch-callout: none;
64
- -webkit-user-select: none;
65
- -khtml-user-select: none;
66
- -moz-user-select: none;
67
- -ms-user-select: none;
68
- user-select: none;
200
+ .bk-scrollbar:hover > .bk__rail-x,
201
+ .bk-scrollbar:hover > .bk__rail-y,
202
+ .bk-scrollbar.bk--focus > .bk__rail-x,
203
+ .bk-scrollbar.bk--focus > .bk__rail-y,
204
+ .bk-scrollbar.bk--scrolling-x > .bk__rail-x,
205
+ .bk-scrollbar.bk--scrolling-y > .bk__rail-y {
206
+ opacity: 0.9;
69
207
  }
70
- .bk-scrollbar-wrapper .bk-scrollbar {
208
+ .bk-scrollbar .bk__thumb-x {
209
+ background-color: #dcdee5;
210
+ border-radius: 8px;
211
+ transition: background-color 0.2s linear, height 0.2s ease-in-out;
212
+ height: 8px;
213
+ bottom: 0px;
71
214
  position: absolute;
72
- left: 0;
73
- right: 0;
74
- min-height: 8px;
75
215
  }
76
- .bk-scrollbar-wrapper .bk-scrollbar::before {
216
+ .bk-scrollbar .bk__thumb-y {
217
+ background-color: #dcdee5;
218
+ border-radius: 8px;
219
+ transition: background-color 0.2s linear, width 0.2s ease-in-out;
220
+ width: 8px;
221
+ right: 0px;
77
222
  position: absolute;
78
- content: '';
79
- background: #DCDEE5;
80
- border-radius: 6px;
81
- left: 1px;
82
- right: 1px;
83
- top: 1px;
84
- bottom: 1px;
85
- opacity: 0;
86
- transition: opacity 0.2s 0.9s linear;
87
223
  }
88
- .bk-scrollbar-wrapper .bk-scrollbar.bk-scrollbar-visible::before {
89
- opacity: 0.9;
90
- transition-delay: 0s;
91
- transition-duration: 0s;
224
+ .bk-scrollbar .bk__rail-x:hover > .bk__thumb-x,
225
+ .bk-scrollbar .bk__rail-x:focus > .bk__thumb-x,
226
+ .bk-scrollbar .bk__rail-x.bk--clicking .bk__thumb-x {
227
+ background-color: #979ba5;
228
+ height: 10px;
229
+ }
230
+ .bk-scrollbar .bk__rail-y:hover > .bk__thumb-y,
231
+ .bk-scrollbar .bk__rail-y:focus > .bk__thumb-y,
232
+ .bk-scrollbar .bk__rail-y.bk--clicking .bk__thumb-y {
233
+ background-color: #979ba5;
234
+ width: 10px;
235
+ }
236
+ .bk-scrollbar .bk-size-small > .bk__thumb-x,
237
+ .bk-scrollbar .bk-size-small > .bk__thumb-x,
238
+ .bk-scrollbar .bk-size-small.bk--clicking .bk__thumb-x {
239
+ height: 8px;
240
+ }
241
+ .bk-scrollbar .bk-size-small:hover > .bk__thumb-y,
242
+ .bk-scrollbar .bk-size-small:focus > .bk__thumb-y,
243
+ .bk-scrollbar .bk-size-small.bk--clicking .bk__thumb-y {
244
+ width: 8px;
245
+ }
246
+ /* MS supports */
247
+ @supports (-ms-overflow-style: none) {
248
+ .bk-scrollbar {
249
+ overflow: auto !important;
250
+ }
251
+ }
252
+ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
253
+ .bk-scrollbar {
254
+ overflow: auto !important;
255
+ }
92
256
  }
93
257
  .bk-virtual-render {
94
258
  position: relative;
95
259
  }
96
- .bk-virtual-render .bk-virtual-content {
97
- position: absolute;
98
- top: 0;
99
- bottom: 0;
100
- left: 0;
101
- width: 100%;
102
- height: 100%;
103
- }
104
260
  .bk-virtual-render .bk-virtual-section {
105
261
  width: 1px;
106
262
  background: transparent;
@@ -122,9 +278,17 @@
122
278
  .bk-checkbox ~ .bk-checkbox {
123
279
  margin-left: 24px;
124
280
  }
281
+ .bk-checkbox.is-checked.is-outline .bk-checkbox-input {
282
+ background: #fff;
283
+ }
284
+ .bk-checkbox.is-checked.is-outline .bk-checkbox-input::after {
285
+ border: 2px solid var(--primary-color);
286
+ border-top: 0;
287
+ border-left: 0;
288
+ }
125
289
  .bk-checkbox.is-checked .bk-checkbox-input {
126
- background: #3a84ff;
127
- border-color: #3a84ff;
290
+ background: var(--primary-color);
291
+ border-color: var(--primary-color);
128
292
  transition: all 0.1s;
129
293
  }
130
294
  .bk-checkbox.is-checked .bk-checkbox-input.small::after {
@@ -145,8 +309,8 @@
145
309
  transform-origin: center;
146
310
  }
147
311
  .bk-checkbox.is-indeterminated .bk-checkbox-input {
148
- background: #3a84ff;
149
- border-color: #3a84ff;
312
+ background: var(--primary-color);
313
+ border-color: var(--primary-color);
150
314
  transition: all 0.1s;
151
315
  }
152
316
  .bk-checkbox.is-indeterminated .bk-checkbox-input.small::after {
@@ -171,17 +335,17 @@
171
335
  }
172
336
  .bk-checkbox.is-disabled .bk-checkbox-input {
173
337
  background: #fafbfd;
174
- border-color: #dcdee5;
338
+ border-color: var(--disable-color);
175
339
  }
176
340
  .bk-checkbox.is-disabled .bk-checkbox-input::after {
177
- background: #dcdee5;
341
+ background: var(--disable-color);
178
342
  }
179
343
  .bk-checkbox.is-disabled.is-checked .bk-checkbox-input {
180
- background: #a3c5fd;
181
- border-color: #a3c5fd;
344
+ background: var(--checkbox-disabled-checked-bg);
345
+ border-color: var(--checkbox-disabled-checked-bg);
182
346
  }
183
347
  .bk-checkbox.is-disabled.is-checked .bk-checkbox-input::after {
184
- background: #a3c5fd;
348
+ background: var(--checkbox-disabled-checked-bg);
185
349
  }
186
350
  .bk-checkbox.is-prechecking {
187
351
  position: relative;
@@ -223,16 +387,16 @@
223
387
  }
224
388
  .bk-button {
225
389
  display: inline-flex;
226
- height: 32px;
227
- padding: 0 14px;
228
- font-size: 14px;
229
- color: #63656e;
390
+ height: var(--component-size-base);
391
+ padding: var(--component-size-base-padding);
392
+ font-size: var(--font-size-medium);
393
+ color: var(--default-color);
230
394
  text-decoration: none;
231
395
  white-space: nowrap;
232
396
  cursor: pointer;
233
- background-color: white;
234
- border: 1px solid #c4c6cc;
235
- border-radius: 2px;
397
+ background-color: var(--white-color);
398
+ border: 1px solid var(--light-gray);
399
+ border-radius: var(--border-radius-base);
236
400
  outline: none;
237
401
  box-sizing: border-box;
238
402
  transition: background-color ease 0.3s;
@@ -240,219 +404,15 @@
240
404
  align-items: center;
241
405
  justify-content: center;
242
406
  }
243
- .bk-button.bk-button-primary {
244
- background-color: #3a84ff;
245
- color: white;
246
- border-color: #3a84ff;
247
- }
248
- .bk-button.bk-button-primary:hover {
249
- background-color: #5594fa;
250
- border-color: #5594fa;
251
- }
252
- .bk-button.bk-button-primary:active {
253
- background-color: #2c77f4;
254
- border-color: #2c77f4;
255
- color: white;
256
- }
257
- .bk-button.bk-button-primary.is-outline {
258
- color: #3a84ff;
259
- border-color: #3a84ff;
260
- background-color: white;
261
- }
262
- .bk-button.bk-button-primary.is-outline:hover {
263
- background-color: #5594fa;
264
- border-color: #5594fa;
265
- color: white;
266
- }
267
- .bk-button.bk-button-primary.is-outline:active {
268
- background-color: #2c77f4;
269
- border-color: #2c77f4;
270
- color: white;
271
- }
272
- .bk-button.bk-button-primary.is-text {
273
- color: #3a84ff;
274
- background-color: transparent;
275
- border: none;
276
- }
277
- .bk-button.bk-button-primary.is-text:not(.is-disabled):hover {
278
- color: #5594fa;
279
- }
280
- .bk-button.bk-button-primary.is-disabled {
281
- color: #dcdee5;
282
- cursor: not-allowed;
283
- }
284
- .bk-button.bk-button-primary.is-disabled:not(.is-text) {
285
- background-color: #dcdee5;
286
- color: white;
287
- border-color: #dcdee5;
288
- }
289
- .bk-button.bk-button-hover-primary:hover {
290
- background-color: #5594fa;
291
- border-color: #5594fa;
292
- color: white;
293
- }
294
- .bk-button.bk-button-warning {
295
- background-color: #ff9c01;
296
- color: white;
297
- border-color: #ff9c01;
298
- }
299
- .bk-button.bk-button-warning:hover {
300
- background-color: #ffb848;
301
- border-color: #ffb848;
302
- }
303
- .bk-button.bk-button-warning:active {
304
- background-color: #eb9000;
305
- border-color: #eb9000;
306
- color: white;
307
- }
308
- .bk-button.bk-button-warning.is-outline {
309
- color: #ff9c01;
310
- border-color: #ff9c01;
311
- background-color: white;
312
- }
313
- .bk-button.bk-button-warning.is-outline:hover {
314
- background-color: #ffb848;
315
- border-color: #ffb848;
316
- color: white;
317
- }
318
- .bk-button.bk-button-warning.is-outline:active {
319
- background-color: #eb9000;
320
- border-color: #eb9000;
321
- color: white;
322
- }
323
- .bk-button.bk-button-warning.is-text {
324
- color: #ff9c01;
325
- background-color: transparent;
326
- border: none;
327
- }
328
- .bk-button.bk-button-warning.is-text:not(.is-disabled):hover {
329
- color: #ffb848;
330
- }
331
- .bk-button.bk-button-warning.is-disabled {
332
- color: #dcdee5;
333
- cursor: not-allowed;
334
- }
335
- .bk-button.bk-button-warning.is-disabled:not(.is-text) {
336
- background-color: #dcdee5;
337
- color: white;
338
- border-color: #dcdee5;
339
- }
340
- .bk-button.bk-button-hover-warning:hover {
341
- background-color: #ffb848;
342
- border-color: #ffb848;
343
- color: white;
344
- }
345
- .bk-button.bk-button-success {
346
- background-color: #2dcb56;
347
- color: white;
348
- border-color: #2dcb56;
349
- }
350
- .bk-button.bk-button-success:hover {
351
- background-color: #45e35f;
352
- border-color: #45e35f;
353
- }
354
- .bk-button.bk-button-success:active {
355
- background-color: #1ab943;
356
- border-color: #1ab943;
357
- color: white;
358
- }
359
- .bk-button.bk-button-success.is-outline {
360
- color: #2dcb56;
361
- border-color: #2dcb56;
362
- background-color: white;
363
- }
364
- .bk-button.bk-button-success.is-outline:hover {
365
- background-color: #45e35f;
366
- border-color: #45e35f;
367
- color: white;
368
- }
369
- .bk-button.bk-button-success.is-outline:active {
370
- background-color: #1ab943;
371
- border-color: #1ab943;
372
- color: white;
373
- }
374
- .bk-button.bk-button-success.is-text {
375
- color: #2dcb56;
376
- background-color: transparent;
377
- border: none;
378
- }
379
- .bk-button.bk-button-success.is-text:not(.is-disabled):hover {
380
- color: #45e35f;
381
- }
382
- .bk-button.bk-button-success.is-disabled {
383
- color: #dcdee5;
384
- cursor: not-allowed;
385
- }
386
- .bk-button.bk-button-success.is-disabled:not(.is-text) {
387
- background-color: #dcdee5;
388
- color: white;
389
- border-color: #dcdee5;
390
- }
391
- .bk-button.bk-button-hover-success:hover {
392
- background-color: #45e35f;
393
- border-color: #45e35f;
394
- color: white;
395
- }
396
- .bk-button.bk-button-danger {
397
- background-color: #ea3636;
398
- color: white;
399
- border-color: #ea3636;
400
- }
401
- .bk-button.bk-button-danger:hover {
402
- background-color: #ff5656;
403
- border-color: #ff5656;
404
- }
405
- .bk-button.bk-button-danger:active {
406
- background-color: #db2626;
407
- border-color: #db2626;
408
- color: white;
409
- }
410
- .bk-button.bk-button-danger.is-outline {
411
- color: #ea3636;
412
- border-color: #ea3636;
413
- background-color: white;
414
- }
415
- .bk-button.bk-button-danger.is-outline:hover {
416
- background-color: #ff5656;
417
- border-color: #ff5656;
418
- color: white;
419
- }
420
- .bk-button.bk-button-danger.is-outline:active {
421
- background-color: #db2626;
422
- border-color: #db2626;
423
- color: white;
424
- }
425
- .bk-button.bk-button-danger.is-text {
426
- color: #ea3636;
427
- background-color: transparent;
428
- border: none;
429
- }
430
- .bk-button.bk-button-danger.is-text:not(.is-disabled):hover {
431
- color: #ff5656;
432
- }
433
- .bk-button.bk-button-danger.is-disabled {
434
- color: #dcdee5;
435
- cursor: not-allowed;
436
- }
437
- .bk-button.bk-button-danger.is-disabled:not(.is-text) {
438
- background-color: #dcdee5;
439
- color: white;
440
- border-color: #dcdee5;
441
- }
442
- .bk-button.bk-button-hover-danger:hover {
443
- background-color: #ff5656;
444
- border-color: #ff5656;
445
- color: white;
446
- }
447
407
  .bk-button.bk-button-small {
448
- height: 26px;
449
- padding: 0 12px;
450
- font-size: 12px;
408
+ height: var(--component-size-small);
409
+ padding: var(--component-size-small-padding);
410
+ font-size: var(--font-size-base);
451
411
  }
452
412
  .bk-button.bk-button-large {
453
- height: 40px;
454
- padding: 0 16px;
455
- font-size: 16px;
413
+ height: var(--component-size-large);
414
+ padding: var(--component-size-large-padding);
415
+ font-size: var(--font-size-large);
456
416
  }
457
417
  .bk-button .bk-button-text {
458
418
  display: inline-flex;
@@ -469,17 +429,17 @@
469
429
  visibility: hidden;
470
430
  }
471
431
  .bk-button:hover {
472
- border-color: #979ba5;
432
+ border-color: var(--button-default-hover-border-color);
473
433
  }
474
434
  .bk-button:active {
475
- color: #3a84ff;
476
- border-color: #3a84ff;
435
+ color: var(--primary-color);
436
+ border-color: var(--primary-color);
477
437
  }
478
438
  .bk-button.is-text {
479
439
  height: auto;
480
440
  padding: 0;
481
441
  font-size: inherit;
482
- color: #63656e;
442
+ color: var(--default-color);
483
443
  text-decoration: none;
484
444
  cursor: pointer;
485
445
  background-color: transparent;
@@ -487,62 +447,310 @@
487
447
  outline: none;
488
448
  }
489
449
  .bk-button.is-disabled {
490
- color: #dcdee5;
450
+ color: var(--disable-color);
491
451
  cursor: not-allowed;
492
- border-color: #dcdee5;
452
+ border-color: var(--disable-color);
493
453
  }
494
454
  .bk-button.is-disabled:not(.is-text) {
495
- background-color: #f9fafd;
455
+ background-color: var(--disable-bg-color);
496
456
  }
497
457
  .bk-button-group {
498
458
  display: inline-block;
499
459
  font-size: 0;
500
460
  }
501
461
  .bk-button-group.bk-button-group-small .bk-button {
502
- height: 26px;
503
- padding: 0 12px;
504
- font-size: 12px;
462
+ height: var(--component-size-small);
463
+ padding: var(--component-size-small-padding);
464
+ font-size: var(--font-size-base);
505
465
  }
506
466
  .bk-button-group.bk-button-group-large .bk-button {
507
- height: 40px;
508
- padding: 0 16px;
509
- font-size: 16px;
467
+ height: var(--component-size-large);
468
+ padding: var(--component-size-large-padding);
469
+ font-size: var(--font-size-large);
510
470
  }
511
471
  .bk-button-group .bk-button {
512
- height: 32px;
472
+ height: var(--component-size-base);
513
473
  margin: 0 0 0 -1px;
514
474
  border-radius: 0;
515
475
  }
516
476
  .bk-button-group .bk-button:not(.is-disabled) {
517
- color: #63656e;
518
- background-color: white;
519
- border-color: #c4c6cc;
477
+ color: var(--default-color);
478
+ background-color: var(--white-color);
479
+ border-color: var(--light-gray);
520
480
  }
521
481
  .bk-button-group .bk-button.is-disabled {
522
- color: #c4c6cc;
482
+ color: var(--light-gray);
523
483
  }
524
484
  .bk-button-group .bk-button:first-child {
525
- border-radius: 2px 0 0 2px;
485
+ border-radius: var(--border-radius-base) 0 0 var(--border-radius-base);
526
486
  }
527
487
  .bk-button-group .bk-button:last-child {
528
- border-radius: 0 2px 2px 0;
488
+ border-radius: 0 var(--border-radius-base) var(--border-radius-base) 0;
529
489
  }
530
490
  .bk-button-group .bk-button:only-child {
531
- border-radius: 2px;
491
+ border-radius: var(--border-radius-base);
532
492
  }
533
493
  .bk-button-group .bk-button:hover:not(.is-disabled),
534
494
  .bk-button-group .bk-button.is-selected:not(.is-disabled) {
535
495
  position: relative;
536
496
  z-index: 1;
537
- color: #3a84ff;
538
- background-color: white;
539
- border-color: #3a84ff;
497
+ color: var(--primary-color);
498
+ background-color: var(--white-color);
499
+ border-color: var(--primary-color);
540
500
  }
541
501
  .bk-button-group .bk-button.is-selected:not(.is-disabled) {
542
- background-color: #e1ecff;
502
+ background-color: var(--button-selected-bg-color);
543
503
  }
544
504
  .bk-button-group .bk-button.is-selected.is-disabled {
545
- background-color: #f0f1f5;
505
+ background-color: var(--button-disabled-selected-bg-color);
506
+ }
507
+ .bk-button.bk-button-primary,
508
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-primary {
509
+ background-color: var(--primary-color);
510
+ color: var(--white-color);
511
+ border-color: var(--primary-color);
512
+ }
513
+ .bk-button.bk-button-primary:hover,
514
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-primary:hover {
515
+ background-color: var(--button-primary-hover-color);
516
+ border-color: var(--button-primary-hover-color);
517
+ }
518
+ .bk-button.bk-button-primary:active,
519
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-primary:active {
520
+ background-color: var(--button-primary-active-color);
521
+ border-color: var(--button-primary-active-color);
522
+ color: var(--white-color);
523
+ }
524
+ .bk-button.bk-button-primary.is-outline,
525
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-primary.is-outline {
526
+ color: var(--primary-color);
527
+ border-color: var(--primary-color);
528
+ background-color: var(--white-color);
529
+ }
530
+ .bk-button.bk-button-primary.is-outline:hover,
531
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-primary.is-outline:hover {
532
+ background-color: var(--button-primary-hover-color);
533
+ border-color: var(--button-primary-hover-color);
534
+ color: var(--white-color);
535
+ }
536
+ .bk-button.bk-button-primary.is-outline:active,
537
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-primary.is-outline:active {
538
+ background-color: var(--button-primary-active-color);
539
+ border-color: var(--button-primary-active-color);
540
+ color: var(--white-color);
541
+ }
542
+ .bk-button.bk-button-primary.is-text,
543
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-primary.is-text {
544
+ color: var(--primary-color);
545
+ background-color: transparent;
546
+ border: none;
547
+ }
548
+ .bk-button.bk-button-primary.is-text:not(.is-disabled):hover,
549
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-primary.is-text:not(.is-disabled):hover {
550
+ color: var(--button-primary-hover-color);
551
+ }
552
+ .bk-button.bk-button-primary.is-disabled,
553
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-primary.is-disabled {
554
+ color: var(--disable-color);
555
+ cursor: not-allowed;
556
+ }
557
+ .bk-button.bk-button-primary.is-disabled:not(.is-text),
558
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-primary.is-disabled:not(.is-text) {
559
+ background-color: var(--disable-color);
560
+ color: var(--white-color);
561
+ border-color: var(--disable-color);
562
+ }
563
+ .bk-button.bk-button-hover-primary:hover,
564
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-hover-primary:hover {
565
+ background-color: var(--button-primary-hover-color);
566
+ border-color: var(--button-primary-hover-color);
567
+ color: var(--white-color);
568
+ }
569
+ .bk-button.bk-button-warning,
570
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-warning {
571
+ background-color: var(--warning-color);
572
+ color: var(--white-color);
573
+ border-color: var(--warning-color);
574
+ }
575
+ .bk-button.bk-button-warning:hover,
576
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-warning:hover {
577
+ background-color: var(--button-warning-hover-color);
578
+ border-color: var(--button-warning-hover-color);
579
+ }
580
+ .bk-button.bk-button-warning:active,
581
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-warning:active {
582
+ background-color: var(--button-warning-active-color);
583
+ border-color: var(--button-warning-active-color);
584
+ color: var(--white-color);
585
+ }
586
+ .bk-button.bk-button-warning.is-outline,
587
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-warning.is-outline {
588
+ color: var(--warning-color);
589
+ border-color: var(--warning-color);
590
+ background-color: var(--white-color);
591
+ }
592
+ .bk-button.bk-button-warning.is-outline:hover,
593
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-warning.is-outline:hover {
594
+ background-color: var(--button-warning-hover-color);
595
+ border-color: var(--button-warning-hover-color);
596
+ color: var(--white-color);
597
+ }
598
+ .bk-button.bk-button-warning.is-outline:active,
599
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-warning.is-outline:active {
600
+ background-color: var(--button-warning-active-color);
601
+ border-color: var(--button-warning-active-color);
602
+ color: var(--white-color);
603
+ }
604
+ .bk-button.bk-button-warning.is-text,
605
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-warning.is-text {
606
+ color: var(--warning-color);
607
+ background-color: transparent;
608
+ border: none;
609
+ }
610
+ .bk-button.bk-button-warning.is-text:not(.is-disabled):hover,
611
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-warning.is-text:not(.is-disabled):hover {
612
+ color: var(--button-warning-hover-color);
613
+ }
614
+ .bk-button.bk-button-warning.is-disabled,
615
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-warning.is-disabled {
616
+ color: var(--disable-color);
617
+ cursor: not-allowed;
618
+ }
619
+ .bk-button.bk-button-warning.is-disabled:not(.is-text),
620
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-warning.is-disabled:not(.is-text) {
621
+ background-color: var(--disable-color);
622
+ color: var(--white-color);
623
+ border-color: var(--disable-color);
624
+ }
625
+ .bk-button.bk-button-hover-warning:hover,
626
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-hover-warning:hover {
627
+ background-color: var(--button-warning-hover-color);
628
+ border-color: var(--button-warning-hover-color);
629
+ color: var(--white-color);
630
+ }
631
+ .bk-button.bk-button-success,
632
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-success {
633
+ background-color: var(--success-color);
634
+ color: var(--white-color);
635
+ border-color: var(--success-color);
636
+ }
637
+ .bk-button.bk-button-success:hover,
638
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-success:hover {
639
+ background-color: var(--button-success-hover-color);
640
+ border-color: var(--button-success-hover-color);
641
+ }
642
+ .bk-button.bk-button-success:active,
643
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-success:active {
644
+ background-color: var(--button-success-active-color);
645
+ border-color: var(--button-success-active-color);
646
+ color: var(--white-color);
647
+ }
648
+ .bk-button.bk-button-success.is-outline,
649
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-success.is-outline {
650
+ color: var(--success-color);
651
+ border-color: var(--success-color);
652
+ background-color: var(--white-color);
653
+ }
654
+ .bk-button.bk-button-success.is-outline:hover,
655
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-success.is-outline:hover {
656
+ background-color: var(--button-success-hover-color);
657
+ border-color: var(--button-success-hover-color);
658
+ color: var(--white-color);
659
+ }
660
+ .bk-button.bk-button-success.is-outline:active,
661
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-success.is-outline:active {
662
+ background-color: var(--button-success-active-color);
663
+ border-color: var(--button-success-active-color);
664
+ color: var(--white-color);
665
+ }
666
+ .bk-button.bk-button-success.is-text,
667
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-success.is-text {
668
+ color: var(--success-color);
669
+ background-color: transparent;
670
+ border: none;
671
+ }
672
+ .bk-button.bk-button-success.is-text:not(.is-disabled):hover,
673
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-success.is-text:not(.is-disabled):hover {
674
+ color: var(--button-success-hover-color);
675
+ }
676
+ .bk-button.bk-button-success.is-disabled,
677
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-success.is-disabled {
678
+ color: var(--disable-color);
679
+ cursor: not-allowed;
680
+ }
681
+ .bk-button.bk-button-success.is-disabled:not(.is-text),
682
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-success.is-disabled:not(.is-text) {
683
+ background-color: var(--disable-color);
684
+ color: var(--white-color);
685
+ border-color: var(--disable-color);
686
+ }
687
+ .bk-button.bk-button-hover-success:hover,
688
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-hover-success:hover {
689
+ background-color: var(--button-success-hover-color);
690
+ border-color: var(--button-success-hover-color);
691
+ color: var(--white-color);
692
+ }
693
+ .bk-button.bk-button-danger,
694
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-danger {
695
+ background-color: var(--danger-color);
696
+ color: var(--white-color);
697
+ border-color: var(--danger-color);
698
+ }
699
+ .bk-button.bk-button-danger:hover,
700
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-danger:hover {
701
+ background-color: var(--button-danger-hover-color);
702
+ border-color: var(--button-danger-hover-color);
703
+ }
704
+ .bk-button.bk-button-danger:active,
705
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-danger:active {
706
+ background-color: var(--button-danger-active-color);
707
+ border-color: var(--button-danger-active-color);
708
+ color: var(--white-color);
709
+ }
710
+ .bk-button.bk-button-danger.is-outline,
711
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-danger.is-outline {
712
+ color: var(--danger-color);
713
+ border-color: var(--danger-color);
714
+ background-color: var(--white-color);
715
+ }
716
+ .bk-button.bk-button-danger.is-outline:hover,
717
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-danger.is-outline:hover {
718
+ background-color: var(--button-danger-hover-color);
719
+ border-color: var(--button-danger-hover-color);
720
+ color: var(--white-color);
721
+ }
722
+ .bk-button.bk-button-danger.is-outline:active,
723
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-danger.is-outline:active {
724
+ background-color: var(--button-danger-active-color);
725
+ border-color: var(--button-danger-active-color);
726
+ color: var(--white-color);
727
+ }
728
+ .bk-button.bk-button-danger.is-text,
729
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-danger.is-text {
730
+ color: var(--danger-color);
731
+ background-color: transparent;
732
+ border: none;
733
+ }
734
+ .bk-button.bk-button-danger.is-text:not(.is-disabled):hover,
735
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-danger.is-text:not(.is-disabled):hover {
736
+ color: var(--button-danger-hover-color);
737
+ }
738
+ .bk-button.bk-button-danger.is-disabled,
739
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-danger.is-disabled {
740
+ color: var(--disable-color);
741
+ cursor: not-allowed;
742
+ }
743
+ .bk-button.bk-button-danger.is-disabled:not(.is-text),
744
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-danger.is-disabled:not(.is-text) {
745
+ background-color: var(--disable-color);
746
+ color: var(--white-color);
747
+ border-color: var(--disable-color);
748
+ }
749
+ .bk-button.bk-button-hover-danger:hover,
750
+ .bk-button-group .is-selected:not(.is-disabled).bk-button-hover-danger:hover {
751
+ background-color: var(--button-danger-hover-color);
752
+ border-color: var(--button-danger-hover-color);
753
+ color: var(--white-color);
546
754
  }
547
755
  .bk-exception {
548
756
  position: relative;
@@ -606,11 +814,11 @@
606
814
  display: flex;
607
815
  align-items: center;
608
816
  font-size: 12px;
609
- letter-spacing: normal;
610
817
  color: #63656e;
818
+ letter-spacing: normal;
611
819
  user-select: none;
612
820
  }
613
- .bk-pagination.is-disabled {
821
+ .bk-pagination.is-disabled * {
614
822
  cursor: not-allowed;
615
823
  }
616
824
  .bk-pagination.is-align-left {
@@ -650,16 +858,16 @@
650
858
  display: flex;
651
859
  align-items: center;
652
860
  justify-content: center;
653
- height: 32px;
654
861
  min-width: 32px;
862
+ height: 32px;
655
863
  padding: 0 4px;
656
864
  margin-right: 2px;
657
865
  margin-left: 2px;
658
866
  color: #63656e;
659
867
  cursor: pointer;
868
+ user-select: none;
660
869
  background: #fff;
661
870
  border-radius: 2px;
662
- user-select: none;
663
871
  }
664
872
  .bk-pagination-list-pre-batch.is-active,
665
873
  .bk-pagination-list-next-batch.is-active,
@@ -734,13 +942,13 @@
734
942
  }
735
943
  .bk-pagination-small-list .bk-pagination-picker {
736
944
  display: flex;
945
+ align-items: center;
737
946
  height: 26px;
738
947
  margin: 0 4px;
739
948
  cursor: pointer;
740
949
  background-color: #f0f1f5;
741
950
  border: 1px solid #f0f1f5;
742
951
  border-radius: 2px;
743
- align-items: center;
744
952
  }
745
953
  .bk-pagination-small-list .bk-pagination-picker:hover {
746
954
  background-color: #eaebf0;
@@ -752,8 +960,8 @@
752
960
  box-shadow: 0px 0px 4px rgba(58, 132, 255, 0.4);
753
961
  }
754
962
  .bk-pagination-editor {
755
- height: 16px;
756
963
  min-width: 23px;
964
+ height: 16px;
757
965
  padding-right: 4px;
758
966
  padding-left: 8px;
759
967
  line-height: 16px;
@@ -771,13 +979,13 @@
771
979
  .bk-pagination-btn-pre,
772
980
  .bk-pagination-btn-next {
773
981
  display: flex;
982
+ align-items: center;
983
+ justify-content: center;
774
984
  width: 26px;
775
985
  height: 26px;
776
986
  font-size: 20px;
777
987
  color: #979ba5;
778
988
  cursor: pointer;
779
- justify-content: center;
780
- align-items: center;
781
989
  }
782
990
  .bk-pagination-btn-pre:hover,
783
991
  .bk-pagination-btn-next:hover {
@@ -790,7 +998,7 @@
790
998
  cursor: not-allowed;
791
999
  }
792
1000
  .bk-pagination-picker-list {
793
- max-height: 216px;
1001
+ max-height: var(--popover-max-height);
794
1002
  padding: 7px 0;
795
1003
  margin: -7px -14px;
796
1004
  overflow: auto;
@@ -865,6 +1073,10 @@
865
1073
  max-width: 300px;
866
1074
  min-width: 200px;
867
1075
  }
1076
+ .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items {
1077
+ max-height: 200px;
1078
+ overflow: auto;
1079
+ }
868
1080
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item {
869
1081
  width: 100%;
870
1082
  height: 32px;
@@ -890,6 +1102,7 @@
890
1102
  white-space: nowrap;
891
1103
  text-overflow: ellipsis;
892
1104
  overflow: hidden;
1105
+ max-width: calc(100% - 22px);
893
1106
  }
894
1107
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item .bk-checkbox {
895
1108
  margin-left: 0;
@@ -1007,6 +1220,7 @@
1007
1220
  align-items: flex-start;
1008
1221
  flex-wrap: wrap;
1009
1222
  margin-bottom: 16px;
1223
+ overflow: auto;
1010
1224
  }
1011
1225
  .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-fields .field-item {
1012
1226
  width: 150px;
@@ -1014,10 +1228,19 @@
1014
1228
  margin-top: 16px;
1015
1229
  line-height: 16px;
1016
1230
  }
1017
- .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-fields .field-item > label {
1231
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-fields .field-item > label,
1232
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-fields .field-item .bk-checkbox-label {
1233
+ max-width: calc(100% - 22px);
1018
1234
  overflow: hidden;
1019
1235
  text-overflow: ellipsis;
1020
1236
  white-space: nowrap;
1237
+ word-break: break-all;
1238
+ }
1239
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-fields .field-item > label {
1240
+ max-width: 100%;
1241
+ }
1242
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-fields .field-item > label .bk-checkbox-label {
1243
+ max-width: max-content;
1021
1244
  }
1022
1245
  .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-line-height {
1023
1246
  display: flex;
@@ -1076,50 +1299,50 @@
1076
1299
  .bk-table {
1077
1300
  position: relative;
1078
1301
  width: 100%;
1079
- height: auto;
1302
+ height: 100%;
1080
1303
  overflow: hidden;
1081
- }
1082
- .bk-table-flex {
1304
+ border-spacing: 0;
1083
1305
  display: flex;
1084
1306
  flex-direction: column;
1085
1307
  max-height: fit-content;
1086
1308
  }
1087
- .bk-table-flex .bk-table-body {
1088
- flex: 1;
1309
+ .bk-table .bk-table-body {
1310
+ position: relative;
1089
1311
  overflow: auto;
1090
1312
  }
1091
- .bk-table.has-scroll-y .bk-table-head {
1092
- padding-right: 4px;
1313
+ .bk-table .bk-table-body::-webkit-scrollbar {
1314
+ width: 8px;
1315
+ height: 8px;
1093
1316
  }
1094
- .bk-table .bk-table-body {
1095
- position: relative;
1317
+ .bk-table .bk-table-body::-webkit-scrollbar-thumb {
1318
+ background: #ddd;
1319
+ border-radius: 20px;
1320
+ box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
1321
+ }
1322
+ .bk-table .bk-table-body.is-bk-scrollbar {
1096
1323
  overflow: hidden;
1097
- border-bottom: 1px solid #dcdee5;
1098
1324
  }
1099
1325
  .bk-table .bk-table-body .prepend-row {
1100
- transform: translateX(var(--prepend-left));
1326
+ transform: translate(var(--translate-x), 0);
1327
+ }
1328
+ .bk-table .bk-table-body .resize-column {
1329
+ position: absolute;
1330
+ top: 0;
1331
+ bottom: 0;
1332
+ left: 0;
1333
+ width: 1px;
1334
+ background-color: #3785ff;
1335
+ transform: translate(var(--drag-offset-x), var(--translate-y));
1101
1336
  }
1102
1337
  .bk-table .bk-table-body-content.bk-stripe table tbody tr:nth-child(even) td {
1103
- background-color: #fafbfd;
1338
+ background-color: var(--table-strip-color);
1104
1339
  }
1105
1340
  .bk-table .bk-table-body-content.bk-stripe table tbody tr td {
1106
1341
  border-bottom: none;
1107
1342
  }
1108
- .bk-table .bk-fixed-bottom-border {
1109
- position: sticky;
1110
- bottom: 0;
1111
- left: 0;
1112
- z-index: 1;
1113
- width: 100%;
1114
- border-top: 1px solid #dcdee5;
1115
- transform: translateX(var(--scroll-head-left));
1116
- }
1117
- .bk-table .bk-fixed-bottom-border._is-empty {
1118
- display: none;
1119
- }
1120
1343
  .bk-table .bk-table-head,
1121
1344
  .bk-table .bk-table-body {
1122
- background: white;
1345
+ background: var(--table-bg-color);
1123
1346
  transform: translateZ(0);
1124
1347
  }
1125
1348
  .bk-table .bk-table-head.__is-empty,
@@ -1140,11 +1363,15 @@
1140
1363
  .bk-table .bk-table-head table,
1141
1364
  .bk-table .bk-table-body table {
1142
1365
  width: 100%;
1143
- border-collapse: collapse;
1366
+ border-collapse: separate;
1144
1367
  transform: translateZ(0);
1145
1368
  table-layout: fixed;
1146
1369
  align-self: flex-start;
1147
1370
  }
1371
+ .bk-table .bk-table-head table.bk-table-col-resizing th,
1372
+ .bk-table .bk-table-body table.bk-table-col-resizing th {
1373
+ cursor: col-resize !important;
1374
+ }
1148
1375
  .bk-table .bk-table-head table th,
1149
1376
  .bk-table .bk-table-body table th,
1150
1377
  .bk-table .bk-table-head table td,
@@ -1166,7 +1393,7 @@
1166
1393
  padding: 0 16px;
1167
1394
  overflow: hidden;
1168
1395
  font-size: 12px;
1169
- color: #63656E;
1396
+ color: var(--table-body-font-color);
1170
1397
  text-overflow: ellipsis;
1171
1398
  white-space: nowrap;
1172
1399
  }
@@ -1204,6 +1431,10 @@
1204
1431
  .bk-table .bk-table-body table td .cell.selection {
1205
1432
  padding: 0;
1206
1433
  text-align: center;
1434
+ display: flex;
1435
+ align-items: center;
1436
+ justify-content: center;
1437
+ height: 100%;
1207
1438
  }
1208
1439
  .bk-table .bk-table-head table th .cell.expand-cell,
1209
1440
  .bk-table .bk-table-body table th .cell.expand-cell,
@@ -1231,18 +1462,6 @@
1231
1462
  position: sticky;
1232
1463
  z-index: 1;
1233
1464
  }
1234
- .bk-table .bk-table-head table th.column_fixed.column_fixed_left,
1235
- .bk-table .bk-table-body table th.column_fixed.column_fixed_left,
1236
- .bk-table .bk-table-head table td.column_fixed.column_fixed_left,
1237
- .bk-table .bk-table-body table td.column_fixed.column_fixed_left {
1238
- left: 0;
1239
- }
1240
- .bk-table .bk-table-head table th.column_fixed.column_fixed_right,
1241
- .bk-table .bk-table-body table th.column_fixed.column_fixed_right,
1242
- .bk-table .bk-table-head table td.column_fixed.column_fixed_right,
1243
- .bk-table .bk-table-body table td.column_fixed.column_fixed_right {
1244
- right: 0;
1245
- }
1246
1465
  .bk-table .bk-table-head table th.row_expend .expand-cell-ctx,
1247
1466
  .bk-table .bk-table-body table th.row_expend .expand-cell-ctx,
1248
1467
  .bk-table .bk-table-head table td.row_expend .expand-cell-ctx,
@@ -1256,6 +1475,7 @@
1256
1475
  .bk-table .bk-table-head table .left .cell,
1257
1476
  .bk-table .bk-table-body table .left .cell {
1258
1477
  justify-content: start;
1478
+ text-align: left;
1259
1479
  }
1260
1480
  .bk-table .bk-table-head table .center,
1261
1481
  .bk-table .bk-table-body table .center {
@@ -1264,6 +1484,7 @@
1264
1484
  .bk-table .bk-table-head table .center .cell,
1265
1485
  .bk-table .bk-table-body table .center .cell {
1266
1486
  justify-content: center;
1487
+ text-align: center;
1267
1488
  }
1268
1489
  .bk-table .bk-table-head table .right,
1269
1490
  .bk-table .bk-table-body table .right {
@@ -1272,10 +1493,11 @@
1272
1493
  .bk-table .bk-table-head table .right .cell,
1273
1494
  .bk-table .bk-table-body table .right .cell {
1274
1495
  justify-content: end;
1496
+ text-align: right;
1275
1497
  }
1276
1498
  .bk-table .bk-table-head table thead,
1277
1499
  .bk-table .bk-table-body table thead {
1278
- background-color: #fafbfd;
1500
+ background-color: var(--table-head-bg-color);
1279
1501
  }
1280
1502
  .bk-table .bk-table-head table thead th,
1281
1503
  .bk-table .bk-table-body table thead th {
@@ -1283,43 +1505,95 @@
1283
1505
  font-weight: 400;
1284
1506
  background-color: var(--background-color);
1285
1507
  }
1286
- .bk-table .bk-table-head table thead th.col-resize-hover::after,
1287
- .bk-table .bk-table-body table thead th.col-resize-hover::after {
1508
+ .bk-table .bk-table-head table thead th.col-pointer-hover.poiner-right::after,
1509
+ .bk-table .bk-table-body table thead th.col-pointer-hover.poiner-right::after {
1510
+ content: '';
1288
1511
  position: absolute;
1289
1512
  top: 0;
1290
- right: 0;
1291
1513
  bottom: 0;
1292
- z-index: 1;
1293
- width: 6px;
1514
+ right: 0;
1515
+ width: 3px;
1516
+ background-color: #3785ff;
1517
+ transform: translateX(1px);
1294
1518
  pointer-events: none;
1519
+ }
1520
+ .bk-table .bk-table-head table thead th.col-pointer-hover.poiner-left::after,
1521
+ .bk-table .bk-table-body table thead th.col-pointer-hover.poiner-left::after {
1522
+ content: '';
1523
+ position: absolute;
1524
+ top: 0;
1525
+ bottom: 0;
1526
+ left: 0;
1527
+ width: 3px;
1528
+ transform: translateX(-1px);
1295
1529
  background-color: #3785ff;
1530
+ pointer-events: none;
1531
+ }
1532
+ .bk-table .bk-table-head table thead th .across-page-cell,
1533
+ .bk-table .bk-table-body table thead th .across-page-cell {
1534
+ position: relative;
1535
+ }
1536
+ .bk-table .bk-table-head table thead th .across-page-cell .dropwn-icon,
1537
+ .bk-table .bk-table-body table thead th .across-page-cell .dropwn-icon {
1538
+ display: block;
1539
+ position: absolute;
1540
+ width: 16px;
1541
+ height: 16px;
1542
+ top: 50%;
1543
+ right: 0;
1544
+ transform: translate(18px, -50%);
1545
+ }
1546
+ .bk-table .bk-table-head table thead th .across-page-cell .dropwn-icon::after,
1547
+ .bk-table .bk-table-body table thead th .across-page-cell .dropwn-icon::after {
1548
+ position: absolute;
1549
+ top: 50%;
1550
+ right: 0;
1551
+ left: 50%;
1552
+ width: 5px;
1553
+ height: 5px;
1554
+ border: 1px solid #63656e;
1555
+ border-top: 0;
1556
+ border-left: 0;
1557
+ transform: translate(-50%, -100%) scaleY(1) rotate(45deg);
1558
+ transform-origin: center;
1296
1559
  content: '';
1297
- transform: translateX(50%);
1298
1560
  }
1299
1561
  .bk-table .bk-table-head table thead th .cell,
1300
1562
  .bk-table .bk-table-body table thead th .cell {
1301
1563
  display: flex;
1302
1564
  align-items: center;
1303
1565
  height: calc(var(--row-height) - 2px);
1304
- color: #313238;
1566
+ color: var(--table-head-font-color);
1305
1567
  }
1306
- .bk-table .bk-table-head table thead th.active,
1307
- .bk-table .bk-table-body table thead th.active,
1308
- .bk-table .bk-table-head table thead th:hover,
1309
- .bk-table .bk-table-body table thead th:hover {
1310
- cursor: pointer;
1311
- background: #f0f1f5;
1568
+ .bk-table .bk-table-head table thead th .cell.cell-resize,
1569
+ .bk-table .bk-table-body table thead th .cell.cell-resize {
1570
+ cursor: col-resize;
1312
1571
  }
1313
1572
  .bk-table .bk-table-head table thead th.column_fixed,
1314
1573
  .bk-table .bk-table-body table thead th.column_fixed {
1315
- transform: translateX(var(--scroll-left));
1574
+ transform: translateX(var(--translate-x));
1575
+ }
1576
+ .bk-table .bk-table-head table:not(.col-resize-hover) thead th.active,
1577
+ .bk-table .bk-table-body table:not(.col-resize-hover) thead th.active,
1578
+ .bk-table .bk-table-head table:not(.col-resize-hover) thead th:hover,
1579
+ .bk-table .bk-table-body table:not(.col-resize-hover) thead th:hover {
1580
+ cursor: pointer;
1581
+ background: var(--table-row-active-bg-color);
1582
+ }
1583
+ .bk-table .bk-table-head table tbody tr.stripe-row,
1584
+ .bk-table .bk-table-body table tbody tr.stripe-row {
1585
+ background: #fafbfd;
1586
+ }
1587
+ .bk-table .bk-table-head table tbody tr.stripe-row td,
1588
+ .bk-table .bk-table-body table tbody tr.stripe-row td {
1589
+ background-color: #fafbfd;
1316
1590
  }
1317
1591
  .bk-table .bk-table-head table tbody tr td,
1318
1592
  .bk-table .bk-table-body table tbody tr td {
1319
1593
  background-color: #fff;
1320
- border-top: 1px solid transparent;
1321
- border-bottom: 1px solid transparent;
1322
- border-right: 1px solid transparent;
1594
+ border-top: 1px solid var(--table-bg-color);
1595
+ border-bottom: 1px solid var(--table-bg-color);
1596
+ border-right: 1px solid var(--table-bg-color);
1323
1597
  box-sizing: border-box;
1324
1598
  }
1325
1599
  .bk-table .bk-table-head table tbody tr td.empty-cell,
@@ -1330,9 +1604,8 @@
1330
1604
  .bk-table .bk-table-body table tbody tr td .cell {
1331
1605
  display: block;
1332
1606
  width: 100%;
1333
- line-height: calc(var(--row-height) - 2px);
1607
+ line-height: calc(var(--row-height) - 4px);
1334
1608
  box-sizing: border-box;
1335
- align-items: center;
1336
1609
  }
1337
1610
  .bk-table .bk-table-head table tbody tr td .cell.drag,
1338
1611
  .bk-table .bk-table-body table tbody tr td .cell.drag {
@@ -1341,7 +1614,8 @@
1341
1614
  }
1342
1615
  .bk-table .bk-table-head table tbody tr:hover.hover-highlight td:not(.empty-cell),
1343
1616
  .bk-table .bk-table-body table tbody tr:hover.hover-highlight td:not(.empty-cell) {
1344
- background: #f5f7fa;
1617
+ background: var(--table-row-hover-bg-color);
1618
+ border-right-color: var(--table-row-hover-bg-color);
1345
1619
  }
1346
1620
  .bk-table .bk-table-head table tbody tr.--drag-start td,
1347
1621
  .bk-table .bk-table-body table tbody tr.--drag-start td {
@@ -1352,19 +1626,34 @@
1352
1626
  z-index: 2;
1353
1627
  overflow: hidden;
1354
1628
  background-color: var(--background-color);
1629
+ height: var(--row-height);
1630
+ min-height: var(--row-height);
1631
+ }
1632
+ .bk-table .bk-table-head.has-group .is-head-group {
1633
+ border-bottom: 1px solid var(--table-border-color);
1634
+ }
1635
+ .bk-table .bk-table-head.has-group th {
1636
+ border-right: 1px solid var(--table-border-color);
1637
+ }
1638
+ .bk-table .bk-table-head.has-group th.is-last-child {
1639
+ border-right: none;
1355
1640
  }
1356
1641
  .bk-table .bk-table-head .col-resize-drag {
1357
1642
  position: absolute;
1358
1643
  top: 0;
1359
- right: 0;
1644
+ left: 0;
1360
1645
  bottom: 0;
1361
1646
  z-index: 1;
1362
1647
  width: 6px;
1363
1648
  background-color: #3785ff;
1364
- transform: translateX(-50%);
1649
+ transform: translate3d(var(--drag-offset-h-x), 0, 0);
1650
+ pointer-events: none;
1651
+ }
1652
+ .bk-table .bk-table-head .bk-table-fixed {
1653
+ transform: translate(0, 0);
1365
1654
  }
1366
1655
  .bk-table .bk-table-head thead {
1367
- transform: translateX(var(--scroll-head-left));
1656
+ transform: translate(var(--translate-x-1), 0);
1368
1657
  }
1369
1658
  .bk-table .bk-table-head .table-head-settings {
1370
1659
  position: absolute;
@@ -1376,8 +1665,8 @@
1376
1665
  width: calc(var(--row-height));
1377
1666
  font-size: 14px;
1378
1667
  cursor: pointer;
1379
- background: #fafbfd;
1380
- border-left: 1px solid #dcdee5;
1668
+ background: var(--table-head-bg-color);
1669
+ border-left: 1px solid var(--table-border-color);
1381
1670
  border-radius: 0 2px 0 0;
1382
1671
  justify-content: center;
1383
1672
  align-items: center;
@@ -1391,6 +1680,7 @@
1391
1680
  display: flex;
1392
1681
  width: 100%;
1393
1682
  height: var(--footer-height);
1683
+ min-height: var(--footer-height);
1394
1684
  align-items: center;
1395
1685
  padding: 0 16px 0 22px;
1396
1686
  }
@@ -1398,52 +1688,65 @@
1398
1688
  display: none;
1399
1689
  }
1400
1690
  .bk-table.bordered-row .bk-table-head {
1401
- border-bottom: 1px solid #dcdee5;
1691
+ border-bottom: 1px solid var(--table-border-color);
1402
1692
  }
1403
1693
  .bk-table.bordered-row .bk-table-body tbody tr td {
1404
- border-bottom-color: #dcdee5;
1405
- }
1406
- .bk-table.bordered-row .bk-table-body tbody tr:last-child td {
1407
- border-bottom: none;
1694
+ border-bottom-color: var(--table-border-color);
1408
1695
  }
1409
1696
  .bk-table.bordered-outer {
1410
- border-top: 1px solid #dcdee5;
1411
- border-right: 1px solid #dcdee5;
1412
- border-left: 1px solid #dcdee5;
1697
+ border-top: 1px solid var(--table-border-color);
1698
+ border-right: 1px solid var(--table-border-color);
1699
+ border-left: 1px solid var(--table-border-color);
1413
1700
  }
1414
1701
  .bk-table.bordered-outer .bk-table-footer {
1415
- border-bottom: 1px solid #dcdee5;
1702
+ border-bottom: 1px solid var(--table-border-color);
1416
1703
  }
1417
1704
  .bk-table.bordered-horizontal {
1418
- border-top: 1px solid #dcdee5;
1419
- }
1420
- .bk-table.bordered-horizontal .bk-table-footer {
1421
- border-bottom: 1px solid #dcdee5;
1705
+ border-top: 1px solid var(--table-border-color);
1706
+ border-bottom: 1px solid var(--table-border-color);
1422
1707
  }
1423
1708
  .bk-table.bordered-outer .__is-empty .bk-table-body-content,
1424
1709
  .bk-table.bordered-horizontal .__is-empty .bk-table-body-content {
1425
- border-bottom: 1px solid #dcdee5;
1710
+ border-bottom: 1px solid var(--table-border-color);
1711
+ }
1712
+ .bk-table.bordered-col .bk-table-head {
1713
+ border-right: 1px solid var(--table-border-color);
1714
+ }
1715
+ .bk-table.bordered-col .bk-table-head .is-head-group {
1716
+ border-bottom: 1px solid var(--table-border-color);
1426
1717
  }
1427
1718
  .bk-table.bordered-col th {
1428
- border-right: 1px solid #dcdee5;
1719
+ border-right: 1px solid var(--table-border-color);
1429
1720
  }
1430
1721
  .bk-table.bordered-col th:last-child {
1431
1722
  border-right: none;
1432
1723
  }
1724
+ .bk-table.bordered-col .bk-table-body {
1725
+ border-right: 1px solid var(--table-border-color);
1726
+ }
1433
1727
  .bk-table.bordered-col .bk-table-body tbody tr td {
1434
- border-right-color: #dcdee5;
1728
+ border-right-color: var(--table-border-color);
1435
1729
  }
1436
1730
  .bk-table.bordered-col .bk-table-body tbody tr td:last-child {
1437
- border-right-color: transparent;
1731
+ border-right: none;
1732
+ }
1733
+ .bk-table.bordered-col .bk-table-body tbody tr:hover.hover-highlight td:not(.empty-cell) {
1734
+ border-right-color: var(--table-border-color);
1438
1735
  }
1439
1736
  .bk-table th,
1440
1737
  .bk-table td {
1441
- border-right: 1px solid transparent;
1738
+ border-right: 1px solid var(--table-bg-color);
1442
1739
  }
1443
1740
  .bk-table.bordered-none th,
1444
1741
  .bk-table.bordered-none td {
1445
1742
  border-top: none;
1446
- border-right: 1px solid transparent;
1743
+ border-right: 1px solid var(--table-bg-color);
1744
+ border-bottom: none;
1745
+ border-left: none;
1746
+ }
1747
+ .bk-table.bordered-none .bk-table-body table tbody tr td {
1748
+ border-top: none;
1749
+ border-right: 1px solid var(--table-bg-color);
1447
1750
  border-bottom: none;
1448
1751
  border-left: none;
1449
1752
  }
@@ -1451,27 +1754,25 @@
1451
1754
  position: absolute;
1452
1755
  top: 0;
1453
1756
  right: 0;
1454
- bottom: var(--footer-height);
1757
+ bottom: 0;
1455
1758
  left: 0;
1456
1759
  pointer-events: none;
1760
+ transform: translate(var(--translate-x), var(--translate-y));
1457
1761
  }
1458
- .bk-table .bk-table-fixed .column_fixed {
1459
- position: absolute;
1460
- z-index: 2;
1762
+ .bk-table .bk-table-fixed.has-virtual-scroll {
1763
+ transform: translate(var(--translate-x), 0);
1461
1764
  }
1462
- .bk-table .bk-table-fixed .column_fixed.column_fixed_left {
1463
- top: 0;
1464
- left: 0;
1765
+ .bk-table .bk-table-fixed .column_fixed_right {
1766
+ box-shadow: var(--shadow-right);
1465
1767
  }
1466
- .bk-table .bk-table-fixed .column_fixed.column_fixed_left.shadow {
1467
- box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
1768
+ .bk-table .bk-table-fixed .column_fixed_left {
1769
+ box-shadow: var(--shadow-left);
1468
1770
  }
1469
- .bk-table .bk-table-fixed .column_fixed.column_fixed_right {
1771
+ .bk-table .bk-table-fixed .column_fixed {
1772
+ position: absolute;
1773
+ z-index: 2;
1774
+ bottom: 0;
1470
1775
  top: 0;
1471
- right: 0;
1472
- }
1473
- .bk-table .bk-table-fixed .column_fixed.column_fixed_right.shadow {
1474
- box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
1475
1776
  }
1476
1777
  .bk-table .bk-table-fixed .scroll-loading._bottom {
1477
1778
  position: absolute;
@@ -1481,16 +1782,46 @@
1481
1782
  display: flex;
1482
1783
  justify-content: center;
1483
1784
  }
1785
+ .bk-table .bk-table-fixed-bottom {
1786
+ position: absolute;
1787
+ right: 0;
1788
+ bottom: 0;
1789
+ left: 0;
1790
+ text-align: center;
1791
+ }
1484
1792
  .bk-table colgroup col {
1485
- background: white;
1793
+ background: var(--table-bg-color);
1486
1794
  }
1487
1795
  .bk-table colgroup col.active {
1488
1796
  position: relative;
1489
- background: #f0f1f5;
1797
+ background: var(--table-row-active-bg-color);
1490
1798
  }
1491
1799
  .bk-table .bk-pagination .is-last {
1492
1800
  margin-left: auto;
1493
1801
  }
1494
- .bk-table .stripe-row {
1495
- background: #fafbfd;
1802
+ .bk-across-page-popover {
1803
+ padding: 0!important;
1804
+ }
1805
+ .bk-across-page-popover .dropwn-content {
1806
+ min-width: 100%;
1807
+ padding: 5px 0;
1808
+ margin: 0;
1809
+ background: #fff;
1810
+ border: 1px solid #dcdee5;
1811
+ border-radius: 2px;
1812
+ box-sizing: border-box;
1813
+ }
1814
+ .bk-across-page-popover .dropwn-content > div {
1815
+ display: block;
1816
+ height: 32px;
1817
+ padding: 0 16px;
1818
+ font-size: 12px;
1819
+ line-height: 33px;
1820
+ color: #63656e;
1821
+ white-space: nowrap;
1822
+ list-style: none;
1823
+ cursor: pointer;
1824
+ }
1825
+ .bk-across-page-popover .dropwn-content > div:hover {
1826
+ background-color: #f5f7fa;
1496
1827
  }