mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-22 20:13:50 +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:
@@ -8,7 +8,7 @@ namespace Orchard.Core.Dashboard {
|
||||
public string MenuName { get { return "admin"; } }
|
||||
|
||||
public void GetNavigation(NavigationBuilder builder) {
|
||||
builder.AddImageSet("dashboard.menu")
|
||||
builder.AddImageSet("dashboard")
|
||||
.Add(T("Dashboard"), "-5",
|
||||
menu => menu.Add(T("Orchard"), "-5",
|
||||
item => item
|
||||
|
@@ -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;
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 224 B |
BIN
src/Orchard.Web/Core/Dashboard/styles/images/menu.dashboard.png
Normal file
BIN
src/Orchard.Web/Core/Dashboard/styles/images/menu.dashboard.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 262 B |
6
src/Orchard.Web/Core/Dashboard/styles/menu.dashboard.css
Normal file
6
src/Orchard.Web/Core/Dashboard/styles/menu.dashboard.css
Normal file
@@ -0,0 +1,6 @@
|
||||
.navicon-dashboard {
|
||||
background-image:url(images/menu.dashboard.png) !important;
|
||||
}
|
||||
.navicon-dashboard:hover {
|
||||
background-position:0 -30px !important;
|
||||
}
|
@@ -239,8 +239,8 @@
|
||||
<Content Include="Contents\Views\Admin\Create.cshtml" />
|
||||
<Content Include="Contents\Views\Admin\Edit.cshtml" />
|
||||
<Content Include="Contents\Views\Admin\List.cshtml" />
|
||||
<Content Include="Dashboard\styles\dashboard.menu.css" />
|
||||
<Content Include="Dashboard\styles\images\dashboard.menu.png" />
|
||||
<Content Include="Dashboard\styles\menu.dashboard.css" />
|
||||
<Content Include="Dashboard\styles\images\menu.dashboard.png" />
|
||||
<Content Include="Feeds\Views\Feed.cshtml" />
|
||||
<Content Include="Contents\Views\Parts.Contents.Publish.cshtml" />
|
||||
<Content Include="Contents\Views\Parts.Contents.Publish.SummaryAdmin.cshtml" />
|
||||
|
Reference in New Issue
Block a user