Browse Source

Fixes #1660 issue with transform causing stacking context on dropdown icon

pull/1698/merge
jlukic 9 years ago
parent
commit
c48b52af90
1 changed files with 5 additions and 6 deletions
  1. 11
      src/themes/default/modules/accordion.variables

11
src/themes/default/modules/accordion.variables

@ -12,7 +12,7 @@
@titleColor: @textColor; @titleColor: @textColor;
/* Icon */ /* Icon */
@iconOpacity: 0.75;
@iconOpacity: 1;
@iconFontSize: 1em; @iconFontSize: 1em;
@iconFloat: none; @iconFloat: none;
@iconWidth: 1.25em; @iconWidth: 1.25em;
@ -21,12 +21,11 @@
@iconMargin: 0em 0.25rem 0em 0rem; @iconMargin: 0em 0.25rem 0em 0rem;
@iconPadding: 0em; @iconPadding: 0em;
@iconTransition: @iconTransition:
transform 0.2s ease,
opacity 0.2s ease
transform @transitionDuration @transitionEasing,
opacity @transitionDuration @transitionEasing
; ;
@iconVerticalAlign: baseline; @iconVerticalAlign: baseline;
@iconTransform: rotate(0deg);
@iconTransform: none;
/* Child Accordion */ /* Child Accordion */
@childAccordionMargin: 1em 0em 0em; @childAccordionMargin: 1em 0em 0em;
@ -78,7 +77,7 @@
@styledTitlePadding: 0.75em 1em; @styledTitlePadding: 0.75em 1em;
@styledTitleFontWeight: bold; @styledTitleFontWeight: bold;
@styledTitleColor: @unselectedTextColor; @styledTitleColor: @unselectedTextColor;
@styledTitleTransition: background-color 0.2s ease;
@styledTitleTransition: background-color @transitionDuration @transitionEasing;
@styledTitleBorder: 1px solid @borderColor; @styledTitleBorder: 1px solid @borderColor;
@styledTitleTransition: @styledTitleTransition:
background @transitionDuration @transitionEasing, background @transitionDuration @transitionEasing,

Loading…
Cancel
Save