<commit_before>/* default values */
button,
input[type='reset'],
input[type='submit'],
input[type='button'],
.button {
	border-radius: @wcfButtonBorderRadius;
	border-style: solid;
	border-width: 1px;
	cursor: pointer;
	display: inline-block;
	margin: 0 4px;
	padding: 5px 13px;
	position: relative;
}

/* normal state */
.button,
input[type='reset']:not([disabled]),
input[type='submit']:not([disabled]),
input[type='button']:not([disabled]),
button:not([disabled]) {
	background-color: @wcfButtonBackgroundColor;
	border-color: @wcfButtonBorderColor;
	color: @wcfButtonColor;
	text-decoration: none;
	
	.textShadow(@wcfButtonBackgroundColor);
}

/* primary */
.button.buttonPrimary,
input[type='submit']:not([disabled]),
input[type='button']:not([disabled]).buttonPrimary,
button:not([disabled]).buttonPrimary {
	background-color: @wcfButtonPrimaryBackgroundColor;
	border-color: @wcfButtonPrimaryBorderColor;
	color: @wcfButtonPrimaryColor;
	font-weight: bold;
	
	.textShadow(@wcfButtonPrimaryBackgroundColor);
	
	.icon {
		color: @wcfButtonPrimaryColor;
	}
}

/* hover */
.button:hover,
input[type='reset']:not([disabled]):hover,
input[type='submit']:not([disabled]):hover,
input[type='button']:not([disabled]):hover,
button:not([disabled]):hover {
	background-color: @wcfButtonHoverBackgroundColor;
	border-color: @wcfButtonHoverBorderColor;
	color: @wcfButtonHoverColor;
	text-decoration: none;
	z-index: 100;
	
	.textShadow(@wcfButtonHoverBackgroundColor);
	
	.icon {
		color: @wcfButtonHoverColor;
	}
}

/* primary hover */
.button.buttonPrimary:hover,
input[type='submit']:not([disabled]):hover,
input[type='button']:not([disabled]).buttonPrimary:hover,
button:not([disabled]).buttonPrimary:hover {
	background-color: @wcfButtonPrimaryHoverBackgroundColor;
	border-color: @wcfButtonPrimaryHoverBorderColor;
	color: @wcfButtonPrimaryHoverColor;
	
	.textShadow(@wcfButtonPrimaryHoverBackgroundColor);
	
	.icon {
		color: @wcfButtonPrimaryHoverColor;
	}
}

/* disabled state */
input[type='reset']:disabled,
input[type='submit']:disabled,
input[type='button']:disabled,
button:disabled {
	background-color: @wcfButtonBackgroundColor;
	border-color: @wcfButtonBorderColor;
	color: lighten(@wcfButtonColor, 10%);
	cursor: not-allowed;
	text-decoration: none;
	
	.textShadow(@wcfButtonBackgroundColor);
}

/* active (permanently) */
.button.active,
input[type='button'].active,
button.active,
.button.active:hover,
input[type='button'].active:hover,
button.active:hover {
	background-color: @wcfButtonColor;
	border-color: darken(@wcfButtonColor, 5%);
	color: @wcfButtonBackgroundColor;
	
	.boxShadowInset(0, 1px, rgba(0, 0, 0, .1), 1px);
	.textShadow(@wcfButtonColor);
	
	.icon {
		color: @wcfButtonBackgroundColor;
		
		.textShadow(@wcfButtonColor);
	}
}

/* small buttons */
button.small,
.button.small {
	border-radius: @wcfSmallButtonBorderRadius;
	font-size: @wcfSmallFontSize;
	min-height: 13px;
	padding: 5px 11px;
	margin: 0 2px;
}

/* button list */
.buttonList {
	font-size: 0;
	margin-bottom: -@wcfGapSmall;
	
	> li {
		display: inline-block;
		font-size: 1rem;
		margin-bottom: @wcfGapSmall;
		
		&:not(:last-child) {
			margin-right: 8px;
		}
		
		.button {
			margin-left: 0;
			margin-right: 0;
		}
	}
	
	&.smallButtons {
		> li:not(:last-child) {
			margin-right: 4px;
		}
	}
	
	&.iconList {
		> li:not(:last-child) {
			margin-right: 2px;
		}
	}
}

