fix zoom reset button, menubar, moving tabs

This commit is contained in:
bmFtZQ 2021-12-06 09:40:15 +08:00
parent 837a6e6539
commit 1dea5bc95a
4 changed files with 17 additions and 10 deletions

View file

@ -18,13 +18,20 @@
transition-timing-function: cubic-bezier(0, .75, .25, 1) !important;
}
#tabbrowser-tabs[movingtab]>#tabbrowser-arrowscrollbox>.tabbrowser-tab[fadein]:not([selected]):not([multiselected]),
.tabbrowser-tab[tab-grouping],
.tabbrowser-tab[tabdrop-samewindow] {
transition: transform 150ms cubic-bezier(0, .75, .25, 1) !important;
}
:root:is([inFullscreen], :not([tabsintitlebar])) #titlebar {
--tab-block-margin: 0px !important;
}
/* hide space above tabs when maximised for non-macOS versions of Firefox */
@supports not -moz-bool-pref("layout.css.osx-font-smoothing.enabled") {
:root:is([inFullscreen], :not([tabsintitlebar]), [sizemode="maximized"]) #titlebar {
:root:is([inFullscreen], :not([tabsintitlebar]), [sizemode="maximized"]) #titlebar,
#toolbar-menubar:not([inactive]) + #TabsToolbar {
--tab-block-margin: 0px !important;
}
}