зеркало из https://github.com/mozilla/gecko-dev.git
Bug 610545, tweak arrow panel animations, patch by philipp sackl, r=enn
This commit is contained in:
Родитель
298d8939ed
Коммит
c95527cd96
|
@ -427,11 +427,11 @@ panel[type="arrow"] {
|
||||||
}
|
}
|
||||||
|
|
||||||
panel[type="arrow"]:not([animate="false"]) {
|
panel[type="arrow"]:not([animate="false"]) {
|
||||||
transform: scale(.1);
|
transform: scale(.8);
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition-property: transform, opacity;
|
transition-property: transform, opacity;
|
||||||
transition-duration: 0.25s;
|
transition-duration: 0.15s;
|
||||||
transition-timing-function: cubic-bezier(.6, 1.0, .65, 1.0), ease;
|
transition-timing-function: ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
panel[type="arrow"][animate="open"] {
|
panel[type="arrow"][animate="open"] {
|
||||||
|
@ -475,14 +475,14 @@ panel[arrowposition="after_start"][animate="cancel"],
|
||||||
panel[arrowposition="before_end"][animate="cancel"],
|
panel[arrowposition="before_end"][animate="cancel"],
|
||||||
panel[arrowposition="end_before"][animate="cancel"],
|
panel[arrowposition="end_before"][animate="cancel"],
|
||||||
panel[arrowposition="start_after"][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="after_end"][animate="cancel"],
|
||||||
panel[arrowposition="before_start"][animate="cancel"],
|
panel[arrowposition="before_start"][animate="cancel"],
|
||||||
panel[arrowposition="start_before"][animate="cancel"],
|
panel[arrowposition="start_before"][animate="cancel"],
|
||||||
panel[arrowposition="end_after"][animate="cancel"] {
|
panel[arrowposition="end_after"][animate="cancel"] {
|
||||||
transform: scale(.1) skew(-30deg, -20deg);
|
transform: scale(.6) skew(-10deg, -10deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
%ifdef XP_MACOSX
|
%ifdef XP_MACOSX
|
||||||
|
|
Загрузка…
Ссылка в новой задаче