mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2024-11-10 03:40:14 +00:00
make extra titlebar-padding only apply to win10
This commit is contained in:
parent
8d4b1392f2
commit
63822d4fff
2 changed files with 5 additions and 10 deletions
|
@ -11,15 +11,14 @@ have menubar permanently enabled and want it on top
|
||||||
/*
|
/*
|
||||||
Get window_control_placeholder_support.css
|
Get window_control_placeholder_support.css
|
||||||
Window controls will be all wrong without it.
|
Window controls will be all wrong without it.
|
||||||
|
|
||||||
Additionally on Linux, you may need to get:
|
Additionally on Linux, you may need to get:
|
||||||
linux_gtk_window_control_patch.css
|
linux_gtk_window_control_patch.css
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
:root{ --uc-titlebar-padding: 0px; }
|
:root{ --uc-titlebar-padding: 0px; }
|
||||||
|
@media (-moz-os-version: windows-win10){
|
||||||
:root[sizemode="maximized"][tabsintitlebar]{ --uc-titlebar-padding: 8px }
|
:root[sizemode="maximized"][tabsintitlebar]{ --uc-titlebar-padding: 8px }
|
||||||
|
}
|
||||||
#toolbar-menubar[autohide="true"] > .titlebar-buttonbox-container,
|
#toolbar-menubar[autohide="true"] > .titlebar-buttonbox-container,
|
||||||
#TabsToolbar > .titlebar-buttonbox-container{
|
#TabsToolbar > .titlebar-buttonbox-container{
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
@ -30,9 +29,7 @@ linux_gtk_window_control_patch.css
|
||||||
}
|
}
|
||||||
/* Mac specific. You should set that font-smoothing pref to true if you are on any platform where window controls are on left */
|
/* Mac specific. You should set that font-smoothing pref to true if you are on any platform where window controls are on left */
|
||||||
@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled"){
|
@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled"){
|
||||||
@media not (-moz-os-version: windows-win10){
|
|
||||||
:root{ --uc-titlebar-padding: 0px !important }
|
:root{ --uc-titlebar-padding: 0px !important }
|
||||||
}
|
|
||||||
.titlebar-buttonbox-container{ left:0; right: unset !important; }
|
.titlebar-buttonbox-container{ left:0; right: unset !important; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -42,7 +39,6 @@ linux_gtk_window_control_patch.css
|
||||||
|
|
||||||
#navigator-toolbox{ padding-top: var(--uc-titlebar-padding,0px) !important; }
|
#navigator-toolbox{ padding-top: var(--uc-titlebar-padding,0px) !important; }
|
||||||
|
|
||||||
|
|
||||||
.titlebar-buttonbox-container > .titlebar-buttonbox{ height: 100%; }
|
.titlebar-buttonbox-container > .titlebar-buttonbox{ height: 100%; }
|
||||||
|
|
||||||
#titlebar{
|
#titlebar{
|
||||||
|
|
|
@ -6,14 +6,13 @@ See the above repository for updates as well as full license text. */
|
||||||
|
|
||||||
:root{ --uc-window-control-width: 0px !important }
|
:root{ --uc-window-control-width: 0px !important }
|
||||||
|
|
||||||
#navigator-toolbox{ padding-top: 29px !important }
|
#navigator-toolbox{ padding-top: calc(29px + var(--uc-titlebar-padding,0px)) !important }
|
||||||
|
|
||||||
#toolbar-menubar{
|
#toolbar-menubar{
|
||||||
position: fixed;
|
position: fixed;
|
||||||
display: flex;
|
display: flex;
|
||||||
top: var(--uc-titlebar-padding,0px);
|
top: var(--uc-titlebar-padding,0px);
|
||||||
height: 29px;
|
height: 29px;
|
||||||
margin-top:1px;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue