Commit 913b19e4 authored by bbaer's avatar bbaer
Browse files

Added classes .simple-error and .rebel-yell

parent b1bc0c65
......@@ -48,18 +48,6 @@ i.@{spinner_class} {
margin-top: 10px;
}
.has-error .form-control {
background-color: #fcf8e3;
border-width: medium;
border-color: #f2b867;
}
.has-error .form-control:focus {
background-color: #fcf8e3;
border-color: #f2b867;
}
/* CUSTOM RADIOS */
/* Hide the browser's default radio */
......@@ -217,6 +205,8 @@ i.@{spinner_class} {
transform: rotate(45deg);
}
/* ERROR HIGHLIGHTING */
/* Error Marking for Checkboxes */
.has-error .checkmark {
background-color: #fcf8e3;
......@@ -271,12 +261,60 @@ input:focus ~ .with-errors.help-block:not(.hidden), textarea:focus ~ .with-error
color: #333;
}
.help-block.with-errors ul {
margin-bottom: 0px;
}
.has-error .form-control {
background-color: #fcf8e3;
border-width: medium;
border-color: #f2b867;
}
.help-block ul {
margin-bottom: 0px;
.has-error .form-control:focus {
background-color: #fcf8e3;
border-color: #f2b867;
}
/* Color Variation Example Start */
.rebel-yell .has-error .form-control, .rebelYell .has-error .form-control:focus {
border-color: #d30b6f;
background-color: #eb92be;
}
.rebel-yell .form-group.has-error .btn, .btn-rebel {
background-color: #e72a89e;
background-image: linear-gradient(to bottom,#e72a89 0,#d30b6f 100%);
background-repeat: repeat-x;
border-color: #d30b6f;
font-weight: 200;
color: #333;
}
.rebel-yell .has-error .help-block {
background-color: #e72a89;
}
/* Error Color Example End
Error Soft Example Start */
.simple-error .has-error .form-control {
border-width: 1px;
}
.simple-error .has-error .help-block {
padding-left: 12px;
background-color: #fcf8e3;
border: 1px solid #f2b867;
}
.simple-error .has-error .help-block:before {
content: ""; /* this is your text. You can also use UTF-8 character codes as I do here */
}
/* ERROR END */
/* inline elements in horizontal mode are too much left */
.form-horizontal {
.form-inline {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment