mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 13:51:22 +08:00
Fixing conflict between lists and container admin navicon by applying the unused menu.list-definition.png to lists
This commit is contained in:
parent
79ade4b6f8
commit
df34496aa2
@ -76,7 +76,7 @@ namespace Orchard.Core.Containers {
|
||||
item.Action(containerMetadata.AdminRouteValues);
|
||||
|
||||
item.Action(containerMetadata.AdminRouteValues);
|
||||
item.AddClass("nav-list");
|
||||
item.AddClass("section-container");
|
||||
item.AddClass(closureContainer.AdminMenuText.HtmlClassify());
|
||||
item.LinkToFirstChild(false);
|
||||
|
||||
|
@ -1,22 +1,7 @@
|
||||
.navicon-list,
|
||||
.navicon-lists,
|
||||
.section-new .subnavicon-list,
|
||||
.nav-list > h3 > a,
|
||||
.nav-list-definition > h3 > a {
|
||||
.menu-admin > .section-container > h3 > a {
|
||||
background-image: url(images/menu.container.png) !important;
|
||||
}
|
||||
|
||||
.navicon-list:hover,
|
||||
.navicon-lists:hover,
|
||||
.nav-list > h3 > a:hover,
|
||||
.nav-list-definition > h3 > a:hover {
|
||||
.menu-admin > .section-container > h3 > a:hover {
|
||||
background-position: 0 -30px !important;
|
||||
}
|
||||
|
||||
.navicon-lists {
|
||||
background-image: url(images/menu.container.png) !important;
|
||||
}
|
||||
|
||||
.navicon-lists:hover {
|
||||
background-position: 0 -30px !important;
|
||||
}
|
@ -8,7 +8,7 @@ namespace Orchard.Lists {
|
||||
|
||||
public void GetNavigation(NavigationBuilder builder) =>
|
||||
builder
|
||||
.AddImageSet("container")
|
||||
.AddImageSet("lists")
|
||||
.Add(T("Lists"), "11", item => item
|
||||
.Action("Index", "Admin", new { area = "Orchard.Lists" }).Permission(Permissions.ManageLists));
|
||||
}
|
||||
|
@ -115,6 +115,7 @@
|
||||
<Content Include="Styles\images\icons.png" />
|
||||
<Content Include="Styles\images\view.default.png" />
|
||||
<Content Include="Styles\images\view.condensed.png" />
|
||||
<Content Include="Styles\menu.lists-admin.css" />
|
||||
<Content Include="Styles\nprogress.css" />
|
||||
<Content Include="Scripts\nprogress.js" />
|
||||
<Content Include="Scripts\orchard-lists-admin.js" />
|
||||
@ -143,7 +144,7 @@
|
||||
<Content Include="Scripts\orchard-lists-admin.min.js">
|
||||
<DependentUpon>orchard-lists-admin.js</DependentUpon>
|
||||
</Content>
|
||||
<Content Include="Styles\images\menu.list-definition.png" />
|
||||
<Content Include="Styles\images\menu.lists.png" />
|
||||
<Content Include="Styles\images\move.gif" />
|
||||
<Content Include="Styles\images\offline.gif" />
|
||||
<Content Include="Styles\images\online.gif" />
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
@ -0,0 +1,7 @@
|
||||
.navicon-lists {
|
||||
background-image: url(images/menu.lists.png) !important;
|
||||
}
|
||||
|
||||
.navicon-lists:hover {
|
||||
background-position: 0 -30px !important;
|
||||
}
|
Loading…
Reference in New Issue
Block a user