Restore some rules for media sidebar settings. HTML5 input type selection is intense. fixes #29218.

Built from https://develop.svn.wordpress.org/trunk@29504


git-svn-id: http://core.svn.wordpress.org/trunk@29281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2014-08-15 16:02:15 +00:00
parent 0a0ad635ae
commit ed330ca499
4 changed files with 86 additions and 2 deletions

View File

@ -285,6 +285,7 @@
margin: 24px 0 8px; margin: 24px 0 8px;
} }
.media-sidebar .setting,
.attachment-details .setting { .attachment-details .setting {
display: block; display: block;
float: right; float: right;
@ -292,14 +293,17 @@
margin: 1px 0; margin: 1px 0;
} }
.media-sidebar .setting label,
.attachment-details .setting label { .attachment-details .setting label {
display: block; display: block;
} }
.media-sidebar .setting .link-to-custom,
.attachment-details .setting .link-to-custom { .attachment-details .setting .link-to-custom {
margin: 3px 2px 0; margin: 3px 2px 0;
} }
.media-sidebar .setting span,
.attachment-details .setting span { .attachment-details .setting span {
min-width: 30%; min-width: 30%;
margin-left: 4%; margin-left: 4%;
@ -307,10 +311,15 @@
text-align: left; text-align: left;
} }
.media-sidebar .setting select,
.attachment-details .setting select { .attachment-details .setting select {
max-width: 65%; max-width: 65%;
} }
.media-sidebar .setting input[type="checkbox"],
.media-sidebar .field input[type="checkbox"],
.media-sidebar .setting input[type="radio"],
.media-sidebar .field input[type="radio"],
.attachment-details .setting input[type="checkbox"], .attachment-details .setting input[type="checkbox"],
.attachment-details .field input[type="checkbox"], .attachment-details .field input[type="checkbox"],
.attachment-details .setting input[type="radio"], .attachment-details .setting input[type="radio"],
@ -320,6 +329,7 @@
padding: 0; padding: 0;
} }
.media-sidebar .setting span,
.attachment-details .setting span, .attachment-details .setting span,
.compat-item label span { .compat-item label span {
float: right; float: right;
@ -334,6 +344,15 @@
text-align: left; text-align: left;
} }
.media-sidebar .setting input[type="text"],
.media-sidebar .setting input[type="password"],
.media-sidebar .setting input[type="email"],
.media-sidebar .setting input[type="number"],
.media-sidebar .setting input[type="search"],
.media-sidebar .setting input[type="tel"],
.media-sidebar .setting input[type="url"],
.media-sidebar .setting textarea,
.media-sidebar .setting .value,
.attachment-details .setting input[type="text"], .attachment-details .setting input[type="text"],
.attachment-details .setting input[type="password"], .attachment-details .setting input[type="password"],
.attachment-details .setting input[type="email"], .attachment-details .setting input[type="email"],
@ -351,17 +370,20 @@
float: left; float: left;
} }
.media-sidebar .setting .value,
.attachment-details .setting .value { .attachment-details .setting .value {
margin: 0 1px; margin: 0 1px;
text-align: right; text-align: right;
} }
.media-sidebar .setting textarea,
.attachment-details .setting textarea, .attachment-details .setting textarea,
.compat-item .field textarea { .compat-item .field textarea {
height: 62px; height: 62px;
resize: vertical; resize: vertical;
} }
.media-sidebar select,
.attachment-details select { .attachment-details select {
margin-top: 3px; margin-top: 3px;
} }
@ -2245,10 +2267,14 @@
left: 262px; left: 262px;
} }
.media-sidebar .setting,
.attachment-details .setting { .attachment-details .setting {
margin: 6px 0px; margin: 6px 0px;
} }
.media-sidebar .setting input,
.media-sidebar .setting textarea,
.media-sidebar .setting span,
.attachment-details .setting input, .attachment-details .setting input,
.attachment-details .setting textarea, .attachment-details .setting textarea,
.attachment-details .setting span, .attachment-details .setting span,
@ -2256,6 +2282,7 @@
float: none; float: none;
} }
.media-sidebar .setting span,
.attachment-details .setting span, .attachment-details .setting span,
.compat-item label span { .compat-item label span {
text-align: inherit; text-align: inherit;
@ -2264,11 +2291,21 @@
padding: 8px 2px 0; padding: 8px 2px 0;
} }
.media-sidebar .setting .value,
.attachment-details .setting .value { .attachment-details .setting .value {
float: none; float: none;
width: auto; width: auto;
} }
.media-sidebar .setting input[type="text"],
.media-sidebar .setting input[type="password"],
.media-sidebar .setting input[type="email"],
.media-sidebar .setting input[type="number"],
.media-sidebar .setting input[type="search"],
.media-sidebar .setting input[type="tel"],
.media-sidebar .setting input[type="url"],
.media-sidebar .setting textarea,
.media-sidebar .setting select,
.attachment-details .setting input[type="text"], .attachment-details .setting input[type="text"],
.attachment-details .setting input[type="password"], .attachment-details .setting input[type="password"],
.attachment-details .setting input[type="email"], .attachment-details .setting input[type="email"],
@ -2284,6 +2321,7 @@
height: auto; height: auto;
} }
.media-sidebar .setting select.columns,
.attachment-details .setting select.columns { .attachment-details .setting select.columns {
width: auto; width: auto;
} }
@ -2330,6 +2368,10 @@
margin-right: 20px; margin-right: 20px;
} }
.collection-settings .setting input[type="checkbox"] {
margin-top: 0;
}
.media-selection { .media-selection {
min-width: 120px; min-width: 120px;
} }