/* button group */
.buttonGroup {
	font-size: 0;
	
	> li {
		font-size: 1rem;
		display: inline-block;
		
		> .button {
			border-radius: 0;
			margin: 0 0 0 -1px;
		}
		
		&:first-child {
			> .button {
				border-top-left-radius: @wcfButtonBorderRadius;
				border-bottom-left-radius: @wcfButtonBorderRadius;
			}
		}
		
		&:last-child {
			> .button {
				border-top-right-radius: @wcfButtonBorderRadius;
				border-bottom-right-radius: @wcfButtonBorderRadius;
			}
		}<commit_msg>Fix for stupid ad blockers<commit_after>/* default values */
button,
input[type='reset'],
input[type='submit'],
input[type='button'],
.button {
	border-radius: @wcfButtonBorderRadius;
	border-style: solid;
	border-width: 1px;
	cursor: pointer;
	display: inline-block;
	margin: 0 4px;
	padding: 5px 13px;
	position: relative;
}

/* normal state */
.button,
input[type='reset']:not([disabled]),
input[type='submit']:not([disabled]),
input[type='button']:not([disabled]),
button:not([disabled]) {
	background-color: @wcfButtonBackgroundColor;
	border-color: @wcfButtonBorderColor;
	color: @wcfButtonColor;
	text-decoration: none;
	
	.textShadow(@wcfButtonBackgroundColor);
}

/* primary */
.button.buttonPrimary,
input[type='submit']:not([disabled]),
input[type='button']:not([disabled]).buttonPrimary,
button:not([disabled]).buttonPrimary {
	background-color: @wcfButtonPrimaryBackgroundColor;
	border-color: @wcfButtonPrimaryBorderColor;
	color: @wcfButtonPrimaryColor;
	font-weight: bold;
	
	.textShadow(@wcfButtonPrimaryBackgroundColor);
	
	.icon {
		color: @wcfButtonPrimaryColor;
	}
}

/* hover */
.button:hover,
input[type='reset']:not([disabled]):hover,
input[type='submit']:not([disabled]):hover,
input[type='button']:not([disabled]):hover,
button:not([disabled]):hover {
	background-color: @wcfButtonHoverBackgroundColor;
	border-color: @wcfButtonHoverBorderColor;
	color: @wcfButtonHoverColor;
	text-decoration: none;
	z-index: 100;
	
	.textShadow(@wcfButtonHoverBackgroundColor);
	
	.icon {
		color: @wcfButtonHoverColor;
	}
}

/* primary hover */
.button.buttonPrimary:hover,
input[type='submit']:not([disabled]):hover,
input[type='button']:not([disabled]).buttonPrimary:hover,
button:not([disabled]).buttonPrimary:hover {
	background-color: @wcfButtonPrimaryHoverBackgroundColor;
	border-color: @wcfButtonPrimaryHoverBorderColor;
	color: @wcfButtonPrimaryHoverColor;
	
	.textShadow(@wcfButtonPrimaryHoverBackgroundColor);
	
	.icon {
		color: @wcfButtonPrimaryHoverColor;
	}
}

/* disabled state */
input[type='reset']:disabled,
input[type='submit']:disabled,
input[type='button']:disabled,
button:disabled {
	background-color: @wcfButtonBackgroundColor;
	border-color: @wcfButtonBorderColor;
	color: lighten(@wcfButtonColor, 10%);
	cursor: not-allowed;
	text-decoration: none;
	
	.textShadow(@wcfButtonBackgroundColor);
}

/* active (permanently) */
.button.active,
input[type='button'].active,
button.active,
.button.active:hover,
input[type='button'].active:hover,
button.active:hover {
	background-color: @wcfButtonColor;
	border-color: darken(@wcfButtonColor, 5%);
	color: @wcfButtonBackgroundColor;
	
	.boxShadowInset(0, 1px, rgba(0, 0, 0, .1), 1px);
	.textShadow(@wcfButtonColor);
	
	.icon {
		color: @wcfButtonBackgroundColor;
		
		.textShadow(@wcfButtonColor);
	}
}

/* small buttons */
button.small,
.button.small {
	border-radius: @wcfSmallButtonBorderRadius;
	font-size: @wcfSmallFontSize;
	min-height: 13px;
	padding: 5px 11px;
	margin: 0 2px;
}

/* button list */
.buttonList {
	font-size: 0;
	margin-bottom: -@wcfGapSmall;
	
	> li {
		display: inline-block;
		font-size: 1rem;
		margin-bottom: @wcfGapSmall;
		
		&:not(:last-child) {
			margin-right: 8px;
		}
		
		.button {
			margin-left: 0;
			margin-right: 0;
		}
	}
	
	&.smallButtons {
		> li:not(:last-child) {
			margin-right: 4px;
		}
	}
	
	&.iconList {
		> li:not(:last-child) {
			margin-right: 2px;
		}
	}
}

/* button group */
.buttonGroup {
	font-size: 0;
	
	> li {
		font-size: 1rem;
		display: inline-block;
		
		/* fix for ad-blockers */
		&.likeButton {
			display: inline-block !important;
		}
		
		> .button {
			border-radius: 0;
			margin: 0 0 0 -1px;
		}
		
		&:first-child {
			> .button {
				border-top-left-radius: @wcfButtonBorderRadius;
				border-bottom-left-radius: @wcfButtonBorderRadius;
			}
		}
		
		&:last-child {
			> .button {
				border-top-right-radius: @wcfButtonBorderRadius;
				border-bottom-right-radius: @wcfButtonBorderRadius;
			}
		}
{'fraction_non_alphanumeric': 0.1617157490396927, 'fraction_numerical': 0.010243277848911651, 'mean_word_length': 5.0597362296353765, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, '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': '963752', 'n_tokens_mistral': 3066, 'n_tokens_neox': 2757, 'n_words': 443}