Skip to content

Commit f0b2d24

Browse files
ZhiFengJiajiazhifeng
authored andcommitted
update:页面滚动条优化
1 parent 5dc9d87 commit f0b2d24

File tree

1 file changed

+15
-4
lines changed
  • remote-web/src/main/resources/static/css

1 file changed

+15
-4
lines changed

remote-web/src/main/resources/static/css/darkly.css

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ a:hover {
127127
padding-left: 0px;
128128
padding: 0px;
129129
height: 600px;
130-
background-color: rgb(61, 64, 67);
130+
background-color: rgb(60, 63, 65);
131131
color: rgb(205, 205, 205);
132132
}
133133

@@ -181,6 +181,11 @@ a:hover {
181181
background: rgb(32, 33, 36);
182182
}
183183

184+
.CodeMirror-gutter-filler,
185+
.CodeMirror-scrollbar-filler {
186+
background-color: rgb(32, 33, 36);
187+
}
188+
184189

185190
/*定义滚动条高宽及背景
186191
高宽分别对应横竖滚动条的尺寸*/
@@ -196,7 +201,6 @@ a:hover {
196201
内阴影+圆角*/
197202

198203
::-webkit-scrollbar-track {
199-
-webkit-box-shadow: inset 0 0 6px rgb(100, 100, 100);
200204
border-radius: 0px;
201205
background-color: rgb(32, 33, 36);
202206
}
@@ -206,7 +210,14 @@ a:hover {
206210
内阴影+圆角*/
207211

208212
::-webkit-scrollbar-thumb {
209-
-webkit-box-shadow: inset 0 0 6px rgb(100, 100, 100);
210213
border-radius: 0px;
211-
background-color: rgb(100, 100, 100);
214+
background-color: rgb(66, 66, 66);
215+
}
216+
217+
218+
/*定义滑块获得焦点
219+
内阴影+圆角*/
220+
221+
::-webkit-scrollbar-thumb:hover {
222+
background: rgb(79, 79, 79);
212223
}

0 commit comments

Comments
 (0)