From c95527cd96d6bc73769bb12220b455e0ac90818e Mon Sep 17 00:00:00 2001 From: Neil Deakin Date: Mon, 31 Mar 2014 08:42:33 -0400 Subject: [PATCH] Bug 610545, tweak arrow panel animations, patch by philipp sackl, r=enn --- toolkit/content/xul.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/toolkit/content/xul.css b/toolkit/content/xul.css index fc6bd0ebd470..619b27e2d9fe 100644 --- a/toolkit/content/xul.css +++ b/toolkit/content/xul.css @@ -427,11 +427,11 @@ panel[type="arrow"] { } panel[type="arrow"]:not([animate="false"]) { - transform: scale(.1); + transform: scale(.8); opacity: 0; transition-property: transform, opacity; - transition-duration: 0.25s; - transition-timing-function: cubic-bezier(.6, 1.0, .65, 1.0), ease; + transition-duration: 0.15s; + transition-timing-function: ease; } panel[type="arrow"][animate="open"] { @@ -475,14 +475,14 @@ panel[arrowposition="after_start"][animate="cancel"], panel[arrowposition="before_end"][animate="cancel"], panel[arrowposition="end_before"][animate="cancel"], panel[arrowposition="start_after"][animate="cancel"] { - transform: scale(.1) skew(30deg, 20deg); + transform: scale(.6) skew(10deg, 10deg); } panel[arrowposition="after_end"][animate="cancel"], panel[arrowposition="before_start"][animate="cancel"], panel[arrowposition="start_before"][animate="cancel"], panel[arrowposition="end_after"][animate="cancel"] { - transform: scale(.1) skew(-30deg, -20deg); + transform: scale(.6) skew(-10deg, -10deg); } %ifdef XP_MACOSX