mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Combine border and box-shadow styles for inputs, textareas, and selects. Set border-radius to 0 on these elements to override default styling in iOS. See #24387.
git-svn-id: https://develop.svn.wordpress.org/trunk@26308 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -251,18 +251,6 @@ code {
|
||||
background: rgba(0,0,0,0.07);
|
||||
}
|
||||
|
||||
textarea,
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
input[type="email"],
|
||||
input[type="number"],
|
||||
input[type="search"],
|
||||
input[type="tel"],
|
||||
input[type="url"],
|
||||
.titlewrap input {
|
||||
box-shadow: inset 0 1px 2px rgba(0,0,0,0.07);
|
||||
}
|
||||
|
||||
textarea,
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
@@ -274,17 +262,7 @@ input[type="url"],
|
||||
.titlewrap input,
|
||||
select {
|
||||
border-color: #ddd;
|
||||
}
|
||||
|
||||
.inside textarea,
|
||||
.inside input[type="text"],
|
||||
.inside input[type="password"],
|
||||
.inside input[type="email"],
|
||||
.inside input[type="number"],
|
||||
.inside input[type="search"],
|
||||
.inside input[type="tel"],
|
||||
.inside input[type="url"] {
|
||||
border-color: #ddd;
|
||||
box-shadow: inset 0 1px 2px rgba(0,0,0,0.07);
|
||||
}
|
||||
|
||||
textarea:focus,
|
||||
|
||||
@@ -393,6 +393,7 @@ select {
|
||||
font-size: 14px;
|
||||
padding: 3px 5px;
|
||||
line-height: 15px;
|
||||
border-radius: 0 /* Reset mobile webkit's default element styling */
|
||||
}
|
||||
|
||||
textarea {
|
||||
@@ -408,7 +409,8 @@ input[type="search"],
|
||||
input[type="email"],
|
||||
input[type="url"],
|
||||
textarea,
|
||||
div {
|
||||
div,
|
||||
select {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user