mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 15:20:32 -04:00
Add red border color to invalid input fields
This commit is contained in:
parent
d52bba5aa1
commit
8dbba4fcd6
1 changed files with 14 additions and 0 deletions
|
@ -1597,6 +1597,20 @@ select:hover{
|
||||||
transition: none;
|
transition: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input[type="text"]:user-invalid,
|
||||||
|
input[type="email"]:user-invalid,
|
||||||
|
input[type="search"]:user-invalid{
|
||||||
|
border-color: #ff0000;
|
||||||
|
box-shadow: 1px 1px 0 #ff0000, -1px -1px 0 #ff0000;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="text"]:-moz-ui-invalid,
|
||||||
|
input[type="email"]:-moz-ui-invalid,
|
||||||
|
input[type="search"]:-moz-ui-invalid{
|
||||||
|
border-color: #ff0000;
|
||||||
|
box-shadow: 1px 1px 0 #ff0000, -1px -1px 0 #ff0000;
|
||||||
|
}
|
||||||
|
|
||||||
select[multiple] option:last-child{
|
select[multiple] option:last-child{
|
||||||
margin-bottom: 1rem; /* needed for firefox */
|
margin-bottom: 1rem; /* needed for firefox */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue