Doug Stewart avatar Doug Stewart committed 52866a8

Importing changes from 1.3 maintenance branch and doing general code cleanup.

Comments (0)

Files changed (3)

 
 ### 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 ###
+* Version 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>

includes/functions/options.php

 /**
  * Sanitizes options before sending them to the databse.
  * 
- * @global  type $lblg_shortname
- * @global  type $lblg_default_options
- * @global  type $lblg_options
+ * @global  string $lblg_shortname
+ * @global  array $lblg_default_options
+ * @global  array $lblg_options
  * @param   array $input
  * @return  array
  */
  * Theme Name: Elbee Elgee
  * Theme URI: http://literalbarrage.org/blog/code/lblg
  * Short Name: lblg
- * Support URI: http://wordpress.org/tags/elbee-elgee?forum_id=5
+ * Support URI: http://literalbarrage.org/blog/forums/themes/lblg/
  * Description: An extremely flexible 1, 2, or 3 column theme with over 30 possible layouts and support for widgetized sidebars, custom headers, custom backgrounds, custom navigation menus, BuddyPress and bbPress.
  * Author: Doug Stewart
  * Author URI: http://literalbarrage.org/blog/
 #header {
 }
 
-#menu, div.menu {
+#menu,
+div.menu {
 	margin: 0;
 	padding: 0;
 	float: left;
 	margin-left:-49%
 }
 
-#archive-posts{
+#archive-posts {
 	margin-left: 50%;
 	padding-left: 5%;
 }
 
-#archive-categories{
+#archive-categories {
 	float: right;
 	width: 44%;
 	padding-right: 5%;
 
 /* @end */
 
-
-
 #header h1 {
 }
 
 	padding-left: 20px;
 }
 
-
-
-#menu > ul > li, div.menu > ul > li  {
+#menu > ul > li,
+div.menu > ul > li  {
 	display: inline-block;
 	/*list-style-type: none;
 	margin: 0;
 	padding: 0;*/
 }
 
-#menu > ul > li a:link, #menu > ul > li a:visited,
-div.menu > ul > li a:link, div.menu > ul > li a:visited {
+#menu > ul > li a:link,
+#menu > ul > li a:visited,
+div.menu > ul > li a:link,
+div.menu > ul > li a:visited {
 	display:  block;
 }
 
 #menu li:first-child a {
 }
 
-.series-links, .series-toc {
+.series-links,
+.series-toc {
 	font-size: 77%;
 }
 
 
 /* @group List reset */
 
-
-#navigation ul, #extra ul, #footer ul, #footer ol, #bigbar ul {
+#navigation ul,
+#extra ul,
+#footer ul,
+#footer ol,
+#bigbar ul {
 	margin: 5px 0 0;
 	padding-left: 0;
 	padding-right: 5px;
 }
 
-#navigation ul li, #extra ul li, #footer ul li, #bigbar ul li {
+#navigation ul li,
+#extra ul li,
+#footer ul li,
+#bigbar ul li {
 	list-style-type: none;
 	list-style-image: none;
 }
 
 /* @group Alignment classes */
 
-.center, .aligncenter {
+.center,
+.aligncenter {
         text-align: center;
 		margin: 0 auto;
 }
 
 /* @group Image classes */
 
-img.center, img.aligncenter, img[align="center"] {
+img.center,
+img.aligncenter,
+img[align="center"] {
     display: block;
 	margin: 0 auto !important;
 	_margin-right: auto;
 	_margin-left: auto;
 }
 
-img.alignright, img[align="right"] {
+img.alignright,
+img[align="right"] {
     padding: 4px !important;
 	_padding: 4px;
     margin: 0 0 2px 7px !important;
     display: inline;
 }
 
-img.alignleft, img[align="left"] {
+img.alignleft,
+img[align="left"] {
     padding: 4px;
 	_padding: 4px;
 	margin: 0 7px 2px 0;
     display: inline;
 }
-				        
+
 img.noborder {
         border: none !important;
 }
 	max-width: 100%;
 }
 
-.lifestream_icon img, .btc-summary img {
+.lifestream_icon img,
+.btc-summary img {
 	border: 0 none !important;
 }
 
 
 /* @group Gravatar classes */
 
-.gravatar, .avatar {
+.gravatar,
+.avatar {
 	float: left;
 	padding: 3px;
 	border: 1px solid #3c3c3c;
 
 /* @group Drop-down meta classes */
 
-#site-meta, #site-quickpost {
+#site-meta,
+#site-quickpost {
 	position:fixed;
 	width:100%;
 	z-index:1000;
 	text-align: right;
 }
 
-#meta-anchor, #quickpost-anchor {
+#meta-anchor,
+#quickpost-anchor {
 	display:block;
 	float: right;
 	background-color:#eee;
 	padding: 0px;
 }
 
-#comments li.odd, #comments li.even, #comments li.highlight {
+#comments li.odd,
+#comments li.even,
+#comments li.highlight {
 	padding: 5px;
 }
 
 	color: #333;
 }
 
-.notification, .category-notification {
+.notification,
+.category-notification {
 	border-color: #669933;
 	border: 1px solid;
 	background-color: #9BCF7B;
 	padding: 10px;
 }
 
-div.notification a, div.category-notification a{
+div.notification a,
+div.category-notification a{
 	color: #4d7424;
 }
 
-.alert, .category-alert {
+.alert,
+.category-alert {
 	border: 1px solid #E6DB55;
 	background-color: lightYellow;
 	color: #000;
 	padding: 10px;
 }
 
-.warning, .category-warning {
+.warning,
+.category-warning {
 	border: 1px solid;
 	border-color: #D43C3C;
 	background-color: #faa19f;
 	padding: 10px;
 }
 
-div.warning a, div.category-warning a {
+div.warning a,
+div.category-warning a {
 	color: #d43c3c;
 }
 
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.