website/themes/datacoop2020/assets/static/css/bootstrap/mixins/_transition.scss
Benjamin Bach 2121cdca5f
Some checks reported errors
continuous-integration/drone/pr Build encountered an error
Colors and fonts for the new data.coop theme
2020-04-05 23:03:14 +02:00

17 lines
364 B
SCSS

// stylelint-disable property-blacklist
@mixin transition($transition...) {
@if $enable-transitions {
@if length($transition) == 0 {
transition: $transition-base;
} @else {
transition: $transition;
}
}
@if $enable-prefers-reduced-motion-media-query {
@media (prefers-reduced-motion: reduce) {
transition: none;
}
}
}