mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Progress made on the menu icons.
- Styles being inherited correctly down to the "New" section's sub items. - Menu using the TextHint for generating class names instead of the menu text for predictability across localized sites. --HG-- branch : dev
This commit is contained in:
@@ -7,7 +7,7 @@ namespace Orchard.Core.Dashboard {
|
||||
public string MenuName { get { return "admin"; } }
|
||||
|
||||
public void GetNavigation(NavigationBuilder builder) {
|
||||
builder.AddImageSet("page.menu");
|
||||
builder.AddImageSet("page");
|
||||
}
|
||||
}
|
||||
}
|
@@ -55,8 +55,8 @@
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Styles\page.menu.css" />
|
||||
<Content Include="Styles\images\page.menu.png" />
|
||||
<Content Include="Styles\menu.page.css" />
|
||||
<Content Include="Styles\images\menu.page.png" />
|
||||
<Content Include="web.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
Binary file not shown.
After Width: | Height: | Size: 243 B |
14
src/Orchard.Web/Modules/Orchard.Pages/Styles/menu.page.css
Normal file
14
src/Orchard.Web/Modules/Orchard.Pages/Styles/menu.page.css
Normal file
@@ -0,0 +1,14 @@
|
||||
.navicon-page {
|
||||
background-image:url(images/menu.page.png) !important;
|
||||
}
|
||||
.navicon-page:hover {
|
||||
background-position:0 -30px !important;
|
||||
}
|
||||
/* subnav */
|
||||
ul ul .navicon-page {
|
||||
background-position:0 6px !important;
|
||||
padding-left:16px !important;
|
||||
}
|
||||
ul ul .navicon-page:hover {
|
||||
background-position:0 -26px !important;
|
||||
}
|
@@ -1,7 +0,0 @@
|
||||
.navicon-dashboard {
|
||||
background-image:url(images/dashboard.menu.png) !important;
|
||||
background-position:0 2px !important;
|
||||
}
|
||||
.navicon-dashboard:hover {
|
||||
background-position:0 -30px !important;
|
||||
}
|
Reference in New Issue
Block a user