Fix AssetAdmin icon reference

Needs to use namespaced class name (see LeftAndMain->Menu()).
Not replacing the old .icon-assetadmin rule since we want the old and new UI to co-exist for a short while.
Ideally we'd move these styles to the asset-admin module, but the whole way of referencing image sprites
is outdated anyway - so I'd prefer to merge this quick fix and think about SVG icons for menu entries instead.
This commit is contained in:
Ingo Schommer 2016-04-21 20:59:29 +12:00
parent 9331b4095a
commit 8c63ae3d68
3 changed files with 8 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -19,7 +19,8 @@
&.icon-campaignadmin {
background-position: 0 round(nth(sprite-position($sprite, "collection"), 2) / 2);
}
&.icon-assetadmin {
&.icon-assetadmin,
&.icon-silverstripe-assetadmin-controller-assetadmin {
background-position: 0 round(nth(sprite-position($sprite, "picture"), 2) / 2);
}
&.icon-cmsmain {

View File

@ -71,7 +71,8 @@
&.icon-campaignadmin {
@include sprite($menu-icons-24x24-collection, inline-block);
}
&.icon-assetadmin {
&.icon-assetadmin,
&.icon-silverstripe-assetadmin-controller-assetadmin {
@include sprite($menu-icons-24x24-picture, inline-block);
}
&.icon-cmsmain {
@ -105,7 +106,8 @@
&.icon-campaignadmin {
@include sprite($menu-icons-16x16-collection, inline-block);
}
&.icon-assetadmin {
&.icon-assetadmin,
&.icon-silverstripe-assetadmin-controller-assetadmin {
@include sprite($menu-icons-16x16-picture, inline-block);
}
&.icon-cmsmain {