Browse Source

Fix reveal transition duration

pull/2304/head
Jack Lukic 9 years ago
parent
commit
1855ea66fe
2 changed files with 5 additions and 6 deletions
  1. 4
      src/definitions/elements/reveal.less
  2. 7
      src/themes/default/elements/reveal.variables

4
src/definitions/elements/reveal.less

@ -158,9 +158,7 @@
float: left; float: left;
margin: 0em; margin: 0em;
transition:
transform @defaultDuration @defaultEasing @transitionDelay,
;
transition: @moveTransition;
} }
.ui.move.reveal > .visible.content { .ui.move.reveal > .visible.content {

7
src/themes/default/elements/reveal.variables

@ -2,8 +2,8 @@
Reveal Reveal
*******************************/ *******************************/
@transitionDelay: 0.15s;
@transitionDuration: 0.8s;
@transitionDelay: 0.1s;
@transitionDuration: 0.5s;
@transitionEasing: cubic-bezier(0.175, 0.885, 0.320, 1); @transitionEasing: cubic-bezier(0.175, 0.885, 0.320, 1);
@transition: all @transitionDuration @defaultEasing @transitionDelay; @transition: all @transitionDuration @defaultEasing @transitionDelay;
@ -11,5 +11,6 @@
@topZIndex: 3; @topZIndex: 3;
@activeZIndex: 4; @activeZIndex: 4;
/* Types */
@rotateDegrees: 110deg; @rotateDegrees: 110deg;
@moveTransition: transform @transitionDuration @transitionEasing @transitionDelay;
Loading…
Cancel
Save