CoreFiles by mySites.guru
_utilities.scss44 lines, 762 bytes, from wordpress-5.0-beta1.zip
Raw History Compare with 4.9.8-beta2
md5
a5533bc83554e88354f7e64671aa61d3
sha1
c5b14e1029c208146b6122333124d2deb1697d8a
sha256
51a64f49443bb512fc5c4f16559353d9f648a7f87369072baf9d3933796c00ab

@mixin media( $res ) {
	@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 3 releases, WordPress 5.0-beta1 to 5.0-beta3. See them all, or every version of this file.