Administration: Standardize form control height and alignment across the admin.
This improves the appearance of various form controls in the admin and addresses some visual inconsistencies in WordPress 5.3. Props afercia, audrasjb, jameskoster, GDragoN, azaozz, michaelarestad, murgroland, SamuelFernandez, chetan200891, veminom, dlh. Fixes #48420. Built from https://develop.svn.wordpress.org/trunk@46866 git-svn-id: http://core.svn.wordpress.org/trunk@46666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -638,6 +638,7 @@ th.asc a:focus span.sorting-indicator {
|
||||
clear: both;
|
||||
height: 30px;
|
||||
margin: 6px 0 4px;
|
||||
padding-top: 5px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
@@ -647,7 +648,7 @@ th.asc a:focus span.sorting-indicator {
|
||||
|
||||
.tablenav .tablenav-pages {
|
||||
float: right;
|
||||
margin: 3px 0 9px;
|
||||
margin: 0 0 9px;
|
||||
}
|
||||
|
||||
.tablenav .no-pages,
|
||||
@@ -659,12 +660,12 @@ th.asc a:focus span.sorting-indicator {
|
||||
.tablenav .tablenav-pages .tablenav-pages-navspan {
|
||||
display: inline-block;
|
||||
vertical-align: baseline;
|
||||
min-width: 28px;
|
||||
min-height: 28px;
|
||||
min-width: 30px;
|
||||
min-height: 30px;
|
||||
margin: 0;
|
||||
padding: 0 4px;
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
line-height: 1.625; /* 26px */
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@@ -678,8 +679,7 @@ th.asc a:focus span.sorting-indicator {
|
||||
}
|
||||
|
||||
.tablenav .actions {
|
||||
overflow: hidden;
|
||||
padding: 2px 8px 0 0;
|
||||
padding: 0 8px 0 0;
|
||||
}
|
||||
|
||||
.wp-filter .actions {
|
||||
@@ -1034,11 +1034,9 @@ tr.inline-edit-row td,
|
||||
.inline-edit-row fieldset input[name=hh],
|
||||
.inline-edit-row fieldset input[name=mn],
|
||||
.inline-edit-row fieldset input[name=aa] {
|
||||
font-size: 12px;
|
||||
line-height: 1.16666666;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
padding: 6px 4px;
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
.inline-edit-row fieldset label input.inline-edit-password-input {
|
||||
@@ -1952,6 +1950,15 @@ div.action-links,
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.inline-edit-row fieldset input[name=jj],
|
||||
.inline-edit-row fieldset input[name=hh],
|
||||
.inline-edit-row fieldset input[name=mn],
|
||||
.inline-edit-row fieldset input[name=aa] {
|
||||
font-size: 16px;
|
||||
line-height: 2;
|
||||
padding: 3px 4px;
|
||||
}
|
||||
|
||||
.inline-edit-row fieldset ul.cat-checklist label,
|
||||
.inline-edit-row #bulk-titles div {
|
||||
font-size: 16px;
|
||||
|
||||
Reference in New Issue
Block a user