Browse Source

Add transition global

pull/2092/head
jlukic 9 years ago
parent
commit
e9f4fe283c
1 changed files with 5 additions and 5 deletions
  1. 10
      src/themes/default/modules/dropdown.variables

10
src/themes/default/modules/dropdown.variables

@ -7,8 +7,8 @@
--------------------*/ --------------------*/
@transition: @transition:
border-radius 0.1s ease,
width 0.2s ease
border-radius @transitionDuration @transitionEasing,
width @transitionDuration @transitionEasing
; ;
@borderRadius: @defaultBorderRadius; @borderRadius: @defaultBorderRadius;
@ -22,7 +22,7 @@
@dropdownIconMargin: 0em 0em 0em 1em; @dropdownIconMargin: 0em 0em 0em 1em;
/* Current Text */ /* Current Text */
@textTransition: color 0.2s @defaultEasing;
@textTransition: color @transitionDuration @defaultEasing;
/* Menu */ /* Menu */
@menuBackground: #FFFFFF; @menuBackground: #FFFFFF;
@ -38,7 +38,7 @@
@menuBorder: @menuBorderWidth solid @menuBorderColor; @menuBorder: @menuBorderWidth solid @menuBorderColor;
@menuBoxShadow: @raisedShadow; @menuBoxShadow: @raisedShadow;
@menuBorderRadius: 0em 0em @borderRadius @borderRadius; @menuBorderRadius: 0em 0em @borderRadius @borderRadius;
@menuTransition: opacity 0.2s ease;
@menuTransition: opacity @transitionDuration @transitionEasing;
@menuMinWidth: ~"calc(100% + "(@menuBorderWidth * 2)~")"; @menuMinWidth: ~"calc(100% + "(@menuBorderWidth * 2)~")";
@menuZIndex: 11; @menuZIndex: 11;
@ -145,7 +145,7 @@
@selectionIconHitbox: @selectionVerticalPadding; @selectionIconHitbox: @selectionVerticalPadding;
@selectionIconMargin: -@selectionIconHitbox; @selectionIconMargin: -@selectionIconHitbox;
@selectionIconPadding: @selectionIconHitbox; @selectionIconPadding: @selectionIconHitbox;
@selectionIconTransition: opacity 0.2s ease;
@selectionIconTransition: opacity @transitionDuration @transitionEasing;
@selectionMenuBoxShadow: @raisedShadow; @selectionMenuBoxShadow: @raisedShadow;
@selectionMenuItemBoxShadow: none; @selectionMenuItemBoxShadow: none;

Loading…
Cancel
Save