Add various text input types
This commit is contained in:
parent
c781151b6b
commit
bf0194618e
5 changed files with 13 additions and 5 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
10
style.css
10
style.css
|
|
@ -342,6 +342,8 @@ input[type="checkbox"][disabled]:checked + label::after {
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="text"],
|
input[type="text"],
|
||||||
|
input[type="password"],
|
||||||
|
input[type="email"],
|
||||||
select,
|
select,
|
||||||
textarea {
|
textarea {
|
||||||
padding: 3px 4px;
|
padding: 3px 4px;
|
||||||
|
|
@ -356,11 +358,15 @@ textarea {
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="text"],
|
input[type="text"],
|
||||||
|
input[type="password"],
|
||||||
|
input[type="email"],
|
||||||
select {
|
select {
|
||||||
height: 21px;
|
height: 21px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="text"] {
|
input[type="text"],
|
||||||
|
input[type="password"],
|
||||||
|
input[type="email"] {
|
||||||
/* For some reason descenders are getting cut off without this */
|
/* For some reason descenders are getting cut off without this */
|
||||||
line-height: 2;
|
line-height: 2;
|
||||||
}
|
}
|
||||||
|
|
@ -379,6 +385,8 @@ select {
|
||||||
|
|
||||||
select:focus,
|
select:focus,
|
||||||
input[type="text"]:focus,
|
input[type="text"]:focus,
|
||||||
|
input[type="password"]:focus,
|
||||||
|
input[type="email"]:focus,
|
||||||
textarea:focus {
|
textarea:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue