commit b1b0bd47a0cebbff9fffc6d1363d0a6e8288fc87
parent e8ce1d30d2bdd0e9bc9e3e9d5260d5d214e6fea9
Author: Simon Kornblith <simon@simonster.com>
Date: Thu, 9 Apr 2009 07:58:29 +0000
add a platform attribute to the Zotero pane and make border fix work with Firefox 3.1
Diffstat:
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js
@@ -137,6 +137,9 @@ var ZoteroPane = new function()
if (Zotero.isMac) {
document.getElementById('zotero-tb-actions-zeroconf-update').setAttribute('hidden', false);
+ document.getElementById('zotero-pane').setAttribute('platform', 'mac');
+ } else if(Zotero.isWin) {
+ document.getElementById('zotero-pane').setAttribute('platform', 'win');
}
//Initialize collections view
diff --git a/chrome/skin/default/zotero/overlay.css b/chrome/skin/default/zotero/overlay.css
@@ -25,12 +25,12 @@
}
/* these are hacks do display a window separator in full screen mode on OS X */
-window[activetitlebarcolor] #zotero-pane[fullscreenmode="true"]
+window #zotero-pane[fullscreenmode="true"][platform="mac"]
{
border-top: 1px solid #A3A3A3;
}
-window[active="true"][activetitlebarcolor] #zotero-pane[fullscreenmode="true"]
+window[active="true"] #zotero-pane[fullscreenmode="true"][platform="mac"]
{
border-top: 1px solid black;
}