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 */
2022-03-23 09:12:31 +00:00
# tabbrowser-tabs { visibility : hidden }
2021-06-24 15:17:14 +00:00
# TabsToolbar-customization-target { -moz- box-pack : end ; }
2022-03-23 09:12:31 +00:00
# alltabs-button {
position : relative ;
z-index : 1 ;
padding-bottom : 5px ! important ;
}
# TabsToolbar : not ( [ inFullscreen ] ) > . titlebar-buttonbox-container {
padding-bottom : 5px ;
}
@ supports not -moz-bool-pref ( "layout.css.osx-font-smoothing.enabled" ) {
: root [ id ] { --uc-window-control-width : 40 px }
: root : is ( [ tabsintitlebar ] , [ sizemode = "fullscreen" ] ) { --uc-window-control-width : 160 px }
: root [ sizemode = "fullscreen" ] # alltabs-button { margin-right : var ( - - uc - window - control - width ) !important ; }
}
2021-06-24 15:17:14 +00:00
# TabsToolbar > . titlebar-spacer { display : none }
2022-03-23 09:12:31 +00:00
# TabsToolbar { margin-bottom : calc ( 0 px - var ( - - tab - min - height ) - 2 * var ( - - tab - block - margin ) ) }
2021-06-24 15:17:14 +00:00
2022-05-31 21:19:19 +00:00
# titlebar { -moz- appearance : none !important ; }