From c0e2ca4fc5d3552d136123dc7f45573aa9cbcbf6 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Fri, 24 Aug 2018 10:25:40 +0800 Subject: [PATCH] scrollbar --- source/less/_article.less | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/source/less/_article.less b/source/less/_article.less index 3ff5510..660f6cd 100755 --- a/source/less/_article.less +++ b/source/less/_article.less @@ -171,7 +171,6 @@ border-top: 1px solid fade(@theme-bg-quote, 50%); border-bottom: 1px solid fade(@theme-bg-quote, 50%); } - footer { strong { margin-right: 7px; @@ -338,7 +337,7 @@ &:hover{ border: 1px solid fade(@theme-bg-quote, 50%); } - + .gutter{ color: #999999; width: 24px; @@ -362,27 +361,26 @@ &::-webkit-scrollbar { height: 6px; width: 6px; - border-radius: 6px; } // /* Track */ &::-webkit-scrollbar-track-piece { - background: transparent; + background: transparent; } /* Handle */ &::-webkit-scrollbar-thumb { - background: #ddd; + background: darken(@theme-bg-code, 5%); cursor: pointer; + border-radius: 3px; .enable-trans(); &:hover { - background: darken(#ddd, 15%); + background: darken(@theme-bg-code, 12%); } } - } .article {