mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 14:45:29 +00:00
+ Changes the animation curve to have a little bounce. A little sway. Some feeling. Some heart. Some sooooul. Ooooh yeah.
+ Most actions now take 200ms instead of 300ms
This commit is contained in:
parent
5a5ba3383b
commit
710dae3648
@ -146,7 +146,7 @@ window.TabItem.prototype = iQ.extend(new Item(), {
|
||||
$container.css(css);
|
||||
} else {
|
||||
TabMirror.pausePainting();
|
||||
$container.animate(css, 'animate350', function() {
|
||||
$container.animate(css, 'animate200', function() {
|
||||
TabMirror.resumePainting();
|
||||
}); // tabcandyBounce
|
||||
/* }).dequeue(); */
|
||||
|
@ -1,19 +1,30 @@
|
||||
.animate170 {
|
||||
-moz-transition-property: all;
|
||||
-moz-transition-duration: 0.17s;
|
||||
-moz-transition-timing-function: cubic-bezier(0.0, 0.35, .6, 1.4);
|
||||
}
|
||||
|
||||
|
||||
.animate200 {
|
||||
-moz-transition-property: all;
|
||||
-moz-transition-duration: 0.2s;
|
||||
-moz-transition-duration: 0.2s;
|
||||
-moz-transition-timing-function: cubic-bezier(0.0, 0.35, .6, 1.4);
|
||||
}
|
||||
|
||||
.animate300 {
|
||||
-moz-transition-property: all;
|
||||
-moz-transition-duration: 0.3s;
|
||||
-moz-transition-timing-function: cubic-bezier(0.0, 0.35, .6, 1.4);
|
||||
}
|
||||
|
||||
.animate350 {
|
||||
-moz-transition-property: all;
|
||||
-moz-transition-duration: 0.35s;
|
||||
-moz-transition-timing-function: cubic-bezier(0.0, 0.35, .6, 1.4);
|
||||
}
|
||||
|
||||
.animate2000 {
|
||||
-moz-transition-property: all;
|
||||
-moz-transition-duration: 2s;
|
||||
-moz-transition-timing-function: cubic-bezier(0.0, 0.35, .6, 1.4);
|
||||
}
|
Loading…
Reference in New Issue
Block a user