webkit scrollbars

This commit is contained in:
Kenneth Reitz
2011-05-16 02:02:40 -04:00
parent b1036cf883
commit f22f2ff440
+35
View File
@@ -385,3 +385,38 @@ a.footnote-reference:hover {
a:hover tt { a:hover tt {
background: #EEE; background: #EEE;
} }
/* scrollbars */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-button:start:decrement,
::-webkit-scrollbar-button:end:increment {
display: block;
height: 10px;
}
::-webkit-scrollbar-button:vertical:increment {
background-color: #fff;
}
::-webkit-scrollbar-track-piece {
background-color: #eee;
-webkit-border-radius: 3px;
}
::-webkit-scrollbar-thumb:vertical {
height: 50px;
background-color: #ccc;
-webkit-border-radius: 3px;
}
::-webkit-scrollbar-thumb:horizontal {
width: 50px;
background-color: #ccc;
-webkit-border-radius: 3px;
}