From d6eb2ac027968ec7fb727a9ef0a148b25af97a5a Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Tue, 16 May 2023 06:38:41 +0300 Subject: [PATCH] Remove old -moz-os-version media queries They aren't needed anymore since ESR supports -moz-platform already --- chrome/autohide_toolbox.css | 5 +---- chrome/combined_tabs_and_main_toolbars.css | 2 +- chrome/tabs_below_content.css | 4 +--- chrome/window_control_placeholder_support.css | 4 +--- 4 files changed, 4 insertions(+), 11 deletions(-) diff --git a/chrome/autohide_toolbox.css b/chrome/autohide_toolbox.css index 500ac11..b1d4c6b 100644 --- a/chrome/autohide_toolbox.css +++ b/chrome/autohide_toolbox.css @@ -15,10 +15,7 @@ See the above repository for updates as well as full license text. */ --uc-toolbox-rotation: 88.5deg; } -@media (-moz-platform: windows), - (-moz-os-version: windows-win7), - (-moz-os-version: windows-win10){ - +@media (-moz-platform: windows){ #navigator-toolbox:not(:-moz-lwtheme){ background-color: -moz-dialog !important; } } diff --git a/chrome/combined_tabs_and_main_toolbars.css b/chrome/combined_tabs_and_main_toolbars.css index 945e076..3eb9755 100644 --- a/chrome/combined_tabs_and_main_toolbars.css +++ b/chrome/combined_tabs_and_main_toolbars.css @@ -22,7 +22,7 @@ See the above repository for updates as well as full license text. */ } :root[tabsintitlebar="true"] #nav-bar{ padding-inline: calc(var(--uc-hide-window-control-space,1) * 96px + 20px) 0px !important; } - @media (-moz-platform: windows-win10),(-moz-os-version: windows-win10){ + @media (-moz-platform: windows-win10){ :root[tabsintitlebar="true"] #nav-bar{ padding-left: calc(var(--uc-hide-window-control-space,1) * 134px + 20px) !important; } } #toolbar-menubar[autohide="true"] + #TabsToolbar .titlebar-buttonbox{ -moz-box-direction: reverse; flex-direction: row-reverse } diff --git a/chrome/tabs_below_content.css b/chrome/tabs_below_content.css index 9e31b84..36b40ee 100644 --- a/chrome/tabs_below_content.css +++ b/chrome/tabs_below_content.css @@ -38,9 +38,7 @@ linux_gtk_window_control_patch.css :root[tabsintitlebar="true"]:not([inFullscreen]) #toolbar-menubar[autohide="false"] .titlebar-buttonbox-container{ height: 100%; } :root[tabsintitlebar="true"]:not([inFullscreen]) #toolbar-menubar[autohide="false"] .titlebar-button{ padding: 2px 17px !important; } -@media (-moz-platform: windows), - (-moz-os-version: windows-win7), - (-moz-os-version: windows-win10){ +@media (-moz-platform: windows){ #titlebar{ -moz-appearance: none !important; } } /* Move tabs below content */ diff --git a/chrome/window_control_placeholder_support.css b/chrome/window_control_placeholder_support.css index 540adcb..ca065f5 100644 --- a/chrome/window_control_placeholder_support.css +++ b/chrome/window_control_placeholder_support.css @@ -22,9 +22,7 @@ See the above repository for updates as well as full license text. */ } @media (-moz-platform: windows-win7), - (-moz-platform: windows-win8), - (-moz-os-version: windows-win7), - (-moz-os-version: windows-win8){ + (-moz-platform: windows-win8){ :root:is([tabsintitlebar], [sizemode="fullscreen"]) { --uc-window-control-width: 105px; }