From eb257a16632071469479fd13a93dceddc289d338 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 09 十月 2019 09:43:26 +0800 Subject: [PATCH] 2019-10-09update --- src/assets/css/main.scss | 48 +++++++++++++++++------------------------------- 1 files changed, 17 insertions(+), 31 deletions(-) diff --git a/src/assets/css/main.scss b/src/assets/css/main.scss index 83a238f..2f1db58 100644 --- a/src/assets/css/main.scss +++ b/src/assets/css/main.scss @@ -23,22 +23,6 @@ -moz-osx-font-smoothing: grayscale; } - -/*瀹氫箟婊氬姩鏉¢珮瀹藉強鑳屾櫙 楂樺鍒嗗埆瀵瑰簲妯珫婊氬姩鏉$殑灏哄*/ -// ::-webkit-scrollbar { -// width: 0px; -// height: 0px; -// background-color: #F5F5F5; -// } - -/*瀹氫箟婊氬姩鏉¤建閬� 鍐呴槾褰�+鍦嗚*/ -// ::-webkit-scrollbar-track { -// box-shadow: inset 0 0 1px rgba(0,0,0,0); -// border-radius: 10px; -// background-color: #F5F5F5; -// } - - /*鍘婚櫎铏氱嚎*/ input:focus, select:focus, textarea:focus, button:focus { outline: none; @@ -74,22 +58,24 @@ color: unset; } -// ::-webkit-scrollbar { -// width: 4px; -// height: 4px; -// } -// ::-webkit-scrollbar-thumb { -// border-radius: 5px; -// box-shadow: inset 0 0 5px rgba(0,0,0,0.2); -// background: rgba(0,0,0,0.2); -// } -// ::-webkit-scrollbar-track {/*婊氬姩鏉¢噷闈㈣建閬�*/ -// box-shadow: inset 0 0 5px rgba(0,0,0,0.2); -// border-radius: 0; -// background: rgba(0,0,0,0.1); -// } - // 閲嶇疆鎸夐挳涓枃瀛椾笌鍥炬爣璺濈 .ant-btn > .anticon + span, .ant-btn > span + .anticon { margin-left: 5px; } + +// 璁剧疆涓嬫媺鎼滅储婊氬姩鏉℃牱寮� +.ant-select-dropdown-menu::-webkit-scrollbar { + width: 10px; + height: 10px; +} +.ant-select-dropdown-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-select-dropdown-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