Add scroll styles for scrollbar
This commit is contained in:
parent
6f7350169b
commit
59b4a51cca
|
@ -569,6 +569,25 @@ button:focus {
|
|||
.cmd .active i {
|
||||
color: #272b30;
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
}
|
||||
::-webkit-scrollbar-track {
|
||||
-webkit-border-radius: 10px;
|
||||
border-radius: 10px;
|
||||
background: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
::-webkit-scrollbar-thumb {
|
||||
-webkit-border-radius: 10px;
|
||||
border-radius: 10px;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
::-webkit-scrollbar-thumb:window-inactive {
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
#log {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
@import "./light.less";
|
||||
@import "./seq.less";
|
||||
@import "./cmd.less";
|
||||
@import "./scroll.less";
|
||||
|
||||
#log{
|
||||
position: fixed;
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
::-webkit-scrollbar {
|
||||
width:8px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
-webkit-border-radius:10px;
|
||||
border-radius:10px;
|
||||
background:rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
-webkit-border-radius:10px;
|
||||
border-radius:10px;
|
||||
background:rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background:rgba(0,0,0,0.4);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:window-inactive {
|
||||
background:rgba(0,0,0,0.05);
|
||||
}
|
Loading…
Reference in New Issue