Permalink
Browse files

Sidebar CSS enhancements

* Styling applied to link elements rather than the containing list elements + a few more small improvements
* Closes #539
  • Loading branch information...
1 parent 1f00de3 commit 951ab36ecdf6f5e6ac8432eb623e3e0677ac8267 @suth suth committed with ginatrapani Jan 6, 2011
Showing with 15 additions and 8 deletions.
  1. +15 −8 webapp/assets/css/style.css
@@ -154,23 +154,30 @@ text-align: center;
/* Sidebar */
-#nav-sidebar {background-color:white;}
+#nav-sidebar {background-color:white; padding-left: 8px;}
#nav-sidebar h2 {padding-bottom: 10px; padding-top:20px; color: black;font-size: medium;}
#nav-sidebar h2 a {color : black;}
#nav-sidebar {font-size: small; color: #999;}
#nav-sidebar ul {list-style-type: none; padding-bottom : 10px;}
-#nav-sidebar li {list-style-type: none; padding-top: 2px; padding-bottom : 4px; padding-left : 8px;}
-#nav-sidebar a {color: #666;}
-#nav-sidebar ul.side-subnav li:hover {
+#nav-sidebar li {list-style-type: none;}
+#nav-sidebar a {
+ display: block;
+ color: #666;
+ padding-top: 2px;
+ padding-bottom: 4px;
+ padding-left: 8px;
+ padding-right: 8px;
+}
+#nav-sidebar ul.side-subnav li a:hover {
background-color: #6184B5;
-moz-border-radius: 3px;-webkit-border-radius: 3px;
border: 0px solid #ddd;
}
-#nav-sidebar ul.side-subnav li:hover a {color: white;}
-#top-level-sidenav ul.side-subnav li:before {content : "";}
+#nav-sidebar ul.side-subnav li a:hover {color: white;}
#top-level-sidenav {margin-top:7px}
-#nav-sidebar ul.side-subnav .currentview a {color: #6184B5;}
-#nav-sidebar ul.side-subnav .currentview {background-color: #E6E6E6;
+#nav-sidebar ul.side-subnav .currentview a, #nav-sidebar ul.side-subnav .currentview a:hover {
+ color: #6184B5;
+ background-color: #E6E6E6;
-moz-border-radius: 3px;-webkit-border-radius: 3px;
background-color: #e6e6e6;
background: -moz-linear-gradient(top, #FFFFFF, #E6E6E6);

0 comments on commit 951ab36

Please sign in to comment.