File diff suppressed because one or more lines are too long

View File

@ -285,6 +285,7 @@
margin: 24px 0 8px; margin: 24px 0 8px;
} }
.media-sidebar .setting,
.attachment-details .setting { .attachment-details .setting {
display: block; display: block;
float: left; float: left;
@ -292,14 +293,17 @@
margin: 1px 0; margin: 1px 0;
} }
.media-sidebar .setting label,
.attachment-details .setting label { .attachment-details .setting label {
display: block; display: block;
} }
.media-sidebar .setting .link-to-custom,
.attachment-details .setting .link-to-custom { .attachment-details .setting .link-to-custom {
margin: 3px 2px 0; margin: 3px 2px 0;
} }
.media-sidebar .setting span,
.attachment-details .setting span { .attachment-details .setting span {
min-width: 30%; min-width: 30%;
margin-right: 4%; margin-right: 4%;
@ -307,10 +311,15 @@
text-align: right; text-align: right;
} }
.media-sidebar .setting select,
.attachment-details .setting select { .attachment-details .setting select {
max-width: 65%; max-width: 65%;
} }
.media-sidebar .setting input[type="checkbox"],
.media-sidebar .field input[type="checkbox"],
.media-sidebar .setting input[type="radio"],
.media-sidebar .field input[type="radio"],
.attachment-details .setting input[type="checkbox"], .attachment-details .setting input[type="checkbox"],
.attachment-details .field input[type="checkbox"], .attachment-details .field input[type="checkbox"],
.attachment-details .setting input[type="radio"], .attachment-details .setting input[type="radio"],
@ -320,6 +329,7 @@
padding: 0; padding: 0;
} }
.media-sidebar .setting span,
.attachment-details .setting span, .attachment-details .setting span,
.compat-item label span { .compat-item label span {
float: left; float: left;
@ -334,6 +344,15 @@
text-align: right; text-align: right;
} }
.media-sidebar .setting input[type="text"],
.media-sidebar .setting input[type="password"],
.media-sidebar .setting input[type="email"],
.media-sidebar .setting input[type="number"],
.media-sidebar .setting input[type="search"],
.media-sidebar .setting input[type="tel"],
.media-sidebar .setting input[type="url"],
.media-sidebar .setting textarea,
.media-sidebar .setting .value,
.attachment-details .setting input[type="text"], .attachment-details .setting input[type="text"],
.attachment-details .setting input[type="password"], .attachment-details .setting input[type="password"],
.attachment-details .setting input[type="email"], .attachment-details .setting input[type="email"],
@ -351,17 +370,20 @@
float: right; float: right;
} }
.media-sidebar .setting .value,
.attachment-details .setting .value { .attachment-details .setting .value {
margin: 0 1px; margin: 0 1px;
text-align: left; text-align: left;
} }
.media-sidebar .setting textarea,
.attachment-details .setting textarea, .attachment-details .setting textarea,
.compat-item .field textarea { .compat-item .field textarea {
height: 62px; height: 62px;
resize: vertical; resize: vertical;
} }
.media-sidebar select,
.attachment-details select { .attachment-details select {
margin-top: 3px; margin-top: 3px;
} }
@ -2245,10 +2267,14 @@
right: 262px; right: 262px;
} }
.media-sidebar .setting,
.attachment-details .setting { .attachment-details .setting {
margin: 6px 0px; margin: 6px 0px;
} }
.media-sidebar .setting input,
.media-sidebar .setting textarea,
.media-sidebar .setting span,
.attachment-details .setting input, .attachment-details .setting input,
.attachment-details .setting textarea, .attachment-details .setting textarea,
.attachment-details .setting span, .attachment-details .setting span,
@ -2256,6 +2282,7 @@
float: none; float: none;
} }
.media-sidebar .setting span,
.attachment-details .setting span, .attachment-details .setting span,
.compat-item label span { .compat-item label span {
text-align: inherit; text-align: inherit;
@ -2264,11 +2291,21 @@
padding: 8px 2px 0; padding: 8px 2px 0;
} }
.media-sidebar .setting .value,
.attachment-details .setting .value { .attachment-details .setting .value {
float: none; float: none;
width: auto; width: auto;
} }
.media-sidebar .setting input[type="text"],
.media-sidebar .setting input[type="password"],
.media-sidebar .setting input[type="email"],
.media-sidebar .setting input[type="number"],
.media-sidebar .setting input[type="search"],
.media-sidebar .setting input[type="tel"],
.media-sidebar .setting input[type="url"],
.media-sidebar .setting textarea,
.media-sidebar .setting select,
.attachment-details .setting input[type="text"], .attachment-details .setting input[type="text"],
.attachment-details .setting input[type="password"], .attachment-details .setting input[type="password"],
.attachment-details .setting input[type="email"], .attachment-details .setting input[type="email"],
@ -2284,6 +2321,7 @@
height: auto; height: auto;
} }
.media-sidebar .setting select.columns,
.attachment-details .setting select.columns { .attachment-details .setting select.columns {
width: auto; width: auto;
} }
@ -2330,6 +2368,10 @@
margin-left: 20px; margin-left: 20px;
} }
.collection-settings .setting input[type="checkbox"] {
margin-top: 0;
}
.media-selection { .media-selection {
min-width: 120px; min-width: 120px;
} }

File diff suppressed because one or more lines are too long