From a47bf41eb6843fd82377a089434574ec68ffb5d4 Mon Sep 17 00:00:00 2001 From: David Norton Date: Wed, 26 Jul 2006 16:42:26 +0000 Subject: [PATCH] Created Scholar toolbar button (use Customize Toolbar... option) --- chrome.manifest | 1 + .../chromeFiles/content/scholar/overlay.xul | 6 ++- .../skin/default/scholar/scholar.css | 40 ++++++++++++++++++ .../default/scholar/toolbar-large-active.png | Bin 0 -> 623 bytes .../scholar/toolbar-large-disabled.png | Bin 0 -> 615 bytes .../skin/default/scholar/toolbar-large.png | Bin 0 -> 596 bytes .../default/scholar/toolbar-small-active.png | Bin 0 -> 540 bytes .../scholar/toolbar-small-disabled.png | Bin 0 -> 520 bytes .../skin/default/scholar/toolbar-small.png | Bin 0 -> 529 bytes 9 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 chrome/chromeFiles/skin/default/scholar/toolbar-large-active.png create mode 100644 chrome/chromeFiles/skin/default/scholar/toolbar-large-disabled.png create mode 100644 chrome/chromeFiles/skin/default/scholar/toolbar-large.png create mode 100644 chrome/chromeFiles/skin/default/scholar/toolbar-small-active.png create mode 100644 chrome/chromeFiles/skin/default/scholar/toolbar-small-disabled.png create mode 100644 chrome/chromeFiles/skin/default/scholar/toolbar-small.png diff --git a/chrome.manifest b/chrome.manifest index 71b43fe467..3ff903e6a4 100644 --- a/chrome.manifest +++ b/chrome.manifest @@ -5,3 +5,4 @@ skin scholar default chrome/chromeFiles/skin/default/scholar/ overlay chrome://browser/content/browser.xul chrome://scholar/content/overlay.xul overlay chrome://browser/content/browser.xul chrome://scholar/content/ingester/browser.xul style chrome://browser/content/browser.xul chrome://scholar/skin/scholar.css +style chrome://global/content/customizeToolbar.xul chrome://scholar/skin/scholar.css \ No newline at end of file diff --git a/chrome/chromeFiles/content/scholar/overlay.xul b/chrome/chromeFiles/content/scholar/overlay.xul index 21a24da126..7a0a563698 100644 --- a/chrome/chromeFiles/content/scholar/overlay.xul +++ b/chrome/chromeFiles/content/scholar/overlay.xul @@ -19,7 +19,11 @@ - + + + diff --git a/chrome/chromeFiles/skin/default/scholar/scholar.css b/chrome/chromeFiles/skin/default/scholar/scholar.css index 9e7217f4b5..8df3f209ab 100644 --- a/chrome/chromeFiles/skin/default/scholar/scholar.css +++ b/chrome/chromeFiles/skin/default/scholar/scholar.css @@ -1,3 +1,43 @@ +#scholar-toolbar-button +{ + list-style-image: url('chrome://scholar/skin/toolbar-large.png'); +} + +#scholar-toolbar-button:active +{ + list-style-image: url('chrome://scholar/skin/toolbar-large-active.png'); +} + +#scholar-toolbar-button[disabled="true"] +{ + list-style-image: url('chrome://scholar/skin/toolbar-large-disabled.png'); +} + +toolbar[iconsize="small"] #scholar-toolbar-button +{ + list-style-image: url('chrome://scholar/skin/toolbar-small.png'); +} + +toolbar[iconsize="small"] #scholar-toolbar-button:active +{ + list-style-image: url('chrome://scholar/skin/toolbar-small-active.png'); +} + +toolbar[iconsize="small"] #scholar-toolbar-button[disabled="true"] +{ + list-style-image: url('chrome://scholar/skin/toolbar-small-disabled.png'); +} + +#scholar-toolbar-button +{ + list-style-image: url('chrome://scholar/skin/toolbar-large.png'); +} + +toolbar[iconsize="small"] #scholar-toolbar-button +{ + list-style-image: url('chrome://scholar/skin/toolbar-small.png'); +} + textbox[multiline="true"][type="timed"] { -moz-binding: url('chrome://scholar/content/bindings/timedtextarea.xml#timed-textarea'); diff --git a/chrome/chromeFiles/skin/default/scholar/toolbar-large-active.png b/chrome/chromeFiles/skin/default/scholar/toolbar-large-active.png new file mode 100644 index 0000000000000000000000000000000000000000..ff3c1ce2e5c4f282af87350e771027161bc1b71c GIT binary patch literal 623 zcmV-#0+9WQP)$BGQ0fO+4l0Cb)+U5CwLta5XtR9SIDm1)_l^Mq3;_Pe_=ZLN^ko15002ov JPDHLkV1gvI^rrv- literal 0 HcmV?d00001 diff --git a/chrome/chromeFiles/skin/default/scholar/toolbar-large-disabled.png b/chrome/chromeFiles/skin/default/scholar/toolbar-large-disabled.png new file mode 100644 index 0000000000000000000000000000000000000000..c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chromeFiles/skin/default/scholar/toolbar-small.png b/chrome/chromeFiles/skin/default/scholar/toolbar-small.png new file mode 100644 index 0000000000000000000000000000000000000000..6605c3e660ddf722e74cd2bf580de6ea4a9332c5 GIT binary patch literal 529 zcmV+s0`C2ZP)nFY;R$qf2xDj4D*F%ULTS7E4~HkUjL;(a~9hJakV zaPtm^JCC2D_zHwU@*s5}d6MJ6-O`NV%eU_goeP$s7!CrUpqaXAJzO2hk<7!z3C17* zvIHAAdf_ry4x~;(SctSB0%?S4E>DO8`vMz?s%j!Xl6M|I1y4c19LezF?K`lm!E(n= zf%z0AQ&7Z#d;ziq77QRZERtas!Qz6fWD1H*SXu|A7I6Gp>48@m