2019-10-25 20:17:07 -04:00
|
|
|
/*! This file is auto-generated */
|
2019-09-23 12:21:58 -04:00
|
|
|
/* Include margin and padding in the width calculation of input and textarea. */
|
|
|
|
input,
|
2019-09-30 13:24:59 -04:00
|
|
|
select,
|
|
|
|
textarea,
|
|
|
|
button {
|
2019-09-23 12:21:58 -04:00
|
|
|
box-sizing: border-box;
|
2019-09-30 13:24:59 -04:00
|
|
|
font-family: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
font-weight: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea,
|
|
|
|
input {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
overflow: auto;
|
|
|
|
padding: 2px 6px;
|
|
|
|
/* inherits font size 14px */
|
|
|
|
line-height: 1.42857143; /* 20px */
|
|
|
|
resize: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
input,
|
|
|
|
select {
|
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
2019-12-09 15:26:03 -05:00
|
|
|
margin: 0 1px;
|
2019-09-30 13:24:59 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
textarea.code {
|
|
|
|
padding: 4px 6px 1px 6px;
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="text"],
|
|
|
|
input[type="password"],
|
|
|
|
input[type="color"],
|
|
|
|
input[type="date"],
|
|
|
|
input[type="datetime"],
|
|
|
|
input[type="datetime-local"],
|
|
|
|
input[type="email"],
|
|
|
|
input[type="month"],
|
|
|
|
input[type="number"],
|
|
|
|
input[type="search"],
|
|
|
|
input[type="tel"],
|
|
|
|
input[type="time"],
|
|
|
|
input[type="url"],
|
|
|
|
input[type="week"],
|
|
|
|
select,
|
|
|
|
textarea {
|
|
|
|
box-shadow: 0 0 0 transparent;
|
|
|
|
border-radius: 4px;
|
|
|
|
border: 1px solid #7e8993;
|
|
|
|
background-color: #fff;
|
|
|
|
color: #32373c;
|
2019-09-30 13:24:59 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="text"],
|
|
|
|
input[type="password"],
|
|
|
|
input[type="date"],
|
|
|
|
input[type="datetime"],
|
|
|
|
input[type="datetime-local"],
|
|
|
|
input[type="email"],
|
|
|
|
input[type="month"],
|
|
|
|
input[type="number"],
|
|
|
|
input[type="search"],
|
|
|
|
input[type="tel"],
|
|
|
|
input[type="time"],
|
|
|
|
input[type="url"],
|
|
|
|
input[type="week"] {
|
|
|
|
padding: 0 8px;
|
|
|
|
/* inherits font size 14px */
|
|
|
|
line-height: 2; /* 28px */
|
2019-10-07 09:20:03 -04:00
|
|
|
/* Only necessary for IE11 */
|
|
|
|
min-height: 30px;
|
2019-09-30 13:24:59 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-datetime-edit {
|
|
|
|
/* inherits font size 14px */
|
|
|
|
line-height: 1.85714286; /* 26px */
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="text"]:focus,
|
|
|
|
input[type="password"]:focus,
|
|
|
|
input[type="color"]:focus,
|
|
|
|
input[type="date"]:focus,
|
|
|
|
input[type="datetime"]:focus,
|
|
|
|
input[type="datetime-local"]:focus,
|
|
|
|
input[type="email"]:focus,
|
|
|
|
input[type="month"]:focus,
|
|
|
|
input[type="number"]:focus,
|
|
|
|
input[type="search"]:focus,
|
|
|
|
input[type="tel"]:focus,
|
|
|
|
input[type="time"]:focus,
|
|
|
|
input[type="url"]:focus,
|
|
|
|
input[type="week"]:focus,
|
|
|
|
input[type="checkbox"]:focus,
|
|
|
|
input[type="radio"]:focus,
|
|
|
|
select:focus,
|
|
|
|
textarea:focus {
|
|
|
|
border-color: #007cba;
|
|
|
|
box-shadow: 0 0 0 1px #007cba;
|
|
|
|
/* Only visible in Windows High Contrast mode */
|
|
|
|
outline: 2px solid transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* rtl:ignore */
|
|
|
|
input[type="email"],
|
|
|
|
input[type="url"] {
|
|
|
|
direction: ltr;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"],
|
|
|
|
input[type="radio"] {
|
|
|
|
border: 1px solid #7e8993;
|
2019-09-30 13:24:59 -04:00
|
|
|
border-radius: 4px;
|
2019-09-23 12:21:58 -04:00
|
|
|
background: #fff;
|
|
|
|
color: #555;
|
|
|
|
clear: none;
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
line-height: 0;
|
2019-09-23 12:51:57 -04:00
|
|
|
height: 1rem;
|
|
|
|
margin: -0.25rem 0 0 0.25rem;
|
2019-09-23 12:21:58 -04:00
|
|
|
outline: 0;
|
|
|
|
padding: 0 !important;
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: middle;
|
2019-09-23 12:51:57 -04:00
|
|
|
width: 1rem;
|
|
|
|
min-width: 1rem;
|
2019-09-23 12:21:58 -04:00
|
|
|
-webkit-appearance: none;
|
|
|
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
|
|
transition: .05s border-color ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="radio"]:checked + label:before {
|
|
|
|
color: #82878c;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-core-ui input[type="reset"]:hover,
|
|
|
|
.wp-core-ui input[type="reset"]:active {
|
2020-07-07 06:11:05 -04:00
|
|
|
color: #006799;
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
td > input[type="checkbox"],
|
|
|
|
.wp-admin p input[type="checkbox"],
|
|
|
|
.wp-admin p input[type="radio"] {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-admin p label input[type="checkbox"] {
|
|
|
|
margin-top: -4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-admin p label input[type="radio"] {
|
|
|
|
margin-top: -2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="radio"] {
|
|
|
|
border-radius: 50%;
|
2019-09-23 12:51:57 -04:00
|
|
|
margin-left: 0.25rem;
|
2019-09-30 13:24:59 -04:00
|
|
|
/* 10px not sure if still necessary, comes from the MP6 redesign in r26072 */
|
2019-09-23 12:21:58 -04:00
|
|
|
line-height: 0.71428571;
|
|
|
|
}
|
|
|
|
|
2019-09-23 12:51:57 -04:00
|
|
|
input[type="checkbox"]:checked::before,
|
|
|
|
input[type="radio"]:checked::before {
|
2019-09-23 12:21:58 -04:00
|
|
|
float: right;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2019-09-23 12:51:57 -04:00
|
|
|
width: 1rem;
|
2020-10-25 22:25:09 -04:00
|
|
|
speak: never;
|
2019-09-23 12:21:58 -04:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
}
|
|
|
|
|
2019-09-23 12:51:57 -04:00
|
|
|
input[type="checkbox"]:checked::before {
|
|
|
|
/* Use the "Yes" SVG Dashicon */
|
|
|
|
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%231e8cbe%27%2F%3E%3C%2Fsvg%3E");
|
|
|
|
margin: -0.1875rem -0.25rem 0 0;
|
|
|
|
height: 1.3125rem;
|
|
|
|
width: 1.3125rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="radio"]:checked::before {
|
|
|
|
content: "";
|
|
|
|
border-radius: 50%;
|
2019-09-29 17:56:56 -04:00
|
|
|
width: 0.5rem; /* 8px */
|
|
|
|
height: 0.5rem; /* 8px */
|
|
|
|
margin: 0.1875rem; /* 3px */
|
2019-09-23 12:21:58 -04:00
|
|
|
background-color: #1e8cbe;
|
2019-09-30 13:24:59 -04:00
|
|
|
/* 16px not sure if still necessary, comes from the MP6 redesign in r26072 */
|
|
|
|
line-height: 1.14285714;
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
@-moz-document url-prefix() {
|
|
|
|
input[type="checkbox"],
|
|
|
|
input[type="radio"],
|
|
|
|
.form-table input.tog {
|
|
|
|
margin-bottom: -1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Search */
|
|
|
|
input[type="search"] {
|
|
|
|
-webkit-appearance: textfield;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="search"]::-webkit-search-decoration {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-admin input[type="file"] {
|
|
|
|
padding: 3px 0;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
input.readonly,
|
|
|
|
input[readonly],
|
|
|
|
textarea.readonly,
|
|
|
|
textarea[readonly] {
|
|
|
|
background-color: #eee;
|
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-input-placeholder {
|
|
|
|
color: #72777c;
|
|
|
|
}
|
|
|
|
|
|
|
|
::-moz-placeholder {
|
|
|
|
color: #72777c;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
:-ms-input-placeholder {
|
|
|
|
color: #72777c;
|
|
|
|
}
|
|
|
|
|
2020-10-23 11:05:09 -04:00
|
|
|
.form-invalid .form-required,
|
|
|
|
.form-invalid .form-required:focus,
|
|
|
|
.form-invalid.form-required input,
|
|
|
|
.form-invalid.form-required input:focus,
|
|
|
|
.form-invalid.form-required select,
|
|
|
|
.form-invalid.form-required select:focus {
|
2019-09-23 12:21:58 -04:00
|
|
|
border-color: #dc3232 !important;
|
|
|
|
box-shadow: 0 0 2px rgba(204, 0, 0, 0.8);
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table .form-required.form-invalid td:after {
|
|
|
|
content: "\f534";
|
|
|
|
font: normal 20px/1 dashicons;
|
|
|
|
color: #dc3232;
|
|
|
|
margin-right: -25px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Adjust error indicator for password layout */
|
|
|
|
.form-table .form-required.user-pass1-wrap.form-invalid td:after {
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table .form-required.user-pass1-wrap.form-invalid .password-input-wrapper:after {
|
|
|
|
content: "\f534";
|
|
|
|
font: normal 20px/1 dashicons;
|
|
|
|
color: #dc3232;
|
|
|
|
margin: 0 -29px 0 6px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-input-tip {
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:disabled,
|
|
|
|
input.disabled,
|
|
|
|
select:disabled,
|
|
|
|
select.disabled,
|
|
|
|
textarea:disabled,
|
|
|
|
textarea.disabled {
|
|
|
|
background: rgba(255, 255, 255, 0.5);
|
|
|
|
border-color: rgba(222, 222, 222, 0.75);
|
|
|
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
|
|
|
|
color: rgba(51, 51, 51, 0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="file"]:disabled,
|
|
|
|
input[type="file"].disabled,
|
|
|
|
input[type="range"]:disabled,
|
|
|
|
input[type="range"].disabled {
|
|
|
|
background: none;
|
|
|
|
box-shadow: none;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]:disabled,
|
|
|
|
input[type="checkbox"].disabled,
|
|
|
|
input[type="radio"]:disabled,
|
|
|
|
input[type="radio"].disabled,
|
|
|
|
input[type="checkbox"]:disabled:checked:before,
|
|
|
|
input[type="checkbox"].disabled:checked:before,
|
|
|
|
input[type="radio"]:disabled:checked:before,
|
|
|
|
input[type="radio"].disabled:checked:before {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
2.0 - Forms
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Select styles are based on the default button in buttons.css */
|
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
2019-12-09 15:26:03 -05:00
|
|
|
.wp-core-ui select {
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 2; /* 28px */
|
2019-09-30 13:24:59 -04:00
|
|
|
color: #32373c;
|
2019-09-23 12:21:58 -04:00
|
|
|
border-color: #7e8993;
|
|
|
|
box-shadow: none;
|
|
|
|
border-radius: 3px;
|
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
2019-12-09 15:26:03 -05:00
|
|
|
padding: 0 8px 0 24px;
|
|
|
|
min-height: 30px;
|
2019-10-06 02:42:02 -04:00
|
|
|
max-width: 25rem;
|
2019-09-23 12:21:58 -04:00
|
|
|
-webkit-appearance: none;
|
|
|
|
/* The SVG is arrow-down-alt2 from Dashicons. */
|
2019-09-30 13:24:59 -04:00
|
|
|
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%;
|
2019-09-23 12:21:58 -04:00
|
|
|
background-size: 16px 16px;
|
2019-09-30 13:24:59 -04:00
|
|
|
cursor: pointer;
|
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
2019-12-09 15:26:03 -05:00
|
|
|
vertical-align: middle;
|
2020-07-07 03:05:03 -04:00
|
|
|
}
|
2019-09-23 12:21:58 -04:00
|
|
|
|
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
2019-12-09 15:26:03 -05:00
|
|
|
.wp-core-ui select:hover {
|
2019-09-23 12:21:58 -04:00
|
|
|
color: #007cba;
|
|
|
|
}
|
|
|
|
|
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
2019-12-09 15:26:03 -05:00
|
|
|
.wp-core-ui select:focus {
|
2019-09-23 12:21:58 -04:00
|
|
|
border-color: #007cba;
|
|
|
|
color: #016087;
|
|
|
|
box-shadow: 0 0 0 1px #007cba;
|
|
|
|
}
|
|
|
|
|
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
2019-12-09 15:26:03 -05:00
|
|
|
.wp-core-ui select:active {
|
2019-09-23 12:21:58 -04:00
|
|
|
border-color: #999;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
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
2019-12-09 15:26:03 -05:00
|
|
|
.wp-core-ui select.disabled,
|
|
|
|
.wp-core-ui select:disabled {
|
2019-09-28 12:35:59 -04:00
|
|
|
color: #a0a5aa;
|
|
|
|
border-color: #ddd;
|
|
|
|
background-color: #f7f7f7;
|
|
|
|
/* The SVG is arrow-down-alt2 from Dashicons. */
|
|
|
|
background-image: 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%23a0a5aa%22%2F%3E%3C%2Fsvg%3E');
|
|
|
|
box-shadow: none;
|
|
|
|
text-shadow: 0 1px 0 #fff;
|
|
|
|
cursor: default;
|
|
|
|
transform: none;
|
|
|
|
}
|
|
|
|
|
2019-09-30 13:24:59 -04:00
|
|
|
/* Reset Firefox inner outline that appears on :focus. */
|
|
|
|
/* This ruleset overrides the color change on :focus thus needs to be after select:focus. */
|
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
2019-12-09 15:26:03 -05:00
|
|
|
.wp-core-ui select:-moz-focusring {
|
2019-09-30 13:24:59 -04:00
|
|
|
color: transparent;
|
|
|
|
text-shadow: 0 0 0 #016087;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Remove background focus style from IE11 while keeping focus style available on option elements. */
|
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
2019-12-09 15:26:03 -05:00
|
|
|
.wp-core-ui select::-ms-value {
|
2019-09-30 13:24:59 -04:00
|
|
|
background: transparent;
|
|
|
|
color: #555;
|
|
|
|
}
|
|
|
|
|
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
2019-12-09 15:26:03 -05:00
|
|
|
.wp-core-ui select:hover::-ms-value {
|
2019-09-30 13:24:59 -04:00
|
|
|
color: #007cba;
|
|
|
|
}
|
|
|
|
|
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
2019-12-09 15:26:03 -05:00
|
|
|
.wp-core-ui select:focus::-ms-value {
|
2019-09-30 13:24:59 -04:00
|
|
|
color: #016087;
|
|
|
|
}
|
|
|
|
|
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
2019-12-09 15:26:03 -05:00
|
|
|
.wp-core-ui select.disabled::-ms-value,
|
|
|
|
.wp-core-ui select:disabled::-ms-value {
|
2019-09-30 13:24:59 -04:00
|
|
|
color: #a0a5aa;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Hide the native down arrow for select element on IE. */
|
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
2019-12-09 15:26:03 -05:00
|
|
|
.wp-core-ui select::-ms-expand {
|
2019-09-30 13:24:59 -04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2019-09-23 12:21:58 -04:00
|
|
|
.wp-admin .button-cancel {
|
2019-09-30 13:24:59 -04:00
|
|
|
display: inline-block;
|
|
|
|
min-height: 28px;
|
2019-09-23 12:21:58 -04:00
|
|
|
padding: 0 5px;
|
|
|
|
line-height: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.meta-box-sortables select {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2020-02-13 19:52:06 -05:00
|
|
|
.meta-box-sortables input {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2019-09-30 13:24:59 -04:00
|
|
|
.misc-pub-post-status select {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
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
2019-12-09 15:26:03 -05:00
|
|
|
.wp-core-ui select[multiple] {
|
2019-09-23 12:21:58 -04:00
|
|
|
height: auto;
|
2019-09-30 13:24:59 -04:00
|
|
|
padding-left: 8px;
|
|
|
|
background: #fff;
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.submit {
|
|
|
|
padding: 1.5em 0;
|
|
|
|
margin: 5px 0;
|
|
|
|
border-bottom-right-radius: 3px;
|
|
|
|
border-bottom-left-radius: 3px;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
form p.submit a.cancel:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
p.submit {
|
|
|
|
text-align: right;
|
|
|
|
max-width: 100%;
|
|
|
|
margin-top: 20px;
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.textright p.submit {
|
|
|
|
border: none;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.form-table + p.submit,
|
|
|
|
table.form-table + input + p.submit,
|
|
|
|
table.form-table + input + input + p.submit {
|
|
|
|
border-top: none;
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#minor-publishing-actions input,
|
|
|
|
#major-publishing-actions input,
|
|
|
|
#minor-publishing-actions .preview {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea.all-options,
|
|
|
|
input.all-options {
|
|
|
|
width: 250px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input.large-text,
|
|
|
|
textarea.large-text {
|
|
|
|
width: 99%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.regular-text {
|
|
|
|
width: 25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
input.small-text {
|
|
|
|
width: 50px;
|
2019-09-30 13:24:59 -04:00
|
|
|
padding: 0 6px;
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
2020-07-10 02:48:06 -04:00
|
|
|
label input.small-text {
|
|
|
|
margin-top: -4px;
|
|
|
|
}
|
|
|
|
|
2019-09-23 12:21:58 -04:00
|
|
|
input[type="number"].small-text {
|
|
|
|
width: 65px;
|
2020-01-17 08:57:03 -05:00
|
|
|
padding-left: 0;
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
input.tiny-text {
|
|
|
|
width: 35px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="number"].tiny-text {
|
|
|
|
width: 45px;
|
2020-01-17 08:57:03 -05:00
|
|
|
padding-left: 0;
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#doaction,
|
|
|
|
#doaction2,
|
|
|
|
#post-query-submit {
|
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
2019-12-09 15:26:03 -05:00
|
|
|
margin: 0 0 0 8px;
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
2021-01-07 11:23:07 -05:00
|
|
|
/* @since 5.7.0 secondary bulk action controls require JS. */
|
|
|
|
.no-js label[for="bulk-action-selector-bottom"],
|
|
|
|
.no-js select#bulk-action-selector-bottom,
|
|
|
|
.no-js input#doaction2,
|
|
|
|
.no-js label[for="new_role2"],
|
|
|
|
.no-js select#new_role2,
|
|
|
|
.no-js input#changeit2 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2019-09-23 12:21:58 -04:00
|
|
|
.tablenav .actions select {
|
|
|
|
float: right;
|
|
|
|
margin-left: 6px;
|
|
|
|
max-width: 12.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#timezone_string option {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-hide-pw > .dashicons,
|
|
|
|
.wp-cancel-pw > .dashicons {
|
|
|
|
position: relative;
|
|
|
|
top: 3px;
|
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
2019-12-09 15:26:03 -05:00
|
|
|
width: 1.25rem;
|
|
|
|
height: 1.25rem;
|
|
|
|
top: 0.25rem;
|
|
|
|
font-size: 20px;
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-cancel-pw .dashicons-no {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
label,
|
|
|
|
#your-profile label + a {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset label,
|
|
|
|
#your-profile label + a {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.options-media-php [for*="_size_"] {
|
|
|
|
min-width: 10em;
|
|
|
|
vertical-align: baseline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.options-media-php .small-text[name*="_size_"] {
|
|
|
|
margin: 0 0 1em;
|
|
|
|
}
|
|
|
|
|
2020-10-20 14:27:13 -04:00
|
|
|
.wp-generate-pw {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-pwd {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
2019-09-23 12:21:58 -04:00
|
|
|
#misc-publishing-actions label {
|
|
|
|
vertical-align: baseline;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pass-strength-result {
|
|
|
|
background-color: #eee;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
color: #23282d;
|
|
|
|
margin: -1px 1px 5px;
|
|
|
|
padding: 3px 5px;
|
|
|
|
text-align: center;
|
|
|
|
width: 25em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pass-strength-result.short {
|
|
|
|
background-color: #f1adad;
|
|
|
|
border-color: #e35b5b;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pass-strength-result.bad {
|
|
|
|
background-color: #fbc5a9;
|
|
|
|
border-color: #f78b53;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pass-strength-result.good {
|
|
|
|
background-color: #ffe399;
|
|
|
|
border-color: #ffc733;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pass-strength-result.strong {
|
|
|
|
background-color: #c1e1b9;
|
|
|
|
border-color: #83c373;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pass1.short, #pass1-text.short {
|
|
|
|
border-color: #e35b5b;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pass1.bad, #pass1-text.bad {
|
|
|
|
border-color: #f78b53;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pass1.good, #pass1-text.good {
|
|
|
|
border-color: #ffc733;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pass1.strong, #pass1-text.strong {
|
|
|
|
border-color: #83c373;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pw-weak {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.indicator-hint {
|
|
|
|
padding-top: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-pwd [type="text"],
|
|
|
|
.wp-pwd [type="password"] {
|
|
|
|
margin-bottom: 0;
|
|
|
|
/* Same height as the buttons */
|
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
2019-12-09 15:26:03 -05:00
|
|
|
min-height: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Hide the Edge "reveal password" native button */
|
|
|
|
.wp-pwd input::-ms-reveal {
|
|
|
|
display: none;
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#pass1-text,
|
|
|
|
.show-password #pass1 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pass1-text::-ms-clear {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.show-password #pass1-text {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
p.search-box {
|
|
|
|
float: left;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.network-admin.themes-php p.search-box {
|
|
|
|
clear: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-box input[name="s"],
|
|
|
|
.tablenav .search-plugins input[name="s"],
|
|
|
|
.tagsdiv .newtag {
|
|
|
|
float: right;
|
|
|
|
margin: 0 0 0 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.js.plugins-php .search-box .wp-filter-search {
|
|
|
|
margin: 0;
|
|
|
|
width: 280px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="text"].ui-autocomplete-loading,
|
|
|
|
input[type="email"].ui-autocomplete-loading {
|
|
|
|
background-image: url(../images/loading.gif);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: left center;
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
input.ui-autocomplete-input.open {
|
|
|
|
border-bottom-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul#add-to-blog-users {
|
|
|
|
margin: 0 14px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui-autocomplete {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
list-style: none;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 10000;
|
|
|
|
border: 1px solid #5b9dd9;
|
|
|
|
box-shadow: 0 1px 2px rgba(30, 140, 190, 0.8);
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui-autocomplete li {
|
|
|
|
margin-bottom: 0;
|
|
|
|
padding: 4px 10px;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-align: right;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Colors for the wplink toolbar autocomplete. */
|
|
|
|
.ui-autocomplete .ui-state-focus {
|
|
|
|
background-color: #ddd;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Colors for the tags autocomplete. */
|
|
|
|
.wp-tags-autocomplete .ui-state-focus {
|
|
|
|
background-color: #0073aa;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
15.0 - Comments Screen
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
.form-table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
width: 100%;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table,
|
|
|
|
.form-table td,
|
|
|
|
.form-table th,
|
|
|
|
.form-table td p {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table td {
|
|
|
|
margin-bottom: 9px;
|
|
|
|
padding: 15px 10px;
|
|
|
|
line-height: 1.3;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table th,
|
|
|
|
.form-wrap label {
|
|
|
|
color: #23282d;
|
|
|
|
font-weight: 400;
|
|
|
|
text-shadow: none;
|
|
|
|
vertical-align: baseline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table th {
|
|
|
|
vertical-align: top;
|
|
|
|
text-align: right;
|
|
|
|
padding: 20px 0 20px 10px;
|
|
|
|
width: 200px;
|
|
|
|
line-height: 1.3;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table th.th-full, /* Not used by core. Back-compat for pre-4.8 */
|
|
|
|
.form-table .td-full {
|
|
|
|
width: auto;
|
|
|
|
padding: 20px 0 20px 10px;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table td p {
|
|
|
|
margin-top: 4px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table .date-time-doc {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table p.timezone-info {
|
|
|
|
margin: 1em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table td fieldset label {
|
2020-07-10 02:48:06 -04:00
|
|
|
margin: 0.35em 0 0.5em !important;
|
2019-09-23 12:21:58 -04:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
REST API: Introduce Application Passwords for API authentication.
In WordPress 4.4 the REST API was first introduced. A few releases later in WordPress 4.7, the Content API endpoints were added, paving the way for Gutenberg and countless in-site experiences. In the intervening years, numerous plugins have built on top of the REST API. Many developers shared a common frustration, the lack of external authentication to the REST API.
This commit introduces Application Passwords to allow users to connect to external applications to their WordPress website. Users can generate individual passwords for each application, allowing for easy revocation and activity monitoring. An authorization flow is introduced to make the connection flow simple for users and application developers.
Application Passwords uses Basic Authentication, and by default is only available over an SSL connection.
Props georgestephanis, kasparsd, timothyblynjacobs, afercia, akkspro, andraganescu, arippberger, aristath, austyfrosty, ayesh, batmoo, bradyvercher, brianhenryie, helen, ipstenu, jeffmatson, jeffpaul, joostdevalk, joshlevinson, kadamwhite, kjbenk, koke, michael-arestad, Otto42, pekz0r, salzano, spacedmonkey, valendesigns.
Fixes #42790.
Built from https://develop.svn.wordpress.org/trunk@49109
git-svn-id: http://core.svn.wordpress.org/trunk@48871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-08 18:14:06 -04:00
|
|
|
.form-table td fieldset p label {
|
2020-07-10 02:48:06 -04:00
|
|
|
margin-top: 0 !important;
|
|
|
|
}
|
|
|
|
|
2019-09-23 12:21:58 -04:00
|
|
|
.form-table td fieldset label,
|
|
|
|
.form-table td fieldset p,
|
|
|
|
.form-table td fieldset li {
|
|
|
|
line-height: 1.4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table input.tog,
|
|
|
|
.form-table input[type="radio"] {
|
|
|
|
margin-top: -4px;
|
|
|
|
margin-left: 4px;
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table .pre {
|
|
|
|
padding: 8px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.form-table td .updated {
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.form-table td .updated p {
|
|
|
|
font-size: 13px;
|
|
|
|
margin: 0.3em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
18.0 - Users
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
#profile-page .form-table textarea {
|
|
|
|
width: 500px;
|
|
|
|
margin-bottom: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#profile-page .form-table #rich_editing {
|
|
|
|
margin-left: 5px
|
|
|
|
}
|
|
|
|
|
|
|
|
#your-profile legend {
|
|
|
|
font-size: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#display_name {
|
|
|
|
width: 15em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#adduser .form-field input,
|
|
|
|
#createuser .form-field input {
|
|
|
|
width: 25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.color-option {
|
|
|
|
display: inline-block;
|
|
|
|
width: 24%;
|
|
|
|
padding: 5px 15px 15px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin-bottom: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.color-option:hover,
|
|
|
|
.color-option.selected {
|
|
|
|
background: #ddd;
|
|
|
|
}
|
|
|
|
|
|
|
|
.color-palette {
|
|
|
|
width: 100%;
|
|
|
|
border-spacing: 0;
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
.color-palette td {
|
|
|
|
height: 20px;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.color-option {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2020-10-23 23:34:06 -04:00
|
|
|
.create-application-password .form-field {
|
|
|
|
max-width: 25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.create-application-password label {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.create-application-password p.submit {
|
|
|
|
margin-bottom: 0;
|
|
|
|
padding-bottom: 0;
|
2021-01-02 17:36:05 -05:00
|
|
|
display: block;
|
2020-10-23 23:34:06 -04:00
|
|
|
}
|
|
|
|
|
2020-11-09 13:05:08 -05:00
|
|
|
#application-passwords-section .notice {
|
REST API: Introduce Application Passwords for API authentication.
In WordPress 4.4 the REST API was first introduced. A few releases later in WordPress 4.7, the Content API endpoints were added, paving the way for Gutenberg and countless in-site experiences. In the intervening years, numerous plugins have built on top of the REST API. Many developers shared a common frustration, the lack of external authentication to the REST API.
This commit introduces Application Passwords to allow users to connect to external applications to their WordPress website. Users can generate individual passwords for each application, allowing for easy revocation and activity monitoring. An authorization flow is introduced to make the connection flow simple for users and application developers.
Application Passwords uses Basic Authentication, and by default is only available over an SSL connection.
Props georgestephanis, kasparsd, timothyblynjacobs, afercia, akkspro, andraganescu, arippberger, aristath, austyfrosty, ayesh, batmoo, bradyvercher, brianhenryie, helen, ipstenu, jeffmatson, jeffpaul, joostdevalk, joshlevinson, kadamwhite, kjbenk, koke, michael-arestad, Otto42, pekz0r, salzano, spacedmonkey, valendesigns.
Fixes #42790.
Built from https://develop.svn.wordpress.org/trunk@49109
git-svn-id: http://core.svn.wordpress.org/trunk@48871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-08 18:14:06 -04:00
|
|
|
margin-top: 20px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2020-10-23 23:34:06 -04:00
|
|
|
.application-password-display input.code {
|
|
|
|
width: 19em;
|
|
|
|
}
|
|
|
|
|
2020-11-09 13:05:08 -05:00
|
|
|
.auth-app-card.card {
|
|
|
|
max-width: 768px;
|
|
|
|
}
|
|
|
|
|
2020-12-08 15:28:04 -05:00
|
|
|
.authorize-application-php .form-wrap p {
|
2021-01-02 17:36:05 -05:00
|
|
|
display: block;
|
2020-12-08 15:28:04 -05:00
|
|
|
}
|
|
|
|
|
2019-09-23 12:21:58 -04:00
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
19.0 - Tools
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
.tool-box .title {
|
|
|
|
margin: 8px 0;
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.label-responsive {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
#export-filters p {
|
|
|
|
margin: 0 0 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#export-filters p.submit {
|
|
|
|
margin: 7px 0 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Card styles */
|
|
|
|
|
|
|
|
.card {
|
|
|
|
position: relative;
|
|
|
|
margin-top: 20px;
|
|
|
|
padding: 0.7em 2em 1em;
|
|
|
|
min-width: 255px;
|
|
|
|
max-width: 520px;
|
|
|
|
border: 1px solid #ccd0d4;
|
|
|
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
|
|
|
background: #fff;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Press this styles */
|
|
|
|
|
|
|
|
.pressthis h4 {
|
|
|
|
margin: 2em 0 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pressthis textarea {
|
|
|
|
width: 100%;
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pressthis-code-wrap {
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pressthis-bookmarklet-wrapper {
|
|
|
|
margin: 20px 0 8px;
|
|
|
|
vertical-align: top;
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pressthis-bookmarklet,
|
|
|
|
.pressthis-bookmarklet:hover,
|
|
|
|
.pressthis-bookmarklet:focus,
|
|
|
|
.pressthis-bookmarklet:active {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
cursor: move;
|
|
|
|
color: #32373c;
|
|
|
|
background: #e5e5e5;
|
|
|
|
border-radius: 5px;
|
|
|
|
border: 1px solid #b4b9be;
|
|
|
|
font-style: normal;
|
|
|
|
line-height: 16px;
|
|
|
|
font-size: 14px;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pressthis-bookmarklet:active {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pressthis-bookmarklet:after {
|
|
|
|
content: "";
|
|
|
|
width: 70%;
|
|
|
|
height: 55%;
|
|
|
|
z-index: -1;
|
|
|
|
position: absolute;
|
|
|
|
left: 10px;
|
|
|
|
bottom: 9px;
|
|
|
|
background: transparent;
|
|
|
|
transform: skew(-20deg) rotate(-6deg);
|
|
|
|
box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6);
|
|
|
|
}
|
|
|
|
|
|
|
|
.pressthis-bookmarklet:hover:after {
|
|
|
|
transform: skew(-20deg) rotate(-9deg);
|
|
|
|
box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7);
|
|
|
|
}
|
|
|
|
|
|
|
|
.pressthis-bookmarklet span {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0px 0 0;
|
|
|
|
padding: 0px 9px 8px 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pressthis-bookmarklet span:before {
|
|
|
|
color: #72777c;
|
|
|
|
font: normal 20px/1 dashicons;
|
|
|
|
content: "\f157";
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
top: 4px;
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pressthis-js-toggle {
|
|
|
|
margin-right: 10px;
|
|
|
|
padding: 0;
|
|
|
|
height: auto;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* to override the button class being applied */
|
|
|
|
.pressthis-js-toggle.button.button {
|
|
|
|
margin-right: 10px;
|
|
|
|
padding: 0;
|
|
|
|
height: auto;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pressthis-js-toggle .dashicons {
|
|
|
|
margin: 5px 7px 6px 8px;
|
|
|
|
color: #555d66;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
20.0 - Settings
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
.timezone-info code {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.defaultavatarpicker .avatar {
|
|
|
|
margin: 2px 0;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.options-general-php .date-time-text {
|
|
|
|
display: inline-block;
|
|
|
|
min-width: 10em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.options-general-php input.small-text {
|
|
|
|
width: 56px;
|
2019-09-30 13:24:59 -04:00
|
|
|
margin: -2px 0;
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.options-general-php .spinner {
|
|
|
|
float: none;
|
|
|
|
margin: -3px 3px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-php .language-install-spinner,
|
|
|
|
.options-general-php .language-install-spinner {
|
|
|
|
display: inline-block;
|
|
|
|
float: none;
|
|
|
|
margin: -3px 5px 0;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table.permalink-structure .available-structure-tags li {
|
|
|
|
float: right;
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
21.0 - Network Admin
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
.setup-php textarea {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-field #site-address {
|
|
|
|
max-width: 25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-field #domain {
|
|
|
|
max-width: 22em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-field #site-title,
|
|
|
|
.form-field #admin-email,
|
|
|
|
.form-field #path,
|
|
|
|
.form-field #blog_registered,
|
|
|
|
.form-field #blog_last_updated {
|
|
|
|
max-width: 25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-field #path {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#search-users,
|
|
|
|
#search-sites {
|
2020-02-01 12:38:03 -05:00
|
|
|
max-width: 60%;
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
Credentials check dialog for Install and Updates
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
.request-filesystem-credentials-dialog {
|
|
|
|
display: none;
|
|
|
|
/* The customizer uses visibility: hidden on the body for full-overlays. */
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-dialog .notification-dialog {
|
|
|
|
top: 10%;
|
|
|
|
max-height: 85%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-dialog-content {
|
|
|
|
margin: 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#request-filesystem-credentials-title {
|
|
|
|
font-size: 1.3em;
|
|
|
|
margin: 1em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-form legend {
|
|
|
|
font-size: 1em;
|
|
|
|
padding: 1.33em 0;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-form input[type="text"],
|
|
|
|
.request-filesystem-credentials-form input[type="password"] {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-dialog input[type="text"],
|
|
|
|
.request-filesystem-credentials-dialog input[type="password"] {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-form .field-title {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-dialog label[for="hostname"],
|
|
|
|
.request-filesystem-credentials-dialog label[for="public_key"],
|
|
|
|
.request-filesystem-credentials-dialog label[for="private_key"] {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-dialog .ftp-username,
|
|
|
|
.request-filesystem-credentials-dialog .ftp-password {
|
|
|
|
float: right;
|
|
|
|
width: 48%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-dialog .ftp-password {
|
|
|
|
margin-right: 4%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-dialog .request-filesystem-credentials-action-buttons {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-dialog label[for="ftp"] {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-dialog #auth-keys-desc {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#request-filesystem-credentials-dialog .button:not(:last-child) {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#request-filesystem-credentials-form .cancel-button {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#request-filesystem-credentials-dialog .cancel-button {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-dialog .ftp-username,
|
|
|
|
.request-filesystem-credentials-dialog .ftp-password {
|
|
|
|
float: none;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-dialog .ftp-username {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-dialog .ftp-password {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-dialog .ftp-password em {
|
|
|
|
color: #888;
|
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-dialog label {
|
|
|
|
display: block;
|
|
|
|
line-height: 1.5;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-form legend {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-form #ssh-keys legend {
|
|
|
|
font-size: 1.3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-form .notice {
|
|
|
|
margin: 0 0 20px 0;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
Privacy Policy settings screen
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
.tools-privacy-policy-page form {
|
|
|
|
margin-bottom: 1.3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tools-privacy-policy-page input.button,
|
|
|
|
.tools-privacy-policy-page select {
|
2019-10-07 09:20:03 -04:00
|
|
|
margin: 0 6px 0 1px;
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.tools-privacy-edit {
|
|
|
|
margin: 1.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tools-privacy-policy-page span {
|
|
|
|
line-height: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy_requests .column-email {
|
|
|
|
width: 40%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy_requests .column-type {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy_requests thead td:first-child,
|
|
|
|
.privacy_requests tfoot td:first-child {
|
|
|
|
border-right: 4px solid #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy_requests tbody th {
|
|
|
|
border-right: 4px solid #fff;
|
|
|
|
background: #fff;
|
|
|
|
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
|
2019-09-23 15:13:58 -04:00
|
|
|
.privacy_requests .row-actions {
|
|
|
|
color: #72777c;
|
|
|
|
}
|
|
|
|
|
2020-02-29 18:45:07 -05:00
|
|
|
.privacy_requests .row-actions.processing {
|
|
|
|
position: static;
|
|
|
|
}
|
|
|
|
|
2019-09-23 12:21:58 -04:00
|
|
|
.privacy_requests tbody .has-request-results th {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy_requests tbody .request-results th .notice {
|
|
|
|
margin: 0 0 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy_requests tbody td {
|
|
|
|
background: #fff;
|
|
|
|
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy_requests tbody .has-request-results td {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy_requests .next_steps .button {
|
2020-02-25 16:01:06 -05:00
|
|
|
word-wrap: break-word;
|
|
|
|
white-space: normal;
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.privacy_requests .status-request-confirmed th,
|
|
|
|
.privacy_requests .status-request-confirmed td {
|
|
|
|
background-color: #f7fcfe;
|
|
|
|
border-right-color: #00a0d2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy_requests .status-request-failed th,
|
|
|
|
.privacy_requests .status-request-failed td {
|
|
|
|
background-color: #fef7f1;
|
|
|
|
border-right-color: #d64d21;
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy_requests .export_personal_data_failed a {
|
|
|
|
vertical-align: baseline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-label {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-label.status-request-pending {
|
|
|
|
font-weight: 400;
|
|
|
|
font-style: italic;
|
|
|
|
color: #6c7781;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-label.status-request-failed {
|
|
|
|
color: #aa0000;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-privacy-request-form {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-privacy-request-form-field {
|
|
|
|
margin: 1.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-privacy-request-form label {
|
|
|
|
font-weight: 600;
|
|
|
|
line-height: 1.5;
|
|
|
|
padding-bottom: .5em;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-privacy-request-form input {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.email-personal-data::before {
|
|
|
|
display: inline-block;
|
|
|
|
font: normal 20px/1 dashicons;
|
|
|
|
margin: 3px -2px 0 5px;
|
2020-10-25 22:25:09 -04:00
|
|
|
speak: never;
|
2019-09-23 12:21:58 -04:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.email-personal-data--sending::before {
|
|
|
|
color: #f56e28;
|
|
|
|
content: "\f463";
|
|
|
|
animation: rotation 2s infinite linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
.email-personal-data--sent::before {
|
|
|
|
color: #79ba49;
|
|
|
|
content: "\f147";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* =Media Queries
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
|
|
|
@media screen and (max-width: 782px) {
|
|
|
|
/* Input Elements */
|
|
|
|
textarea {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="text"],
|
2019-09-30 13:24:59 -04:00
|
|
|
input[type="password"],
|
|
|
|
input[type="date"],
|
|
|
|
input[type="datetime"],
|
|
|
|
input[type="datetime-local"],
|
2019-09-23 12:21:58 -04:00
|
|
|
input[type="email"],
|
2019-09-30 13:24:59 -04:00
|
|
|
input[type="month"],
|
|
|
|
input[type="number"],
|
2019-09-23 12:21:58 -04:00
|
|
|
input[type="search"],
|
2019-09-30 13:24:59 -04:00
|
|
|
input[type="tel"],
|
|
|
|
input[type="time"],
|
|
|
|
input[type="url"],
|
|
|
|
input[type="week"] {
|
2019-09-23 12:21:58 -04:00
|
|
|
-webkit-appearance: none;
|
2019-09-30 13:24:59 -04:00
|
|
|
padding: 3px 10px;
|
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
2019-12-09 15:26:03 -05:00
|
|
|
/* Only necessary for IE11 */
|
|
|
|
min-height: 40px;
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
2019-09-30 13:24:59 -04:00
|
|
|
::-webkit-datetime-edit {
|
|
|
|
line-height: 1.875; /* 30px */
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"],
|
|
|
|
.widefat th input[type="checkbox"],
|
|
|
|
.widefat thead td input[type="checkbox"],
|
|
|
|
.widefat tfoot td input[type="checkbox"] {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widefat th input[type="checkbox"],
|
|
|
|
.widefat thead td input[type="checkbox"],
|
|
|
|
.widefat tfoot td input[type="checkbox"] {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]:checked:before,
|
|
|
|
.widefat th input[type="checkbox"]:before,
|
|
|
|
.widefat thead td input[type="checkbox"]:before,
|
|
|
|
.widefat tfoot td input[type="checkbox"]:before {
|
2019-09-23 12:51:57 -04:00
|
|
|
width: 1.875rem;
|
|
|
|
height: 1.875rem;
|
|
|
|
margin: -0.1875rem -0.3125rem;
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="radio"],
|
|
|
|
input[type="checkbox"] {
|
2019-09-23 12:51:57 -04:00
|
|
|
height: 1.5625rem;
|
|
|
|
width: 1.5625rem;
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-admin p input[type="checkbox"],
|
|
|
|
.wp-admin p input[type="radio"] {
|
2019-09-23 12:51:57 -04:00
|
|
|
margin-top: -0.1875rem;
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="radio"]:checked:before {
|
|
|
|
vertical-align: middle;
|
2019-09-23 12:51:57 -04:00
|
|
|
width: 0.5625rem;
|
|
|
|
height: 0.5625rem;
|
|
|
|
margin: 0.4375rem;
|
2019-09-23 12:21:58 -04:00
|
|
|
line-height: 0.76190476;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-upload-form input[type="submit"] {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
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
2019-12-09 15:26:03 -05:00
|
|
|
.wp-core-ui select,
|
2019-09-30 13:24:59 -04:00
|
|
|
.wp-admin .form-table select {
|
|
|
|
min-height: 40px;
|
2019-09-23 12:21:58 -04:00
|
|
|
font-size: 16px;
|
2019-09-30 13:24:59 -04:00
|
|
|
line-height: 1.625; /* 26px */
|
|
|
|
padding: 5px 8px 5px 24px;
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-admin .button-cancel {
|
2019-09-30 13:24:59 -04:00
|
|
|
margin-bottom: 0;
|
|
|
|
padding: 2px 0;
|
2019-09-23 12:21:58 -04:00
|
|
|
font-size: 14px;
|
2019-09-30 13:24:59 -04:00
|
|
|
vertical-align: middle;
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#adduser .form-field input,
|
|
|
|
#createuser .form-field input {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table th,
|
|
|
|
.form-table td,
|
|
|
|
.label-responsive {
|
|
|
|
display: block;
|
|
|
|
width: auto;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.label-responsive {
|
|
|
|
margin: 0.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.export-filters li {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table .color-palette td {
|
|
|
|
display: table-cell;
|
|
|
|
width: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table table.color-palette {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea,
|
|
|
|
input {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table td input[type="text"],
|
|
|
|
.form-table td input[type="email"],
|
|
|
|
.form-table td input[type="password"],
|
|
|
|
.form-table td select,
|
|
|
|
.form-table td textarea,
|
|
|
|
.form-table span.description,
|
|
|
|
#profile-page .form-table textarea {
|
|
|
|
width: 100%;
|
|
|
|
display: block;
|
|
|
|
max-width: none;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table .form-required.form-invalid td:after {
|
|
|
|
float: left;
|
|
|
|
margin: -30px 0 0 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="text"].small-text,
|
|
|
|
input[type="search"].small-text,
|
|
|
|
input[type="password"].small-text,
|
|
|
|
input[type="number"].small-text,
|
|
|
|
input[type="number"].small-text,
|
|
|
|
.form-table input[type="text"].small-text {
|
|
|
|
width: auto;
|
|
|
|
max-width: 4.375em; /* 70px, enough for 4 digits to fit comfortably */
|
|
|
|
display: inline;
|
|
|
|
padding: 3px 6px;
|
|
|
|
margin: 0 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pass-strength-result {
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
p.search-box {
|
|
|
|
float: none;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
width: 98%;
|
|
|
|
height: 90px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
p.search-box input[name="s"] {
|
|
|
|
float: none;
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
p.search-box input[type="submit"] {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table span.description {
|
|
|
|
display: inline;
|
|
|
|
padding: 4px 0 0;
|
|
|
|
line-height: 1.4;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table th {
|
2020-04-25 08:27:11 -04:00
|
|
|
padding: 10px 0 0 0;
|
2019-09-23 12:21:58 -04:00
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table td {
|
|
|
|
margin-bottom: 0;
|
2020-04-25 08:27:11 -04:00
|
|
|
padding: 4px 0 6px 0;
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.form-table.permalink-structure td code {
|
|
|
|
margin-right: 32px;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table.permalink-structure td input[type="text"] {
|
|
|
|
margin-right: 32px;
|
|
|
|
margin-top: 4px;
|
|
|
|
width: 96%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table input.regular-text {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table label {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
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
2019-12-09 15:26:03 -05:00
|
|
|
.background-position-control .button-group > label {
|
|
|
|
font-size: 0;
|
|
|
|
}
|
|
|
|
|
2019-09-23 12:21:58 -04:00
|
|
|
.form-table fieldset label {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
#utc-time,
|
|
|
|
#local-time {
|
|
|
|
display: block;
|
|
|
|
float: none;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-field #domain {
|
|
|
|
max-width: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* New Password */
|
|
|
|
.wp-pwd {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
Login and Registration: Add a "Show password" button on the login page.
The ability for users to see the password they're typing improves usability and accessibility of the login users flow.
- brings the login screen in line with the same feature already used in the New User, Edit User, and Reset Password pages
- improves association of labels and input fields by using explicit association with `for` / `id` attributes
- slightly increases the "Remember me" label font size
Props johnbillion, Iceable, audrasjb, joyously, adamsilverstein, boemedia, DrewAPicture, shadyvb, birgire, peterwilsoncc, pento, anevins, davidbaumwald, whyisjake, afercia.
Fixes #42888.
Built from https://develop.svn.wordpress.org/trunk@46256
git-svn-id: http://core.svn.wordpress.org/trunk@46068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-23 14:06:57 -04:00
|
|
|
/* Needs higher specificity than normal input type text and password. */
|
|
|
|
#profile-page .form-table #pass1 {
|
|
|
|
padding-left: 90px;
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-pwd button.button {
|
|
|
|
background: transparent;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
line-height: 2;
|
|
|
|
margin: 0;
|
|
|
|
padding: 5px 9px;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
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
2019-12-09 15:26:03 -05:00
|
|
|
width: 2.375rem;
|
|
|
|
height: 2.375rem;
|
|
|
|
min-width: 40px;
|
|
|
|
min-height: 40px;
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-pwd button.wp-hide-pw {
|
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
2019-12-09 15:26:03 -05:00
|
|
|
left: 2.5rem;
|
2019-09-23 12:21:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-pwd button.button:hover,
|
|
|
|
.wp-pwd button.button:focus {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-pwd button.button:active {
|
|
|
|
background: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
transform: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-pwd .button .text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2019-09-30 13:24:59 -04:00
|
|
|
.wp-pwd [type="text"],
|
|
|
|
.wp-pwd [type="password"] {
|
|
|
|
line-height: 2;
|
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
2019-12-09 15:26:03 -05:00
|
|
|
padding-left: 5rem;
|
2019-09-30 13:24:59 -04:00
|
|
|
}
|
|
|
|
|
2019-09-23 12:21:58 -04:00
|
|
|
.wp-cancel-pw .dashicons-no {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.options-general-php input[type="text"].small-text {
|
|
|
|
max-width: 6.25em;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Privacy Policy settings screen */
|
|
|
|
.tools-privacy-policy-page form.wp-create-privacy-page {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tools-privacy-policy-page input#set-page,
|
|
|
|
.tools-privacy-policy-page select {
|
|
|
|
margin: 10px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tools-privacy-policy-page .wp-create-privacy-page span {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tools-privacy-policy-page .wp-create-privacy-page .button {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-list-table.privacy_requests tr:not(.inline-edit-row):not(.no-items) td.column-primary:not(.check-column) {
|
|
|
|
display: table-cell;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-list-table.privacy_requests.widefat th input,
|
|
|
|
.wp-list-table.privacy_requests.widefat thead td input {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2020-02-12 06:29:10 -05:00
|
|
|
|
|
|
|
.wp-privacy-request-form-field input[type="text"] {
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2019-09-23 12:21:58 -04:00
|
|
|
.regular-text {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 768px) {
|
|
|
|
.form-field input[type="text"],
|
|
|
|
.form-field input[type="email"],
|
|
|
|
.form-field input[type="password"],
|
|
|
|
.form-field select,
|
|
|
|
.form-field textarea {
|
|
|
|
width: 99%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-wrap .form-field {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-height: 480px), screen and (max-width: 450px) {
|
|
|
|
/* Request Credentials / File Editor Warning */
|
|
|
|
.request-filesystem-credentials-dialog .notification-dialog,
|
|
|
|
.file-editor-warning .notification-dialog {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
margin: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Smartphone */
|
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
/* Color Picker Options */
|
|
|
|
.color-option {
|
|
|
|
width: 49%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 320px) {
|
|
|
|
.options-general-php .date-time-text.date-time-custom-text {
|
|
|
|
min-width: 0;
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes rotation {
|
|
|
|
0% {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: rotate(-359deg);
|
|
|
|
}
|
|
|
|
}
|