From dca8b3a572b28d08d483ce11d9bb61124f0a61de Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 15 Aug 2007 06:24:05 +0000 Subject: [PATCH] Fix #634, Author info alignment on XP Also: - Fixed a couple other minor visual glitches in the metadata pane on OS X and XP - Added a zotero-platform content package that can be used for platform-specific CSS, etc. --- chrome.manifest | 2 ++ .../content/zotero-platform/mac/itemPane.css | 1 + .../content/zotero-platform/unix/itemPane.css | 0 .../content/zotero-platform/win/itemPane.css | 23 +++++++++++++++++++ chrome/content/zotero/itemPane.xul | 1 + chrome/skin/default/zotero/itemPane.css | 12 +++------- 6 files changed, 30 insertions(+), 9 deletions(-) create mode 100644 chrome/content/zotero-platform/mac/itemPane.css create mode 100644 chrome/content/zotero-platform/unix/itemPane.css create mode 100644 chrome/content/zotero-platform/win/itemPane.css diff --git a/chrome.manifest b/chrome.manifest index a1c43e566..f5dac009c 100644 --- a/chrome.manifest +++ b/chrome.manifest @@ -23,3 +23,5 @@ skin zotero default chrome/skin/default/zotero/ overlay chrome://browser/content/browser.xul chrome://zotero/content/overlay.xul style chrome://browser/content/browser.xul chrome://zotero/skin/zotero.css style chrome://global/content/customizeToolbar.xul chrome://zotero/skin/zotero.css + +content zotero-platform chrome/content/zotero-platform/ platform diff --git a/chrome/content/zotero-platform/mac/itemPane.css b/chrome/content/zotero-platform/mac/itemPane.css new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/chrome/content/zotero-platform/mac/itemPane.css @@ -0,0 +1 @@ + diff --git a/chrome/content/zotero-platform/unix/itemPane.css b/chrome/content/zotero-platform/unix/itemPane.css new file mode 100644 index 000000000..e69de29bb diff --git a/chrome/content/zotero-platform/win/itemPane.css b/chrome/content/zotero-platform/win/itemPane.css new file mode 100644 index 000000000..ee814d6f0 --- /dev/null +++ b/chrome/content/zotero-platform/win/itemPane.css @@ -0,0 +1,23 @@ +#zotero-editpane-dynamic-fields row hbox +{ + -moz-box-align: center; + margin: 0; + padding: 0; +} + +#zotero-editpane-dynamic-fields row hbox label +{ + margin-top: 0; + margin-bottom: 0; +} + +#zotero-editpane-dynamic-fields row > toolbarbutton +{ + margin-right: 5px; +} + +#zotero-editpane-dynamic-fields row vbox[fieldname=abstractNote], +#zotero-editpane-dynamic-fields row vbox[fieldname=extra] +{ + margin-left: 1px; +} diff --git a/chrome/content/zotero/itemPane.xul b/chrome/content/zotero/itemPane.xul index 96fbea024..27497772b 100644 --- a/chrome/content/zotero/itemPane.xul +++ b/chrome/content/zotero/itemPane.xul @@ -21,6 +21,7 @@ ***** END LICENSE BLOCK ***** --> + label:first-child, #zotero-editpane-dynamic-fields row > toolbarbutton .toolbarbutton-text /* creator type menu */ @@ -41,10 +35,10 @@ } /* creator type menu */ -#zotero-editpane-dynamic-fields row > toolbarbutton +#zotero-editpane-dynamic-fields row > toolbarbutton { - margin: 0; - padding: 0; + margin: 0 2px 0 0; + padding: 0 0 0 5px; list-style-image: url("chrome://browser/skin/dropmark-nav-small.png"); -moz-image-region: rect(0px, 14px, 16px, 0px); }