Permalink
Browse files

re-add div to error class

  • Loading branch information...
mdo committed Aug 22, 2011
1 parent 5668723 commit 0df17f06d8cb94ccee42cd5c8536965c2df7e643
Showing with 13 additions and 13 deletions.
  1. +7 −7 bootstrap-1.0.0.css
  2. +4 −4 bootstrap-1.0.0.min.css
  3. +2 −2 lib/forms.less
View
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
- * Date: Sun Aug 21 20:51:15 PDT 2011
+ * Date: Sun Aug 21 20:53:42 PDT 2011
*/
/* Reset.less
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
@@ -777,30 +777,30 @@ form input[type=text]:focus, form input[type=password]:focus, form textarea:focu
-moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
}
-form .error {
+form div.error {
background: #fae5e3;
padding: 10px 0;
margin: -10px 0 10px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
-form .error > label, form .error span.help-inline, form .error span.help-block {
+form div.error > label, form div.error span.help-inline, form div.error span.help-block {
color: #9d261d;
}
-form .error input[type=text], form .error input[type=password], form .error textarea {
+form div.error input[type=text], form div.error input[type=password], form div.error textarea {
border-color: #c87872;
-webkit-box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
-moz-box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
}
-form .error input[type=text]:focus, form .error input[type=password]:focus, form .error textarea:focus {
+form div.error input[type=text]:focus, form div.error input[type=password]:focus, form div.error textarea:focus {
border-color: #b9554d;
-webkit-box-shadow: 0 0 6px rgba(171, 41, 32, 0.5);
-moz-box-shadow: 0 0 6px rgba(171, 41, 32, 0.5);
box-shadow: 0 0 6px rgba(171, 41, 32, 0.5);
}
-form .error .input-prepend span.add-on, form .error .input-append span.add-on {
+form div.error .input-prepend span.add-on, form div.error .input-append span.add-on {
background: #f4c8c5;
border-color: #c87872;
color: #b9554d;
@@ -1008,7 +1008,7 @@ form.form-stacked .inputs-list li label {
font-weight: normal;
padding-top: 0;
}
-form.form-stacked .error {
+form.form-stacked div.error {
padding-top: 10px;
padding-bottom: 10px;
padding-left: 10px;
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -112,7 +112,7 @@ form {
}
// Error styles
- .error {
+ div.error {
background: lighten(@red, 57%);
padding: 10px 0;
margin: -10px 0 10px;
@@ -342,7 +342,7 @@ form.form-stacked {
}
}
}
- .error {
+ div.error {
padding-top: 10px;
padding-bottom: 10px;
padding-left: 10px;

0 comments on commit 0df17f0

Please sign in to comment.