Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Adjust tab corner shape, optionally remove space below tabs */
- #tabbrowser-tabs {
- --user-tab-rounding: 0px;
- }
- .tab-background {
- border-radius: var(--user-tab-rounding) var(--user-tab-rounding) 0px 0px !important;
- margin-block: 0px 0 !important;
- }
- #scrollbutton-up, #scrollbutton-down {
- border-top-width: 1px !important;
- border-bottom-width: 0 !important;
- }
- /* Container color bar visibility */
- .tabbrowser-tab[usercontextid] > .tab-stack > .tab-background > .tab-context-line {
- margin: 0px max(calc(var(--user-tab-rounding) - 3px), 0px) !important;
- }
- /* Override Normal Density height to Compact Density height only for tabs */
- #TabsToolbar, #tabbrowser-tabs {
- --tab-min-height: 29px !important;
- }
- /* Tweak for covering a line at the bottom of the active tab on some themes 8/11/2021 */
- #main-window[sizemode="normal"] #toolbar-menubar[autohide="true"] + #TabsToolbar,
- #main-window[sizemode="normal"] #toolbar-menubar[autohide="true"] + #TabsToolbar #tabbrowser-tabs {
- --tab-min-height: 30px !important;
- }
- #scrollbutton-up,
- #scrollbutton-down {
- border-top-width: 0 !important;
- border-bottom-width: 0 !important;
- }
- /* [Connected Tabs] Set a max height based on min-height plus margin-block: 1px 0 */
- #TabsToolbar, #TabsToolbar > hbox, #TabsToolbar-customization-target, #tabbrowser-arrowscrollbox {
- max-height: calc(var(--tab-min-height) + 1px) !important;
- }
- /* [Connected Tabs] Adjust padding around icons on buttons to avoid crushed images */
- #TabsToolbar-customization-target toolbarbutton > .toolbarbutton-icon,
- #TabsToolbar-customization-target .toolbarbutton-text,
- #TabsToolbar-customization-target .toolbarbutton-badge-stack,
- #scrollbutton-up,#scrollbutton-down {
- padding-top: 8px !important;
- padding-bottom: 7px !important;
- }
- /* Inactive tabs: Separator line style */
- .tabbrowser-tab:not([selected=true]):not([multiselected=true]):not([beforeselected-visible="true"]) .tab-background {
- border-right: 1px solid var(--lwt-background-tab-separator-color, rgba(0, 0, 0, .20)) !important;
- }
- /* For dark backgrounds */
- [brighttext="true"] .tabbrowser-tab:not([selected=true]):not([multiselected=true]):not([beforeselected-visible="true"]) .tab-background {
- border-right: 1px solid var(--lwt-background-tab-separator-color, var(--lwt-selected-tab-background-color, rgba(255, 255, 255, .20))) !important;
- }
- .tabbrowser-tab:not([selected=true]):not([multiselected=true]) .tab-background {
- border-radius: 0 !important;
- }
- /* Remove padding between tabs */
- .tabbrowser-tab {
- padding-left: 0 !important;
- padding-right: 0 !important;
- }
- /* Override font-size for tabs */
- .tabbrowser-tab {
- font-size: 12px !important;
- }
- /* Override font-weight for tabs */
- .tabbrowser-tab {
- font-weight: 400 !important;
- }
- /*** Tighten up drop-down/context/popup menu spacing ***/
- menupopup:not(.in-menulist) > menuitem,
- menupopup:not(.in-menulist) > menu {
- padding-block: 3.5px !important; /* reduce to 3px, 2px, 1px or 0px as needed */
- min-height: unset !important; /* v92.0 - for padding below 4px */
- margin: 0 !important;
- padding-left: 12px !important;
- border-radius: 0 !important;
- }
- :root {
- --arrowpanel-menuitem-padding: 5px 8px !important;
- }
- /* END */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement