- Fix search bar drop-down on Linux

- Increase padding slightly next to non-menu toolbar buttons
- Tweak alignment of sync icon
This commit is contained in:
Dan Stillman 2011-06-14 03:24:21 +00:00
parent 8268d1b01c
commit 2b68113fd7
4 changed files with 26 additions and 8 deletions

View file

@ -43,7 +43,10 @@
padding: 5px 1px 5px 11px; padding: 5px 1px 5px 11px;
} }
#zotero-tb-search-menu-button { #zotero-tb-search-menu-button
{
margin: -6px -2px -6px -16px;
padding: 6px 2px 6px 14px;
list-style-image: url("chrome://browser/skin/searchbar-dropmarker.png"); list-style-image: url("chrome://browser/skin/searchbar-dropmarker.png");
} }

View file

@ -1,5 +1,17 @@
.zotero-tb-button:not([type=menu]) {
margin-right: 4px;
}
#zotero-tb-search-menu-button { #zotero-tb-search-menu-button {
-moz-appearance: toolbarbutton-dropdown !important; -moz-appearance: toolbarbutton-dropdown !important;
width: 12px; width: 12px;
height: 12px; height: 12px;
}
#zotero-tb-search-menu-button .button-menu-dropmarker {
display: none;
}
#zotero-tb-search .textbox-search-icon {
visibility: hidden;
} }

View file

@ -2,13 +2,12 @@
margin-left: 5px; margin-left: 5px;
} }
#zotero-tb-search .textbox-search-icon { .zotero-tb-button:not([type=menu]) {
visibility: hidden; margin-right: 4px;
} }
#zotero-tb-search-menu-button { #zotero-tb-search-menu-button {
margin: 0 -1px 0 -4px; margin: 0 -1px 0 -4px;
padding: 0;
border: 0; border: 0;
background: transparent; background: transparent;
/* Mozilla file copied from chrome://browser/skin/mainwindow-dropdown-arrow.png /* Mozilla file copied from chrome://browser/skin/mainwindow-dropdown-arrow.png
@ -26,13 +25,17 @@
-moz-image-region: rect(0, 26px, 11px, 13px); -moz-image-region: rect(0, 26px, 11px, 13px);
} }
#zotero-tb-search .textbox-search-icon {
visibility: hidden;
}
#zotero-tb-sync-warning { #zotero-tb-sync-warning {
margin-right: 2px; margin-right: 2px;
} }
#zotero-tb-sync { #zotero-tb-sync {
margin-right: 1px; margin-right: 1px;
padding-top: 4px;
} }
#zotero-tb-fullscreen { #zotero-tb-fullscreen {

View file

@ -416,14 +416,14 @@
#zotero-tb-search #zotero-tb-search
{ {
font-size: 11px !important; /* Keep font size in Linux within reason */ font-size: 11px !important;
width: 150px; width: 150px;
} }
#zotero-tb-search-menu-button #zotero-tb-search-menu-button
{ {
margin: -6px -2px -6px -16px; margin: 0;
padding: 6px 2px 6px 14px; padding: 0;
-moz-appearance: none; -moz-appearance: none;
min-width: 0; min-width: 0;
cursor: default; cursor: default;