hide scrollbar when mouse is not hovering the list

This commit is contained in:
Athou
2013-07-02 15:40:55 +02:00
parent b0e73e9cf3
commit 04185c155d
2 changed files with 6 additions and 8 deletions

View File

@@ -26,7 +26,11 @@
top: 0; top: 0;
bottom: 0; bottom: 0;
width: 16%; width: 16%;
overflow: auto; overflow: hidden;
}
.sidebar-nav-fixed:hover {
overflow-y: auto;
} }
.full-screen .left-menu { .full-screen .left-menu {

View File

@@ -43,15 +43,9 @@ pre {
::-webkit-scrollbar-track { ::-webkit-scrollbar-track {
background: rgba(0,0,0,0.1); background: rgba(0,0,0,0.1);
} }
/* Hide feed list scroll when is not hover */
.sidebar-nav-fixed {
overflow: hidden;
}
.sidebar-nav-fixed:hover {
overflow-y: auto;
} }
/* 100% forever */ /* 100% forever */
.expanded .entry-header, #feed-accordion .entry-body-content { .expanded .entry-header, #feed-accordion .entry-body-content {
max-width: 100%; max-width: 100%;
}
} }