Merge pull request #1151 from arknu/icon-transparency
Fix transparency for image icons in the tray
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
if(convert){
|
||||
element.html("<i class='icon-section " + convert + "'></i>");
|
||||
}else{
|
||||
element.html("<img src='images/tray/" + icon + "'>");
|
||||
element.html("<img class='icon-section' src='images/tray/" + icon + "'>");
|
||||
}
|
||||
//it's a file, normally legacy so look in the icon tray images
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user