2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

form state vars

This commit is contained in:
Mark Otto
2012-11-30 15:38:31 -08:00
parent 0a93bc143d
commit e34b3730b7
8 changed files with 68 additions and 68 deletions
+6 -6
View File
@@ -355,19 +355,19 @@ input[type="checkbox"][readonly] {
// Warning
.control-group.warning {
.formFieldState(@warningText, @warningText, @warningBackground);
.formFieldState(@state-warning-text, @state-warning-text, @state-warning-background);
}
// Error
.control-group.error {
.formFieldState(@errorText, @errorText, @errorBackground);
.formFieldState(@state-error-text, @state-error-text, @state-error-background);
}
// Success
.control-group.success {
.formFieldState(@successText, @successText, @successBackground);
.formFieldState(@state-success-text, @state-success-text, @state-success-background);
}
// Success
.control-group.info {
.formFieldState(@infoText, @infoText, @infoBackground);
.formFieldState(@state-info-text, @state-info-text, @state-info-background);
}
// HTML5 invalid states
@@ -479,8 +479,8 @@ select:focus:invalid {
border-radius: 0;
}
.active {
background-color: @successBackground;
border-color: @successText;
background-color: @state-success-background;
border-color: @state-success-text;
}
}