Bug 1079719 - Replace "greyscale" SVG filter with filter: grayscale(1). r=dao

This commit is contained in:
Kapil Singh 2014-10-16 15:43:39 +02:00
parent e01d4098e9
commit d04b525942
10 changed files with 6 additions and 29 deletions

View File

@ -401,7 +401,7 @@
}
.addon[active="false"] .icon {
filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale");
filter: grayscale(1);
}
.addon-view[type="theme"] .icon {

View File

@ -146,7 +146,7 @@
.addon:not([active]) .addon-icon,
#disable-list .addon-icon,
#incompatible-list .addon-icon {
filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale");
filter: grayscale(1);
}
#footer {

View File

@ -466,7 +466,7 @@
}
.addon[active="false"] .icon {
filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale");
filter: grayscale(1);
}
.addon-view[type="theme"] .icon {

View File

@ -1,10 +0,0 @@
<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<svg xmlns="http://www.w3.org/2000/svg">
<filter id="greyscale">
<feColorMatrix type="saturate" values="0"/>
</filter>
</svg>

Before

Width:  |  Height:  |  Size: 369 B

View File

@ -145,7 +145,7 @@
.addon:not([active]) .addon-icon,
#disable-list .addon-icon,
#incompatible-list .addon-icon {
filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale");
filter: grayscale(1);
}
#footer {

View File

@ -47,7 +47,6 @@ toolkit.jar:
skin/classic/mozapps/extensions/search.png (extensions/search.png)
skin/classic/mozapps/extensions/about.css (extensions/about.css)
* skin/classic/mozapps/extensions/extensions.css (extensions/extensions.css)
skin/classic/mozapps/extensions/extensions.svg (extensions/extensions.svg)
* skin/classic/mozapps/extensions/selectAddons.css (extensions/selectAddons.css)
skin/classic/mozapps/extensions/update.css (extensions/update.css)
skin/classic/mozapps/extensions/eula.css (extensions/eula.css)

View File

@ -473,7 +473,7 @@
}
.addon[active="false"] .icon {
filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale");
filter: grayscale(1);
}

View File

@ -1,10 +0,0 @@
<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<svg xmlns="http://www.w3.org/2000/svg">
<filter id="greyscale">
<feColorMatrix type="saturate" values="0"/>
</filter>
</svg>

Before

Width:  |  Height:  |  Size: 369 B

View File

@ -158,7 +158,7 @@
.addon:not([active]) .addon-icon,
#disable-list .addon-icon,
#incompatible-list .addon-icon {
filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale");
filter: grayscale(1);
}
#footer {

View File

@ -16,7 +16,6 @@ toolkit.jar:
* skin/classic/mozapps/extensions/extensions.css (extensions/extensions.css)
* skin/classic/mozapps/extensions/selectAddons.css (extensions/selectAddons.css)
skin/classic/mozapps/extensions/update.css (extensions/update.css)
skin/classic/mozapps/extensions/extensions.svg (extensions/extensions.svg)
skin/classic/mozapps/extensions/category-search.png (extensions/category-search.png)
skin/classic/mozapps/extensions/category-discover.png (extensions/category-discover.png)
skin/classic/mozapps/extensions/category-languages.png (extensions/localeGeneric.png)
@ -99,7 +98,6 @@ toolkit.jar:
* skin/classic/aero/mozapps/extensions/extensions.css (extensions/extensions-aero.css)
* skin/classic/aero/mozapps/extensions/selectAddons.css (extensions/selectAddons-aero.css)
skin/classic/aero/mozapps/extensions/update.css (extensions/update.css)
skin/classic/aero/mozapps/extensions/extensions.svg (extensions/extensions.svg)
skin/classic/aero/mozapps/extensions/category-search.png (extensions/category-search.png)
skin/classic/aero/mozapps/extensions/category-discover.png (extensions/category-discover-aero.png)
skin/classic/aero/mozapps/extensions/category-languages.png (extensions/localeGeneric-aero.png)