Back to home page

EIC code displayed by LXR

 
 

    


Warning, /iDDS/monitor/data/scss/bootstrap/mixins/_transition.scss is written in an unsupported language. File is not indexed.

0001 // stylelint-disable property-disallowed-list
0002 @mixin transition($transition...) {
0003   @if length($transition) == 0 {
0004     $transition: $transition-base;
0005   }
0006 
0007   @if length($transition) > 1 {
0008     @each $value in $transition {
0009       @if $value == null or $value == none {
0010         @warn "The keyword 'none' or 'null' must be used as a single argument.";
0011       }
0012     }
0013   }
0014 
0015   @if $enable-transitions {
0016     @if nth($transition, 1) != null {
0017       transition: $transition;
0018     }
0019 
0020     @if $enable-reduced-motion and nth($transition, 1) != null and nth($transition, 1) != none {
0021       @media (prefers-reduced-motion: reduce) {
0022         transition: none;
0023       }
0024     }
0025   }
0026 }