commit 8289dac1555ae5512481f413517f444c143e35ea
parent 30e2920c27c4a1cf3addd2930e153d01fc16ba6d
Author: Dan Stillman <dstillman@zotero.org>
Date: Wed, 30 Aug 2006 05:34:12 +0000
Replaced "Scholar is loaded" line with Zotero logo
This needs to be replaced with a 24-bit PNG with a transparent (rather than white) background -- Dan, you can either send that to me or go ahead and replace it yourself (I'd do it but I don't know the kerning, etc.)
Using a -1px bottom margin to get infinite height (a la Fitts's Law) when maximized, though I haven't tested on Windows or Linux -- let me know if clicking the screen edge doesn't work for you
Diffstat:
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/chrome/chromeFiles/content/scholar/overlay.xul b/chrome/chromeFiles/content/scholar/overlay.xul
@@ -212,13 +212,16 @@
</vbox>
<statusbar id="status-bar">
- <statusbarpanel id="scholar-load-status" label="Scholar is NOT loaded" onclick="ScholarPane.toggleDisplay();"/>
+ <statusbarpanel id="scholar-status-bar-icon"
+ src="chrome://scholar/skin/zotero_logo_14px.png"
+ class="statusbarpanel-iconic" onclick="ScholarPane.toggleDisplay();"
+ hidden="true"/>
</statusbar>
<script>
window.addEventListener('load', function(e){
if (Scholar){
- document.getElementById('scholar-load-status').setAttribute('label', 'Scholar is loaded');
+ document.getElementById('scholar-status-bar-icon').setAttribute('hidden', 'false');
}
}, false);
</script>
diff --git a/chrome/chromeFiles/skin/default/scholar/overlay.css b/chrome/chromeFiles/skin/default/scholar/overlay.css
@@ -1,3 +1,9 @@
+#scholar-status-bar-icon
+{
+ width: 49px;
+ margin:0 5px -1px;
+}
+
#scholar-pane
{
background: #f5f5f5;
diff --git a/chrome/chromeFiles/skin/default/scholar/zotero_logo_14px.png b/chrome/chromeFiles/skin/default/scholar/zotero_logo_14px.png
Binary files differ.