Permalink
Browse files

Replaced "disabled" PNG icon by SVG icon and the grayed out icon by

a grayscale filter
  • Loading branch information...
1 parent b054715 commit c55fb6c0b238c27ae4b978eb416b49a1431765e6 @SebastianZ SebastianZ committed May 23, 2012
View
6 extension/skin/classic/css.css
@@ -175,15 +175,17 @@
}
.cssProp.editGroup:hover {
- background: transparent url(chrome://firebug/skin/disable.png) no-repeat 2px 1px;
+ background: transparent url(chrome://firebug/skin/disable.svg) no-repeat 2px 1px;
+ filter: none;
}
.cssProp.editGroup > span:first-child {
cursor: pointer;
}
.cssProp.disabledStyle {
- background: transparent url(chrome://firebug/skin/disableHover.png) no-repeat 2px 1px;
+ background: transparent url(chrome://firebug/skin/disable.svg) no-repeat 2px 1px;
+ filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale");
color: #CCCCCC;
}
View
BIN extension/skin/classic/disable.png
Deleted file not rendered
View
18 extension/skin/classic/disable.svg
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.1"
+ width="12"
+ height="12"
+ id="svg2">
+ <defs
+ id="defs4" />
+ <path
+ d="M 5.5625,0 A 6,6 0 0 0 0,6 6,6 0 0 0 12,6 6,6 0 0 0 5.5625,0 z m 0.15625,2 a 4,4 0 0 1 2.25,0.5 L 2.5,7.96875 A 4,4 0 0 1 2,6 4,4 0 0 1 5.71875,2 z m 3.6875,1.90625 A 4,4 0 0 1 10,6 4,4 0 0 1 3.90625,9.40625 l 5.5,-5.5 z"
+ id="path2989"
+ style="fill:#ff0000;fill-opacity:1;stroke:#a00000;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+</svg>
View
BIN extension/skin/classic/disableHover.png
Deleted file not rendered

0 comments on commit c55fb6c

Please sign in to comment.