make scroll bars less ugly in chrome
This commit is contained in:
parent
8eec57f560
commit
a5399728c1
2 changed files with 14 additions and 19 deletions
|
@ -2,3 +2,17 @@ body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: Roboto, Helvetica, sans-serif;
|
font-family: Roboto, Helvetica, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* generic scrollbar styling for chrome & friends */
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
width: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
background: #bdbdbd;
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-thumb:hover {
|
||||||
|
background: #6e6e6e;
|
||||||
|
}
|
||||||
|
|
|
@ -275,22 +275,3 @@
|
||||||
background: #ff7000;
|
background: #ff7000;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-track {
|
|
||||||
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
|
||||||
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
|
||||||
border-radius: 10px;
|
|
||||||
background-color: #444;
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
::-webkit-scrollbar {
|
|
||||||
width: 10px;
|
|
||||||
background-color: #444;
|
|
||||||
}
|
|
||||||
|
|
||||||
::-webkit-scrollbar-thumb {
|
|
||||||
border-radius: 10px;
|
|
||||||
background-color: #F90;
|
|
||||||
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent)
|
|
||||||
}
|
|
Loading…
Reference in a new issue