Permalink
Browse files

add css for custom menus and categories widgets so these are styled l…

…ike pages widgets
  • Loading branch information...
1 parent 62c537a commit 27de910bc09098fb34854cbd71a78655b970695a @marpa committed Feb 27, 2014
Showing with 52 additions and 6 deletions.
  1. +11 −2 options-css.php
  2. +41 −4 style.css
View
@@ -212,11 +212,20 @@ function translucence_options_css() {
border-bottom: 1px solid <?php print $translucence_options['left01-link-color']?>;
}
-#tertiary .page_item a:hover {
+#tertiary .page_item a:hover,
+#tertiary .menu-item a:hover {
color: <?php print $translucence_options['left01-link-color']?>;
border: 1px dotted <?php print $translucence_options['left01-border-color']?>;
}
+#primary .widget_categories li.cat-item:hover,
+#secondary .widget_categories li.cat-item:hover,
+#tertiary .widget_categories li.cat-item:hover {
+ color: <?php print $translucence_options['left01-link-color']?>;
+ border: 1px dotted <?php print $translucence_options['left01-border-color']?>;;
+}
+
+
#tertiary h2, #tertiary h3 {
color: <?php print $translucence_options['left01-heading-color']?>;
border-bottom: 1px none #CCCCCC;
@@ -246,7 +255,7 @@ function translucence_options_css() {
}
#tertiary .widget_pages li.current_page_item,
-#tertiary .widget_pages li.current-cat,
+#tertiary .widget_categories li.current-cat,
#tertiary .widget_nav_menu li.current-menu-item {
background-color: <?php print $translucence_options['left01-highlight-color-rgb']?>;
padding: 3px;
View
@@ -1426,7 +1426,10 @@ DESCRIPTION: 1-3 column fixed layout
#primary .page_item a,
#secondary .page_item a,
-#tertiary .page_item a {
+#tertiary .page_item a,
+#primary .menu-item a,
+#secondary .menu-item a,
+#tertiary .menu-item a {
display: block;
padding: 3px;
}
@@ -1510,13 +1513,47 @@ DESCRIPTION: 1-3 column fixed layout
margin: 5px 0px 0px -15px;
}
-#primary ul .children, #primary ul .children,
-#secondary ul .children, #secondary ul .children,
-#tertiary ul .children, #tertiary ul .children {
+#primary ul .children, #primary ul .sub-menu,
+#secondary ul .children, #secondary ul .sub-menu,
+#tertiary ul .children, #tertiary ul .sub-menu {
list-style-type:none;
margin: 5px 0px 0px 30px;
}
+#primary .widget_categories li.cat-item ul.children,
+#secondary .widget_categories li.cat-item ul.children,
+#tertiary .widget_categories li.cat-item ul.children {
+ display: none;
+}
+
+#primary .widget_categories li.cat-item,
+#secondary .widget_categories li.cat-item,
+#tertiary .widget_categories li.cat-item {
+ border: 1px solid transparent;
+ padding: 3px;
+}
+
+
+#primary .widget_categories li.current-cat-parent ul.children,
+#secondary .widget_categories li.current-cat-parent ul.children,
+#tertiary .widget_categories li.current-cat-parent ul.children {
+ display: block;
+}
+
+#primary .widget_categories li.current-cat ul.children,
+#secondary .widget_categories li.current-cat ul.children,
+#tertiary .widget_categories li.current-cat ul.children {
+ display: block;
+}
+
+
+#primary ul .widget_categories li.current-cat,
+#secondary ul .widget_categories li.current-cat,
+#tertiary ul .widget_categories li.current-cat {
+ display: block;
+}
+
+
/* End widget list css */
/* Begin sidebar search form */

0 comments on commit 27de910

Please sign in to comment.