HEX
Server: Apache
System: Linux webm004.cluster121.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: grainesdfo (155059)
PHP: 5.4.45
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/grainesdfo/www/wp-content/themes/jupiterx/lib/assets/less/bootstrap/mixins/_transition.less
//@mixin transition($transition...) {
//  @if $enable-transitions {
//    @if length($transition) == 0 {
//      transition: $transition-base;
//    } @else {
//      transition: $transition;
//    }
//  }
//}
#transition(@transition...) when (@enable-transitions) {
	& when (length(@transition) = 0) {
		transition: @transition-base;
	}
	// LESS PORT: In order to output the transitions correctly we have to iterate over the list and
	// use Less’s merge feature. Without this, transitions will be output space-separated instead of
	// comma-separated. Also, since a single transition can be misinterpreted as multiple transitions
	// (since it will have a length > 1) we have to include a check for the length of the first item
	// in the list. If the length is greater than 1, then we have a list of separate transitions. If
	// the the length is 1, then we’re looking at the first value of a single transition, so we
	// output `@transition` as-is.
	& when (length(@transition) > 0) and (length(extract(@transition, 1)) = 1) {
		transition: @transition;
	}
	& when (length(@transition) > 0) and (length(extract(@transition, 1)) > 1) {
		#each-transition(@i: 1) when (@i =< length(@transition)) {
			transition+: extract(@transition, @i);

			#each-transition((@i + 1));
		} #each-transition();
	}

	@media screen and (prefers-reduced-motion: reduce) {
		transition: none;
	}
}