From b5e626c63179e240bcacbf19bc44d7f37e566451 Mon Sep 17 00:00:00 2001 From: fofolee Date: Thu, 11 Apr 2019 19:43:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E6=BB=9A=E5=8A=A8=E6=9D=A1?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/style.css | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/assets/style.css b/assets/style.css index 3b26b1f1..1b271949 100644 --- a/assets/style.css +++ b/assets/style.css @@ -68,21 +68,27 @@ box-shadow: 0px 0px 5px 1px #FF5722; } -::-webkit-scrollbar -{ - width: 7px; - height: 5px; - background-color: #F5F5F5; + +::-webkit-scrollbar { + width:9px; } -::-webkit-scrollbar-track -{ - box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.2); + +::-webkit-scrollbar-track { + -webkit-border-radius:5px; border-radius:5px; - background-color:#F5F5F5; + background:rgba(0,0,0,0.1); } -::-webkit-scrollbar-thumb -{ + +::-webkit-scrollbar-thumb { + -webkit-border-radius:5px; border-radius:5px; - box-shadow:inset 0 0 6px rgba(0,0,0,.3); - background-color:#959da5; + background:rgba(0,0,0,0.2); +} + +::-webkit-scrollbar-thumb:hover { + background:rgba(0,0,0,0.4); +} + +::-webkit-scrollbar-thumb:window-inactive { + background:rgba(0,0,0,0.05); } \ No newline at end of file