Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - /*** Proton Tabs Tweaks ***/
 - /* Adjust tab corner shape, optionally remove space below tabs */
 - #tabbrowser-tabs {
 - --user-tab-rounding: 6px;
 - }
 - .tab-background {
 - border-radius: var(--user-tab-rounding) var(--user-tab-rounding) 0px 0px !important;
 - margin-block: 1px 0 !important;
 - }
 - #scrollbutton-up, #scrollbutton-down { /* 6/10/2021 */
 - 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: 1.5px 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: 31px !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: 7px !important;
 - padding-bottom: 6px !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;
 - }
 - /* Tweak Options as of 8/13/2021; Generated Tue Aug 24 2021 11:27:47 GMT+0300 (Eastern European Summer Time) */
 - /* Use Normal top and bottom padding for compact */
 - #PlacesToolbarItems .bookmark-item {
 - padding-top: 0px !important;
 - padding-bottom: 0px !important;
 - }
 - /***Tighten up drop-down/context/popup menu spacing ***/
 - menupopup > menuitem, menupopup > menu {
 - padding-block: 2px !important;
 - }
 - :root {
 - --arrowpanel-menuitem-padding: 2px 8px !important;
 - }
 - /* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/tabs_on_bottom.css made available under Mozilla Public License v. 2.0
 - See the above repository for updates as well as full license text. */
 - /* Modify to change window drag space width */
 - /*
 - Use tabs_on_bottom_menubar_on_top_patch.css if you
 - have menubar permanently enabled and want it on top
 - */
 - /* IMPORTANT */
 - /*
 - Get window_control_placeholder_support.css
 - Window controls will be all wrong without it.
 - Additionally on Linux, you may need to get:
 - linux_gtk_window_control_patch.css
 - */
 - :root{ --uc-titlebar-padding: 0px; }
 - @media (-moz-os-version: windows-win10){
 - :root[sizemode="maximized"][tabsintitlebar]{ --uc-titlebar-padding: 8px }
 - }
 - #toolbar-menubar[autohide="true"] > .titlebar-buttonbox-container,
 - #TabsToolbar > .titlebar-buttonbox-container{
 - position: fixed;
 - display: block;
 - top: var(--uc-titlebar-padding,0px);
 - right:0;
 - height: 40px;
 - }
 - /* Mac specific. You should set that font-smoothing pref to true if you are on any platform where window controls are on left */
 - @supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled"){
 - :root{ --uc-titlebar-padding: 0px !important }
 - .titlebar-buttonbox-container{ left:0; right: unset !important; }
 - }
 - :root[uidensity="compact"] #TabsToolbar > .titlebar-buttonbox-container{ height: 32px }
 - #toolbar-menubar[inactive] > .titlebar-buttonbox-container{ opacity: 0 }
 - #navigator-toolbox{ padding-top: var(--uc-titlebar-padding,0px) !important; }
 - .titlebar-buttonbox-container > .titlebar-buttonbox{ height: 100%; }
 - #titlebar{
 - -moz-box-ordinal-group: 2;
 - -moz-appearance: none !important;
 - --tabs-navbar-shadow-size: 0px;
 - }
 - .titlebar-placeholder,
 - #TabsToolbar .titlebar-spacer{ display: none; }
 - /* Also hide the toolbox bottom border which isn't at bottom with this setup */
 - #navigator-toolbox::after{ display: none !important; }
 - @media (-moz-gtk-csd-close-button){ .titlebar-button{ -moz-box-orient: vertical } }
 - /* These exist only for compatibility with autohide-tabstoolbar.css */
 - toolbox#navigator-toolbox > toolbar#nav-bar.browser-toolbar{ animation: none; }
 - #navigator-toolbox:hover #TabsToolbar{ animation: slidein ease-out 48ms 1 }
 - /* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/tabs_on_bottom_menubar_on_top_patch.css made available under Mozilla Public License v. 2.0
 - See the above repository for updates as well as full license text. */
 - /* Menubar on top patch - use with tabs_on_bottom.css */
 - /* Only really useful if menubar is ALWAYS visible */
 - :root{ --uc-window-control-width: 0px !important }
 - #navigator-toolbox{ padding-top: calc(29px + var(--uc-titlebar-padding,0px)) !important }
 - #toolbar-menubar{
 - position: fixed;
 - display: flex;
 - top: var(--uc-titlebar-padding,0px);
 - height: 29px;
 - width: 100%;
 - overflow: hidden;
 - }
 - #toolbar-menubar > .titlebar-buttonbox-container{ height: 29px; order: 100; }
 - #toolbar-menubar > [flex]{ flex-grow: 100; }
 - #toolbar-menubar > spacer[flex]{
 - order: 99;
 - flex-grow: 1;
 - min-width: var(--uc-window-drag-space-width,20px);
 - }
 - #toolbar-menubar .titlebar-button{ padding: 2px 17px !important; }
 - #toolbar-menubar .toolbarbutton-1 { --toolbarbutton-inner-padding: 3px }
 - /* TABS: height */*|*:root { --tab-toolbar-navbar-overlap: 0px !important; --tab-min-height: 26px !important;
 - --tab-min-width: 80px !important;
 - #tabbrowser-tabs {
 - width: 100vw !important;
 - }
 - #main-window:not([chromehidden*="toolbar"]) #navigator-toolbox {padding-bottom: var(--tab-min-height) !important;}
 - .tab-background {
 - border-radius: 8px 8px 0px 0px !important; border-image: none !important;
 - }
 - .tab-line {
 - display: none;
 - }
 - .tab-close-button {
 - color: red!important;
 - }
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment