nitdoc: fix scroll bar display
authorAlexandre Terrasa <alexandre@moz-code.org>
Thu, 4 Sep 2014 18:59:50 +0000 (14:59 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Fri, 5 Sep 2014 03:45:22 +0000 (23:45 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

share/nitdoc/css/nitdoc.css

index 3f200bc..0fd73b7 100644 (file)
@@ -147,23 +147,23 @@ h3 {
 
 #content>.col {
        height: 100%;
-       overflow: hidden;
-}
-
-#content>.col:hover {
        overflow-y: scroll;
 }
 
-#content>.col::-webkit-scrollbar {
-    width: 7px;
-       height: 7px;
+#content>.col::-webkit-scrollbar-thumb {
+       background: transparent;
 }
 
-#content>.col::-webkit-scrollbar-thumb {
+#content>.col:hover::-webkit-scrollbar-thumb {
        background: #CCC;
        -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,0.10),inset 0 -1px 0 rgba(0,0,0,0.07);
 }
 
+#content>.col::-webkit-scrollbar {
+    width: 7px;
+       height: 7px;
+}
+
 #content>.col::-webkit-scrollbar-thumb:hover {
        background: #999;
 }