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:
parent
30e2920c27
commit
8289dac155
3 changed files with 11 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
#scholar-status-bar-icon
|
||||
{
|
||||
width: 49px;
|
||||
margin:0 5px -1px;
|
||||
}
|
||||
|
||||
#scholar-pane
|
||||
{
|
||||
background: #f5f5f5;
|
||||
|
|
BIN
chrome/chromeFiles/skin/default/scholar/zotero_logo_14px.png
Normal file
BIN
chrome/chromeFiles/skin/default/scholar/zotero_logo_14px.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 690 B |
Loading…
Reference in a new issue