From f0602b981659c6d1ff18e8dba4ca1ce89c5f5610 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 22 三月 2020 21:18:34 +0800 Subject: [PATCH] 2020-03-22 --- src/assets/css/main.scss | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 56 insertions(+), 2 deletions(-) diff --git a/src/assets/css/main.scss b/src/assets/css/main.scss index 3155d2c..e02d81b 100644 --- a/src/assets/css/main.scss +++ b/src/assets/css/main.scss @@ -34,10 +34,25 @@ /*鑳屾櫙鑹�*/ html, body { width: 100%; - font-size: 10px; + font-size: 14px; } #root { height: 100%; +} + +html::-webkit-scrollbar { + width: 8px; +} +html::-webkit-scrollbar-thumb { + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13); + background: rgba(0, 0, 0, 0.13); + border-radius: 5px; +} +html::-webkit-scrollbar-track { + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); + border: 1px solid rgba(0, 0, 0, 0.07); + background: rgba(0, 0, 0, 0); + border-radius: 3px; } input[type="button"], input[type="submit"], input[type="search"], input[type="reset"] { @@ -116,6 +131,22 @@ border: 1px solid rgba(0, 0, 0, 0.07); background: rgba(0, 0, 0, 0); } +// 閲嶇疆妯℃�佹婊氬姩鏉� +.ant-modal-wrap::-webkit-scrollbar { + width: 7px; +} +.ant-modal-wrap::-webkit-scrollbar-thumb { + border-radius: 5px; + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13); + background: rgba(0, 0, 0, 0.13); +} +.ant-modal-wrap::-webkit-scrollbar-track { + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); + border-radius: 3px; + border: 1px solid rgba(0, 0, 0, 0.07); + background: rgba(0, 0, 0, 0); +} + .ant-modal-mask { z-index: 1080!important; } @@ -134,6 +165,10 @@ } .ant-notification { z-index: 1100!important; +} + +.ant-select-dropdown { + z-index: 1090!important; } // 纭鎻愮ず妗嗛珮搴� @@ -167,4 +202,23 @@ } .ant-tooltip.middle { max-width: 320px!important; -} \ No newline at end of file +} + +// 鍏宠仈閫夋嫨 +.ant-cascader-menus { + z-index: 1090!important; + .ant-cascader-menu::-webkit-scrollbar { + width: 7px; + } + .ant-cascader-menu::-webkit-scrollbar-thumb { + border-radius: 5px; + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13); + background: rgba(0, 0, 0, 0.13); + } + .ant-cascader-menu::-webkit-scrollbar-track { + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); + border-radius: 3px; + border: 1px solid rgba(0, 0, 0, 0.07); + background: rgba(0, 0, 0, 0); + } +} -- Gitblit v1.8.0