aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-07-25 19:45:14 -0700
committerMark Otto <[email protected]>2013-07-25 19:45:14 -0700
commit27cedf71d58e47c291b73e078adf939014dd838c (patch)
treeeef45c6eab62bf2551e2073716f4df1e3f0a4985 /less/forms.less
parent71d3d2c3f62574bc1722d46498147cc776069c08 (diff)
downloadbootstrap-27cedf71d58e47c291b73e078adf939014dd838c.tar.xz
bootstrap-27cedf71d58e47c291b73e078adf939014dd838c.zip
Update form validation states
* Once again no longer applies to single inputs (this is a bit simpler, but I'm open to new ideas) but the entire set of inputs, labels, and help text within a particular element. However, the styles are not too dependent on markup or layout, so they're super flexible. * Simplified the markup in the validation docs examples to match latest changes. * Renamed `.form-state-validation` mixin to `.form-control-validation` to match naming of prev commit.
Diffstat (limited to 'less/forms.less')
-rw-r--r--less/forms.less6
1 files changed, 3 insertions, 3 deletions
diff --git a/less/forms.less b/less/forms.less
index 0e37751ac..7040b17d6 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -264,15 +264,15 @@ select {
// Warning
.has-warning {
- .form-field-validation(@state-warning-text, @state-warning-text, @state-warning-bg);
+ .form-control-validation(@state-warning-text, @state-warning-text, @state-warning-bg);
}
// Error
.has-error {
- .form-field-validation(@state-danger-text, @state-danger-text, @state-danger-bg);
+ .form-control-validation(@state-danger-text, @state-danger-text, @state-danger-bg);
}
// Success
.has-success {
- .form-field-validation(@state-success-text, @state-success-text, @state-success-bg);
+ .form-control-validation(@state-success-text, @state-success-text, @state-success-bg);
}