From 409d6a5cc4127c81f38e8ee58089edeb69f39887 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Fri, 18 Dec 2020 17:45:23 +0200 Subject: [PATCH] Replace uses of :-moz-any with :is --- chrome/normal_pinned_tabs.css | 2 +- chrome/tab_loading_progress_throbber.css | 2 +- chrome/toolbars_below_content.css | 2 +- chrome/vertical_popup_menubar.css | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/chrome/normal_pinned_tabs.css b/chrome/normal_pinned_tabs.css index b996a97..add8871 100644 --- a/chrome/normal_pinned_tabs.css +++ b/chrome/normal_pinned_tabs.css @@ -24,7 +24,7 @@ See the above repository for updates as well as full license text. */ .tab-label-container{ width: unset !important; } .tab-label-container[pinned]{ margin-inline-start: 8px } -.tab-icon-sound:-moz-any([soundplaying],[muted],[activemedia-blocked],[pictureinpicture]), +.tab-icon-sound:is([soundplaying],[muted],[activemedia-blocked],[pictureinpicture]), .tab-close-button{ display: -moz-box !important; } .tab-icon-overlay{ display: none !important; } diff --git a/chrome/tab_loading_progress_throbber.css b/chrome/tab_loading_progress_throbber.css index 903d54b..c2dfa02 100644 --- a/chrome/tab_loading_progress_throbber.css +++ b/chrome/tab_loading_progress_throbber.css @@ -19,7 +19,7 @@ See the above repository for updates as well as full license text. */ clip-path: polygon(50% 50%,50% 0%,50% 0%,50% 0%, 50% 0%,50% 0%, 50% 0%); transition: clip-path 0.2s ease-out, opacity 0.3s linear 0.1s; } -.tabbrowser-tab:-moz-any([busy],[bursting]) .tab-content{ padding-left: calc( 9px - (var(--tab-loader-size) - 16px)) !important; } +.tabbrowser-tab:is([busy],[bursting]) .tab-content{ padding-left: calc( 9px - (var(--tab-loader-size) - 16px)) !important; } .tabbrowser-tab[pinned] .tab-content::before{ margin-right: 0px } @keyframes loadprogress{ from{ clip-path: polygon(50% 50%,50% 0%,100% 0%,100% 50%, 100% 50%,100% 50%, 100% 50%); } diff --git a/chrome/toolbars_below_content.css b/chrome/toolbars_below_content.css index 2dfe62f..b1b62c4 100644 --- a/chrome/toolbars_below_content.css +++ b/chrome/toolbars_below_content.css @@ -10,7 +10,7 @@ See the above repository for updates as well as full license text. */ #titlebar{ -moz-appearance: none !important; } @media (-moz-os-version: windows-win10){ - :root[sizemode="maximized"][tabsintitlebar] :-moz-any(#browser,#customization-container,#toolbar-menubar){ margin-top: 8px !important; } + :root[sizemode="maximized"][tabsintitlebar] :is(#browser,#customization-container,#toolbar-menubar){ margin-top: 8px !important; } } #mainPopupSet, diff --git a/chrome/vertical_popup_menubar.css b/chrome/vertical_popup_menubar.css index 30fdf91..6fb76fd 100644 --- a/chrome/vertical_popup_menubar.css +++ b/chrome/vertical_popup_menubar.css @@ -32,7 +32,7 @@ menubar > menu > menupopup{ margin: calc(0px - var(--uc-menubaritem-height)) 0 0 #toolbar-menubar[autohide="true"]:not([inactive]){ margin-bottom: -32px } -#toolbar-menubar > .titlebar-buttonbox-container + :-moz-any(toolbarbutton,toolbaritem){ margin-inline-start: var(--uc-menubaritem-width) } +#toolbar-menubar > .titlebar-buttonbox-container + :is(toolbarbutton,toolbaritem){ margin-inline-start: var(--uc-menubaritem-width) } #file-menu{ fill: currentColor;