From 9acfaa75feb6e9a244c982deeb93564e02e63b3b Mon Sep 17 00:00:00 2001 From: HaiboTang <42064613+gtangxiaobo@users.noreply.github.com> Date: Mon, 17 Aug 2020 19:20:57 +0800 Subject: [PATCH] feat(scrollbar): css in js (#258) * feat(scrollbar): css in js * chore: fix code review * chore: fix code review --- src/Cascader/src/CascaderSubmenu.vue | 2 +- src/Layout/src/Layout.vue | 2 +- src/Layout/src/LayoutSider.vue | 2 +- .../src/NotificationContainer.vue | 2 +- src/Scrollbar/index.js | 8 - src/TimePicker/src/main.vue | 2 +- src/_base/select-menu/src/SelectMenu.vue | 2 +- .../NimbusServiceLayout/src/main.vue | 2 +- src/_styles/Scrollbar.scss | 162 +++++++++--------- .../src/HeaderButton/FilterMenu.vue | 2 +- src/data-table/src/TableParts/Body.vue | 2 +- src/index.js | 6 +- src/log/src/Log.vue | 2 +- src/modal/src/ModalContent.vue | 2 +- src/scrollbar/index.js | 8 + .../main.vue => scrollbar/src/ScrollBar.vue} | 12 +- src/scrollbar/src/styles/index.js | 9 + src/scrollbar/src/styles/themed-base.cssr.js | 114 ++++++++++++ src/scrollbar/styles/dark.js | 16 ++ src/scrollbar/styles/light.js | 16 ++ src/transfer/src/Transfer.vue | 2 +- 21 files changed, 270 insertions(+), 105 deletions(-) delete mode 100644 src/Scrollbar/index.js create mode 100644 src/scrollbar/index.js rename src/{Scrollbar/src/main.vue => scrollbar/src/ScrollBar.vue} (98%) create mode 100644 src/scrollbar/src/styles/index.js create mode 100644 src/scrollbar/src/styles/themed-base.cssr.js create mode 100644 src/scrollbar/styles/dark.js create mode 100644 src/scrollbar/styles/light.js diff --git a/src/Cascader/src/CascaderSubmenu.vue b/src/Cascader/src/CascaderSubmenu.vue index 1564cb202..d3ebf2d65 100644 --- a/src/Cascader/src/CascaderSubmenu.vue +++ b/src/Cascader/src/CascaderSubmenu.vue @@ -47,7 +47,7 @@