diff --git a/chrome/content/zotero-platform/mac/overlay.css b/chrome/content/zotero-platform/mac/overlay.css
index ee9a7839d..ace263648 100644
--- a/chrome/content/zotero-platform/mac/overlay.css
+++ b/chrome/content/zotero-platform/mac/overlay.css
@@ -107,6 +107,16 @@
margin-left: 7px;
}
+@media (min-resolution: 1.5dppx) {
+ #zotero-pane .toolbarbutton-icon {
+ max-width: 28px;
+ }
+
+ #zotero-tb-sync-error .toolbarbutton-icon {
+ width: 16px;
+ }
+}
+
.zotero-tb-button, .zotero-tb-button:first-child, .zotero-tb-button:last-child {
-moz-margin-start: 0 !important;
-moz-margin-end: 3px !important;
@@ -169,7 +179,7 @@
background-size: 14px;
}
-@media (min-resolution: 2dppx) {
+@media (min-resolution: 1.5dppx) {
#zotero-pane-stack[oldsearchfield] textbox[type=search] > .textbox-input-box {
background: url("chrome://zotero/skin/mac/moz/Search@2x.png") left no-repeat;
background-size: 14px;
@@ -467,6 +477,16 @@ treechildren::-moz-tree-image {
list-style-image: url('chrome://zotero/skin/mac/toolbar-note-add.png');
}
+@media (min-resolution: 1.5dppx) {
+ #zotero-tb-advanced-search {
+ list-style-image: url('chrome://zotero/skin/mac/toolbar-advanced-search@2x.png');
+ }
+
+ #zotero-tb-note-add {
+ list-style-image: url('chrome://zotero/skin/mac/toolbar-note-add@2x.png');
+ }
+}
+
#zotero-tb-actions-menu
{
list-style-image: url('chrome://zotero/skin/mac/cog.png');
diff --git a/chrome/content/zotero-platform/unix/overlay.css b/chrome/content/zotero-platform/unix/overlay.css
index 5518adfb4..3500fe859 100644
--- a/chrome/content/zotero-platform/unix/overlay.css
+++ b/chrome/content/zotero-platform/unix/overlay.css
@@ -1,12 +1,21 @@
-/*
+/*
As of Fx36, the built-in styles don't properly handle a menu-button within combined buttons.
*/
+#zotero-toolbar-main-button-single[cui-areatype="toolbar"] .toolbarbutton-icon,
+#zotero-toolbar-save-button-single[cui-areatype="toolbar"] .toolbarbutton-icon {
+ width: 32px;
+}
+
+#zotero-toolbar-main-button[cui-areatype="toolbar"] .toolbarbutton-icon,
+#zotero-toolbar-save-button[cui-areatype="toolbar"] .toolbarbutton-icon {
+ width: 28px;
+}
+
#zotero-toolbar-main-button[cui-areatype="toolbar"] {
margin-right: -1px;
}
#zotero-toolbar-main-button[cui-areatype="toolbar"] .toolbarbutton-icon {
- width: 28px !important;
margin-left: 2px;
margin-right: -3px;
padding-left: 5px !important;
@@ -26,16 +35,6 @@
padding-right: 6px !important;
}
-#zotero-toolbar-save-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
- margin-top: 2px;
- margin-bottom: 2px;
-}
-
-#zotero-toolbar-save-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker .dropmarker-icon {
- padding-left: 14px !important;
- padding-right: 3px !important;
-}
-
#zotero-toolbar-save-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
margin-top: 6px;
margin-bottom: 6px;
@@ -47,6 +46,16 @@
margin-bottom: 0;
}
+#zotero-toolbar-save-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker .dropmarker-icon {
+ padding-left: 14px !important;
+ padding-right: 3px !important;
+}
+
+#zotero-toolbar-save-button-single[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
+ margin-top: 3px;
+ margin-bottom: 3px;
+}
+
#zotero-toolbar-buttons[cui-areatype="toolbar"] > separator {
/* Copied from .toolbarbutton-menubutton-dropmarker::before */
display: -moz-box;
@@ -86,13 +95,19 @@
box-shadow: var(--toolbarbutton-active-boxshadow);
transition-duration: 10ms;
}
-
-#zotero-toolbar-main-button-single[cui-areatype="toolbar"] .toolbarbutton-icon {
- width: 32px;
-}
/* End toolbar buttons */
+@media (min-resolution: 1.5dppx) {
+ #zotero-toolbar .toolbarbutton-icon {
+ width: 16px;
+ }
+
+ #zotero-tb-sync > .toolbarbutton-icon {
+ width: 20px;
+ }
+}
+
.zotero-tb-button:not([type=menu]) {
margin-right: 4px;
}
diff --git a/chrome/content/zotero-platform/unix/treesource-collection.png b/chrome/content/zotero-platform/unix/treesource-collection.png
deleted file mode 100644
index 784e8fa48..000000000
Binary files a/chrome/content/zotero-platform/unix/treesource-collection.png and /dev/null differ
diff --git a/chrome/content/zotero-platform/unix/treesource-search.png b/chrome/content/zotero-platform/unix/treesource-search.png
deleted file mode 100644
index 0ba939184..000000000
Binary files a/chrome/content/zotero-platform/unix/treesource-search.png and /dev/null differ
diff --git a/chrome/content/zotero-platform/win/overlay.css b/chrome/content/zotero-platform/win/overlay.css
index 73eb1ff8b..756291aee 100644
--- a/chrome/content/zotero-platform/win/overlay.css
+++ b/chrome/content/zotero-platform/win/overlay.css
@@ -1,12 +1,24 @@
-/*
+/*
As of Fx36, the built-in styles don't properly handle a menu-button within combined buttons.
*/
+#zotero-toolbar-main-button-single[cui-areatype="toolbar"] .toolbarbutton-icon {
+ width: 32px;
+}
+
+#zotero-toolbar-save-button-single[cui-areatype="toolbar"] .toolbarbutton-icon {
+ width: 30px;
+}
+
+#zotero-toolbar-main-button[cui-areatype="toolbar"] .toolbarbutton-icon,
+#zotero-toolbar-save-button[cui-areatype="toolbar"] .toolbarbutton-icon {
+ width: 28px;
+}
+
#zotero-toolbar-main-button[cui-areatype="toolbar"] {
margin-right: -1px !important;
}
#zotero-toolbar-main-button[cui-areatype="toolbar"] .toolbarbutton-icon {
- width: 28px;
margin-left: 2px;
margin-right: -1px;
padding-left: 5px !important;
@@ -94,12 +106,18 @@
#zotero-toolbar-save-button[cui-areatype="toolbar"] > menupopup {
margin-top: -5px;
}
-
-#zotero-toolbar-main-button-single[cui-areatype="toolbar"] .toolbarbutton-icon {
- width: 32px;
-}
/* End toolbar buttons */
+@media (min-resolution: 1.5dppx) {
+ #zotero-toolbar .toolbarbutton-icon {
+ width: 16px;
+ }
+
+ #zotero-tb-sync > .toolbarbutton-icon {
+ width: 20px;
+ }
+}
+
#zotero-tb-search-menu-button {
margin: 0 -1px 0 -4px;
border: 0;
diff --git a/chrome/content/zotero-platform/win/treesource-collection.png b/chrome/content/zotero-platform/win/treesource-collection.png
deleted file mode 100644
index 784e8fa48..000000000
Binary files a/chrome/content/zotero-platform/win/treesource-collection.png and /dev/null differ
diff --git a/chrome/content/zotero-platform/win/treesource-search.png b/chrome/content/zotero-platform/win/treesource-search.png
deleted file mode 100644
index 0ba939184..000000000
Binary files a/chrome/content/zotero-platform/win/treesource-search.png and /dev/null differ
diff --git a/chrome/content/zotero/about.xul b/chrome/content/zotero/about.xul
index 08906ccd8..6f63f2e12 100644
--- a/chrome/content/zotero/about.xul
+++ b/chrome/content/zotero/about.xul
@@ -61,6 +61,7 @@
+
diff --git a/chrome/content/zotero/advancedSearch.js b/chrome/content/zotero/advancedSearch.js
index 28317cc9f..f60f9f699 100644
--- a/chrome/content/zotero/advancedSearch.js
+++ b/chrome/content/zotero/advancedSearch.js
@@ -63,16 +63,7 @@ var ZoteroAdvancedSearch = new function() {
isSearchMode: function() { return true; },
getItems: Zotero.Promise.coroutine(function* () {
var search = yield _searchBox.search.clone();
-
- // Hack to create a condition for the search's library --
- // this logic should really go in the search itself instead of here
- // and in collectionTreeView.js
- yield search.loadPrimaryData();
- var conditions = search.getSearchConditions();
- if (!conditions.some(function (condition) condition.condition == 'libraryID')) {
- yield search.addCondition('libraryID', 'is', _searchBox.search.libraryID);
- }
-
+ search.libraryID = _libraryID;
var ids = yield search.search();
return Zotero.Items.get(ids);
}),
diff --git a/chrome/content/zotero/bindings/merge.xml b/chrome/content/zotero/bindings/merge.xml
index 2e7d61c17..85499ed07 100644
--- a/chrome/content/zotero/bindings/merge.xml
+++ b/chrome/content/zotero/bindings/merge.xml
@@ -124,6 +124,8 @@
+
+
@@ -397,6 +399,10 @@
else {
mergepane.ref = pane.original;
}
+
+ if (mergegroup.onSelectionChange) {
+ mergegroup.onSelectionChange();
+ }
]]>