Permalink
Browse files

MDL-29605-modify Afterburner menu to allow auto format

  • Loading branch information...
1 parent 228d24f commit 39d59f934f09997e7b6449d57cf6f12b1a3f7c7d @lazydaisy lazydaisy committed Oct 1, 2011
Showing with 11 additions and 8 deletions.
  1. +11 −8 theme/afterburner/style/afterburner_menu.css
@@ -33,10 +33,11 @@ ul.dropdown span.customitem a:hover {
border: 0;
}
#custommenu ul.dropdown ul {
- padding:0;width:185px;
+ padding:0;
+ width:auto;
}
#custommenu ul.dropdown ul a {
- padding:4px 0px 4px 18px;
+ padding:4px 18px;
}
#custommenu ul.dropdown > li span a {
height:16px;
@@ -73,8 +74,8 @@ ul.dropdown ul {
visibility:hidden;
position:absolute;
top:100%;z-index:598;
- left:auto;
- right:0;
+ left:0;
+ right:auto;
margin-top: -1px;
font:100% "Trebuchet MS",Arial,Helvetica,sans-serif;
}
@@ -101,23 +102,25 @@ ul.dropdown li:hover > ul {
ul.dropdown span,
ul.dropdown span a,
ul.dropdown li.clickable-with-children > a {
- background-color: #34637f;
- width:145px;
+ background-color: #34637f;
+ width:auto;
padding:2px 6px 4px 20px;
color: #fff;
}
ul.dropdown ul span,
ul.dropdown ul span a,
ul.dropdown ul li.clickable-with-children > a {
- background: #34637f url([[pix:theme|menu/nav-arrow-right]]);
+ background-color:#34637f;
+ background-image: url([[pix:theme|menu/nav-arrow-right]]);
background-position:100% 50%;
background-repeat:no-repeat;
color: #fff;
}
ul.dropdown ul ul span,
ul.dropdown ul ul span a,
ul.dropdown ul ul li.clickable-with-children > a {
- background-image: #34637f url([[pix:theme|menu/nav-arrow-right]]);
+ background-color:#34637f;
+ background-image: url([[pix:theme|menu/nav-arrow-right]]);
background-position:100% 50%;
background-repeat:no-repeat;
color: #fff;

0 comments on commit 39d59f9

Please sign in to comment.