CoreFiles by mySites.guru
_utilities.scss51 lines, 860 bytes, from wordpress-5.3.21.zip
Raw History Compare with 5.3.20
md5
a418afed26b812fde3d017be3784e4ac
sha1
0d1d2c519b55fde3e6b41771b2439fedea1ca45d
sha256
05a4d7c36fa705a5f334bb4a8a598916e01ccde5adc3eca69483ace1c5a88185

@mixin media( $res ) {
	@if mobile == $res {
		@media only screen and (min-width: $mobile_width) {
			@content;
		}
	}

	@if tablet == $res {
		@media only screen and (min-width: $tablet_width) {
			@content;
		}
	}

	@if desktop == $res {
		@media only screen and (min-width: $desktop_width) {
			@content;
		}
	}

	@if wide == $res {
		@media only screen and (min-width: $wide_width) {
			@content;
		}
	}
}

@mixin link-transition( $attr: color ) {
	transition: $attr $link_transition ease-in-out;
}

@mixin button-transition() {
	transition: background $button_transition ease-in-out;
}

@mixin button-all-transition() {
	transition: all $button_transition ease-in-out;
}

@mixin background-transition() {
	transition: background $background_transition ease-in-out;
}

@mixin selection {
	::-moz-selection {
		@content;
	}
	::selection {
		@content;
	}
}

The same content is in 335 releases, WordPress 5.0-beta4 to 5.9-RC3. See them all, or every version of this file.