Fix #80 - pretty scrollbars for lucky webkit users

pull/6/head
Eugen Rochko 2016-10-06 21:39:30 +02:00
parent d772db4344
commit 05af66d6b9
1 changed files with 37 additions and 0 deletions

View File

@ -57,6 +57,43 @@ table {
border-spacing: 0; border-spacing: 0;
} }
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-thumb {
background: #42495b;
border: 0px none #ffffff;
border-radius: 50px;
}
::-webkit-scrollbar-thumb:hover {
background: #525a70;
}
::-webkit-scrollbar-thumb:active {
background: #42495b;
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
border: 0px none #ffffff;
border-radius: 50px;
}
::-webkit-scrollbar-track:hover {
background: #282c37;
}
::-webkit-scrollbar-track:active {
background: #282c37;
}
::-webkit-scrollbar-corner {
background: transparent;
}
body { body {
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
background: #282c37 image-url('background-photo.jpeg'); background: #282c37 image-url('background-photo.jpeg');