summaryrefslogtreecommitdiffstats
path: root/browser/base/content/browser.css
diff options
context:
space:
mode:
Diffstat (limited to 'browser/base/content/browser.css')
-rw-r--r--browser/base/content/browser.css77
1 files changed, 1 insertions, 76 deletions
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,