Doug Stewart avatar Doug Stewart committed b78d1ee

CSS fixes for menus. Should fix #5 and #6.

Comments (0)

Files changed (4)

 
 ### VERSION HISTORY ###
 
+* Version 1.3.7
+	* **Issues Fixed**
+		*Top-level drop-downs should now be styled correctly and consistently
+		* Custom menus added as widgets should no longer get styling from top-level menus
 * Version 1.3.6
 	* **Features Added**
 		* Greater CSS flexibility (selectors aren't as specific, allowing for easier child theming)
 	* Initial release
 
 ### KNOWN ISSUES ###
+* Versopm 1.3.6
+	* <del>Drop-down primary menu CSS is overlapping incorrectly[*](https://bitbucket.org/zamoose/elbee-elgee/issue/5/drop-down-menus-not-aligning-correctly)</del>
+	* <del>"Greedy" CSS selectors causing menus added as custom widgets to get incorrect styling[*](https://bitbucket.org/zamoose/elbee-elgee/issue/6/overly-greedy-css-causing-menus-in-widgets)</del>
 * Version 1.3.5
 	* [BP GTM System](http://ovirium.com/plugins/bp-gtm-system/) is incompatible with Elbee Elgee
 	* <del>BuddyPress Groups widget AJAX doesn't work -- full page reload caused by clicks</del>
  * Author URI: http://literalbarrage.org/blog/
  * License: GPL v2
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
- * Version: 1.3.6
+ * Version: 1.3.7
  * Tags: buddypress, two-columns, three-columns, one-column, left-sidebar, right-sidebar, white, blue, fixed-width, flexible-width, custom-header, custom-menu, featured-images, sticky-post, theme-options
  *
  * Elbee Elgee WordPress Theme, Copyright (C) 2011 Doug Stewart
 	padding-left: 20px;
 }
 
-#menu li, 
-div.menu li,
-li.menu-item {
+#menu li {
 	display: inline-block;
 }
 
 	float: none;
 }
 
-/*#menu a:link,
-#menu a:visited,*/
-.menu a:link,
-.menu a:visited {
+#menu a:link,
+#menu a:visited {
 	padding: 5px 10px;
 	color: #fff;
 	text-decoration: none;
 	font-weight: bold;
 }
 
-/*#menu a:active,
-#menu a:hover,*/
-.menu a:active,
-.menu a:hover,
-.current_page_item > a:link,
-.current_page_item > a:visited {
+#menu a:active,
+#menu a:hover {
 	background: #fff;
 	color: #0971B3;
 }
 
+#menu .current_page_item > a:link,
+#menu .current_page_item > a:visited {
+	background: #fff;
+	color: #000;
+}
+
 li.current_page_item,
 #lb-bp-nav ul.menu > li.current-menu-item {
 	background: #fff;

styles/ng/ng-base.css

 #menu ul ul li, 
 div.menu ul ul li {
 	position: relative;
+	width: 100%;
 }
 
 #menu ul li:hover > ul, 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.