mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2025-10-14 12:55:54 +00:00
create hide_tabs_toolbar_w_alltabs_button.css
This commit is contained in:
parent
20e225bb6c
commit
9c1d28b602
3 changed files with 39 additions and 17 deletions
20
chrome/hide_tabs_toolbar_w_alltabs_button.css
Normal file
20
chrome/hide_tabs_toolbar_w_alltabs_button.css
Normal file
|
@ -0,0 +1,20 @@
|
|||
/* 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(-18px - 2 * (var(--toolbarbutton-inner-padding)))}
|
||||
|
||||
:root{ --uc-titlebar-padding: 0px; --uc-window-control-width: 40px }
|
||||
:root[tabsintitlebar]{ --uc-window-control-width: 160px }
|
||||
:root[inFullscreen]{ --uc-window-control-width: 0px }
|
||||
@media (-moz-os-version: windows-win7),(-moz-os-version: windows-win10){
|
||||
:root[sizemode="maximized"][tabsintitlebar]{ --uc-titlebar-padding: 8px }
|
||||
}
|
||||
#titlebar{ -moz-appearance: none !important; margin-top: var(--uc-titlebar-padding) }
|
Loading…
Add table
Add a link
Reference in a new issue