mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2025-10-13 20:45:56 +00:00
Create separate hide tabs toolbar file for osx
This commit is contained in:
parent
828d8181a3
commit
e05625cf62
4 changed files with 30 additions and 2 deletions
|
@ -1,7 +1,8 @@
|
|||
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/hide_tabs_toolbar.css made available under Mozilla Public License v. 2.0
|
||||
See the above repository for updates as well as full license text. */
|
||||
|
||||
/* Hide tabs toolbar Fx65+ */
|
||||
/* Hides tabs toolbar */
|
||||
/* For OSX use hide_tabs_toolbar_osx.css instead */
|
||||
|
||||
/* IMPORTANT */
|
||||
/*
|
||||
|
|
25
chrome/hide_tabs_toolbar_osx.css
Normal file
25
chrome/hide_tabs_toolbar_osx.css
Normal file
|
@ -0,0 +1,25 @@
|
|||
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/hide_tabs_toolbar_osx.css made available under Mozilla Public License v. 2.0
|
||||
See the above repository for updates as well as full license text. */
|
||||
|
||||
/* Hides tabs toolbar - OSX only */
|
||||
|
||||
/* IMPORTANT */
|
||||
/*
|
||||
Get window_control_placeholder_support.css
|
||||
Window controls will be all wrong without it
|
||||
*/
|
||||
|
||||
:root{ --uc-toolbar-height: 32px; }
|
||||
|
||||
:root:not([uidensity="compact"]){ --uc-toolbar-height: 38px }
|
||||
|
||||
#TabsToolbar > *{ visibility: collapse !important }
|
||||
|
||||
#TabsToolbar > .titlebar-buttonbox-container{
|
||||
visibility: visible !important;
|
||||
height:var(--uc-toolbar-height) !important;
|
||||
}
|
||||
|
||||
:root:not([inFullscreen]) #nav-bar{
|
||||
margin-top: calc(0px - var(--uc-toolbar-height));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue