瀏覽代碼

Hide: better style for scrollbars

lviguier 5 月之前
父節點
當前提交
7101d2b833
共有 2 個文件被更改,包括 12 次插入10 次删除
  1. 6 5
      bin/style.css
  2. 6 5
      bin/style.less

+ 6 - 5
bin/style.css

@@ -364,18 +364,19 @@ input[type=checkbox].indeterminate:after {
   text-align: center;
 }
 ::-webkit-scrollbar {
-  width: 5px;
+  width: 10px;
   height: 5px;
   right: 5px;
 }
 ::-webkit-scrollbar-track {
-  background: #666;
-  border-radius: 20px;
+  background: #424242;
   margin: 5px;
 }
 ::-webkit-scrollbar-thumb {
-  background: #ddd;
-  border-radius: 100cqw;
+  background: #686868;
+}
+::-webkit-scrollbar-thumb:hover {
+  background: #7b7b7b;
 }
 ::-webkit-scrollbar-corner {
   visibility: hidden;

+ 6 - 5
bin/style.less

@@ -391,20 +391,21 @@ input[type=checkbox] {
 }
 
 ::-webkit-scrollbar {
-	width: 5px;
+	width: 10px;
 	height: 5px;
 	right: 5px;
 }
 
 ::-webkit-scrollbar-track {
-	background: #666;
-	border-radius: 20px;
+	background: #424242;
 	margin: 5px;
 }
 
 ::-webkit-scrollbar-thumb {
-	background: #ddd;
-	border-radius: 100cqw;
+	background: #686868;
+	&:hover {
+		background: #7b7b7b;
+	}
 }
 
 ::-webkit-scrollbar-corner {