Skip to content

Commit 3e10af6

Browse files
author
reco_luan
committed
refactor: scrollerbar style
1 parent 08b4a43 commit 3e10af6

File tree

3 files changed

+5
-13
lines changed

3 files changed

+5
-13
lines changed

example/docs/.vuepress/config.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ module.exports = {
5454
/**
5555
* 密钥 (if your blog is private)
5656
*/
57-
keyPage: {
58-
keys: ['123456']
59-
},
6057
friendLink: [
6158
{
6259
title: '午后南杂',
@@ -73,6 +70,6 @@ module.exports = {
7370
]
7471
},
7572
markdown: {
76-
lineNumbers: true
73+
// lineNumbers: true
7774
}
7875
}

example/docs/views/other/guide.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ date: 2019-04-09
44
categories:
55
- other
66
- test
7-
keys:
8-
- '123'
97
---
108

119
![vuepress](https://img.shields.io/badge/vuepress-0.14.8-brightgreen.svg)

styles/theme.styl

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -192,22 +192,19 @@ th, td
192192

193193
/************** 滚动条 **************/
194194
::-webkit-scrollbar
195-
width: 6px;
195+
width: 5px;
196196
height: 5px;
197197

198198
::-webkit-scrollbar-track-piece
199-
background-color: rgba(0, 0, 0, 0.2);
200-
-webkit-border-radius: 6px;
199+
// background-color: rgba(0, 0, 0, 0.2);
201200

202201
::-webkit-scrollbar-thumb:vertical
203202
height: 5px;
204-
background-color: rgba(125, 125, 125, 0.7);
205-
-webkit-border-radius: 6px;
203+
background-color: $accentColor;
206204

207205
::-webkit-scrollbar-thumb:horizontal
208206
width: 5px;
209-
background-color: rgba(125, 125, 125, 0.7);
210-
-webkit-border-radius: 6px;
207+
background-color: $accentColor;
211208

212209
/************** 流程图的滚动条 **************/
213210
.vuepress-flowchart

0 commit comments

Comments
 (0)