<commit_before>/**
 * @copyright Copyright (c) 2016, <NAME> <<EMAIL>>
 * @copyright Copyright (c) 2016, <NAME> <<EMAIL>>
 * @copyright Copyright (c) 2016, <NAME> <<EMAIL>>
 * @copyright Copyright (c) 2016, <NAME> <<EMAIL>>
 * @copyright Copyright (c) 2016, jowi <<EMAIL>>
 * @copyright Copyright (c) 2015, <NAME> <<EMAIL>>
 * @copyright Copyright (c) 2015, <NAME> <<EMAIL>>
 * @copyright Copyright (c) 2014-2017, <NAME> <<EMAIL>>
 *
 * @license GNU AGPL version 3 or any later version
 *
 */

 /* Specifically override browser styles */
input, textarea, select, button, div[contenteditable=true], div[contenteditable=false] {
	font-family: var(--font-face);
}
.select2-container-multi .select2-choices .select2-search-field input, .select2-search input, .ui-widget {
	font-family: var(--font-face) !important;
}

/* Simple selector to allow easy overriding */
select,
button,
input,
textarea,
div[contenteditable=true],
div[contenteditable=false] {
	width: 130px;
	min-height: 32px;
	box-sizing: border-box;
}

/**
 * color-text-lighter		normal state
 * color-text-lighter		active state
 * color-text-maxcontrast 	disabled state
 */


/* Default global values */
select,
button, .button,
input:not([type='range']),
textarea,
div[contenteditable=true],
.pager li a {
	margin: 3px 3px 3px 0;
	padding: 7px 6px;
	font-size: 13px;
	background-color: var(--color-main-background);
	color: var(--color-text-lighter);
	border: 1px solid var(--color-border-dark);
	outline: none;
	border-radius: var(--border-radius);
	cursor: text;
	&:not(:disabled):not(.primary) {
		&:hover,
		&:focus,
		&.active {
		/* active class used for multiselect */
			border-color: var(--color-primary-element);
			outline: none;
		}
		&:active {
			outline: none;
			background-color: var(--color-main-background);
			color: var(--color-text-light);
		}
	}
	&:disabled {
		background-color: var(--color-background-dark);
		color: var(--color-text-maxcontrast);
		cursor: default;
		opacity: 0.5;
	}
	&:required {
		box-shadow: none;
	}
	&:invalid {
		box-shadow: none !important;
		border-color: var(--color-error);
	}
	/* Primary action button, use sparingly */
	&.primary {
		background-color: var(--color-primary-element);
		border: 1px solid var(--color-primary-text);
		color: var(--color-primary-text);
		cursor: pointer;
		&:not(:disabled) {
			&:hover,
			&:focus,
			&:active  {
				background-color: var(--color-primary-element-light)
			}
			&:active {
				color: var(--color-primary-text-dark);
			}
		}
		&:disabled {
			// opacity is already defined to .5 if disabled
			background-color: var(--color-primary-element);
			color: var(--color-primary-text-dark);
		}
	}
}

div[contenteditable=false] {
	margin: 3px 3px 3px 0;
	padding: 7px 6px;
	font-size: 13px;
	background-color: var(--color-main-background);
	color: var(--color-text-lighter);
	border: 1px solid var(--color-background-darker);
	outline: none;
	border-radius: var(--border-radius);
	cursor: text;

	background-color: var(--color-background-dark);
	color: var(--color-text-lighter);
	cursor: default;
	opacity: 0.5;
}<commit_msg>Apply border to primary button if on log in page (and not in a dark container) or if in header, fix #12294<commit_after>/**
 * @copyright Copyright (c) 2016, <NAME> <<EMAIL>>
 * @copyright Copyright (c) 2016, <NAME> <<EMAIL>>
 * @copyright Copyright (c) 2016, <NAME> <<EMAIL>>
 * @copyright Copyright (c) 2016, <NAME> <<EMAIL>>
 * @copyright Copyright (c) 2016, jowi <<EMAIL>>
 * @copyright Copyright (c) 2015, <NAME> <<EMAIL>>
 * @copyright Copyright (c) 2015, <NAME> <<EMAIL>>
 * @copyright Copyright (c) 2014-2017, <NAME> <<EMAIL>>
 *
 * @license GNU AGPL version 3 or any later version
 *
 */

 /* Specifically override browser styles */
input, textarea, select, button, div[contenteditable=true], div[contenteditable=false] {
	font-family: var(--font-face);
}
.select2-container-multi .select2-choices .select2-search-field input, .select2-search input, .ui-widget {
	font-family: var(--font-face) !important;
}

/* Simple selector to allow easy overriding */
select,
button,
input,
textarea,
div[contenteditable=true],
div[contenteditable=false] {
	width: 130px;
	min-height: 32px;
	box-sizing: border-box;
}

/**
 * color-text-lighter		normal state
 * color-text-lighter		active state
 * color-text-maxcontrast 	disabled state
 */


/* Default global values */
select,
button, .button,
input:not([type='range']),
textarea,
div[contenteditable=true],
.pager li a {
	margin: 3px 3px 3px 0;
	padding: 7px 6px;
	font-size: 13px;
	background-color: var(--color-main-background);
	color: var(--color-text-lighter);
	border: 1px solid var(--color-border-dark);
	outline: none;
	border-radius: var(--border-radius);
	cursor: text;
	&:not(:disabled):not(.primary) {
		&:hover,
		&:focus,
		&.active {
		/* active class used for multiselect */
			border-color: var(--color-primary-element);
			outline: none;
		}
		&:active {
			outline: none;
			background-color: var(--color-main-background);
			color: var(--color-text-light);
		}
	}
	&:disabled {
		background-color: var(--color-background-dark);
		color: var(--color-text-maxcontrast);
		cursor: default;
		opacity: 0.5;
	}
	&:required {
		box-shadow: none;
	}
	&:invalid {
		box-shadow: none !important;
		border-color: var(--color-error);
	}
	/* Primary action button, use sparingly */
	&.primary {
		background-color: var(--color-primary-element);
		border-color: var(--color-primary-element);
		color: var(--color-primary-text);
		cursor: pointer;

		/* Apply border to primary button if on log in page (and not in a dark container) or if in header */
		#body-login :not(body-login-container) &,
		#header & {
			border-color: var(--color-primary-text);
		}

		&:not(:disabled) {
			&:hover,
			&:focus,
			&:active {
				background-color: var(--color-primary-element-light);
				border-color: var(--color-primary-element-light);
			}
			&:active {
				color: var(--color-primary-text-dark);
			}
		}
		&:disabled {
			// opacity is already defined to .5 if disabled
			background-color: var(--color-primary-element);
			color: var(--color-primary-text-dark);
		}
	}
}

div[contenteditable=false] {
	margin: 3px 3px 3px 0;
	padding: 7px 6px;
	font-size: 13px;
	background-color: var(--color-main-background);
	color: var(--color-text-lighter);
	border: 1px solid var(--color-background-darker);
	outline: none;
	border-radius: var(--border-radius);
	cursor: text;

	background-color: var(--color-background-dark);
	color: var(--color-text-lighter);
	cursor: default;
	opacity: 0.5;
}
{'fraction_non_alphanumeric': 0.17144609722435208, 'fraction_numerical': 0.02208250268363748, 'mean_word_length': 3.82396449704142, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, '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': '2183652', 'n_tokens_mistral': 2572, 'n_tokens_neox': 2299, 'n_words': 550}