From 1ff9383984632fe91b8466730679e019de13c745 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sun, 10 Sep 2023 06:55:31 +0300 Subject: [PATCH] Remove even more old Firefox < 112 compatibility rules --- chrome/hide_tabs_scrollbuttons.css | 2 -- chrome/hide_tabs_toolbar.css | 2 -- chrome/hide_tabs_with_one_tab.css | 1 - chrome/hide_tabs_with_one_tab_w_window_controls.css | 1 - chrome/iconized_main_menu.css | 1 - chrome/newtab_button_always_on_hover.css | 1 - chrome/non_floating_sharp_tabs.css | 2 -- chrome/pinned_tabs_on_right.css | 8 -------- 8 files changed, 18 deletions(-) diff --git a/chrome/hide_tabs_scrollbuttons.css b/chrome/hide_tabs_scrollbuttons.css index 9c65593..c08537b 100644 --- a/chrome/hide_tabs_scrollbuttons.css +++ b/chrome/hide_tabs_scrollbuttons.css @@ -26,12 +26,10 @@ See the above repository for updates as well as full license text. */ visibility: visible !important; } spacer[part="overflow-start-indicator"]{ - -moz-box-ordinal-group: 0; /* Fx < 112 compatibility */ order: -1; margin-inline-start: var(--uc-scrollbox-overflow-start-margin,-0.5px) !important; } spacer[part="overflow-end-indicator"]{ - -moz-box-ordinal-group: 2; /* Fx < 112 compatibility */ order: 2; } diff --git a/chrome/hide_tabs_toolbar.css b/chrome/hide_tabs_toolbar.css index bebcda5..1dcf560 100644 --- a/chrome/hide_tabs_toolbar.css +++ b/chrome/hide_tabs_toolbar.css @@ -39,9 +39,7 @@ Window controls will be all wrong without it } :root[tabsintitlebar] #toolbar-menubar[autohide="true"] #main-menubar{ - -moz-box-flex: 1; /* Fx < 112 compatibility */ flex-grow: 1; - -moz-box-align: stretch; /* Fx < 112 compatibility */ align-items: stretch; background-color: var(--toolbar-bgcolor,--toolbar-non-lwt-bgcolor); background-clip: padding-box; diff --git a/chrome/hide_tabs_with_one_tab.css b/chrome/hide_tabs_with_one_tab.css index a4404f8..a606f62 100644 --- a/chrome/hide_tabs_with_one_tab.css +++ b/chrome/hide_tabs_with_one_tab.css @@ -42,7 +42,6 @@ This will NOT work correctly if you have hidden tabs such as with tab groups ext } @media (-moz-platform: linux){ #TabsToolbar .titlebar-buttonbox{ - -moz-box-align: stretch !important; /* Fx < 112 compatibility */ align-items: stretch !important; } #TabsToolbar > .titlebar-buttonbox-container > .titlebar-buttonbox > .titlebar-button{ diff --git a/chrome/hide_tabs_with_one_tab_w_window_controls.css b/chrome/hide_tabs_with_one_tab_w_window_controls.css index cfed110..4df6631 100644 --- a/chrome/hide_tabs_with_one_tab_w_window_controls.css +++ b/chrome/hide_tabs_with_one_tab_w_window_controls.css @@ -31,7 +31,6 @@ Window controls will be all wrong without it #TabsToolbar > .titlebar-spacer[type="post-tabs"]{ width: calc(var(--uc-window-control-width,0px) + var(--uc-window-drag-space-post,0px)) !important; - -moz-box-ordinal-group: 2; /* Fx < 112 compatibility */ order: 2; } #toolbar-menubar > spacer{ pointer-events: none } diff --git a/chrome/iconized_main_menu.css b/chrome/iconized_main_menu.css index d419a90..464668a 100644 --- a/chrome/iconized_main_menu.css +++ b/chrome/iconized_main_menu.css @@ -40,6 +40,5 @@ See the above repository for updates as well as full license text. */ } #appMenu-find-button2 ~ *{ - -moz-box-ordinal-group: 2; /* Fx < 112 compatibility */ order: 2; } \ No newline at end of file diff --git a/chrome/newtab_button_always_on_hover.css b/chrome/newtab_button_always_on_hover.css index b9e4bc9..3507227 100644 --- a/chrome/newtab_button_always_on_hover.css +++ b/chrome/newtab_button_always_on_hover.css @@ -7,5 +7,4 @@ See the above repository for updates as well as full license text. */ } #tabbrowser-tabs:hover #tabs-newtab-button{ display: flex !important; - align-items: center; /* Fx < 112 compatibility */ } diff --git a/chrome/non_floating_sharp_tabs.css b/chrome/non_floating_sharp_tabs.css index b42cc5b..c50823f 100644 --- a/chrome/non_floating_sharp_tabs.css +++ b/chrome/non_floating_sharp_tabs.css @@ -42,7 +42,6 @@ See the above repository for updates as well as full license text. */ /* tabs newtab button needs some special styling... */ #tabs-newtab-button{ padding-inline: 0 !important; - -moz-box-align: stretch !important; /* Fx < 112 compatibility */ align-items: stretch !important; } /* We draw the icon as background-image to get correct scaling regardless of toolbar height */ @@ -120,7 +119,6 @@ See the above repository for updates as well as full license text. */ /* moves context-line to the bottom */ .tab-context-line{ - -moz-box-ordinal-group: 2; /* Fx < 112 compatibility */ order: 2; margin-inline: 10px !important; } \ No newline at end of file diff --git a/chrome/pinned_tabs_on_right.css b/chrome/pinned_tabs_on_right.css index 9ba6658..05d71fd 100644 --- a/chrome/pinned_tabs_on_right.css +++ b/chrome/pinned_tabs_on_right.css @@ -7,34 +7,26 @@ See the above repository for updates as well as full license text. */ .scrollbutton-up[orient="horizontal"]~spacer{ display: none } .scrollbutton-up[orient="horizontal"]~scrollbox{ - -moz-box-direction: inherit; /* Fx < 112 compatibility */ - -moz-box-pack: end; /* Fx < 112 compatibility */ justify-content: flex-end; } .scrollbutton-up[orient="horizontal"]~scrollbox::after{ - display: -moz-box; /* Fx < 112 compatibility */ content: ""; display: flex; flex-grow: 1; flex-shrink: 1; order: 2; - -moz-box-flex: 1; /* Fx < 112 compatibility */ - -moz-box-ordinal-group: 2; /* Fx < 112 compatibility */ } #tabs-newtab-button{ - -moz-box-ordinal-group: 2; /* Fx < 112 compatibility */ order: 2; } .tabbrowser-tab[pinned]{ - -moz-box-ordinal-group: 3; /* Fx < 112 compatibility */ order: 3; } #tabbrowser-tabs[positionpinnedtabs]{ direction: rtl } #tabbrowser-tabs[positionpinnedtabs] > arrowscrollbox { - -moz-box-direction: reverse; /* Fx < 112 compatibility */ flex-direction: row-reverse; } .tab-content{ direction: ltr } \ No newline at end of file