From 40a355a42d4a9444dc753c04c6608dade2f06a23 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:27 +0200 Subject: Adding upstream version 125.0.1. Signed-off-by: Daniel Baumann --- browser/base/content/browser.css | 77 +--------------------------------------- 1 file changed, 1 insertion(+), 76 deletions(-) (limited to 'browser/base/content/browser.css') diff --git a/browser/base/content/browser.css b/browser/base/content/browser.css index 8a2a202809..c9ebddb7f5 100644 --- a/browser/base/content/browser.css +++ b/browser/base/content/browser.css @@ -115,6 +115,7 @@ panelview:not([visible]) { flex-shrink: 0; min-width: 0; min-height: 0; + max-height: 100%; } .panel-viewcontainer[panelopen] { @@ -934,82 +935,6 @@ toolbarpaletteitem[place="palette"] > #downloads-button > .toolbarbutton-badge-s display: none; } -@media (-moz-panel-animations) and (prefers-reduced-motion: no-preference) { -@media (-moz-platform: macos) { - /* On Mac, use the properties "-moz-window-transform" and "-moz-window-opacity" - instead of "transform" and "opacity" for these animations. - The -moz-window* properties apply to the whole window including the window's - shadow, and they don't affect the window's "shape", so the system doesn't - have to recompute the shadow shape during the animation. This makes them a - lot faster. In fact, Gecko no longer triggers shadow shape recomputations - for repaints. - These properties are not implemented on other platforms. */ - #BMB_bookmarksPopup:not([animate="false"]) { - transition-property: -moz-window-transform, -moz-window-opacity; - transition-duration: 0.18s, 0.18s; - transition-timing-function: - var(--animation-easing-function), ease-out; - } - - /* Only do the fade-in animation on pre-Big Sur to avoid missing shadows on - * Big Sur, see bug 1672091. */ - @media (-moz-mac-big-sur-theme: 0) { - #BMB_bookmarksPopup:not([animate="false"]) { - -moz-window-opacity: 0; - -moz-window-transform: translateY(-70px); - } - - #BMB_bookmarksPopup[side="bottom"]:not([animate="false"]) { - -moz-window-transform: translateY(70px); - } - } - - /* [animate] is here only so that this rule has greater specificity than the - * rule right above */ - #BMB_bookmarksPopup[animate][animate="open"] { - -moz-window-opacity: 1.0; - transition-duration: 0.18s, 0.18s; - -moz-window-transform: none; - transition-timing-function: - var(--animation-easing-function), ease-in-out; - } - - #BMB_bookmarksPopup[animate][animate="cancel"] { - -moz-window-opacity: 0; - -moz-window-transform: none; - } -} -@media not (-moz-platform: macos) { - #BMB_bookmarksPopup:not([animate="false"]) { - opacity: 0; - transform: translateY(-70px); - transition-property: transform, opacity; - transition-duration: 0.18s, 0.18s; - transition-timing-function: - var(--animation-easing-function), ease-out; - will-change: transform, opacity; - } - - #BMB_bookmarksPopup[side="bottom"]:not([animate="false"]) { - transform: translateY(70px); - } - - /* [animate] is here only so that this rule has greater specificity than the - * rule right above */ - #BMB_bookmarksPopup[animate][animate="open"] { - opacity: 1.0; - transition-duration: 0.18s, 0.18s; - transform: none; - transition-timing-function: - var(--animation-easing-function), ease-in-out; - } - - #BMB_bookmarksPopup[animate][animate="cancel"] { - transform: none; - } -} -} - /* Apply crisp rendering for favicons at exactly 2dppx resolution */ @media (resolution: 2dppx) { .PanelUI-remotetabs-clientcontainer > toolbarbutton > .toolbarbutton-icon, -- cgit v1.2.3