Skip to content

Instantly share code, notes, and snippets.

@azh
Created September 11, 2019 21:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azh/48f6d8f42f341880c94bcdce6a8c45cb to your computer and use it in GitHub Desktop.
Save azh/48f6d8f42f341880c94bcdce6a8c45cb to your computer and use it in GitHub Desktop.
firefox macos userchrome that removes the tab bar
#navigator-toolbox {
--tabs-border-color: none;
}
#TabsToolbar {
/* visibility: collapse !important; */
}
#tabbrowser-tabs .tabs-newtab-button {
visibility: collapse;
}
#tabs-newtab-button {
visibility: collapse;
}
#TabsToolbar #new-tab-button {
visibility: collapse;
}
.titlebar-placeholder[type="pre-tabs"] {
border: none;
border-inline-end: none !important;
}
.titlebar-spacer[type="pre-tabs"] {
border-inline-end: none !important;
}
tab { display: none !important; }
toolbar {
-moz-appearance: -moz-mac-vibrant-titlebar-dark !important;
-moz-font-smoothing-background-color: -moz-mac-vibrant-titlebar-dark !important;
}
#sidebar-box {
-moz-appearance: -moz-mac-vibrant-titlebar-dark !important;
-moz-font-smoothing-background-color: -moz-mac-vibrant-titlebar-dark !important;
}
#urlbar {
-moz-appearance: -moz-mac-vibrant-titlebar-dark !important;
-moz-font-smoothing-background-color: -moz-mac-vibrant-titlebar-dark !important;
}
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header {
display: none;
}
/* Background for Light and Dark themes */
#main-window[lwthemetextcolor="bright"] #TabsToolbar,
#main-window[lwthemetextcolor="dark"] #TabsToolbar {
background-color: var(--chrome-secondary-background-color) !important;
background-image: none !important;
}
#main-window[lwthemetextcolor="dark"] .scrollbutton-up,
#main-window[lwthemetextcolor="dark"] .scrollbutton-down,
#main-window[lwthemetextcolor="dark"] .tabs-newtab-button,
#main-window[lwthemetextcolor="dark"] #new-tab-button,
#main-window[lwthemetextcolor="dark"] #alltabs-button {
fill: var(--lwt-text-color) !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment