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:
Sergey Biryukov 2019-12-09 20:26:03 +00:00
parent 1dcf3eef7a
commit a209908501
37 changed files with 269 additions and 253 deletions

View File

@ -11,7 +11,7 @@
/* Needs higher specificiity. */ /* Needs higher specificiity. */
.wp-picker-container .wp-color-result.button { .wp-picker-container .wp-color-result.button {
min-height: 28px; min-height: 30px;
margin: 0 0px 6px 6px; margin: 0 0px 6px 6px;
padding: 0 30px 0 0; padding: 0 30px 0 0;
font-size: 11px; font-size: 11px;
@ -23,7 +23,7 @@
border-right: 1px solid #ccc; border-right: 1px solid #ccc;
color: #555; color: #555;
display: block; display: block;
line-height: 2.36363636; /* 26px */ line-height: 2.54545455; /* 28px */
padding: 0 6px; padding: 0 6px;
text-align: center; text-align: center;
} }
@ -74,7 +74,9 @@
.wp-picker-input-wrap .button.wp-picker-default, .wp-picker-input-wrap .button.wp-picker-default,
.wp-customizer .wp-picker-input-wrap .button.wp-picker-default { .wp-customizer .wp-picker-input-wrap .button.wp-picker-default {
margin-right: 6px; margin-right: 6px;
padding: 2px 8px; padding: 0 8px;
line-height: 2.54545455; /* 28px */
min-height: 30px;
} }
.wp-picker-container .iris-square-slider .ui-slider-handle:focus { .wp-picker-container .iris-square-slider .ui-slider-handle:focus {
@ -88,14 +90,14 @@
} }
.wp-picker-container input[type="text"].wp-color-picker { .wp-picker-container input[type="text"].wp-color-picker {
width: 65px; width: 4rem;
font-size: 12px; font-size: 12px;
font-family: monospace; font-family: monospace;
line-height: 1.33333333; /* 16px */ line-height: 2.33333333; /* 28px */
margin: 0; margin: 0;
padding: 5px; padding: 0 5px;
vertical-align: top; vertical-align: top;
min-height: 28px; min-height: 30px;
} }
.wp-color-picker::-webkit-input-placeholder { .wp-color-picker::-webkit-input-placeholder {
@ -133,26 +135,38 @@
@media screen and (max-width: 782px) { @media screen and (max-width: 782px) {
.wp-picker-container input[type="text"].wp-color-picker { .wp-picker-container input[type="text"].wp-color-picker {
width: 80px; width: 5rem;
padding: 6px 5px 5px;
font-size: 16px; font-size: 16px;
line-height: 1.15; line-height: 1.875; /* 30px */
min-height: 32px;
} }
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker { .wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
padding: 5px 5px 4px; padding: 0 5px;
}
.wp-picker-input-wrap .button.wp-picker-default {
padding: 0 8px;
line-height: 2.14285714; /* 30px */
min-height: 32px;
}
.wp-customizer .wp-picker-input-wrap .button.wp-picker-default {
padding: 0 8px;
font-size: 14px;
line-height: 2.14285714; /* 30px */
min-height: 32px;
} }
.wp-picker-container .wp-color-result.button { .wp-picker-container .wp-color-result.button {
height: auto;
padding: 0 40px 0 0; padding: 0 40px 0 0;
font-size: 14px; font-size: 14px;
line-height: 2.1; line-height: 2.14285714; /* 30px */
} }
.wp-customizer .wp-picker-container .wp-color-result.button { .wp-customizer .wp-picker-container .wp-color-result.button {
font-size: 13px; font-size: 14px;
line-height: 2; line-height: 2.14285714; /* 30px */
} }
.wp-picker-container .wp-color-result-text { .wp-picker-container .wp-color-result-text {
@ -165,14 +179,3 @@
padding: 0 10px; padding: 0 10px;
} }
} }
@media screen and (max-width: 640px) {
.wp-customizer .wp-picker-container .wp-color-result.button {
font-size: 14px;
line-height: 2.1;
}
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
padding: 6px 5px;
}
}

View File

@ -1,2 +1,2 @@
/*! This file is auto-generated */ /*! This file is auto-generated */
.wp-color-picker{width:80px;direction:ltr}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{min-height:28px;margin:0 0 6px 6px;padding:0 30px 0 0;font-size:11px}.wp-color-result-text{background:#f7f7f7;border-radius:2px 0 0 2px;border-right:1px solid #ccc;color:#555;display:block;line-height:2.36363636;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-right:1px solid #999}.wp-picker-container{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{transform:none!important}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-input-wrap label{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button.wp-picker-default,.wp-picker-input-wrap .button.wp-picker-default{margin-right:6px;padding:2px 8px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:1.33333333;margin:0;padding:5px;vertical-align:top;min-height:28px}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.iris-picker .iris-palette:focus{box-shadow:inset 0 0 5px rgba(0,0,0,.4),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:80px;padding:6px 5px 5px;font-size:16px;line-height:1.15}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:5px 5px 4px}.wp-picker-container .wp-color-result.button{height:auto;padding:0 40px 0 0;font-size:14px;line-height:2.1}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:13px;line-height:2}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}@media screen and (max-width:640px){.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:2.1}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:6px 5px}} .wp-color-picker{width:80px;direction:ltr}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{min-height:30px;margin:0 0 6px 6px;padding:0 30px 0 0;font-size:11px}.wp-color-result-text{background:#f7f7f7;border-radius:2px 0 0 2px;border-right:1px solid #ccc;color:#555;display:block;line-height:2.54545455;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-right:1px solid #999}.wp-picker-container{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{transform:none!important}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-input-wrap label{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button.wp-picker-default,.wp-picker-input-wrap .button.wp-picker-default{margin-right:6px;padding:0 8px;line-height:2.54545455;min-height:30px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:4rem;font-size:12px;font-family:monospace;line-height:2.33333333;margin:0;padding:0 5px;vertical-align:top;min-height:30px}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.iris-picker .iris-palette:focus{box-shadow:inset 0 0 5px rgba(0,0,0,.4),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:5rem;font-size:16px;line-height:1.875;min-height:32px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:0 5px}.wp-picker-input-wrap .button.wp-picker-default{padding:0 8px;line-height:2.14285714;min-height:32px}.wp-customizer .wp-picker-input-wrap .button.wp-picker-default{padding:0 8px;font-size:14px;line-height:2.14285714;min-height:32px}.wp-picker-container .wp-color-result.button{padding:0 40px 0 0;font-size:14px;line-height:2.14285714}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:2.14285714}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}

View File

@ -10,7 +10,7 @@
/* Needs higher specificiity. */ /* Needs higher specificiity. */
.wp-picker-container .wp-color-result.button { .wp-picker-container .wp-color-result.button {
min-height: 28px; min-height: 30px;
margin: 0 6px 6px 0px; margin: 0 6px 6px 0px;
padding: 0 0 0 30px; padding: 0 0 0 30px;
font-size: 11px; font-size: 11px;
@ -22,7 +22,7 @@
border-left: 1px solid #ccc; border-left: 1px solid #ccc;
color: #555; color: #555;
display: block; display: block;
line-height: 2.36363636; /* 26px */ line-height: 2.54545455; /* 28px */
padding: 0 6px; padding: 0 6px;
text-align: center; text-align: center;
} }
@ -73,7 +73,9 @@
.wp-picker-input-wrap .button.wp-picker-default, .wp-picker-input-wrap .button.wp-picker-default,
.wp-customizer .wp-picker-input-wrap .button.wp-picker-default { .wp-customizer .wp-picker-input-wrap .button.wp-picker-default {
margin-left: 6px; margin-left: 6px;
padding: 2px 8px; padding: 0 8px;
line-height: 2.54545455; /* 28px */
min-height: 30px;
} }
.wp-picker-container .iris-square-slider .ui-slider-handle:focus { .wp-picker-container .iris-square-slider .ui-slider-handle:focus {
@ -87,14 +89,14 @@
} }
.wp-picker-container input[type="text"].wp-color-picker { .wp-picker-container input[type="text"].wp-color-picker {
width: 65px; width: 4rem;
font-size: 12px; font-size: 12px;
font-family: monospace; font-family: monospace;
line-height: 1.33333333; /* 16px */ line-height: 2.33333333; /* 28px */
margin: 0; margin: 0;
padding: 5px; padding: 0 5px;
vertical-align: top; vertical-align: top;
min-height: 28px; min-height: 30px;
} }
.wp-color-picker::-webkit-input-placeholder { .wp-color-picker::-webkit-input-placeholder {
@ -132,26 +134,38 @@
@media screen and (max-width: 782px) { @media screen and (max-width: 782px) {
.wp-picker-container input[type="text"].wp-color-picker { .wp-picker-container input[type="text"].wp-color-picker {
width: 80px; width: 5rem;
padding: 6px 5px 5px;
font-size: 16px; font-size: 16px;
line-height: 1.15; line-height: 1.875; /* 30px */
min-height: 32px;
} }
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker { .wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
padding: 5px 5px 4px; padding: 0 5px;
}
.wp-picker-input-wrap .button.wp-picker-default {
padding: 0 8px;
line-height: 2.14285714; /* 30px */
min-height: 32px;
}
.wp-customizer .wp-picker-input-wrap .button.wp-picker-default {
padding: 0 8px;
font-size: 14px;
line-height: 2.14285714; /* 30px */
min-height: 32px;
} }
.wp-picker-container .wp-color-result.button { .wp-picker-container .wp-color-result.button {
height: auto;
padding: 0 0 0 40px; padding: 0 0 0 40px;
font-size: 14px; font-size: 14px;
line-height: 2.1; line-height: 2.14285714; /* 30px */
} }
.wp-customizer .wp-picker-container .wp-color-result.button { .wp-customizer .wp-picker-container .wp-color-result.button {
font-size: 13px; font-size: 14px;
line-height: 2; line-height: 2.14285714; /* 30px */
} }
.wp-picker-container .wp-color-result-text { .wp-picker-container .wp-color-result-text {
@ -164,14 +178,3 @@
padding: 0 10px; padding: 0 10px;
} }
} }
@media screen and (max-width: 640px) {
.wp-customizer .wp-picker-container .wp-color-result.button {
font-size: 14px;
line-height: 2.1;
}
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
padding: 6px 5px;
}
}

View File

@ -1,2 +1,2 @@
/*! This file is auto-generated */ /*! This file is auto-generated */
.wp-color-picker{width:80px;direction:ltr}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{min-height:28px;margin:0 6px 6px 0;padding:0 0 0 30px;font-size:11px}.wp-color-result-text{background:#f7f7f7;border-radius:0 2px 2px 0;border-left:1px solid #ccc;color:#555;display:block;line-height:2.36363636;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-left:1px solid #999}.wp-picker-container{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{transform:none!important}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-input-wrap label{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button.wp-picker-default,.wp-picker-input-wrap .button.wp-picker-default{margin-left:6px;padding:2px 8px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:1.33333333;margin:0;padding:5px;vertical-align:top;min-height:28px}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.iris-picker .iris-palette:focus{box-shadow:inset 0 0 5px rgba(0,0,0,.4),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:80px;padding:6px 5px 5px;font-size:16px;line-height:1.15}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:5px 5px 4px}.wp-picker-container .wp-color-result.button{height:auto;padding:0 0 0 40px;font-size:14px;line-height:2.1}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:13px;line-height:2}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}@media screen and (max-width:640px){.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:2.1}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:6px 5px}} .wp-color-picker{width:80px;direction:ltr}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{min-height:30px;margin:0 6px 6px 0;padding:0 0 0 30px;font-size:11px}.wp-color-result-text{background:#f7f7f7;border-radius:0 2px 2px 0;border-left:1px solid #ccc;color:#555;display:block;line-height:2.54545455;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-left:1px solid #999}.wp-picker-container{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{transform:none!important}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-input-wrap label{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button.wp-picker-default,.wp-picker-input-wrap .button.wp-picker-default{margin-left:6px;padding:0 8px;line-height:2.54545455;min-height:30px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:4rem;font-size:12px;font-family:monospace;line-height:2.33333333;margin:0;padding:0 5px;vertical-align:top;min-height:30px}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.iris-picker .iris-palette:focus{box-shadow:inset 0 0 5px rgba(0,0,0,.4),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:5rem;font-size:16px;line-height:1.875;min-height:32px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:0 5px}.wp-picker-input-wrap .button.wp-picker-default{padding:0 8px;line-height:2.14285714;min-height:32px}.wp-customizer .wp-picker-input-wrap .button.wp-picker-default{padding:0 8px;font-size:14px;line-height:2.14285714;min-height:32px}.wp-picker-container .wp-color-result.button{padding:0 0 0 40px;font-size:14px;line-height:2.14285714}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:2.14285714}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}

View File

@ -925,11 +925,11 @@ span.required,
#delete-action { #delete-action {
float: right; float: right;
line-height: 2.1; line-height: 2.30769231; /* 30px */
} }
#delete-link { #delete-link {
line-height: 2.1; line-height: 2.30769231; /* 30px */
vertical-align: middle; vertical-align: middle;
text-align: right; text-align: right;
margin-right: 8px; margin-right: 8px;
@ -946,7 +946,8 @@ span.required,
} }
#publishing-action .spinner { #publishing-action .spinner {
float: right; float: none;
margin-top: 5px;
} }
#misc-publishing-actions { #misc-publishing-actions {
@ -1087,12 +1088,9 @@ th.action-links {
} }
.wp-filter .search-form input[type="search"] { .wp-filter .search-form input[type="search"] {
margin: 0; margin: 1px 0;
width: 280px; width: 280px;
max-width: 100%; max-width: 100%;
font-size: inherit;
/* inherits font size 13px */
line-height: 2.15384615; /* 28px */
} }
.wp-filter .search-form select { .wp-filter .search-form select {

File diff suppressed because one or more lines are too long

View File

@ -924,11 +924,11 @@ span.required,
#delete-action { #delete-action {
float: left; float: left;
line-height: 2.1; line-height: 2.30769231; /* 30px */
} }
#delete-link { #delete-link {
line-height: 2.1; line-height: 2.30769231; /* 30px */
vertical-align: middle; vertical-align: middle;
text-align: left; text-align: left;
margin-left: 8px; margin-left: 8px;
@ -945,7 +945,8 @@ span.required,
} }
#publishing-action .spinner { #publishing-action .spinner {
float: left; float: none;
margin-top: 5px;
} }
#misc-publishing-actions { #misc-publishing-actions {
@ -1086,12 +1087,9 @@ th.action-links {
} }
.wp-filter .search-form input[type="search"] { .wp-filter .search-form input[type="search"] {
margin: 0; margin: 1px 0;
width: 280px; width: 280px;
max-width: 100%; max-width: 100%;
font-size: inherit;
/* inherits font size 13px */
line-height: 2.15384615; /* 28px */
} }
.wp-filter .search-form select { .wp-filter .search-form select {

File diff suppressed because one or more lines are too long

View File

@ -160,6 +160,7 @@ body:not(.ready) #customize-save-button-wrapper .save {
float: right; float: right;
transform: none; transform: none;
margin-top: 0; margin-top: 0;
line-height: 2;
} }
body:not(.ready) #publish-settings, body:not(.ready) #publish-settings,
@ -913,12 +914,6 @@ p.customize-section-description {
margin-bottom: 12px; margin-bottom: 12px;
} }
.customize-control select,
.customize-control input[type="radio"],
.customize-control input[type="checkbox"] {
line-height: 2;
}
.customize-control input[type="text"], .customize-control input[type="text"],
.customize-control input[type="password"], .customize-control input[type="password"],
.customize-control input[type="email"], .customize-control input[type="email"],
@ -941,8 +936,6 @@ p.customize-section-description {
.customize-control select { .customize-control select {
width: 100%; width: 100%;
height: 28px;
line-height: 2;
} }
.customize-control select[multiple] { .customize-control select[multiple] {
@ -2872,15 +2865,11 @@ body.adding-widget .add-new-widget:before,
} }
.wp-core-ui.wp-customizer .button { .wp-core-ui.wp-customizer .button {
padding: 6px 14px; min-height: 30px;
line-height: normal; padding: 0 14px;
line-height: 2;
font-size: 14px; font-size: 14px;
vertical-align: middle; vertical-align: middle;
height: auto;
}
#publish-settings {
height: 31px;
} }
#customize-control-changeset_status .customize-inside-control-row { #customize-control-changeset_status .customize-inside-control-row {

File diff suppressed because one or more lines are too long

View File

@ -159,6 +159,7 @@ body:not(.ready) #customize-save-button-wrapper .save {
float: left; float: left;
transform: none; transform: none;
margin-top: 0; margin-top: 0;
line-height: 2;
} }
body:not(.ready) #publish-settings, body:not(.ready) #publish-settings,
@ -912,12 +913,6 @@ p.customize-section-description {
margin-bottom: 12px; margin-bottom: 12px;
} }
.customize-control select,
.customize-control input[type="radio"],
.customize-control input[type="checkbox"] {
line-height: 2;
}
.customize-control input[type="text"], .customize-control input[type="text"],
.customize-control input[type="password"], .customize-control input[type="password"],
.customize-control input[type="email"], .customize-control input[type="email"],
@ -940,8 +935,6 @@ p.customize-section-description {
.customize-control select { .customize-control select {
width: 100%; width: 100%;
height: 28px;
line-height: 2;
} }
.customize-control select[multiple] { .customize-control select[multiple] {
@ -2871,15 +2864,11 @@ body.adding-widget .add-new-widget:before,
} }
.wp-core-ui.wp-customizer .button { .wp-core-ui.wp-customizer .button {
padding: 6px 14px; min-height: 30px;
line-height: normal; padding: 0 14px;
line-height: 2;
font-size: 14px; font-size: 14px;
vertical-align: middle; vertical-align: middle;
height: auto;
}
#publish-settings {
height: 31px;
} }
#customize-control-changeset_status .customize-inside-control-row { #customize-control-changeset_status .customize-inside-control-row {

File diff suppressed because one or more lines are too long

View File

@ -29,7 +29,7 @@ label {
input, input,
select { select {
margin: 1px; margin: 0 1px;
} }
textarea.code { textarea.code {
@ -309,48 +309,41 @@ input[type="radio"].disabled:checked:before {
------------------------------------------------------------------------------*/ ------------------------------------------------------------------------------*/
/* Select styles are based on the default button in buttons.css */ /* Select styles are based on the default button in buttons.css */
.wp-admin select { .wp-core-ui select {
font-size: 13px; font-size: 14px;
line-height: 1.38461538; /* 18px */ line-height: 2; /* 28px */
color: #32373c; color: #32373c;
border-color: #7e8993; border-color: #7e8993;
box-shadow: none; box-shadow: none;
border-radius: 3px; border-radius: 3px;
padding: 3px 8px 3px 24px; padding: 0 8px 0 24px;
min-height: 28px; min-height: 30px;
max-width: 25rem; max-width: 25rem;
vertical-align: middle;
-webkit-appearance: none; -webkit-appearance: none;
/* The SVG is arrow-down-alt2 from Dashicons. */ /* The SVG is arrow-down-alt2 from Dashicons. */
background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat left 5px top 55%; background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat left 5px top 55%;
background-size: 16px 16px; background-size: 16px 16px;
cursor: pointer; cursor: pointer;
} vertical-align: middle;
}e
/* Color and font size in the core form tables. */ .wp-core-ui select:hover {
.wp-admin .form-table select {
font-size: 14px;
line-height: 1.28571428; /* 18px */
color: #32373c;
}
.wp-admin select:hover {
color: #007cba; color: #007cba;
} }
.wp-admin select:focus { .wp-core-ui select:focus {
border-color: #007cba; border-color: #007cba;
color: #016087; color: #016087;
box-shadow: 0 0 0 1px #007cba; box-shadow: 0 0 0 1px #007cba;
} }
.wp-admin select:active { .wp-core-ui select:active {
border-color: #999; border-color: #999;
box-shadow: none; box-shadow: none;
} }
.wp-admin select.disabled, .wp-core-ui select.disabled,
.wp-admin select:disabled { .wp-core-ui select:disabled {
color: #a0a5aa; color: #a0a5aa;
border-color: #ddd; border-color: #ddd;
background-color: #f7f7f7; background-color: #f7f7f7;
@ -364,32 +357,32 @@ input[type="radio"].disabled:checked:before {
/* Reset Firefox inner outline that appears on :focus. */ /* Reset Firefox inner outline that appears on :focus. */
/* This ruleset overrides the color change on :focus thus needs to be after select:focus. */ /* This ruleset overrides the color change on :focus thus needs to be after select:focus. */
.wp-admin select:-moz-focusring { .wp-core-ui select:-moz-focusring {
color: transparent; color: transparent;
text-shadow: 0 0 0 #016087; text-shadow: 0 0 0 #016087;
} }
/* Remove background focus style from IE11 while keeping focus style available on option elements. */ /* Remove background focus style from IE11 while keeping focus style available on option elements. */
.wp-admin select::-ms-value { .wp-core-ui select::-ms-value {
background: transparent; background: transparent;
color: #555; color: #555;
} }
.wp-admin select:hover::-ms-value { .wp-core-ui select:hover::-ms-value {
color: #007cba; color: #007cba;
} }
.wp-admin select:focus::-ms-value { .wp-core-ui select:focus::-ms-value {
color: #016087; color: #016087;
} }
.wp-admin select.disabled::-ms-value, .wp-core-ui select.disabled::-ms-value,
.wp-admin select:disabled::-ms-value { .wp-core-ui select:disabled::-ms-value {
color: #a0a5aa; color: #a0a5aa;
} }
/* Hide the native down arrow for select element on IE. */ /* Hide the native down arrow for select element on IE. */
.wp-admin select::-ms-expand { .wp-core-ui select::-ms-expand {
display: none; display: none;
} }
@ -408,7 +401,7 @@ input[type="radio"].disabled:checked:before {
margin-top: 0; margin-top: 0;
} }
.wp-admin select[multiple] { .wp-core-ui select[multiple] {
height: auto; height: auto;
padding-left: 8px; padding-left: 8px;
background: #fff; background: #fff;
@ -485,14 +478,7 @@ input[type="number"].tiny-text {
#doaction, #doaction,
#doaction2, #doaction2,
#post-query-submit { #post-query-submit {
margin: 1px 0 0 8px; margin: 0 0 0 8px;
}
.tablenav #changeit,
.tablenav #delete_all,
.tablenav #clear-recent-list,
.wp-filter #delete_all {
margin-top: 1px;
} }
.tablenav .actions select { .tablenav .actions select {
@ -509,6 +495,10 @@ input[type="number"].tiny-text {
.wp-cancel-pw > .dashicons { .wp-cancel-pw > .dashicons {
position: relative; position: relative;
top: 3px; top: 3px;
width: 1.25rem;
height: 1.25rem;
top: 0.25rem;
font-size: 20px;
} }
.wp-cancel-pw .dashicons-no { .wp-cancel-pw .dashicons-no {
@ -602,9 +592,12 @@ fieldset label,
.wp-pwd [type="password"] { .wp-pwd [type="password"] {
margin-bottom: 0; margin-bottom: 0;
/* Same height as the buttons */ /* Same height as the buttons */
line-height: 20px; min-height: 30px;
min-height: 28px; }
max-height: 40px;
/* Hide the Edge "reveal password" native button */
.wp-pwd input::-ms-reveal {
display: none;
} }
#pass1-text, #pass1-text,
@ -1326,6 +1319,8 @@ table.form-table td .updated p {
input[type="week"] { input[type="week"] {
-webkit-appearance: none; -webkit-appearance: none;
padding: 3px 10px; padding: 3px 10px;
/* Only necessary for IE11 */
min-height: 40px;
} }
::-webkit-datetime-edit { ::-webkit-datetime-edit {
@ -1377,7 +1372,7 @@ table.form-table td .updated p {
margin-top: 10px; margin-top: 10px;
} }
.wp-admin select, .wp-core-ui select,
.wp-admin .form-table select { .wp-admin .form-table select {
min-height: 40px; min-height: 40px;
font-size: 16px; font-size: 16px;
@ -1527,6 +1522,10 @@ table.form-table td .updated p {
font-size: 14px; font-size: 14px;
} }
.background-position-control .button-group > label {
font-size: 0;
}
.form-table fieldset label { .form-table fieldset label {
display: block; display: block;
} }
@ -1562,10 +1561,14 @@ table.form-table td .updated p {
position: absolute; position: absolute;
left: 0; left: 0;
top: 0; top: 0;
width: 2.375rem;
height: 2.375rem;
min-width: 40px;
min-height: 40px;
} }
.wp-pwd button.wp-hide-pw { .wp-pwd button.wp-hide-pw {
left: 40px; left: 2.5rem;
} }
.wp-pwd button.button:hover, .wp-pwd button.button:hover,
@ -1586,6 +1589,7 @@ table.form-table td .updated p {
.wp-pwd [type="text"], .wp-pwd [type="text"],
.wp-pwd [type="password"] { .wp-pwd [type="password"] {
line-height: 2; line-height: 2;
padding-left: 5rem;
} }
.wp-cancel-pw .dashicons-no { .wp-cancel-pw .dashicons-no {

File diff suppressed because one or more lines are too long

View File

@ -28,7 +28,7 @@ label {
input, input,
select { select {
margin: 1px; margin: 0 1px;
} }
textarea.code { textarea.code {
@ -308,48 +308,41 @@ input[type="radio"].disabled:checked:before {
------------------------------------------------------------------------------*/ ------------------------------------------------------------------------------*/
/* Select styles are based on the default button in buttons.css */ /* Select styles are based on the default button in buttons.css */
.wp-admin select { .wp-core-ui select {
font-size: 13px; font-size: 14px;
line-height: 1.38461538; /* 18px */ line-height: 2; /* 28px */
color: #32373c; color: #32373c;
border-color: #7e8993; border-color: #7e8993;
box-shadow: none; box-shadow: none;
border-radius: 3px; border-radius: 3px;
padding: 3px 24px 3px 8px; padding: 0 24px 0 8px;
min-height: 28px; min-height: 30px;
max-width: 25rem; max-width: 25rem;
vertical-align: middle;
-webkit-appearance: none; -webkit-appearance: none;
/* The SVG is arrow-down-alt2 from Dashicons. */ /* The SVG is arrow-down-alt2 from Dashicons. */
background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%; background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%;
background-size: 16px 16px; background-size: 16px 16px;
cursor: pointer; cursor: pointer;
} vertical-align: middle;
}e
/* Color and font size in the core form tables. */ .wp-core-ui select:hover {
.wp-admin .form-table select {
font-size: 14px;
line-height: 1.28571428; /* 18px */
color: #32373c;
}
.wp-admin select:hover {
color: #007cba; color: #007cba;
} }
.wp-admin select:focus { .wp-core-ui select:focus {
border-color: #007cba; border-color: #007cba;
color: #016087; color: #016087;
box-shadow: 0 0 0 1px #007cba; box-shadow: 0 0 0 1px #007cba;
} }
.wp-admin select:active { .wp-core-ui select:active {
border-color: #999; border-color: #999;
box-shadow: none; box-shadow: none;
} }
.wp-admin select.disabled, .wp-core-ui select.disabled,
.wp-admin select:disabled { .wp-core-ui select:disabled {
color: #a0a5aa; color: #a0a5aa;
border-color: #ddd; border-color: #ddd;
background-color: #f7f7f7; background-color: #f7f7f7;
@ -363,32 +356,32 @@ input[type="radio"].disabled:checked:before {
/* Reset Firefox inner outline that appears on :focus. */ /* Reset Firefox inner outline that appears on :focus. */
/* This ruleset overrides the color change on :focus thus needs to be after select:focus. */ /* This ruleset overrides the color change on :focus thus needs to be after select:focus. */
.wp-admin select:-moz-focusring { .wp-core-ui select:-moz-focusring {
color: transparent; color: transparent;
text-shadow: 0 0 0 #016087; text-shadow: 0 0 0 #016087;
} }
/* Remove background focus style from IE11 while keeping focus style available on option elements. */ /* Remove background focus style from IE11 while keeping focus style available on option elements. */
.wp-admin select::-ms-value { .wp-core-ui select::-ms-value {
background: transparent; background: transparent;
color: #555; color: #555;
} }
.wp-admin select:hover::-ms-value { .wp-core-ui select:hover::-ms-value {
color: #007cba; color: #007cba;
} }
.wp-admin select:focus::-ms-value { .wp-core-ui select:focus::-ms-value {
color: #016087; color: #016087;
} }
.wp-admin select.disabled::-ms-value, .wp-core-ui select.disabled::-ms-value,
.wp-admin select:disabled::-ms-value { .wp-core-ui select:disabled::-ms-value {
color: #a0a5aa; color: #a0a5aa;
} }
/* Hide the native down arrow for select element on IE. */ /* Hide the native down arrow for select element on IE. */
.wp-admin select::-ms-expand { .wp-core-ui select::-ms-expand {
display: none; display: none;
} }
@ -407,7 +400,7 @@ input[type="radio"].disabled:checked:before {
margin-top: 0; margin-top: 0;
} }
.wp-admin select[multiple] { .wp-core-ui select[multiple] {
height: auto; height: auto;
padding-right: 8px; padding-right: 8px;
background: #fff; background: #fff;
@ -484,14 +477,7 @@ input[type="number"].tiny-text {
#doaction, #doaction,
#doaction2, #doaction2,
#post-query-submit { #post-query-submit {
margin: 1px 8px 0 0; margin: 0 8px 0 0;
}
.tablenav #changeit,
.tablenav #delete_all,
.tablenav #clear-recent-list,
.wp-filter #delete_all {
margin-top: 1px;
} }
.tablenav .actions select { .tablenav .actions select {
@ -508,6 +494,10 @@ input[type="number"].tiny-text {
.wp-cancel-pw > .dashicons { .wp-cancel-pw > .dashicons {
position: relative; position: relative;
top: 3px; top: 3px;
width: 1.25rem;
height: 1.25rem;
top: 0.25rem;
font-size: 20px;
} }
.wp-cancel-pw .dashicons-no { .wp-cancel-pw .dashicons-no {
@ -601,9 +591,12 @@ fieldset label,
.wp-pwd [type="password"] { .wp-pwd [type="password"] {
margin-bottom: 0; margin-bottom: 0;
/* Same height as the buttons */ /* Same height as the buttons */
line-height: 20px; min-height: 30px;
min-height: 28px; }
max-height: 40px;
/* Hide the Edge "reveal password" native button */
.wp-pwd input::-ms-reveal {
display: none;
} }
#pass1-text, #pass1-text,
@ -1325,6 +1318,8 @@ table.form-table td .updated p {
input[type="week"] { input[type="week"] {
-webkit-appearance: none; -webkit-appearance: none;
padding: 3px 10px; padding: 3px 10px;
/* Only necessary for IE11 */
min-height: 40px;
} }
::-webkit-datetime-edit { ::-webkit-datetime-edit {
@ -1376,7 +1371,7 @@ table.form-table td .updated p {
margin-top: 10px; margin-top: 10px;
} }
.wp-admin select, .wp-core-ui select,
.wp-admin .form-table select { .wp-admin .form-table select {
min-height: 40px; min-height: 40px;
font-size: 16px; font-size: 16px;
@ -1526,6 +1521,10 @@ table.form-table td .updated p {
font-size: 14px; font-size: 14px;
} }
.background-position-control .button-group > label {
font-size: 0;
}
.form-table fieldset label { .form-table fieldset label {
display: block; display: block;
} }
@ -1561,10 +1560,14 @@ table.form-table td .updated p {
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
width: 2.375rem;
height: 2.375rem;
min-width: 40px;
min-height: 40px;
} }
.wp-pwd button.wp-hide-pw { .wp-pwd button.wp-hide-pw {
right: 40px; right: 2.5rem;
} }
.wp-pwd button.button:hover, .wp-pwd button.button:hover,
@ -1585,6 +1588,7 @@ table.form-table td .updated p {
.wp-pwd [type="text"], .wp-pwd [type="text"],
.wp-pwd [type="password"] { .wp-pwd [type="password"] {
line-height: 2; line-height: 2;
padding-right: 5rem;
} }
.wp-cancel-pw .dashicons-no { .wp-cancel-pw .dashicons-no {

File diff suppressed because one or more lines are too long

View File

@ -639,6 +639,7 @@ th.asc a:focus span.sorting-indicator {
clear: both; clear: both;
height: 30px; height: 30px;
margin: 6px 0 4px; margin: 6px 0 4px;
padding-top: 5px;
vertical-align: middle; vertical-align: middle;
} }
@ -648,7 +649,7 @@ th.asc a:focus span.sorting-indicator {
.tablenav .tablenav-pages { .tablenav .tablenav-pages {
float: left; float: left;
margin: 3px 0 9px; margin: 0 0 9px;
} }
.tablenav .no-pages, .tablenav .no-pages,
@ -660,12 +661,12 @@ th.asc a:focus span.sorting-indicator {
.tablenav .tablenav-pages .tablenav-pages-navspan { .tablenav .tablenav-pages .tablenav-pages-navspan {
display: inline-block; display: inline-block;
vertical-align: baseline; vertical-align: baseline;
min-width: 28px; min-width: 30px;
min-height: 28px; min-height: 30px;
margin: 0; margin: 0;
padding: 0 4px; padding: 0 4px;
font-size: 16px; font-size: 16px;
line-height: 1.5; line-height: 1.625; /* 26px */
text-align: center; text-align: center;
} }
@ -679,8 +680,7 @@ th.asc a:focus span.sorting-indicator {
} }
.tablenav .actions { .tablenav .actions {
overflow: hidden; padding: 0 0 0 8px;
padding: 2px 0 0 8px;
} }
.wp-filter .actions { .wp-filter .actions {
@ -1035,11 +1035,9 @@ tr.inline-edit-row td,
.inline-edit-row fieldset input[name=hh], .inline-edit-row fieldset input[name=hh],
.inline-edit-row fieldset input[name=mn], .inline-edit-row fieldset input[name=mn],
.inline-edit-row fieldset input[name=aa] { .inline-edit-row fieldset input[name=aa] {
font-size: 12px;
line-height: 1.16666666;
vertical-align: middle; vertical-align: middle;
text-align: center; text-align: center;
padding: 6px 4px; padding: 0 4px;
} }
.inline-edit-row fieldset label input.inline-edit-password-input { .inline-edit-row fieldset label input.inline-edit-password-input {
@ -1953,6 +1951,15 @@ div.action-links,
box-sizing: border-box; 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 fieldset ul.cat-checklist label,
.inline-edit-row #bulk-titles div { .inline-edit-row #bulk-titles div {
font-size: 16px; font-size: 16px;

File diff suppressed because one or more lines are too long

View File

@ -638,6 +638,7 @@ th.asc a:focus span.sorting-indicator {
clear: both; clear: both;
height: 30px; height: 30px;
margin: 6px 0 4px; margin: 6px 0 4px;
padding-top: 5px;
vertical-align: middle; vertical-align: middle;
} }
@ -647,7 +648,7 @@ th.asc a:focus span.sorting-indicator {
.tablenav .tablenav-pages { .tablenav .tablenav-pages {
float: right; float: right;
margin: 3px 0 9px; margin: 0 0 9px;
} }
.tablenav .no-pages, .tablenav .no-pages,
@ -659,12 +660,12 @@ th.asc a:focus span.sorting-indicator {
.tablenav .tablenav-pages .tablenav-pages-navspan { .tablenav .tablenav-pages .tablenav-pages-navspan {
display: inline-block; display: inline-block;
vertical-align: baseline; vertical-align: baseline;
min-width: 28px; min-width: 30px;
min-height: 28px; min-height: 30px;
margin: 0; margin: 0;
padding: 0 4px; padding: 0 4px;
font-size: 16px; font-size: 16px;
line-height: 1.5; line-height: 1.625; /* 26px */
text-align: center; text-align: center;
} }
@ -678,8 +679,7 @@ th.asc a:focus span.sorting-indicator {
} }
.tablenav .actions { .tablenav .actions {
overflow: hidden; padding: 0 8px 0 0;
padding: 2px 8px 0 0;
} }
.wp-filter .actions { .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=hh],
.inline-edit-row fieldset input[name=mn], .inline-edit-row fieldset input[name=mn],
.inline-edit-row fieldset input[name=aa] { .inline-edit-row fieldset input[name=aa] {
font-size: 12px;
line-height: 1.16666666;
vertical-align: middle; vertical-align: middle;
text-align: center; text-align: center;
padding: 6px 4px; padding: 0 4px;
} }
.inline-edit-row fieldset label input.inline-edit-password-input { .inline-edit-row fieldset label input.inline-edit-password-input {
@ -1952,6 +1950,15 @@ div.action-links,
box-sizing: border-box; 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 fieldset ul.cat-checklist label,
.inline-edit-row #bulk-titles div { .inline-edit-row #bulk-titles div {
font-size: 16px; font-size: 16px;

File diff suppressed because one or more lines are too long

View File

@ -35,7 +35,6 @@ body.js .theme-browser.search-loading {
right: 20px; right: 20px;
margin: 0; margin: 0;
width: 280px; width: 280px;
font-size: inherit;
} }
/* Position admin messages */ /* Position admin messages */

File diff suppressed because one or more lines are too long

View File

@ -34,7 +34,6 @@ body.js .theme-browser.search-loading {
left: 20px; left: 20px;
margin: 0; margin: 0;
width: 280px; width: 280px;
font-size: inherit;
} }
/* Position admin messages */ /* Position admin messages */

File diff suppressed because one or more lines are too long

View File

@ -47,8 +47,8 @@ TABLE OF CONTENTS:
display: inline-block; display: inline-block;
text-decoration: none; text-decoration: none;
font-size: 13px; font-size: 13px;
line-height: 2; line-height: 2.15384615; /* 28px */
min-height: 28px; min-height: 30px;
margin: 0; margin: 0;
padding: 0 10px; padding: 0 10px;
cursor: pointer; cursor: pointer;
@ -72,15 +72,15 @@ TABLE OF CONTENTS:
.wp-core-ui .button.button-large, .wp-core-ui .button.button-large,
.wp-core-ui .button-group.button-large .button { .wp-core-ui .button-group.button-large .button {
min-height: 30px; min-height: 32px;
line-height: 2.15384615; line-height: 2.30769231; /* 30px */
padding: 0 12px 2px; padding: 0 12px;
} }
.wp-core-ui .button.button-small, .wp-core-ui .button.button-small,
.wp-core-ui .button-group.button-small .button { .wp-core-ui .button-group.button-small .button {
min-height: 24px; min-height: 26px;
line-height: 2; line-height: 2.18181818; /* 24px */
padding: 0 8px; padding: 0 8px;
font-size: 11px; font-size: 11px;
} }
@ -350,11 +350,11 @@ TABLE OF CONTENTS:
input#publish, input#publish,
input#save-post, input#save-post,
a.preview { a.preview {
padding: 1px 14px; padding: 0 14px;
line-height: 2; line-height: 2.71428571; /* 38px */
font-size: 14px; font-size: 14px;
vertical-align: middle; vertical-align: middle;
height: auto; min-height: 40px;
margin-bottom: 4px; margin-bottom: 4px;
} }
@ -378,10 +378,9 @@ TABLE OF CONTENTS:
/* Reset responsive styles in Press This, Customizer */ /* Reset responsive styles in Press This, Customizer */
.wp-core-ui.wp-customizer .button { .wp-core-ui.wp-customizer .button {
padding: 0 10px 1px;
font-size: 13px; font-size: 13px;
line-height: 2; line-height: 2.15384615; /* 28px */
min-height: 28px; min-height: 30px;
margin: 0; margin: 0;
vertical-align: inherit; vertical-align: inherit;
} }

File diff suppressed because one or more lines are too long

View File

@ -46,8 +46,8 @@ TABLE OF CONTENTS:
display: inline-block; display: inline-block;
text-decoration: none; text-decoration: none;
font-size: 13px; font-size: 13px;
line-height: 2; line-height: 2.15384615; /* 28px */
min-height: 28px; min-height: 30px;
margin: 0; margin: 0;
padding: 0 10px; padding: 0 10px;
cursor: pointer; cursor: pointer;
@ -71,15 +71,15 @@ TABLE OF CONTENTS:
.wp-core-ui .button.button-large, .wp-core-ui .button.button-large,
.wp-core-ui .button-group.button-large .button { .wp-core-ui .button-group.button-large .button {
min-height: 30px; min-height: 32px;
line-height: 2.15384615; line-height: 2.30769231; /* 30px */
padding: 0 12px 2px; padding: 0 12px;
} }
.wp-core-ui .button.button-small, .wp-core-ui .button.button-small,
.wp-core-ui .button-group.button-small .button { .wp-core-ui .button-group.button-small .button {
min-height: 24px; min-height: 26px;
line-height: 2; line-height: 2.18181818; /* 24px */
padding: 0 8px; padding: 0 8px;
font-size: 11px; font-size: 11px;
} }
@ -349,11 +349,11 @@ TABLE OF CONTENTS:
input#publish, input#publish,
input#save-post, input#save-post,
a.preview { a.preview {
padding: 1px 14px; padding: 0 14px;
line-height: 2; line-height: 2.71428571; /* 38px */
font-size: 14px; font-size: 14px;
vertical-align: middle; vertical-align: middle;
height: auto; min-height: 40px;
margin-bottom: 4px; margin-bottom: 4px;
} }
@ -377,10 +377,9 @@ TABLE OF CONTENTS:
/* Reset responsive styles in Press This, Customizer */ /* Reset responsive styles in Press This, Customizer */
.wp-core-ui.wp-customizer .button { .wp-core-ui.wp-customizer .button {
padding: 0 10px 1px;
font-size: 13px; font-size: 13px;
line-height: 2; line-height: 2.15384615; /* 28px */
min-height: 28px; min-height: 30px;
margin: 0; margin: 0;
vertical-align: inherit; vertical-align: inherit;
} }

File diff suppressed because one or more lines are too long

View File

@ -1202,9 +1202,10 @@ i.mce-i-wp_code:before {
.wp-media-buttons span.wp-media-buttons-icon { .wp-media-buttons span.wp-media-buttons-icon {
display: inline-block; display: inline-block;
width: 18px; width: 20px;
height: 18px; height: 20px;
vertical-align: text-top; line-height: 1;
vertical-align: middle;
margin: 0 2px; margin: 0 2px;
} }
@ -1777,7 +1778,9 @@ div.wp-link-input input {
width: 300px; width: 300px;
padding: 3px; padding: 3px;
box-sizing: border-box; box-sizing: border-box;
line-height: 1.28571429; line-height: 1.28571429; /* 18px */
/* Override value inherited from default input fields. */
min-height: 26px;
} }
.mce-toolbar div.wp-link-preview ~ .mce-btn, .mce-toolbar div.wp-link-preview ~ .mce-btn,

File diff suppressed because one or more lines are too long

View File

@ -1201,9 +1201,10 @@ i.mce-i-wp_code:before {
.wp-media-buttons span.wp-media-buttons-icon { .wp-media-buttons span.wp-media-buttons-icon {
display: inline-block; display: inline-block;
width: 18px; width: 20px;
height: 18px; height: 20px;
vertical-align: text-top; line-height: 1;
vertical-align: middle;
margin: 0 2px; margin: 0 2px;
} }
@ -1776,7 +1777,9 @@ div.wp-link-input input {
width: 300px; width: 300px;
padding: 3px; padding: 3px;
box-sizing: border-box; box-sizing: border-box;
line-height: 1.28571429; line-height: 1.28571429; /* 18px */
/* Override value inherited from default input fields. */
min-height: 26px;
} }
.mce-toolbar div.wp-link-preview ~ .mce-btn, .mce-toolbar div.wp-link-preview ~ .mce-btn,

File diff suppressed because one or more lines are too long

View File

@ -74,7 +74,7 @@
.media-frame select, .media-frame select,
.wp-admin .media-frame select { .wp-admin .media-frame select {
min-height: 28px; min-height: 30px;
vertical-align: middle; vertical-align: middle;
} }
@ -121,6 +121,12 @@
line-height: 2.15384615; /* 28px */ line-height: 2.15384615; /* 28px */
} }
/* Search field in the Media Library toolbar */
.media-frame.mode-grid .wp-filter input[type="search"] {
font-size: 14px;
line-height: 2;
}
.media-frame input[type="text"]:focus, .media-frame input[type="text"]:focus,
.media-frame input[type="password"]:focus, .media-frame input[type="password"]:focus,
.media-frame input[type="number"]:focus, .media-frame input[type="number"]:focus,

View File

@ -1,5 +1,5 @@
/*! This file is auto-generated */ /*! This file is auto-generated */
.media-modal *{box-sizing:content-box}.media-modal input,.media-modal select,.media-modal textarea{box-sizing:border-box}.media-frame,.media-modal{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:12px;-webkit-overflow-scrolling:touch}.media-modal legend{padding:0;font-size:13px}.media-modal label{font-size:13px}.media-modal .legend-inline{position:absolute;transform:translate(100%,50%);margin-right:-1%;line-height:1.2}.media-frame a{border-bottom:none;color:#0073aa}.media-frame a:active,.media-frame a:hover{color:#00a0d2}.media-frame a:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);color:#124964;outline:1px solid transparent}.media-frame a.button{color:#32373c}.media-frame a.button:hover{color:#23282d}.media-frame a.button-primary,.media-frame a.button-primary:hover{color:#fff}.media-frame input,.media-frame textarea{padding:6px 8px}.media-frame select,.wp-admin .media-frame select{min-height:28px;vertical-align:middle}.media-frame input[type=color],.media-frame input[type=date],.media-frame input[type=datetime-local],.media-frame input[type=datetime],.media-frame input[type=email],.media-frame input[type=month],.media-frame input[type=number],.media-frame input[type=password],.media-frame input[type=search],.media-frame input[type=tel],.media-frame input[type=text],.media-frame input[type=time],.media-frame input[type=url],.media-frame input[type=week],.media-frame select,.media-frame textarea{box-shadow:0 0 0 transparent;border-radius:4px;border:1px solid #7e8993;background-color:#fff;color:#32373c;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px}.media-frame input[type=date],.media-frame input[type=datetime-local],.media-frame input[type=datetime],.media-frame input[type=email],.media-frame input[type=month],.media-frame input[type=number],.media-frame input[type=password],.media-frame input[type=search],.media-frame input[type=tel],.media-frame input[type=text],.media-frame input[type=time],.media-frame input[type=url],.media-frame input[type=week]{padding:0 8px;line-height:2.15384615}.media-frame input[type=email]:focus,.media-frame input[type=number]:focus,.media-frame input[type=password]:focus,.media-frame input[type=search]:focus,.media-frame input[type=text]:focus,.media-frame input[type=url]:focus,.media-frame select:focus,.media-frame textarea:focus{border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.media-frame input:disabled,.media-frame input[readonly],.media-frame textarea:disabled,.media-frame textarea[readonly]{background-color:#eee}.media-frame input[type=search]{-webkit-appearance:textfield}.media-frame ::-webkit-input-placeholder{color:#72777c}.media-frame ::-moz-placeholder{color:#72777c;opacity:1}.media-frame :-ms-input-placeholder{color:#72777c}.media-frame .hidden,.media-frame .setting.hidden{display:none}/*! .media-modal *{box-sizing:content-box}.media-modal input,.media-modal select,.media-modal textarea{box-sizing:border-box}.media-frame,.media-modal{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:12px;-webkit-overflow-scrolling:touch}.media-modal legend{padding:0;font-size:13px}.media-modal label{font-size:13px}.media-modal .legend-inline{position:absolute;transform:translate(100%,50%);margin-right:-1%;line-height:1.2}.media-frame a{border-bottom:none;color:#0073aa}.media-frame a:active,.media-frame a:hover{color:#00a0d2}.media-frame a:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);color:#124964;outline:1px solid transparent}.media-frame a.button{color:#32373c}.media-frame a.button:hover{color:#23282d}.media-frame a.button-primary,.media-frame a.button-primary:hover{color:#fff}.media-frame input,.media-frame textarea{padding:6px 8px}.media-frame select,.wp-admin .media-frame select{min-height:30px;vertical-align:middle}.media-frame input[type=color],.media-frame input[type=date],.media-frame input[type=datetime-local],.media-frame input[type=datetime],.media-frame input[type=email],.media-frame input[type=month],.media-frame input[type=number],.media-frame input[type=password],.media-frame input[type=search],.media-frame input[type=tel],.media-frame input[type=text],.media-frame input[type=time],.media-frame input[type=url],.media-frame input[type=week],.media-frame select,.media-frame textarea{box-shadow:0 0 0 transparent;border-radius:4px;border:1px solid #7e8993;background-color:#fff;color:#32373c;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px}.media-frame input[type=date],.media-frame input[type=datetime-local],.media-frame input[type=datetime],.media-frame input[type=email],.media-frame input[type=month],.media-frame input[type=number],.media-frame input[type=password],.media-frame input[type=search],.media-frame input[type=tel],.media-frame input[type=text],.media-frame input[type=time],.media-frame input[type=url],.media-frame input[type=week]{padding:0 8px;line-height:2.15384615}.media-frame.mode-grid .wp-filter input[type=search]{font-size:14px;line-height:2}.media-frame input[type=email]:focus,.media-frame input[type=number]:focus,.media-frame input[type=password]:focus,.media-frame input[type=search]:focus,.media-frame input[type=text]:focus,.media-frame input[type=url]:focus,.media-frame select:focus,.media-frame textarea:focus{border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.media-frame input:disabled,.media-frame input[readonly],.media-frame textarea:disabled,.media-frame textarea[readonly]{background-color:#eee}.media-frame input[type=search]{-webkit-appearance:textfield}.media-frame ::-webkit-input-placeholder{color:#72777c}.media-frame ::-moz-placeholder{color:#72777c;opacity:1}.media-frame :-ms-input-placeholder{color:#72777c}.media-frame .hidden,.media-frame .setting.hidden{display:none}/*!
* jQuery UI Draggable/Sortable 1.11.4 * jQuery UI Draggable/Sortable 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *

View File

@ -73,7 +73,7 @@
.media-frame select, .media-frame select,
.wp-admin .media-frame select { .wp-admin .media-frame select {
min-height: 28px; min-height: 30px;
vertical-align: middle; vertical-align: middle;
} }
@ -120,6 +120,12 @@
line-height: 2.15384615; /* 28px */ line-height: 2.15384615; /* 28px */
} }
/* Search field in the Media Library toolbar */
.media-frame.mode-grid .wp-filter input[type="search"] {
font-size: 14px;
line-height: 2;
}
.media-frame input[type="text"]:focus, .media-frame input[type="text"]:focus,
.media-frame input[type="password"]:focus, .media-frame input[type="password"]:focus,
.media-frame input[type="number"]:focus, .media-frame input[type="number"]:focus,

View File

@ -1,5 +1,5 @@
/*! This file is auto-generated */ /*! This file is auto-generated */
.media-modal *{box-sizing:content-box}.media-modal input,.media-modal select,.media-modal textarea{box-sizing:border-box}.media-frame,.media-modal{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:12px;-webkit-overflow-scrolling:touch}.media-modal legend{padding:0;font-size:13px}.media-modal label{font-size:13px}.media-modal .legend-inline{position:absolute;transform:translate(-100%,50%);margin-left:-1%;line-height:1.2}.media-frame a{border-bottom:none;color:#0073aa}.media-frame a:active,.media-frame a:hover{color:#00a0d2}.media-frame a:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);color:#124964;outline:1px solid transparent}.media-frame a.button{color:#32373c}.media-frame a.button:hover{color:#23282d}.media-frame a.button-primary,.media-frame a.button-primary:hover{color:#fff}.media-frame input,.media-frame textarea{padding:6px 8px}.media-frame select,.wp-admin .media-frame select{min-height:28px;vertical-align:middle}.media-frame input[type=color],.media-frame input[type=date],.media-frame input[type=datetime-local],.media-frame input[type=datetime],.media-frame input[type=email],.media-frame input[type=month],.media-frame input[type=number],.media-frame input[type=password],.media-frame input[type=search],.media-frame input[type=tel],.media-frame input[type=text],.media-frame input[type=time],.media-frame input[type=url],.media-frame input[type=week],.media-frame select,.media-frame textarea{box-shadow:0 0 0 transparent;border-radius:4px;border:1px solid #7e8993;background-color:#fff;color:#32373c;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px}.media-frame input[type=date],.media-frame input[type=datetime-local],.media-frame input[type=datetime],.media-frame input[type=email],.media-frame input[type=month],.media-frame input[type=number],.media-frame input[type=password],.media-frame input[type=search],.media-frame input[type=tel],.media-frame input[type=text],.media-frame input[type=time],.media-frame input[type=url],.media-frame input[type=week]{padding:0 8px;line-height:2.15384615}.media-frame input[type=email]:focus,.media-frame input[type=number]:focus,.media-frame input[type=password]:focus,.media-frame input[type=search]:focus,.media-frame input[type=text]:focus,.media-frame input[type=url]:focus,.media-frame select:focus,.media-frame textarea:focus{border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.media-frame input:disabled,.media-frame input[readonly],.media-frame textarea:disabled,.media-frame textarea[readonly]{background-color:#eee}.media-frame input[type=search]{-webkit-appearance:textfield}.media-frame ::-webkit-input-placeholder{color:#72777c}.media-frame ::-moz-placeholder{color:#72777c;opacity:1}.media-frame :-ms-input-placeholder{color:#72777c}.media-frame .hidden,.media-frame .setting.hidden{display:none}/*! .media-modal *{box-sizing:content-box}.media-modal input,.media-modal select,.media-modal textarea{box-sizing:border-box}.media-frame,.media-modal{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:12px;-webkit-overflow-scrolling:touch}.media-modal legend{padding:0;font-size:13px}.media-modal label{font-size:13px}.media-modal .legend-inline{position:absolute;transform:translate(-100%,50%);margin-left:-1%;line-height:1.2}.media-frame a{border-bottom:none;color:#0073aa}.media-frame a:active,.media-frame a:hover{color:#00a0d2}.media-frame a:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);color:#124964;outline:1px solid transparent}.media-frame a.button{color:#32373c}.media-frame a.button:hover{color:#23282d}.media-frame a.button-primary,.media-frame a.button-primary:hover{color:#fff}.media-frame input,.media-frame textarea{padding:6px 8px}.media-frame select,.wp-admin .media-frame select{min-height:30px;vertical-align:middle}.media-frame input[type=color],.media-frame input[type=date],.media-frame input[type=datetime-local],.media-frame input[type=datetime],.media-frame input[type=email],.media-frame input[type=month],.media-frame input[type=number],.media-frame input[type=password],.media-frame input[type=search],.media-frame input[type=tel],.media-frame input[type=text],.media-frame input[type=time],.media-frame input[type=url],.media-frame input[type=week],.media-frame select,.media-frame textarea{box-shadow:0 0 0 transparent;border-radius:4px;border:1px solid #7e8993;background-color:#fff;color:#32373c;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px}.media-frame input[type=date],.media-frame input[type=datetime-local],.media-frame input[type=datetime],.media-frame input[type=email],.media-frame input[type=month],.media-frame input[type=number],.media-frame input[type=password],.media-frame input[type=search],.media-frame input[type=tel],.media-frame input[type=text],.media-frame input[type=time],.media-frame input[type=url],.media-frame input[type=week]{padding:0 8px;line-height:2.15384615}.media-frame.mode-grid .wp-filter input[type=search]{font-size:14px;line-height:2}.media-frame input[type=email]:focus,.media-frame input[type=number]:focus,.media-frame input[type=password]:focus,.media-frame input[type=search]:focus,.media-frame input[type=text]:focus,.media-frame input[type=url]:focus,.media-frame select:focus,.media-frame textarea:focus{border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.media-frame input:disabled,.media-frame input[readonly],.media-frame textarea:disabled,.media-frame textarea[readonly]{background-color:#eee}.media-frame input[type=search]{-webkit-appearance:textfield}.media-frame ::-webkit-input-placeholder{color:#72777c}.media-frame ::-moz-placeholder{color:#72777c;opacity:1}.media-frame :-ms-input-placeholder{color:#72777c}.media-frame .hidden,.media-frame .setting.hidden{display:none}/*!
* jQuery UI Draggable/Sortable 1.11.4 * jQuery UI Draggable/Sortable 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.4-alpha-46864'; $wp_version = '5.4-alpha-46866';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.