Accessibility: Improve and modernize user interface controls for better contrast. Fifth part: Common form controls.
Props anevins, melchoyce, audrasjb, kjellr. Fixes #47153. git-svn-id: https://develop.svn.wordpress.org/trunk@46247 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0ff7ebdd97
commit
e994411a99
@ -1368,7 +1368,7 @@ div.error {
|
||||
background: #fff;
|
||||
border: 1px solid #ccd0d4;
|
||||
border-left-width: 4px;
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,.04)
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,.04);
|
||||
margin: 5px 15px 2px;
|
||||
padding: 1px 12px;
|
||||
}
|
||||
@ -1673,7 +1673,7 @@ form.upgrade .hint {
|
||||
background-color: #fff;
|
||||
border: 1px solid #ccd0d4;
|
||||
border-top: none;
|
||||
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.025);
|
||||
box-shadow: 0 0 0 transparent;
|
||||
}
|
||||
|
||||
#screen-options-link-wrap,
|
||||
@ -1690,15 +1690,15 @@ form.upgrade .hint {
|
||||
#screen-meta-links .show-settings {
|
||||
border: 1px solid #ccd0d4;
|
||||
border-top: none;
|
||||
border-bottom-color: #ccd0d4;
|
||||
height: auto;
|
||||
margin-bottom: 0;
|
||||
padding: 3px 6px 3px 16px;
|
||||
background: #fff;
|
||||
border-radius: 0;
|
||||
border-radius: 0 0 4px 4px;
|
||||
color: #72777c;
|
||||
line-height: 1.7;
|
||||
box-shadow: none;
|
||||
box-shadow: 0 0 0 transparent;
|
||||
transition: box-shadow 0.1s linear;
|
||||
}
|
||||
|
||||
#screen-meta-links .show-settings:hover,
|
||||
|
@ -23,12 +23,14 @@ input[type="url"],
|
||||
input[type="week"],
|
||||
select,
|
||||
textarea {
|
||||
border: 1px solid #ddd;
|
||||
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
|
||||
padding: 6px 8px;
|
||||
box-shadow: 0 0 0 transparent;
|
||||
transition: box-shadow 0.1s linear;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #7e8993;
|
||||
background-color: #fff;
|
||||
color: #32373c;
|
||||
outline: none;
|
||||
transition: 0.05s border-color ease-in-out;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
@ -70,7 +72,7 @@ input[type="number"] {
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
border: 1px solid #b4b9be;
|
||||
border: 1px solid #7e8993;
|
||||
background: #fff;
|
||||
color: #555;
|
||||
clear: none;
|
||||
@ -184,7 +186,6 @@ input,
|
||||
select {
|
||||
font-size: 14px;
|
||||
padding: 3px 5px;
|
||||
border-radius: 0; /* Reset mobile webkit's default element styling */
|
||||
}
|
||||
|
||||
textarea {
|
||||
|
Loading…
x
Reference in New Issue
Block a user