MyBB Community Forums

Full Version: What is this Field and Validation CSS
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys,

Just wanted to know what the following CSS is for and what pages it can be found in.
They are on the default MyBB global.css file and im currently formatting my global.css
adding in /* {Purpose Here} */ tags so I know whats for what.

Here's the CSS:
.invalid_field {
	border: 1px solid #f30;
	color: #f30;
}

.valid_field {
	border: 1px solid #0c0;
}

.validation_error {
	background: url(../../../images/invalid.gif) no-repeat center left;
	color: #f30;
	margin: 5px 0;
	padding: 5px;
	font-weight: bold;
	font-size: 11px;
	padding-left: 22px;
}

.validation_success {
	background: url(../../../images/valid.gif) no-repeat center left;
	color: #00b200;
	margin: 5px 0;
	padding: 5px;
	font-weight: bold;
	font-size: 11px;
	padding-left: 22px;
}

.validation_loading {
	background: url(../../../images/spinner.gif) no-repeat center left;
	color: #555;
	margin: 5px 0;
	padding: 5px;
	font-weight: bold;
	font-size: 11px;
	padding-left: 22px;
}

Thanks!
That's the CSS for fields validation during the registration process (username, password, CAPTCHA fields, etc. are checked an then highlighted accordingly).