Skip to content

Commit 6549c1a

Browse files
committed
css scrollbar color
1 parent 20c2da2 commit 6549c1a

File tree

2 files changed

+44
-6
lines changed

2 files changed

+44
-6
lines changed

example/codeKeyframes.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/scss/style.scss

Lines changed: 43 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@
3636

3737
&.closed{
3838
#ckf-waveform{
39-
height: 70px;
39+
height: 50px;
4040

4141
>wave{
42-
height: 70px!important;
42+
height: 50px!important;
4343

4444
canvas{
45-
height: 50px!important;
45+
height: 30px!important;
4646
}
4747
}
4848
}
@@ -100,17 +100,55 @@
100100
}
101101

102102
.controls{
103+
border-top: 1px solid #666;
103104
a{
104105
color:#fff;
105106
text-decoration: none;
106-
background-color: #333;
107+
background-color: #222;
107108
display: block;
108109
text-align: center;
109110
padding: 10px;
110111
text-transform: uppercase;
111-
border-bottom: 1px solid #ccc;
112+
border-bottom: 1px solid #666;
112113
font-size: 10px;
113114
width: 140px;
115+
&:hover{
116+
background-color: #2a2a2a;
117+
}
114118
}
115119
}
120+
121+
::-webkit-scrollbar {
122+
width: 10px;
123+
height: 10px;
124+
}
125+
::-webkit-scrollbar-button {
126+
width: 0px;
127+
height: 0px;
128+
}
129+
::-webkit-scrollbar-thumb {
130+
background: #666;
131+
border: 0;
132+
border-radius: 0px;
133+
}
134+
::-webkit-scrollbar-thumb:hover {
135+
background: #999;
136+
}
137+
::-webkit-scrollbar-thumb:active {
138+
background: #ccc;
139+
}
140+
::-webkit-scrollbar-track {
141+
background: #333;
142+
border: 0;
143+
border-radius: 0px;
144+
}
145+
::-webkit-scrollbar-track:hover {
146+
background: #333;
147+
}
148+
::-webkit-scrollbar-track:active {
149+
background: #333;
150+
}
151+
::-webkit-scrollbar-corner {
152+
background: transparent;
153+
}
116154
}

0 commit comments

Comments
 (0)