aboutsummaryrefslogtreecommitdiff
path: root/dist/css/bootstrap.css
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 /dist/css/bootstrap.css
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 'dist/css/bootstrap.css')
-rw-r--r--dist/css/bootstrap.css12
1 files changed, 6 insertions, 6 deletions
diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css
index a3a2c3626..11339c516 100644
--- a/dist/css/bootstrap.css
+++ b/dist/css/bootstrap.css
@@ -1503,14 +1503,14 @@ select.input-small {
color: #c09853;
}
-.has-warning .input-with-feedback {
+.has-warning .form-control {
padding-right: 32px;
border-color: #c09853;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
-.has-warning .input-with-feedback:focus {
+.has-warning .form-control:focus {
border-color: #a47e3c;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
@@ -1527,14 +1527,14 @@ select.input-small {
color: #b94a48;
}
-.has-error .input-with-feedback {
+.has-error .form-control {
padding-right: 32px;
border-color: #b94a48;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
-.has-error .input-with-feedback:focus {
+.has-error .form-control:focus {
border-color: #953b39;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
@@ -1551,14 +1551,14 @@ select.input-small {
color: #468847;
}
-.has-success .input-with-feedback {
+.has-success .form-control {
padding-right: 32px;
border-color: #468847;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
-.has-success .input-with-feedback:focus {
+.has-success .form-control:focus {
border-color: #356635;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;