From 4d950fb4d4e4fd945dc43df1a5cb6471ffa09681 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn=20Riis-Knudsen?= Date: Sun, 28 Feb 2016 17:40:58 +0100 Subject: [PATCH] Fix transparency for image icons in the tray --- .../components/application/sectionicon.directive.js | 2 +- src/Umbraco.Web.UI.Client/src/less/sections.less | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/application/sectionicon.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/application/sectionicon.directive.js index d6a4537262..28b6620aeb 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/components/application/sectionicon.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/application/sectionicon.directive.js @@ -17,7 +17,7 @@ if(convert){ element.html(""); }else{ - element.html(""); + element.html(""); } //it's a file, normally legacy so look in the icon tray images } diff --git a/src/Umbraco.Web.UI.Client/src/less/sections.less b/src/Umbraco.Web.UI.Client/src/less/sections.less index f57feeb2ad..c2db58a99e 100644 --- a/src/Umbraco.Web.UI.Client/src/less/sections.less +++ b/src/Umbraco.Web.UI.Client/src/less/sections.less @@ -19,7 +19,8 @@ ul.sections li { } ul.sections li [class^="icon-"]:before, -ul.sections li [class*=" icon-"]:before{ +ul.sections li [class*=" icon-"]:before, +ul.sections li img.icon-section { font-size: 30px; margin: 1px 0 0 0; opacity: 0.4; @@ -29,7 +30,8 @@ ul.sections li [class*=" icon-"]:before{ } ul.sections:hover li [class^="icon-"]:before, -ul.sections:hover li [class*=" icon-"]:before { +ul.sections:hover li [class*=" icon-"]:before, +ul.sections:hover li img.icon-section { opacity: 1 }