diff --git a/chrome/content/zotero-platform/mac/attachmentbox.css b/chrome/content/zotero-platform/mac/attachmentbox.css
new file mode 100644
index 000000000..6206fe839
--- /dev/null
+++ b/chrome/content/zotero-platform/mac/attachmentbox.css
@@ -0,0 +1,9 @@
+row > label:first-child
+{
+ color: #7f7f7f;
+}
+
+*[zoteroFontSize=small] #attachment-box
+{
+ font-size: 10px;
+}
\ No newline at end of file
diff --git a/chrome/content/zotero-platform/mac/itembox.css b/chrome/content/zotero-platform/mac/itembox.css
index 8b1378917..3556bd463 100644
--- a/chrome/content/zotero-platform/mac/itembox.css
+++ b/chrome/content/zotero-platform/mac/itembox.css
@@ -1 +1,35 @@
+row > label:first-child, .creator-type-label
+{
+ color: #7f7f7f;
+}
+.zotero-field-toggle
+{
+ color: transparent;
+ margin: 0px 5px 0px 0px !important;
+ width: 26px !important;
+ max-width: 26px !important;
+ min-width: 26px !important;
+}
+
+.zotero-field-toggle .toolbarbutton-text
+{
+ visibility: hidden;
+}
+
+.zotero-field-toggle .toolbarbutton-icon
+{
+ margin: 0px !important;
+}
+
+*[zoteroFontSize=small] #item-box
+{
+ font-size: 10px;
+}
+
+.creator-type-label > image {
+ margin: 1px .2em 1px;
+ list-style-image: url('chrome://zotero/skin/mac/arrow-down.png');
+ max-width: 7px;
+ max-height: 7px;
+}
\ No newline at end of file
diff --git a/chrome/content/zotero-platform/mac/noteeditor.css b/chrome/content/zotero-platform/mac/noteeditor.css
new file mode 100644
index 000000000..9c23d1e91
--- /dev/null
+++ b/chrome/content/zotero-platform/mac/noteeditor.css
@@ -0,0 +1,9 @@
+row > label:first-child
+{
+ color: #7f7f7f;
+}
+
+*[zoteroFontSize=small] #note-editor
+{
+ font-size: 10px;
+}
\ No newline at end of file
diff --git a/chrome/content/zotero-platform/mac/overlay.css b/chrome/content/zotero-platform/mac/overlay.css
new file mode 100644
index 000000000..951051bf5
--- /dev/null
+++ b/chrome/content/zotero-platform/mac/overlay.css
@@ -0,0 +1,369 @@
+#zotero-pane
+{
+ padding: 0 !important;
+}
+
+#zotero-splitter
+{
+ border-top: none;
+ border-bottom: 1px solid #A3A3A3;
+ min-height: 1px !important;
+ max-height: 1px !important;
+ background-image: none;
+}
+
+#zotero-pane .toolbar {
+ -moz-appearance: -moz-mac-unified-toolbar;
+ margin-left: -1px;
+}
+
+#zotero-items-toolbar[state=collapsed]
+{
+ margin-left: -8px !important;
+}
+
+#zotero-pane toolbarseparator {
+ margin-left: 7px;
+}
+
+.zotero-tb-button {
+ -moz-margin-start: 5px;
+ -moz-padding-end: 10px;
+ background: url("chrome://zotero/skin/mac/menubutton-end.png") right center no-repeat;
+}
+
+.zotero-tb-button[open="true"],
+.zotero-tb-button:hover:active,
+#zotero-pane-stack[fullscreenmode="true"] #zotero-tb-fullscreen {
+ background: url("chrome://zotero/skin/mac/menubutton-end-pressed.png") right center no-repeat;
+}
+
+.zotero-tb-button > menupopup {
+ -moz-margin-start: 2px;
+ margin-top: -4px;
+}
+
+.zotero-tb-button > .toolbarbutton-icon {
+ -moz-binding: url('chrome://zotero-platform/content/zoterotbbutton.xml#zotero-tb-button');
+ background: url("chrome://zotero/skin/mac/menubutton-start.png") left center no-repeat;
+ outline-color: black;
+ -moz-padding-start: 10px;
+}
+
+.zotero-tb-button[open="true"] > .toolbarbutton-icon,
+.zotero-tb-button:hover:active > .toolbarbutton-icon,
+#zotero-pane-stack[fullscreenmode="true"] #zotero-tb-fullscreen > .toolbarbutton-icon {
+ background: url("chrome://zotero/skin/mac/menubutton-start-pressed.png") left center no-repeat;
+}
+
+.zotero-tb-button > .toolbarbutton-text {
+ display: none;
+}
+
+.zotero-tb-button[type="menu"] > .toolbarbutton-icon {
+ -moz-padding-end: 4px;
+}
+
+.zotero-tb-button[type="menu"] > .toolbarbutton-menu-dropmarker {
+ list-style-image: url("chrome://zotero/skin/mac/folderDropArrow.png");
+ padding: 0;
+}
+
+/* This property controls the strength of the SVG outer glow mask on the toolbar buttons */
+.zotero-tb-button > .toolbarbutton-icon > stack > .zotero-tb-glow {
+ opacity: .7;
+}
+
+#zotero-tb-sync > .toolbarbutton-icon {
+ -moz-binding: none !important;
+}
+
+#zotero-close-button {
+ margin: 0px !important;
+ padding: 0px 0px 0px 10px !important;
+}
+
+#zotero-tb-sync {
+ margin: none;
+}
+
+#zotero-view-tabbox {
+ background-color: #fff;
+ padding: 0;
+ margin: 0;
+}
+
+#zotero-item-pane-content .groupbox-body {
+ -moz-appearance: none;
+ background-color: #ffffff;
+}
+
+#zotero-view-selected-label {
+ color: #7f7f7f;
+}
+
+#zotero-view-tabbox tabpanels {
+ -moz-appearance: none;
+}
+
+#zotero-view-tabbox > tabs {
+ -moz-appearance: -moz-mac-unified-toolbar;
+ padding: 2px;
+}
+
+#zotero-view-tabbox > tabs > tab > hbox > .tab-icon {
+ display: none;
+}
+
+#zotero-view-tabbox > tabs > tab > hbox .tab-text {
+ text-shadow: rgba(255, 255, 255, 0.4) 0 1px !important;
+}
+#zotero-view-tabbox > tabs > tab:active:hover > hbox > .tab-text,
+#zotero-view-tabbox > tabs > tab[selected=true] > hbox > .tab-text {
+ text-shadow: none !important;
+}
+
+#zotero-view-tabbox > tabs > tab {
+ -moz-box-orient: vertical;
+ -moz-box-align: center;
+ -moz-appearance: none;
+ margin: 0;
+ padding: 3px 0 0;
+ background-color: transparent;
+ border: solid transparent;
+ border-width: 0 4px 0 5px;
+ -moz-border-image: url("chrome://global/skin/toolbar/viewbutton-middle.png") 0 4 0 5 repeat stretch;
+}
+
+#zotero-view-tabbox > tabs > tab:active:hover {
+ -moz-border-image: url("chrome://global/skin/toolbar/viewbutton-middle-down.png") 0 4 0 5 repeat stretch;
+ text-shadow: none !important;
+}
+
+#zotero-view-tabbox > tabs > tab[selected=true] {
+ color: #FFF !important;
+ text-shadow: rgba(0, 0, 0, 0.4) 0 1px;
+ -moz-border-image: url("chrome://global/skin/toolbar/viewbutton-middle-selected.png") 0 4 0 5 repeat stretch;
+}
+
+#zotero-view-tabbox > tabs > tab[selected=true]:active:hover {
+ -moz-border-image: url("chrome://global/skin/toolbar/viewbutton-middle-selected-down.png") 0 4 0 5 repeat stretch;
+}
+
+:root:not([active]) #zotero-view-tabbox > tabs > * {
+ color: #7C7C7C !important; /* remove this when we support click-through */
+ -moz-border-image: url("chrome://global/skin/toolbar/viewbutton-middle-inactive.png") 0 4 0 5 repeat stretch;
+}
+
+:root:not([active]) #zotero-view-tabbox > tabs > tab[selected=true] {
+ color: #C5C5C5 !important; /* remove this when we support click-through */
+ -moz-border-image: url("chrome://global/skin/toolbar/viewbutton-middle-selected-inactive.png") 0 4 0 5 repeat stretch;
+}
+
+#zotero-view-tabbox > tabs > :first-child,
+#zotero-view-tabbox > tabs > [first-visible],
+#zotero-view-tabbox > tabs[chromedir=rtl] > :last-child,
+#zotero-view-tabbox > tabs[chromedir=rtl] > [last-visible] {
+ border-width: 0 4px 0 6px;
+ -moz-border-image: url("chrome://global/skin/toolbar/viewbutton-left.png") 0 4 0 6 repeat stretch;
+}
+
+#zotero-view-tabbox > tabs > :first-child:active:hover,
+#zotero-view-tabbox > tabs > [first-visible]:active:hover,
+#zotero-view-tabbox > tabs[chromedir=rtl] > :last-child:active:hover,
+#zotero-view-tabbox > tabs[chromedir=rtl] > [last-visible]:active:hover {
+ -moz-border-image: url("chrome://global/skin/toolbar/viewbutton-left-down.png") 0 4 0 6 repeat stretch;
+}
+
+#zotero-view-tabbox > tabs > tab:first-child[selected=true],
+#zotero-view-tabbox > tabs > tab[first-visible][selected=true],
+#zotero-view-tabbox > tabs[chromedir=rtl] > tab:last-child[selected=true],
+#zotero-view-tabbox > tabs[chromedir=rtl] > tab[last-visible][selected=true] {
+ -moz-border-image: url("chrome://global/skin/toolbar/viewbutton-left-selected.png") 0 4 0 6 repeat stretch;
+}
+
+#zotero-view-tabbox > tabs > tab:first-child[selected=true]:active:hover,
+#zotero-view-tabbox > tabs > tab[first-visible][selected=true]:active:hover,
+#zotero-view-tabbox > tabs[chromedir=rtl] > tab:last-child[selected=true]:active:hover,
+#zotero-view-tabbox > tabs[chromedir=rtl] > tab[last-visible][selected=true]:active:hover, {
+ -moz-border-image: url("chrome://global/skin/toolbar/viewbutton-left-selected-down.png") 0 4 0 6 repeat stretch;
+}
+
+:root:not([active]) #zotero-view-tabbox > tabs > :first-child,
+:root:not([active]) #zotero-view-tabbox > tabs > [first-visible],
+:root:not([active]) #zotero-view-tabbox > tabs[chromedir=rtl] > :last-child,
+:root:not([active]) #zotero-view-tabbox > tabs[chromedir=rtl] > [last-visible] {
+ -moz-border-image: url("chrome://global/skin/toolbar/viewbutton-left-inactive.png") 0 4 0 6 repeat stretch;
+}
+
+:root:not([active]) #zotero-view-tabbox > tabs > tab:first-child[selected=true],
+:root:not([active]) #zotero-view-tabbox > tabs > tab[first-visible][selected=true],
+:root:not([active]) #zotero-view-tabbox > tabs[chromedir=rtl] > tab:last-child[selected=true],
+:root:not([active]) #zotero-view-tabbox > tabs[chromedir=rtl] > tab[last-visible][selected=true] {
+ -moz-border-image: url("chrome://global/skin/toolbar/viewbutton-left-selected-inactive.png") 0 4 0 6 repeat stretch;
+}
+
+#zotero-view-tabbox > tabs > :last-child,
+#zotero-view-tabbox > tabs > [last-visible],
+#zotero-view-tabbox > tabs[chromedir=rtl] > :first-child,
+#zotero-view-tabbox > tabs[chromedir=rtl] > [first-visible] {
+ border-width: 0 6px 0 5px;
+ -moz-border-image: url("chrome://global/skin/toolbar/viewbutton-right.png") 0 6 0 5 repeat stretch;
+}
+
+#zotero-view-tabbox > tabs > :last-child:active:hover,
+#zotero-view-tabbox > tabs > [last-visible]:active:hover,
+#zotero-view-tabbox > tabs[chromedir=rtl] > :first-child:active:hover,
+#zotero-view-tabbox > tabs[chromedir=rtl] > [first-visible]:active:hover {
+ -moz-border-image: url("chrome://global/skin/toolbar/viewbutton-right-down.png") 0 6 0 5 repeat stretch;
+}
+
+#zotero-view-tabbox > tabs > tab:last-child[selected=true],
+#zotero-view-tabbox > tabs > tab[last-visible][selected=true],
+#zotero-view-tabbox > tabs[chromedir=rtl] > tab:first-child[selected=true],
+#zotero-view-tabbox > tabs[chromedir=rtl] > tab[first-visible][selected=true] {
+ -moz-border-image: url("chrome://global/skin/toolbar/viewbutton-right-selected.png") 0 6 0 5 repeat stretch;
+}
+
+#zotero-view-tabbox > tabs > tab:last-child[selected=true]:active:hover,
+#zotero-view-tabbox > tabs > tab[last-visible][selected=true]:active:hover,
+#zotero-view-tabbox > tabs[chromedir=rtl] > tab:first-child[selected=true]:active:hover,
+#zotero-view-tabbox > tabs[chromedir=rtl] > tab[first-visible][selected=true]:active:hover {
+ -moz-border-image: url("chrome://global/skin/toolbar/viewbutton-right-selected-down.png") 0 6 0 5 repeat stretch;
+}
+
+:root:not([active]) #zotero-view-tabbox > tabs > :last-child,
+:root:not([active]) #zotero-view-tabbox > tabs > [last-visible],
+:root:not([active]) #zotero-view-tabbox > tabs[chromedir=rtl] > :first-child,
+:root:not([active]) #zotero-view-tabbox > tabs[chromedir=rtl] > [first-visible] {
+ -moz-border-image: url("chrome://global/skin/toolbar/viewbutton-right-inactive.png") 0 6 0 5 repeat stretch;
+}
+
+:root:not([active]) #zotero-view-tabbox > tabs > tab:last-child[selected=true],
+:root:not([active]) #zotero-view-tabbox > tabs > tab[last-visible][selected=true],
+:root:not([active]) #zotero-view-tabbox > tabs[chromedir=rtl] > tab:first-child[selected=true],
+:root:not([active]) #zotero-view-tabbox > tabs[chromedir=rtl] > tab[first-visible][selected=true] {
+ -moz-border-image: url("chrome://global/skin/toolbar/viewbutton-right-selected-inactive.png") 0 6 0 5 repeat stretch;
+}
+
+#zotero-collections-tree {
+ -moz-appearance: none;
+ border: none;
+ margin: 0;
+ padding: 0;
+ min-height: 5.2em;
+ background-color: #d2d8e2;
+}
+
+:root:not([active="true"]) #zotero-collections-tree {
+ background-color: rgb(232, 232, 232);
+}
+
+#zotero-collections-tree treechildren::-moz-tree-row {
+ background-color: transparent;
+ border-color: transparent;
+}
+
+#zotero-collections-tree treechildren::-moz-tree-cell(selected) {
+ background-color: #6f81a9;
+ background-image: url("chrome://zotero/skin/mac/selected-gradient.png");
+ background-repeat: repeat-x;
+ background-position: bottom left;
+ border-top: 1px solid #979797;
+}
+
+#zotero-collections-tree treechildren::-moz-tree-cell(selected,focus) {
+ background-image: url("chrome://zotero/skin/mac/selected-focused-gradient.png");
+ background-color: #8a8a8a !important;
+ border-top: 1px solid #91a0c0;
+}
+
+#zotero-collections-tree treechildren::-moz-tree-cell(leaf) ,
+#zotero-collections-tree treechildren::-moz-tree-image(leaf) {
+ cursor: pointer;
+}
+
+#zotero-collections-tree treechildren::-moz-tree-cell-text(leaf, hover) {
+ cursor: pointer;
+ text-decoration: underline;
+}
+
+#zotero-collections-tree treechildren::-moz-tree-cell(separator) {
+ cursor: default;
+}
+
+#zotero-collections-tree treechildren::-moz-tree-cell-text(selected) {
+ font-weight: bold !important;
+ color: #ffffff !important;
+}
+
+#zotero-tree-splitter, #zotero-view-splitter
+{
+ -moz-appearance: none;
+ -moz-border-start: none !important;
+ -moz-border-end: none !important;
+ max-width: 1px !important;
+ min-width: 1px !important;
+ width: 1px !important;
+ background-color: #8b8b8b !important;
+}
+
+#zotero-tree-splitter[state=collapsed]
+{
+ border-right: 1px;
+ border-color: #A5A5A5;
+ max-width: 8px !important;
+ min-width: 8px !important;
+ width: 8px !important;
+ background-image: url("chrome://zotero/skin/mac/vsplitter.png");
+ background-repeat: repeat-y;
+ padding: none;
+}
+
+#zotero-tree-splitter[state=collapsed] > grippy
+{
+ -moz-appearance: none;
+ background-image: url("chrome://zotero/skin/mac/vgrippy.png");
+ background-position: center;
+ background-repeat: no-repeat;
+ width: 8px;
+}
+
+#zotero-tags-splitter
+{
+ -moz-appearance: none;
+ border-top: 1px;
+ border-bottom: 1px;
+ border-color: #A5A5A5;
+ height: 8px;
+ background-image: url("chrome://zotero/skin/mac/hsplitter.png") !important;
+ background-repeat: repeat-x;
+ padding: none;
+}
+
+#zotero-tags-splitter > grippy
+{
+ -moz-appearance: none;
+ background-image: url("chrome://zotero/skin/mac/hgrippy.png");
+ background-position: center;
+ background-repeat: no-repeat;
+ height: 8px;
+}
+
+#zotero-tags-splitter > grippy:hover, #zotero-tree-splitter > grippy:hover
+{
+ background-color:transparent;
+}
+
+#zotero-items-tree
+{
+ -moz-appearance: none;
+ border: none;
+ margin: 0;
+ padding: 0;
+}
+
+#zotero-items-tree treechildren::-moz-tree-cell,
+#zotero-items-tree treechildren::-moz-tree-column {
+ border-right: 1px solid #d7dad7;
+}
\ No newline at end of file
diff --git a/chrome/content/zotero-platform/mac/tagselector.css b/chrome/content/zotero-platform/mac/tagselector.css
new file mode 100644
index 000000000..fed6e6ccb
--- /dev/null
+++ b/chrome/content/zotero-platform/mac/tagselector.css
@@ -0,0 +1,35 @@
+groupbox
+{
+ background-color: white;
+}
+
+groupbox > .groupbox-body
+{
+ -moz-appearance: none;
+ margin: 0;
+ padding: 0;
+}
+
+#tags-toggle
+{
+ font-size: 10px;
+}
+
+#view-settings-menu .toolbarbutton-menu-dropmarker
+{
+ margin-left: -12px !important;
+}
+
+#no-tags-box
+{
+ color: #7f7f7f;
+}
+
+#tag-controls
+{
+ background-color: rgb(240,240,240);
+ border-width: 1px 0 0 0;
+ border-style: solid;
+ border-color: rgb(220,220,220);
+ padding: 2px 2px 2px 5px;
+}
\ No newline at end of file
diff --git a/chrome/content/zotero-platform/mac/treesource-collection.png b/chrome/content/zotero-platform/mac/treesource-collection.png
new file mode 100644
index 000000000..8f21ff790
Binary files /dev/null and b/chrome/content/zotero-platform/mac/treesource-collection.png differ
diff --git a/chrome/content/zotero-platform/mac/treesource-search.png b/chrome/content/zotero-platform/mac/treesource-search.png
new file mode 100644
index 000000000..0ccb84702
Binary files /dev/null and b/chrome/content/zotero-platform/mac/treesource-search.png differ
diff --git a/chrome/content/zotero-platform/mac/zoterotbbutton.xml b/chrome/content/zotero-platform/mac/zoterotbbutton.xml
new file mode 100644
index 000000000..0ab3d6133
--- /dev/null
+++ b/chrome/content/zotero-platform/mac/zoterotbbutton.xml
@@ -0,0 +1,58 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/chrome/content/zotero-platform/unix/attachmentbox.css b/chrome/content/zotero-platform/unix/attachmentbox.css
new file mode 100644
index 000000000..e69de29bb
diff --git a/chrome/content/zotero-platform/unix/noteeditor.css b/chrome/content/zotero-platform/unix/noteeditor.css
new file mode 100644
index 000000000..e69de29bb
diff --git a/chrome/content/zotero-platform/unix/overlay.css b/chrome/content/zotero-platform/unix/overlay.css
new file mode 100644
index 000000000..e69de29bb
diff --git a/chrome/content/zotero-platform/unix/tagselector.css b/chrome/content/zotero-platform/unix/tagselector.css
new file mode 100644
index 000000000..e69de29bb
diff --git a/chrome/content/zotero-platform/unix/treesource-collection.png b/chrome/content/zotero-platform/unix/treesource-collection.png
new file mode 100644
index 000000000..784e8fa48
Binary files /dev/null and b/chrome/content/zotero-platform/unix/treesource-collection.png differ
diff --git a/chrome/content/zotero-platform/unix/treesource-search.png b/chrome/content/zotero-platform/unix/treesource-search.png
new file mode 100644
index 000000000..0ba939184
Binary files /dev/null and b/chrome/content/zotero-platform/unix/treesource-search.png differ
diff --git a/chrome/content/zotero-platform/win/attachmentbox.css b/chrome/content/zotero-platform/win/attachmentbox.css
new file mode 100644
index 000000000..e69de29bb
diff --git a/chrome/content/zotero-platform/win/itembox.css b/chrome/content/zotero-platform/win/itembox.css
index a14cf4f1a..81d57de65 100644
--- a/chrome/content/zotero-platform/win/itembox.css
+++ b/chrome/content/zotero-platform/win/itembox.css
@@ -7,17 +7,6 @@ row > vbox
padding-bottom: 0 !important;
}
-row > hbox > hbox
-{
- -moz-box-align: center;
-}
-
-row hbox hbox label
-{
- margin-top: 0;
- margin-bottom: 0;
-}
-
row vbox[fieldname=abstractNote],
row vbox[fieldname=extra]
{
diff --git a/chrome/content/zotero-platform/win/noteeditor.css b/chrome/content/zotero-platform/win/noteeditor.css
new file mode 100644
index 000000000..e69de29bb
diff --git a/chrome/content/zotero-platform/win/overlay.css b/chrome/content/zotero-platform/win/overlay.css
new file mode 100644
index 000000000..e69de29bb
diff --git a/chrome/content/zotero-platform/win/tagselector.css b/chrome/content/zotero-platform/win/tagselector.css
new file mode 100644
index 000000000..e69de29bb
diff --git a/chrome/content/zotero-platform/win/treesource-collection.png b/chrome/content/zotero-platform/win/treesource-collection.png
new file mode 100644
index 000000000..784e8fa48
Binary files /dev/null and b/chrome/content/zotero-platform/win/treesource-collection.png differ
diff --git a/chrome/content/zotero-platform/win/treesource-search.png b/chrome/content/zotero-platform/win/treesource-search.png
new file mode 100644
index 000000000..0ba939184
Binary files /dev/null and b/chrome/content/zotero-platform/win/treesource-search.png differ
diff --git a/chrome/content/zotero/bindings/attachmentbox.xml b/chrome/content/zotero/bindings/attachmentbox.xml
index dfc437f5b..8fa89d6e8 100644
--- a/chrome/content/zotero/bindings/attachmentbox.xml
+++ b/chrome/content/zotero/bindings/attachmentbox.xml
@@ -31,6 +31,7 @@
+
@@ -145,8 +146,8 @@
var showButton = this._id('show');
var fileNameRow = this._id('fileNameRow');
var urlField = this._id('url');
- var accessed = this._id('accessed');
- var pagesRow = this._id('pages');
+ var accessed = this._id('accessedRow');
+ var pagesRow = this._id('pagesRow');
var dateModifiedRow = this._id('dateModified');
var indexBox = this._id('index-box');
var selectButton = this._id('select-button');
@@ -235,13 +236,10 @@
// Access date
if (this.displayAccessed) {
- accessed.value = Zotero.localeJoin([
- Zotero.getString('itemFields.accessDate'),
- ': ',
- Zotero.Date.sqlToDate(
+ document.getElementById("accessed-label").value = Zotero.getString('itemFields.accessDate')+": ";
+ document.getElementById("accessed").value = Zotero.Date.sqlToDate(
this.item.getField('accessDate'), true
- ).toLocaleString()
- ], '');
+ ).toLocaleString();
accessed.hidden = false;
}
else {
@@ -263,11 +261,8 @@
var file = this.item.getFile(false, true);
var fileName = file.leafName;
if (fileName) {
- fileNameRow.value = Zotero.localeJoin([
- 'Filename', // TODO: localize
- ': ', // TODO: probably needs to be in localized string
- fileName
- ], '');
+ document.getElementById("fileName-label").value = "Filename: ";
+ document.getElementById("fileName").value = fileName;
fileNameRow.hidden = false;
}
else {
@@ -286,12 +281,8 @@
var pages = Zotero.Fulltext.getPages(this.item.id);
var pages = pages ? pages.total : null;
if (pages) {
- var str = Zotero.localeJoin([
- Zotero.getString('itemFields.pages'),
- ': ',
- pages
- ], '');
- pagesRow.value = str;
+ document.getElementById("pages-label").value = Zotero.getString('itemFields.pages')+': ';
+ document.getElementById("pages").value = pages;
pagesRow.hidden = false;
}
else {
@@ -303,14 +294,10 @@
}
if (this.displayDateModified) {
- var str = Zotero.localeJoin([
- Zotero.getString('itemFields.dateModified'),
- ': ',
- Zotero.Date.sqlToDate(
+ document.getElementById("dateModified-label").value = Zotero.getString('itemFields.dateModified')+': ';
+ document.getElementById("dateModified").value = Zotero.Date.sqlToDate(
this.item.getField('dateModified'), true
- ).toLocaleString()
- ], '');
- dateModifiedRow.value = str;
+ ).toLocaleString();
dateModifiedRow.hidden = false;
}
else {
@@ -468,9 +455,8 @@
str = 'general.yes';
break;
}
- str = Zotero.getString('fulltext.indexState.indexed') + ': ' +
- Zotero.getString(str);
- indexStatus.setAttribute('value', str);
+ document.getElementById("index-status-label").value = Zotero.getString('fulltext.indexState.indexed') + ': ';
+ indexStatus.value = Zotero.getString(str);
// Reindex button tooltip (string stored in zotero.properties)
var str = Zotero.getString('pane.items.menu.reindexItem');
@@ -508,14 +494,39 @@
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml
index 5c2af7ed7..1053c414f 100644
--- a/chrome/content/zotero/bindings/itembox.xml
+++ b/chrome/content/zotero/bindings/itembox.xml
@@ -357,8 +357,8 @@
//
// Clear and rebuild metadata fields
//
- while (this._dynamicFields.hasChildNodes()) {
- this._dynamicFields.removeChild(this._dynamicFields.firstChild);
+ while (this._dynamicFields.childNodes.length > 1) {
+ this._dynamicFields.removeChild(this._dynamicFields.lastChild);
}
var fieldNames = [];
@@ -632,7 +632,6 @@
if (this.editable) {
typeBox.className = 'creator-type-label zotero-clicky';
var img = document.createElement('image');
- img.setAttribute('src', 'chrome://zotero/skin/arrow-down.gif');
typeBox.appendChild(img);
}
else {
@@ -645,6 +644,7 @@
typeBox.appendChild(label);
var hbox = document.createElement("hbox");
+ hbox.className = 'creator-type-value';
// Name
var firstlast = document.createElement("hbox");
@@ -685,7 +685,7 @@
var toggleButton = document.createElement('toolbarbutton');
toggleButton.setAttribute('fieldname',
'creator-' + this._creatorCount + '-fieldMode');
- toggleButton.className = 'zotero-clicky';
+ toggleButton.className = 'zotero-field-toggle zotero-clicky';
hbox.appendChild(toggleButton);
// Minus (-) button
@@ -2178,7 +2178,7 @@
-
+
@@ -2193,18 +2193,22 @@
-
-
+
+
+
+
+
+
diff --git a/chrome/content/zotero/bindings/noteeditor.xml b/chrome/content/zotero/bindings/noteeditor.xml
index 18f834417..47396481e 100644
--- a/chrome/content/zotero/bindings/noteeditor.xml
+++ b/chrome/content/zotero/bindings/noteeditor.xml
@@ -28,6 +28,7 @@
+
@@ -431,7 +432,8 @@
v = "[" + Zotero.getString('pane.item.noteEditor.clickHere') + "]";
}
- this.id('tagsLabel').value = Zotero.getString('pane.item.tags') + " " + v;
+ this.id('tagsLabel').value = Zotero.getString('pane.item.tags');
+ this.id('tagsClick').value = v;
]]>