Created
March 9, 2021 06:41
-
-
Save grahamperrin/e5d9d3f04e49ae8a7979230cef16b944 to your computer and use it in GitHub Desktop.
Graham Perrin's userChrome.css for Firefox
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
/* https://old.reddit.com/r/firefox/comments/f942u2/profilespecific_problem_with_an_extension_button/ */ | |
#TabsToolbar { | |
visibility: collapse; | |
} | |
*{ transition-duration: 50ms !important } | |
/* a close button on the left of each tab */ | |
/* https://support.mozilla.org/questions/1157451#answer-961582 */ | |
/* https://support.mozilla.org/questions/1157451#answer-961663 */ | |
.tabbrowser-tab .tab-close-button { | |
display:-moz-box!important; | |
-moz-box-ordinal-group: 0 !important; | |
margin-left: -2px !important; | |
margin-right: 3px !important; | |
} | |
.tabbrowser-tab .tab-throbber, | |
.tabbrowser-tab .tab-icon-image, | |
.tabbrowser-tab .tab-sharing-icon-overlay, | |
.tabbrowser-tab .tab-icon-overlay, | |
.tabbrowser-tab .tab-label-container, | |
.tabbrowser-tab .tab-icon-sound { | |
-moz-box-ordinal-group: 2 !important; | |
} | |
/* Australis Menu Button on the Left */ | |
#PanelUI-button, | |
#customization-panel-container, | |
#customization-panelWrapper .panel-arrow, | |
#ctr_panelui-button, | |
#wrapper-ctr_panelui-button { | |
-moz-box-ordinal-group: 0 | |
} | |
#PanelUI-button { | |
background-position: 100% 0, calc(100% - 1px) 0, calc(100% - 2px) 0; | |
} | |
#PanelUI-popup { | |
margin-right: -350px!important; | |
} | |
#PanelUI-popup .panel-arrow { | |
margin-right: 340px!important; | |
} | |
/* #nav-bar{-moz-box-ordinal-group:5!important} ? the toolbar, a.k.a. navigation bar, not on top */ | |
#nav-bar{ | |
-moz-box-ordinal-group:5!important | |
} */ | |
/* monospace #urlbar */ | |
/* https://www.reddit.com/comments/8vq7cx/-/e1q6d9g/ */ | |
#urlbar { | |
font-family: "Source Code Pro", "Anonymous Pro", "Inconsolata", "Consolas", monospace; | |
} | |
/* green padlock */ | |
/* https://www.reddit.com/comments/8v4l1h/-/e1kxtgx/ */ | |
/* #identity-box #identity-icon-labels { | |
display:none | |
} | |
#identity-box:hover #identity-icon-labels { | |
display:-moz-box | |
} | |
/* https://support.mozilla.org/questions/853327#answer-222153 */ | |
/* #identity-icon-labels { display:none!important; } */ | |
/* #identity-box:hover #identity-icon-labels { display:block!important; } */ | |
/* https://www.reddit.com/r/FirefoxCSS/comments/fzshcx/-/fn6i1k5/ */ | |
/* Constrains urlbar popup to urlbar width */ | |
/* Firefox 70+ */ | |
#urlbar-container { | |
transform: translateY(0); | |
position: relative; | |
z-index: 10; | |
padding-block: 3px !important; | |
padding-inline: 0x !important; | |
margin-inline: 5px !important; | |
} | |
#nav-bar-customization-target { | |
overflow: visible !important; | |
} | |
#urlbar-results { | |
max-width: 100% !important; | |
} | |
.urlbarView { | |
top: calc(100% - 10px) !important; | |
width: 100% !important; | |
border-color: transparent !important; | |
} | |
:root[uidensity="compact"] .urlbarView { | |
margin-top: 8px !important; | |
} | |
:root[uidensity="touch"] .urlbarView { | |
margin-top: 6px !important; | |
} | |
#urlbar[open] { | |
border-bottom-right-radius: 0px !important; | |
border-bottom-left-radius: 0px !important; | |
} | |
.urlbarView-row { | |
padding: 3px 4px !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment