diff --git a/chrome/content/zotero-platform/win/itembox.css b/chrome/content/zotero-platform/win/itembox.css index 68ec1016a5..a14cf4f1a1 100644 --- a/chrome/content/zotero-platform/win/itembox.css +++ b/chrome/content/zotero-platform/win/itembox.css @@ -18,14 +18,12 @@ row hbox hbox label margin-bottom: 0; } -row > toolbarbutton -{ - margin-right: 5px; - -moz-image-region: rect(2px, 14px, 18px, 0px); -} - row vbox[fieldname=abstractNote], row vbox[fieldname=extra] { margin-left: 1px; } + +.creator-type-label image { + margin-bottom: 0; +} diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml index 120fb91f02..2bf8d055e6 100644 --- a/chrome/content/zotero/bindings/itembox.xml +++ b/chrome/content/zotero/bindings/itembox.xml @@ -551,6 +551,9 @@ diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 5641a76138..15add400fc 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -838,7 +838,7 @@ var Zotero = new function(){ function getAncestorByTagName(elem, tagName){ while (elem.parentNode){ elem = elem.parentNode; - if (elem.tagName==tagName || elem.tagName=='xul:' + tagName){ + if (elem.localName == tagName) { return elem; } } diff --git a/chrome/skin/default/zotero/arrow-down.gif b/chrome/skin/default/zotero/arrow-down.gif new file mode 100644 index 0000000000..72806c37e0 Binary files /dev/null and b/chrome/skin/default/zotero/arrow-down.gif differ diff --git a/chrome/skin/default/zotero/bindings/itembox.css b/chrome/skin/default/zotero/bindings/itembox.css index f35dbd154a..20d1b5ba46 100644 --- a/chrome/skin/default/zotero/bindings/itembox.css +++ b/chrome/skin/default/zotero/bindings/itembox.css @@ -36,8 +36,7 @@ label[singleField=false]:after */ /* metadata field names */ -row > label:first-child, -row > toolbarbutton .toolbarbutton-text /* creator type menu */ +row > label:first-child, .creator-type-label { text-align: right; font-weight: bold; @@ -53,25 +52,15 @@ row label -moz-user-focus: ignore; } - /* creator type menu */ -row > toolbarbutton -{ - margin: 0 2px 0 0; - padding: 0 0 0 5px; - list-style-image: url("chrome://browser/skin/dropmark-nav.png"); - -moz-image-region: rect(3px, 14px, 19px, 0px); +/* creator type menu */ +.creator-type-label { + -moz-box-align: center; + -moz-box-pack: end; } -row > toolbarbutton .toolbarbutton-text -{ - margin-top: -1px; + +.creator-type-label image { + margin: 0 .5em 1px; } -row > toolbarbutton .toolbarbutton-icon, -row > toolbarbutton .toolbarbutton-menu-dropmarker -{ - margin: 0; - padding: 0; -} - /* no space between last name and comma */ row hbox label:first-child