More fine-grained admin menu classification to limit accidental item iconification.

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2011-02-23 10:09:30 -08:00
parent d2e0b764d7
commit 4a7930d33f
3 changed files with 11 additions and 11 deletions

View File

@@ -1,16 +1,15 @@
.navicon-list,
.navicon-lists {
.navicon-lists,
.section-new .subnavicon-list {
background-image:url(images/menu.list.png) !important;
}
.navicon-list:hover,
.navicon-lists:hover {
background-position:0 -30px !important;
}
/* subnav */
ul ul .navicon-list {
.section-new .subnavicon-list {
background-position:0 6px !important;
padding-left:20px !important;
}
ul ul .navicon-list:hover {
.section-new .subnavicon-list:hover {
background-position:0 -26px !important;
}

View File

@@ -1,14 +1,15 @@
.navicon-page {
.navicon-page,
.section-new .subnavicon-page {
background-image:url(images/menu.page.png) !important;
}
.navicon-page:hover {
background-position:0 -30px !important;
}
/* subnav */
ul ul .navicon-page {
.section-new .subnavicon-page {
background-position:0 6px !important;
padding-left:20px !important;
}
ul ul .navicon-page:hover {
.section-new .subnavicon-page:hover {
background-position:0 -26px !important;
}

View File

@@ -69,10 +69,10 @@
@foreach (var secondLevelMenuItem in secondLevelMenuItems.Where(menuItem => !menuItem.LocalNav)) {
string secondLevelTextHint = secondLevelMenuItem.TextHint;
var secondLevelItemClassName = HasText(secondLevelTextHint)
? "navicon-" + secondLevelTextHint.HtmlClassify()
: "navicon";
? "subnavicon-" + secondLevelTextHint.HtmlClassify()
: "subnavicon";
var secondLevelItemId = HasText(secondLevelMenuItem.IdHint)
? "navicon-" + secondLevelMenuItem.IdHint
? "subnavicon-" + secondLevelMenuItem.IdHint
: null;
if (secondLevelMenuItem.Selected) {