commit 796fb87a9b730f4a41b9273c2219d0a29d12b88f
parent 6841be09a1a54cfedc85b948f56784ac2c74501f
Author: Dan Stillman <dstillman@zotero.org>
Date: Tue, 30 Jun 2015 17:58:32 -0400
Fix some toolbar icon issues on HiDPI Linux
Diffstat:
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero-platform/unix/overlay.css b/chrome/content/zotero-platform/unix/overlay.css
@@ -11,7 +11,7 @@
width: 28px;
}
-#zotero-toolbar-main-button[cui-areatype="toolbar"] {
+#zotero-toolbar-buttons[cui-areatype="toolbar"]:not([overflowedItem=true]) #zotero-toolbar-main-button {
margin-right: -1px;
}
@@ -46,7 +46,7 @@
margin-bottom: 0;
}
-#zotero-toolbar-save-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker .dropmarker-icon {
+#zotero-toolbar-buttons[cui-areatype="toolbar"]:not([overflowedItem=true]) #zotero-toolbar-save-button > .toolbarbutton-menubutton-dropmarker .dropmarker-icon {
padding-left: 14px !important;
padding-right: 3px !important;
}
@@ -105,10 +105,12 @@
#zotero-toolbar-buttons[overflowedItem=true] {
margin-left: 0px !important;
margin-bottom: 0px !important;
+ margin-right: 0 !important;
}
#zotero-toolbar-buttons[overflowedItem=true] #zotero-toolbar-main-button {
padding-left: 0;
+ padding-right: 5px;
}
#zotero-toolbar-buttons[overflowedItem=true] #zotero-toolbar-main-button .toolbarbutton-icon {
@@ -120,6 +122,20 @@
padding-right: 0 !important;
width: 22px !important;
}
+
+#zotero-toolbar-buttons[overflowedItem=true] #zotero-toolbar-save-button .toolbarbutton-menubutton-button {
+ margin-left: 0;
+}
+
+#zotero-toolbar-buttons[overflowedItem=true] #zotero-toolbar-save-button .toolbarbutton-menubutton-dropmarker {
+ margin: 0;
+ margin-right: 2px !important;
+ padding-right: 5px;
+}
+
+#zotero-toolbar-buttons[overflowedItem=true] > separator {
+ display: none;
+}
/* End toolbar buttons */