CoreFiles by mySites.guru
extends.scss42 lines, 1,125 bytes, from wordpress-5.6-beta4.zip
Raw History Compare with 5.6-beta3
md5
959f0f208170d89f9ea13d33f4398267
sha1
ef157e4c99e565b760eebff09f4a858463078c8d
sha256
f03963656620c09955c2dffa3b72367c53ec49df01a410272b57da52613794af
/* Button extends */
// Button Placeholder style
// - Since buttons appear in various blocks,
//   let’s use a placeholder to keep them all
//   in-sync
%button-style {
	@include crop-text(var(--button--line-height));
	color: var(--button--color-text);
	cursor: pointer;
	font-weight: var(--button--font-weight);
	font-family: var(--button--font-family);
	font-size: var(--button--font-size);
	background-color: var(--button--color-background);
	border-radius: var(--button--border-radius);
	border: var(--button--border-width) solid var(--button--color-background);
	text-decoration: none;
	padding: var(--button--padding-vertical) var(--button--padding-horizontal);

	&:active {
		color: var(--button--color-text-active);
		background-color: var(--button--color-background-active);
	}

	&:hover {
		color: var(--button--color-text-hover);
		background: transparent;
	}

	&:focus,
	&.has-focus {
		outline-offset: -6px;
		outline: 2px dotted currentColor;
	}

	&:disabled {
		background-color: var(--global--color-white-50);
		border-color: var(--global--color-white-50);
		color: var(--button--color-text-active);
	}

}

The same content is in 2 releases, WordPress 5.6-beta4 to 5.6-RC1. See them all, or every version of this file.