Skip to content

Instantly share code, notes, and snippets.

@jeetelongname
Created March 9, 2023 19:32
Show Gist options
  • Save jeetelongname/d84b228770b0b2ef49aabe815c8a4530 to your computer and use it in GitHub Desktop.
Save jeetelongname/d84b228770b0b2ef49aabe815c8a4530 to your computer and use it in GitHub Desktop.
My firefox CSS
@-moz-document url("chrome://browser/content/browser.xhtml") {
/* https://gist.github.com/shvchk/ea637112f88fe29a3f21c141a9fcf709 */
/* To bring back OS title bar with min/max/close buttons, some users might
* consider setting browser.tabs.drawInTitlebar to false in about:config
*/
:root {
--custom-sidebar-collapsed-width: 35px;
--custom-sidebar-full-width: 15vw;
--custom-sidebar-border: 0px solid #404040;
}
#TabsToolbar {
visibility: collapse !important;
}
#navigator-toolbox {
border-bottom: 0 !important;
}
#browser {
position: relative;
}
/* Hide header unless hovered over */
#sidebar-header {
border: 0 !important;
padding: 0 !important;
height: 1px;
opacity: 0;
}
#sidebar-header:hover {
padding: 8px !important;
height: auto;
opacity: 1;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment