menu
This commit is contained in:
16
resources/admin_theme/scss/bootstrap/mixins/_transition.scss
Executable file
16
resources/admin_theme/scss/bootstrap/mixins/_transition.scss
Executable file
@ -0,0 +1,16 @@
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user