app/assets/stylesheets/georgia/modules/_sidebar.scss in georgia-0.7.8 vs app/assets/stylesheets/georgia/modules/_sidebar.scss in georgia-0.8.0
- old
+ new
@@ -1,19 +1,6 @@
#sidebar {
- position: fixed;
- z-index: $z-sidebar;
- top: $height-header;
- bottom: 0;
- width: $width-sidebar;
- background-color: $bg-sidebar;
- background-color: $bg-sidebar-rgba;
- overflow-y: auto;
- box-sizing: border-box;
- border-right: 1px solid #e2e2e2;
-}
-
-#sidebar {
.nav-list {
background-color: $bg-sidebar-navlist;
.sidebar-link-name {
display: inline-block;
}
@@ -23,24 +10,22 @@
text-decoration: none;
border-bottom: 1px solid #e2e2e2;
font-weight: 400;
padding: 12px 15px 10px;
margin: 0;
+ color: $font-link;
&:hover {
background-color: #eee;
text-decoration: none;
.icon { color: #a2a2a2; }
}
}
}
- li.active {
- > a {
- background-color: $bg-sidebar-active;
- border-bottom-color: transparent;
- color: #FFF;
- border: none;
- }
- .icon { color: #FFF; }
+ li.active > a,
+ li.active > a:hover,
+ li.active > a:focus {
+ color: #ffffff;
+ background-color: #2c3e50;
}
}
.submenu {
list-style: none outside none;
margin: 0;
\ No newline at end of file