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
This commit is contained in:
Dan Stillman 2006-08-30 05:34:12 +00:00
parent 30e2920c27
commit 8289dac155
3 changed files with 11 additions and 2 deletions

View file

@ -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>

View file

@ -1,3 +1,9 @@
#scholar-status-bar-icon
{
width: 49px;
margin:0 5px -1px;
}
#scholar-pane
{
background: #f5f5f5;

Binary file not shown.

After

Width:  |  Height:  |  Size: 690 B