<commit_before>@import 'bower_components/d2l-colors/d2l-colors.scss';

@mixin d2l-button() {
	border-width: 1px;
	border-style: solid;
	border-radius: 0.3rem;
	box-shadow: 0 0 0 4px rgba(0, 0, 0, 0);
	box-sizing: border-box;
	cursor: pointer;
	display: inline-block;
	font-family: inherit;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.02rem;
	line-height: 1rem;
	margin: 0;
	min-height: -webkit-calc(2rem + 2px);
	min-height: calc(2rem + 2px);
	outline: none;
	padding: 0.5rem 1.5rem;
	text-align: center;
	transition: box-shadow 0.2s;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	vertical-align: middle;
	white-space: nowrap;
	width: auto;
	&::-moz-focus-inner {
		border: 0;
	}
	&, &[disabled]:hover, &[disabled]:focus {
		background-color: $d2l-color-woolonardo;
		border-color: $d2l-color-titanius;
		color: $d2l-color-ferrite;
	}
	&:hover, &.d2l-button-hover {
		background-color: $d2l-color-gypsum;
	}
	&:focus, &.d2l-button-focus {
		border-color: rgba(0, 111, 191, 0.4);
		box-shadow: 0 0 0 4px rgba(0, 111, 191, 0.3);
	}
	&[disabled] {
		opacity: 0.5;
		cursor: default;
	}
	&[primary], &[primary][disabled]:hover, &[primary][disabled]:focus {
		background-color: $d2l-color-celestine;
		border-color: $d2l-color-celestuba;
		color: $d2l-color-white;
	}
	&[primary]:hover, &[primary].d2l-button-hover {
		background-color: $d2l-color-celestuba;
	}
	&[primary]:focus, &[primary].d2l-button-focus {
		box-shadow: 0 0 0 4px rgba(0, 111, 191, 0.3);
	}
}<commit_msg>exposing a few mixins so that BSI can leverage them<commit_after>@import 'bower_components/d2l-colors/d2l-colors.scss';

@mixin _d2l-button-clear-focus() {
	box-shadow: 0 0 0 4px rgba(0, 0, 0, 0);
}

@mixin _d2l-button-focus() {
	border-color: rgba(0, 111, 191, 0.4);
	box-shadow: 0 0 0 4px rgba(0, 111, 191, 0.3);
}

@mixin _d2l-button-primary-focus() {
	box-shadow: 0 0 0 4px rgba(0, 111, 191, 0.3);
}

@mixin d2l-button() {
	border-width: 1px;
	border-style: solid;
	border-radius: 0.3rem;
	@include _d2l-button-clear-focus();
	box-sizing: border-box;
	cursor: pointer;
	display: inline-block;
	font-family: inherit;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.02rem;
	line-height: 1rem;
	margin: 0;
	min-height: -webkit-calc(2rem + 2px);
	min-height: calc(2rem + 2px);
	outline: none;
	padding: 0.5rem 1.5rem;
	text-align: center;
	transition: box-shadow 0.2s;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	vertical-align: middle;
	white-space: nowrap;
	width: auto;
	&::-moz-focus-inner {
		border: 0;
	}
	&, &[disabled]:hover, &[disabled]:focus {
		background-color: $d2l-color-woolonardo;
		border-color: $d2l-color-titanius;
		color: $d2l-color-ferrite;
	}
	&:hover, &.d2l-button-hover {
		background-color: $d2l-color-gypsum;
	}
	&:focus, &.d2l-button-focus {
		@include _d2l-button-focus();
	}
	&[disabled] {
		opacity: 0.5;
		cursor: default;
	}
	&[primary], &[primary][disabled]:hover, &[primary][disabled]:focus {
		background-color: $d2l-color-celestine;
		border-color: $d2l-color-celestuba;
		color: $d2l-color-white;
	}
	&[primary]:hover, &[primary].d2l-button-hover {
		background-color: $d2l-color-celestuba;
	}
	&[primary]:focus, &[primary].d2l-button-focus {
		@include _d2l-button-primary-focus();
	}
}
{'fraction_non_alphanumeric': 0.18490679494888757, 'fraction_numerical': 0.052315093205051115, 'mean_word_length': 4.063926940639269, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '178572', 'n_tokens_mistral': 1610, 'n_tokens_neox': 1453, 'n_words': 275}