<commit_before>// All labels on vertical forms are on their own line. This
// fixes issues with inline radio fields displaying wrong:
// http://yo.bkwld.com/image/130i1B2o070b
.form-vertical .control-label {
	display: block;
}

// Former is setting a class of "radio" on inline
// radio elements.  It should ONLY have radio-inline.  As
// a result, an incorrect margin-top is being added.  This
// rule clears it and other settings
// http://yo.bkwld.com/image/0D3a1q1T1q1z
// https://github.com/Anahkiasen/former/pull/375
.form-vertical .radio-inline {
	margin-top: 0;
	min-height: 0;
	position: static;
}

// Highlight each control group on rollover
.form-group {
	padding: $form-group-pad;
	margin: -$form-group-pad;
	@include border-radius(4px);
	margin-bottom: 15px;
	input, textarea, select {
		margin-bottom: 0;
	}
	&:hover {
		background-color: $light-grey;
	}
	&.error:hover {
		background-color: $state-danger-bg; // This is the Boostrap error bkgd red color
	}

	// Reset BS's extra padding on form-groups found on horinztonal forms
	@media(max-width: $main-break) {
		.form-horizontal & {
			margin-left: -$form-group-pad;
			margin-right: -$form-group-pad;
			> [class*="col-"] {
				padding: 0; 
			}
		}
	}
}

// Required field icons
.glyphicon.required {

	// Toning down the required icons
	@include opacity($light-opacity);
	&:hover {
		@include opacity(1);
	}

	// Fix the tooltips on horizontal forms which were wrapping
	// to two lines
	& + .tooltip {
		white-space: nowrap;
	}
}

// Make the Bootstrap tooltips not inherit text shadow
.tooltip {
	@include text-shadow(none);<commit_msg>Reducing the rollover size of horizontal forms<commit_after>// All labels on vertical forms are on their own line. This
// fixes issues with inline radio fields displaying wrong:
// http://yo.bkwld.com/image/130i1B2o070b
.form-vertical .control-label {
	display: block;
}

// Former is setting a class of "radio" on inline
// radio elements.  It should ONLY have radio-inline.  As
// a result, an incorrect margin-top is being added.  This
// rule clears it and other settings
// http://yo.bkwld.com/image/0D3a1q1T1q1z
// https://github.com/Anahkiasen/former/pull/375
.form-vertical .radio-inline {
	margin-top: 0;
	min-height: 0;
	position: static;
}

// Highlight each control group on rollover
.form-group {
	padding: $form-group-pad;
	margin: -$form-group-pad;
	@include border-radius(4px);
	&:hover {
		background-color: $light-grey;
	}
	&.error:hover {
		background-color: $state-danger-bg; // This is the Boostrap error bkgd red color
	}

	// Reset BS's extra padding on form-groups found on horinztonal forms
	.form-horizontal & {
		margin-left: -$form-group-pad;
		margin-right: -$form-group-pad;
		@media(max-width: $main-break) {
			> [class*="col-"] {
				padding: 0; 
			}
		}
	}

	// Add bottom spacing
	margin-bottom: 15px;

}

// Required field icons
.glyphicon.required {

	// Toning down the required icons
	@include opacity($light-opacity);
	&:hover {
		@include opacity(1);
	}

	// Fix the tooltips on horizontal forms which were wrapping
	// to two lines
	& + .tooltip {
		white-space: nowrap;
	}
}

// Make the Bootstrap tooltips not inherit text shadow
.tooltip {
	@include text-shadow(none);
{'fraction_non_alphanumeric': 0.1324441687344913, 'fraction_numerical': 0.015198511166253101, 'mean_word_length': 3.2546174142480213, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '5257979', 'n_tokens_mistral': 1201, 'n_tokens_neox': 1111, 'n_words': 325}