2021-06-24 15:17:14 +00:00
/ * Source file https : / / github . com / MrOtherGuy / firefox-csshacks / tree / master / chrome / hide_tabs_toolbar_w_with_alltabs_button . css made available under Mozilla Public License v . 2 . 0
See the above repository for updates as well as full license text . * /
/* This is less flexible than hide_tabs_toolbar.css, but this method aims to preserve the alltabs button and show it and window controls next to the main menu button */
/* Load window_control_placeholder_support.css before this stylesheet */
# tabbrowser-tabs { visibility : collapse }
# TabsToolbar-customization-target { -moz- box-pack : end ; }
# alltabs-button { position : relative ; z-index : 1 }
# TabsToolbar > . titlebar-spacer { display : none }
# TabsToolbar { margin-bottom : calc ( -18 px - 2 * ( var ( - - toolbarbutton - inner - padding ) ) ) }
: root { --uc-titlebar-padding : 0 px ; --uc-window-control-width : 40 px }
: root [ tabsintitlebar ] { --uc-window-control-width : 160 px }
: root [ inFullscreen ] { --uc-window-control-width : 0 px }
2022-02-12 07:20:20 +00:00
@ media ( -moz-platform : windows ) ,
( -moz-os-version : windows-win7 ) ,
( -moz-os-version : windows-win10 ) {
: root [ sizemode = "maximized" ] [ tabsintitlebar ] {
--uc-titlebar-padding : 8px ;
}
2021-06-24 15:17:14 +00:00
}
2022-02-12 07:20:20 +00:00
2021-06-24 15:17:14 +00:00
# titlebar { -moz- appearance : none !important ; margin-top : var ( - - uc - titlebar - padding ) }