commit 0eefd24d92192e8b3ab7cb85d4b76536b2167ce4
parent a18bad6e5cb5f74cc6e12e3f92f807d4c2b5640d
Author: Dan Stillman <dstillman@zotero.org>
Date: Wed, 18 Feb 2015 05:25:28 -0500
Fix color of Z icon on OS X for current Firefox theme
The Firefox theme changed at some point since Australis to use darker,
non-gradient icons. (Sorry ESR users.)
Not sure if this needs to change on Win/Linux too.
Diffstat:
2 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/chrome/skin/default/zotero/zotero-z-16px-australis.svg b/chrome/skin/default/zotero/zotero-z-16px-australis.svg
@@ -3,6 +3,10 @@
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="16px" height="16px">
<defs>
<style type="text/css"><![CDATA[
+ polygon {
+ stroke: #000;
+ }
+
/* Linux */
#s1 {
stop-color: #899199;
@@ -13,11 +17,14 @@
/* Mac OS X (except Aqua on Snow Leopard) */
@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
+ polygon {
+ stroke: #4d4d4d;
+ }
#s1 {
- stop-color: #939393;
+ stop-color: #4d4d4d;
}
#s2 {
- stop-color: #848484;
+ stop-color: #4d4d4d;
}
}
@@ -61,5 +68,5 @@
</filter>
</defs>
<polygon points="2.867,1 13.133,1 13.133,5.667 7.533,11.267 13.133,11.267
- 13.133,15 2.867,15 2.867,11.267 9.399,4.733 2.867,4.733" style="fill: url(#lg); stroke: #000; stroke-width: 0.2; stroke-miterlimit: 4; filter: url(#f);" />
+ 13.133,15 2.867,15 2.867,11.267 9.399,4.733 2.867,4.733" style="fill: url(#lg); stroke-width: 0.2; stroke-miterlimit: 4; filter: url(#f);" />
</svg>
diff --git a/chrome/skin/default/zotero/zotero-z-32px-australis.svg b/chrome/skin/default/zotero/zotero-z-32px-australis.svg
@@ -3,6 +3,10 @@
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="-8 -8 32 32" width="32px" height="32px">
<defs>
<style type="text/css"><![CDATA[
+ polygon {
+ stroke: #000;
+ }
+
/* Linux */
#s1 {
stop-color: #899199;
@@ -13,11 +17,14 @@
/* Mac OS X (except Aqua on Snow Leopard) */
@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
+ polygon {
+ stroke: #4d4d4d;
+ }
#s1 {
- stop-color: #939393;
+ stop-color: #4d4d4d;
}
#s2 {
- stop-color: #848484;
+ stop-color: #4d4d4d;
}
}
@@ -61,5 +68,5 @@
</filter>
</defs>
<polygon points="-2.267,-6 18.267,-6 18.267,3.333 7.066,14.533
- 18.267,14.533 18.267,22 -2.267,22 -2.267,14.533 10.8,1.467 -2.267,1.467" style="fill: url(#lg); stroke: #000; stroke-width: 0.2; stroke-miterlimit: 4; filter: url(#f);" />
+ 18.267,14.533 18.267,22 -2.267,22 -2.267,14.533 10.8,1.467 -2.267,1.467" style="fill: url(#lg); stroke-width: 0.2; stroke-miterlimit: 4; filter: url(#f);" />
</svg>