@-moz-document url(chrome://browser/content/browser.xhtml) { #urlbar { font-family: var(--sans-serif-font-family) !important; font-size: var(--sans-serif-font-size) !important; } /* * Not sure why is this shit even exists... */ .titlebar-spacer { display: none !important; } /* * Disable the Firefox View button. */ #firefox-view-button { display: none !important; } /* * Stretch tabs to the max by default. */ .tabbrowser-tab[fadein]:not([pinned="true"]) { max-width: 100% !important; } /* * "C-t" exists. */ #tabs-newtab-button, #TabsToolbar #new-tab-button { display: none !important; } /* * "C-w" exists. */ .tab-close-button { display: none !important; } /* * Remove padding between URL bar and side elements. */ #customizableui-special-spring1, #customizableui-special-spring2 { display: none !important; } /* * Call indicator that some "designer" decided to make floating and impossible * to hide. */ #webrtcIndicator { display: none !important; } /* * Context menu. Both for tabs and page. */ #context-bookmarklink, #context-inspect-a11y, #context-navigation, #context-pocket, #context-print-selection, #context-searchselect, #context-selectall, #context-sendimage, #context-sendlinktodevice, #context-sendpagetodevice, #context-viewsource, #context_bookmarkTab, #context_moveTabOptions, #context_selectAllTabs, #context_sendTabToDevice, menuseparator { display: none !important; } /* * Unify margins for tab browser. */ #tabbrowser-tabs { margin-inline-start: 0 !important; border-inline-start: 0 !important; padding-inline-start: calc( var(--tab-overflow-pinned-tabs-width) + 2px ) !important; margin-inline-start: 0 !important; } #tabbrowser-tabs[haspinnedtabs]:not([positionpinnedtabs])[orient="horizontal"] > #tabbrowser-arrowscrollbox > .tabbrowser-tab:nth-child(1 of :not([pinned], [hidden])) { margin-inline-start: 0 !important; } }