www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit b758af7b08edf751c1b0c3957e509ccb4898ef77
parent f70d0c0b2955bb97580f869cbe503914f8c16e58
Author: Simon Kornblith <simon@simonster.com>
Date:   Thu, 24 Apr 2014 01:12:40 -0400

Add Australis-style Z icons

Diffstat:
Achrome/skin/default/zotero/zotero-z-16px-australis.svg | 65+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Achrome/skin/default/zotero/zotero-z-32px-australis.svg | 65+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mchrome/skin/default/zotero/zotero.css | 15+++++++++++++++
3 files changed, 145 insertions(+), 0 deletions(-)

diff --git a/chrome/skin/default/zotero/zotero-z-16px-australis.svg b/chrome/skin/default/zotero/zotero-z-16px-australis.svg @@ -0,0 +1,65 @@ +<?xml version="1.0"?> + +<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="16px" height="16px"> + <defs> + <style type="text/css"><![CDATA[ + /* Linux */ + #s1 { + stop-color: #899199; + } + #s2 { + stop-color: #7f868d; + } + + /* Mac OS X (except Aqua on Snow Leopard) */ + @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) { + #s1 { + stop-color: #939393; + } + #s2 { + stop-color: #848484; + } + } + + /* Windows Classic & Luna */ + @media (-moz-windows-theme) { + #s1 { + stop-color: #899198; + } + #s2 { + stop-color: #737b82; + } + } + + /* Windows Aero */ + @media (-moz-windows-theme: aero), (-moz-windows-theme: aero-lite) { + #s1 { + stop-color: #85919e; + } + #s2 { + stop-color: #68717d; + } + } + ]]></style> + <linearGradient x1="0" y1="2" x2="0" y2="30" gradientUnits="userSpaceOnUse" id="lg"> + <stop id="s1" offset="0" /> + <stop id="s2" offset="1" /> + </linearGradient> + <filter color-interpolation-filters="sRGB" id="f"> + <feGaussianBlur result="r8" stdDeviation="0.5" /> + <feOffset result="r11" dy="0.5" dx="0" /> + <feComposite in2="r11" operator="in" in="SourceGraphic" result="r6" /> + <feFlood flood-color="#000" flood-opacity="0.75" in="r6" result="r10" /> + <feBlend in2="r10" mode="normal" in="r6" result="r12" /> + <feComposite in2="SourceGraphic" operator="in" result="fbSourceGraphic" /> + <feColorMatrix values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0" in="fbSourceGraphic" result="fbSourceGraphicAlpha" /> + <feFlood in="fbSourceGraphic" result="flood" flood-color="#fff" flood-opacity="0.5" /> + <feComposite in2="fbSourceGraphic" operator="in" in="flood" result="c1" /> + <feGaussianBlur result="blur" stdDeviation="1.5 0.01" /> + <feOffset result="offset" dy="1.5" dx="0" /> + <feComposite in2="offset" operator="over" in="fbSourceGraphic" result="c2" /> + </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);" /> +</svg> diff --git a/chrome/skin/default/zotero/zotero-z-32px-australis.svg b/chrome/skin/default/zotero/zotero-z-32px-australis.svg @@ -0,0 +1,65 @@ +<?xml version="1.0"?> + +<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[ + /* Linux */ + #s1 { + stop-color: #899199; + } + #s2 { + stop-color: #7f868d; + } + + /* Mac OS X (except Aqua on Snow Leopard) */ + @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) { + #s1 { + stop-color: #939393; + } + #s2 { + stop-color: #848484; + } + } + + /* Windows Classic & Luna */ + @media (-moz-windows-theme) { + #s1 { + stop-color: #899198; + } + #s2 { + stop-color: #737b82; + } + } + + /* Windows Aero */ + @media (-moz-windows-theme: aero), (-moz-windows-theme: aero-lite) { + #s1 { + stop-color: #85919e; + } + #s2 { + stop-color: #68717d; + } + } + ]]></style> + <linearGradient x1="0" y1="2" x2="0" y2="30" gradientUnits="userSpaceOnUse" id="lg"> + <stop id="s1" offset="0" /> + <stop id="s2" offset="1" /> + </linearGradient> + <filter color-interpolation-filters="sRGB" id="f"> + <feGaussianBlur result="r8" stdDeviation="0.5" /> + <feOffset result="r11" dy="0.5" dx="0" /> + <feComposite in2="r11" operator="in" in="SourceGraphic" result="r6" /> + <feFlood flood-color="#000" flood-opacity="0.75" in="r6" result="r10" /> + <feBlend in2="r10" mode="normal" in="r6" result="r12" /> + <feComposite in2="SourceGraphic" operator="in" result="fbSourceGraphic" /> + <feColorMatrix values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0" in="fbSourceGraphic" result="fbSourceGraphicAlpha" /> + <feFlood in="fbSourceGraphic" result="flood" flood-color="#fff" flood-opacity="0.5" /> + <feComposite in2="fbSourceGraphic" operator="in" in="flood" result="c1" /> + <feGaussianBlur result="blur" stdDeviation="1.5 0.01" /> + <feOffset result="offset" dy="1.5" dx="0" /> + <feComposite in2="offset" operator="over" in="fbSourceGraphic" result="c2" /> + </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);" /> +</svg> diff --git a/chrome/skin/default/zotero/zotero.css b/chrome/skin/default/zotero/zotero.css @@ -24,6 +24,8 @@ /* Add-on bar and toolbar icon */ + +/* Old styling */ #zotero-toolbar-button { list-style-image: url(chrome://zotero/skin/zotero-z-24px.png); } @@ -40,6 +42,19 @@ toolbar[iconsize="small"] #zotero-toolbar-button:active { list-style-image: url(chrome://zotero/skin/zotero-z-16px-active.png); } +/* Australis styling */ +#zotero-toolbar-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #zotero-toolbar-button, +#zotero-toolbar-button:active[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #zotero-toolbar-button:active { + list-style-image: url("chrome://zotero/skin/zotero-z-32px-australis.svg"); +} + +#zotero-toolbar-button[cui-areatype="toolbar"], +#zotero-toolbar-button:active[cui-areatype="toolbar"] { + list-style-image: url("chrome://zotero/skin/zotero-z-16px-australis.svg") !important; +} + #addon-bar #zotero-toolbar-button { list-style-image: url(chrome://zotero/skin/zotero_status_bar.png); height: 18px;