Bug 994582 - Tweak panel animation so that it looks good on all platforms/systems. r=enndeakin

This commit is contained in:
Philipp Sackl 2014-05-06 07:57:00 -04:00
parent 52f342a16a
commit be06238ed6
2 changed files with 8 additions and 8 deletions

View File

@ -942,11 +942,11 @@ chatbox:-moz-full-screen-ancestor > .chat-titlebar {
%ifndef MOZ_WIDGET_GTK
#BMB_bookmarksPopup {
transform: scale(.7);
transform: scale(.4);
opacity: 0;
transition-property: transform, opacity;
transition-duration: 0.15s;
transition-timing-function: ease;
transition-timing-function: ease-out;
}
#BMB_bookmarksPopup[animate="open"] {
@ -972,12 +972,12 @@ chatbox:-moz-full-screen-ancestor > .chat-titlebar {
#BMB_bookmarksPopup[arrowposition="after_start"][animate="cancel"],
#BMB_bookmarksPopup[arrowposition="before_end"][animate="cancel"] {
transform: scale(.7) skew(30deg, 20deg);
transform: none;
}
#BMB_bookmarksPopup[arrowposition="after_end"][animate="cancel"],
#BMB_bookmarksPopup[arrowposition="before_start"][animate="cancel"] {
transform: scale(.7) skew(-30deg, -20deg);
transform: none;
}
%endif

View File

@ -429,11 +429,11 @@ panel[type="arrow"] {
%ifndef MOZ_WIDGET_GTK
panel[type="arrow"]:not([animate="false"]) {
transform: scale(.7);
transform: scale(.4);
opacity: 0;
transition-property: transform, opacity;
transition-duration: 0.15s;
transition-timing-function: ease;
transition-timing-function: ease-out;
}
panel[type="arrow"][animate="open"] {
@ -477,14 +477,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(.7) skew(10deg, 10deg);
transform: none;
}
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(.7) skew(-10deg, -10deg);
transform: none;
}
%endif