mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-01-30 04:10:32 -08:00
Fix: Tabs on Bottom - No titlebar with fullscreen
This commit is contained in:
parent
129bfd2f35
commit
2a250121cb
2 changed files with 8 additions and 8 deletions
|
|
@ -105,12 +105,12 @@ See the above repository for updates as well as full license text. */
|
|||
|
||||
/*= Navbar - Padding for window controls =====================================*/
|
||||
/* Customized https://github.com/MrOtherGuy/firefox-csshacks/blob/master/chrome/window_control_placeholder_support.css */
|
||||
:root[tabsintitlebar] {
|
||||
:root:is([tabsintitlebar], [sizemode="fullscreen"]) {
|
||||
--uc-window-control-width: 84px; /* Same as .titlebar-buttonbox-container - Space reserved for window controls, 84px is default value of linux */
|
||||
--uc-window-drag-space-pre: 30px; /* Same as .titlebar-spacer[type="pre-tabs"] - Extra space reserved on both sides of the nav-bar to be able to drag the window */
|
||||
--uc-window-drag-space-post: 25px; /* Same as .titlebar-spacer[type="post-tabs"] */
|
||||
}
|
||||
:root[tabsintitlebar][sizemode="maximized"] {
|
||||
:root:is([tabsintitlebar][sizemode="maximized"], [sizemode="fullscreen"]) {
|
||||
--uc-window-drag-space-pre: 0px; /* Remove pre space */
|
||||
}
|
||||
|
||||
|
|
@ -124,13 +124,13 @@ See the above repository for updates as well as full license text. */
|
|||
|
||||
/* Windows */
|
||||
@include OS($win7, $win8) {
|
||||
:root[tabsintitlebar] {
|
||||
:root:is([tabsintitlebar], [sizemode="fullscreen"]) {
|
||||
--uc-window-control-width: 105px;
|
||||
}
|
||||
}
|
||||
|
||||
@include OS($win10) {
|
||||
:root[tabsintitlebar] {
|
||||
:root:is([tabsintitlebar], [sizemode="fullscreen"]) {
|
||||
--uc-window-control-width: 138px;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3619,7 +3619,7 @@
|
|||
|
||||
/*= Navbar - Padding for window controls =====================================*/
|
||||
/* Customized https://github.com/MrOtherGuy/firefox-csshacks/blob/master/chrome/window_control_placeholder_support.css */
|
||||
:root[tabsintitlebar] {
|
||||
:root:is([tabsintitlebar], [sizemode="fullscreen"]) {
|
||||
--uc-window-control-width: 84px;
|
||||
/* Same as .titlebar-buttonbox-container - Space reserved for window controls, 84px is default value of linux */
|
||||
--uc-window-drag-space-pre: 30px;
|
||||
|
|
@ -3628,7 +3628,7 @@
|
|||
/* Same as .titlebar-spacer[type="post-tabs"] */
|
||||
}
|
||||
|
||||
:root[tabsintitlebar][sizemode="maximized"] {
|
||||
:root:is([tabsintitlebar][sizemode="maximized"], [sizemode="fullscreen"]) {
|
||||
--uc-window-drag-space-pre: 0px;
|
||||
/* Remove pre space */
|
||||
}
|
||||
|
|
@ -3645,12 +3645,12 @@
|
|||
(-moz-platform: windows-win7),
|
||||
(-moz-os-version: windows-win8),
|
||||
(-moz-platform: windows-win8) {
|
||||
:root[tabsintitlebar] {
|
||||
:root:is([tabsintitlebar], [sizemode="fullscreen"]) {
|
||||
--uc-window-control-width: 105px;
|
||||
}
|
||||
}
|
||||
@media (-moz-os-version: windows-win10), (-moz-platform: windows-win10) {
|
||||
:root[tabsintitlebar] {
|
||||
:root:is([tabsintitlebar], [sizemode="fullscreen"]) {
|
||||
--uc-window-control-width: 138px;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue