From b758af7b08edf751c1b0c3957e509ccb4898ef77 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Thu, 24 Apr 2014 01:12:40 -0400 Subject: [PATCH] Add Australis-style Z icons --- .../zotero/zotero-z-16px-australis.svg | 65 +++++++++++++++++++ .../zotero/zotero-z-32px-australis.svg | 65 +++++++++++++++++++ chrome/skin/default/zotero/zotero.css | 15 +++++ 3 files changed, 145 insertions(+) create mode 100644 chrome/skin/default/zotero/zotero-z-16px-australis.svg create mode 100644 chrome/skin/default/zotero/zotero-z-32px-australis.svg diff --git a/chrome/skin/default/zotero/zotero-z-16px-australis.svg b/chrome/skin/default/zotero/zotero-z-16px-australis.svg new file mode 100644 index 0000000000..d79f023920 --- /dev/null +++ b/chrome/skin/default/zotero/zotero-z-16px-australis.svg @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/chrome/skin/default/zotero/zotero-z-32px-australis.svg b/chrome/skin/default/zotero/zotero-z-32px-australis.svg new file mode 100644 index 0000000000..b0e1bdb195 --- /dev/null +++ b/chrome/skin/default/zotero/zotero-z-32px-australis.svg @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/chrome/skin/default/zotero/zotero.css b/chrome/skin/default/zotero/zotero.css index fe2a2e5473..b833c493ce 100644 --- 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;