fix: remove red style when input is invalid
This commit is contained in:
parent
8e6bf99006
commit
bb0955d89c
@ -139,7 +139,7 @@ input {
|
||||
*/
|
||||
#main .currency-indicator {
|
||||
color: black;
|
||||
border-radius: 0px 4px 4px 0px;
|
||||
border-radius: 4px 0px 0px 4px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
@ -910,17 +910,23 @@ since IE8 won't execute CSS that contains a CSS3 selector.
|
||||
border-color: #ccc;
|
||||
}
|
||||
|
||||
.pure-form input:focus:invalid,
|
||||
.pure-form textarea:focus:invalid,
|
||||
.pure-form select:focus:invalid {
|
||||
color: #b94a48;
|
||||
border-color: #e9322d;
|
||||
}
|
||||
.pure-form input[type="file"]:focus:invalid:focus,
|
||||
.pure-form input[type="radio"]:focus:invalid:focus,
|
||||
.pure-form input[type="checkbox"]:focus:invalid:focus {
|
||||
outline-color: #e9322d;
|
||||
}
|
||||
/**
|
||||
* Even if we add novalidate property
|
||||
* in the form, the styles are applied for
|
||||
* invalid elements so we need to remove this styles
|
||||
*
|
||||
*/
|
||||
// .pure-form input:focus:invalid,
|
||||
// .pure-form textarea:focus:invalid,
|
||||
// .pure-form select:focus:invalid {
|
||||
// color: #b94a48;
|
||||
// border-color: #e9322d;
|
||||
// }
|
||||
// .pure-form input[type="file"]:focus:invalid:focus,
|
||||
// .pure-form input[type="radio"]:focus:invalid:focus,
|
||||
// .pure-form input[type="checkbox"]:focus:invalid:focus {
|
||||
// outline-color: #e9322d;
|
||||
// }
|
||||
.pure-form select {
|
||||
/* Normalizes the height; padding is not sufficient. */
|
||||
height: 2.25em;
|
||||
|
Loading…
Reference in New Issue
Block a user