mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 03:14:10 +08:00
More fine-grained admin menu classification to limit accidental item iconification.
--HG-- branch : dev
This commit is contained in:
@@ -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;
|
||||
}
|
@@ -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;
|
||||
}
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user