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.
Built from https://develop.svn.wordpress.org/trunk@26308 git-svn-id: http://core.svn.wordpress.org/trunk@26212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
05b22769e9
commit
aed612cca4
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
|
@ -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,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -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,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -393,10 +393,7 @@ select {
|
|||
font-size: 14px;
|
||||
padding: 3px 5px;
|
||||
line-height: 15px;
|
||||
}
|
||||
|
||||
textarea {
|
||||
padding: 2px 6px;
|
||||
border-radius: 0 /* Reset mobile webkit's default element styling */ } textarea { padding: 2px 6px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
|
@ -408,7 +405,8 @@ input[type="search"],
|
|||
input[type="email"],
|
||||
input[type="url"],
|
||||
textarea,
|
||||
div {
|
||||
div,
|
||||
select {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue