Last active
November 8, 2018 08:35
-
-
Save flying-sheep/ad874200bbfe4034d45b9a110cb4a7b4 to your computer and use it in GitHub Desktop.
A fix for firefox title bar buttons when you want them to be on the left hand side.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
/* button box to the left */ | |
#TabsToolbar { direction: rtl } | |
/* tabs ltr again */ | |
#titlebar-content { direction: rtl } | |
/* buttons inverted */ | |
#tabbrowser-tabs { direction: ltr } | |
/* keep these ltr */ | |
#titlebar-max, | |
#alltabs-button, | |
#new-tab-button, | |
#sync-button { | |
-moz-box-ordinal-group: 0; | |
} | |
/* fix margins */ | |
#titlebar-close { margin-right: 6px } | |
/* remove buttons for maximized window */ | |
#main-window[sizemode="maximized"] .titlebar-button { | |
visibility: hidden; | |
} | |
#main-window[sizemode="maximized"] #titlebar-buttonbox { | |
pointer-events: none; | |
} | |
#main-window[sizemode="maximized"] .titlebar-placeholder { | |
width: 0 !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment