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>
|
</vbox>
|
||||||
|
|
||||||
<statusbar id="status-bar">
|
<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>
|
</statusbar>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener('load', function(e){
|
window.addEventListener('load', function(e){
|
||||||
if (Scholar){
|
if (Scholar){
|
||||||
document.getElementById('scholar-load-status').setAttribute('label', 'Scholar is loaded');
|
document.getElementById('scholar-status-bar-icon').setAttribute('hidden', 'false');
|
||||||
}
|
}
|
||||||
}, false);
|
}, false);
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
#scholar-status-bar-icon
|
||||||
|
{
|
||||||
|
width: 49px;
|
||||||
|
margin:0 5px -1px;
|
||||||
|
}
|
||||||
|
|
||||||
#scholar-pane
|
#scholar-pane
|
||||||
{
|
{
|
||||||
background: #f5f5f5;
|
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…
Add table
Add a link
Reference in a new issue