Restore proper sizing of toolbar icons on HiDPI Windows/Linux
I guess the idea that switching to PNGs obviated the need for this was wishful thinking (though it doesn't seem to be necessary for the single buttons anymore on Linux, and it's no longer necessary on OS X, which has generally saner styling in Firefox).
This commit is contained in:
parent
88f1636d08
commit
5f3313d132
2 changed files with 18 additions and 0 deletions
|
@ -9,6 +9,14 @@
|
|||
/*
|
||||
* Nav bar
|
||||
*/
|
||||
toolbar[id="nav-bar"] #zotero-toolbar-main-button .toolbarbutton-icon {
|
||||
width: 28px;
|
||||
}
|
||||
|
||||
toolbar[id="nav-bar"] #zotero-toolbar-save-button .toolbarbutton-icon {
|
||||
width: 30px;
|
||||
}
|
||||
|
||||
toolbar[id="nav-bar"] #zotero-toolbar-buttons #zotero-toolbar-main-button {
|
||||
margin-right: -1px;
|
||||
padding: 0; /* avoid shift on :active */
|
||||
|
|
|
@ -10,15 +10,25 @@
|
|||
* Nav bar
|
||||
*/
|
||||
toolbar[id="nav-bar"] #zotero-toolbar-main-button .toolbarbutton-icon {
|
||||
width: 30px; /* 16 + 1 + 1 + 6 + 6 */
|
||||
padding-left: 6px !important;
|
||||
padding-right: 6px !important;
|
||||
}
|
||||
|
||||
toolbar[id="nav-bar"] #zotero-toolbar-save-button .toolbarbutton-icon {
|
||||
width: 29px; /* 16 + 6 + 6 + 1 */
|
||||
padding-left: 6px !important;
|
||||
padding-right: 6px !important;
|
||||
}
|
||||
|
||||
toolbar[id="nav-bar"] #zotero-toolbar-main-button-single .toolbarbutton-icon {
|
||||
width: 32px;
|
||||
}
|
||||
|
||||
toolbar[id="nav-bar"] #zotero-toolbar-save-button-single .toolbarbutton-icon {
|
||||
width: 31px; /* Compensate for border on only one side */
|
||||
}
|
||||
|
||||
toolbar[id="nav-bar"] #zotero-toolbar-buttons #zotero-toolbar-save-button > .toolbarbutton-menubutton-dropmarker .dropmarker-icon {
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
|
|
Loading…
Reference in a new issue