mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 994582 - Tweak panel animation so that it looks good on all platforms/systems. r=enndeakin
This commit is contained in:
parent
52f342a16a
commit
be06238ed6
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user