Use the same extra titlebar padding on Win7 that is used on Win10
This commit is contained in:
parent
6f2d9f5593
commit
86f8cf4b86
9 changed files with 9 additions and 9 deletions
|
@ -15,7 +15,7 @@ See the above repository for updates as well as full license text. */
|
||||||
--uc-toolbox-rotation: 89deg;
|
--uc-toolbox-rotation: 89deg;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (-moz-os-version: windows-win10){
|
@media (-moz-os-version: windows-win7),(-moz-os-version: windows-win10){
|
||||||
|
|
||||||
:root[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen]) > body > box{ margin-top: 8px !important; }
|
:root[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen]) > body > box{ margin-top: 8px !important; }
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ See the above repository for updates as well as full license text. */
|
||||||
#navigator-toolbox{ --tab-min-height: 40px }
|
#navigator-toolbox{ --tab-min-height: 40px }
|
||||||
:root[uidensity="compact"] #navigator-toolbox{ --tab-min-height: 32px }
|
:root[uidensity="compact"] #navigator-toolbox{ --tab-min-height: 32px }
|
||||||
|
|
||||||
@media (-moz-os-version: windows-win10){
|
@media (-moz-os-version: windows-win7),(-moz-os-version: windows-win10){
|
||||||
:root[sizemode="maximized"] > body > box{ margin-top: 8px }
|
:root[sizemode="maximized"] > body > box{ margin-top: 8px }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@ See the above repository for updates as well as full license text. */
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
}
|
}
|
||||||
/* Extra top padding in maximized window */
|
/* Extra top padding in maximized window */
|
||||||
@media (-moz-os-version: windows-win10){
|
@media (-moz-os-version: windows-win7),(-moz-os-version: windows-win10){
|
||||||
:root[sizemode="maximized"] #navigator-toolbox{ padding-top:7px !important; }
|
:root[sizemode="maximized"] #navigator-toolbox{ padding-top:7px !important; }
|
||||||
}
|
}
|
||||||
/* Fix window controls not being clickable */
|
/* Fix window controls not being clickable */
|
||||||
|
|
|
@ -54,7 +54,7 @@ Window controls will be all wrong without it
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
}
|
}
|
||||||
/* Extra top padding in maximized window */
|
/* Extra top padding in maximized window */
|
||||||
@media (-moz-os-version: windows-win10){
|
@media (-moz-os-version: windows-win7),(-moz-os-version: windows-win10){
|
||||||
:root[sizemode="maximized"] #navigator-toolbox{ padding-top:7px !important; }
|
:root[sizemode="maximized"] #navigator-toolbox{ padding-top:7px !important; }
|
||||||
}
|
}
|
||||||
/* Window controls in nav-bar */
|
/* Window controls in nav-bar */
|
||||||
|
|
|
@ -7,7 +7,7 @@ See the above repository for updates as well as full license text. */
|
||||||
:root[uidensity="compact"] #navigator-toolbox{ --uc-menubar-height: 30px }
|
:root[uidensity="compact"] #navigator-toolbox{ --uc-menubar-height: 30px }
|
||||||
|
|
||||||
#titlebar{ -moz-box-direction: reverse; -moz-appearance: none !important; }
|
#titlebar{ -moz-box-direction: reverse; -moz-appearance: none !important; }
|
||||||
@media (-moz-os-version: windows-win10){
|
@media (-moz-os-version: windows-win7),(-moz-os-version: windows-win10){
|
||||||
:root[sizemode="maximized"][tabsintitlebar] #TabsToolbar{ margin-top: 8px !important; }
|
:root[sizemode="maximized"][tabsintitlebar] #TabsToolbar{ margin-top: 8px !important; }
|
||||||
}
|
}
|
||||||
#toolbar-menubar{
|
#toolbar-menubar{
|
||||||
|
|
|
@ -28,7 +28,7 @@ See the above repository for updates as well as full license text. */
|
||||||
--multirow-tab-min-width: 100px;
|
--multirow-tab-min-width: 100px;
|
||||||
--multirow-tab-dynamic-width: 1; /* Change to 0 for fixed-width tabs using the above width. */
|
--multirow-tab-dynamic-width: 1; /* Change to 0 for fixed-width tabs using the above width. */
|
||||||
}
|
}
|
||||||
@media (-moz-os-version: windows-win10){
|
@media (-moz-os-version: windows-win7),(-moz-os-version: windows-win10){
|
||||||
:root[sizemode="maximized"]{ --multirow-top-padding: 8px }
|
:root[sizemode="maximized"]{ --multirow-top-padding: 8px }
|
||||||
}
|
}
|
||||||
:root[uidensity="compact"]{--multirow-toolbar-height: 32px}
|
:root[uidensity="compact"]{--multirow-toolbar-height: 32px}
|
||||||
|
|
|
@ -10,7 +10,7 @@ See the above repository for updates as well as full license text. */
|
||||||
:root:not([customizing]) #titlebar{ -moz-appearance: none !important; }
|
:root:not([customizing]) #titlebar{ -moz-appearance: none !important; }
|
||||||
|
|
||||||
/* -moz-appearance: none on titlebar breaks window margins, so re-adjust that */
|
/* -moz-appearance: none on titlebar breaks window margins, so re-adjust that */
|
||||||
@media (-moz-os-version: windows-win10){
|
@media (-moz-os-version: windows-win7),(-moz-os-version: windows-win10){
|
||||||
|
|
||||||
:root[sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 8px !important; }
|
:root[sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 8px !important; }
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ See the above repository for updates as well as full license text. */
|
||||||
overflow-x: -moz-hidden-unscrollable;
|
overflow-x: -moz-hidden-unscrollable;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
@media (-moz-os-version:windows-win10){
|
@media (-moz-os-version: windows-win7),(-moz-os-version:windows-win10){
|
||||||
:root[sizemode="maximized"] > head > title { padding-top: 10px }
|
:root[sizemode="maximized"] > head > title { padding-top: 10px }
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -16,7 +16,7 @@ linux_gtk_window_control_patch.css
|
||||||
*/
|
*/
|
||||||
|
|
||||||
:root{ --uc-titlebar-padding: 0px; }
|
:root{ --uc-titlebar-padding: 0px; }
|
||||||
@media (-moz-os-version: windows-win10){
|
@media (-moz-os-version: windows-win7),(-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,
|
||||||
|
|
Loading…
Reference in a new issue