2014-08-11 18:42:16 +02:00
|
|
|
/* Include margin and padding in the width calculation of input and textarea. */
|
2014-02-19 22:43:14 +01:00
|
|
|
input,
|
2019-09-30 19:24:59 +02:00
|
|
|
select,
|
|
|
|
textarea,
|
|
|
|
button {
|
2014-02-19 22:43:14 +01:00
|
|
|
box-sizing: border-box;
|
2019-09-30 19:24:59 +02: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;
|
|
|
|
}
|
|
|
|
|
|
|
|
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 21:26:03 +01:00
|
|
|
margin: 0 1px;
|
2019-09-30 19:24:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
textarea.code {
|
2021-09-03 00:18:00 +02:00
|
|
|
padding: 4px 6px 1px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-08-25 21:53:16 +02: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 {
|
2019-09-23 18:21:58 +02:00
|
|
|
box-shadow: 0 0 0 transparent;
|
|
|
|
border-radius: 4px;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
border: 1px solid #8c8f94;
|
2014-08-25 21:53:16 +02:00
|
|
|
background-color: #fff;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #2c3338;
|
2019-09-30 19:24:59 +02: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 15:20:03 +02:00
|
|
|
/* Only necessary for IE11 */
|
|
|
|
min-height: 30px;
|
2019-09-30 19:24:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-datetime-edit {
|
|
|
|
/* inherits font size 14px */
|
|
|
|
line-height: 1.85714286; /* 26px */
|
2014-08-25 21:53:16 +02: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 {
|
2021-02-09 20:47:03 +01:00
|
|
|
border-color: #2271b1;
|
|
|
|
box-shadow: 0 0 0 1px #2271b1;
|
2019-01-10 17:47:50 +01:00
|
|
|
/* Only visible in Windows High Contrast mode */
|
|
|
|
outline: 2px solid transparent;
|
2014-08-25 21:53:16 +02:00
|
|
|
}
|
|
|
|
|
2015-02-27 14:41:30 +01:00
|
|
|
/* rtl:ignore */
|
2014-03-26 18:12:14 +01:00
|
|
|
input[type="email"],
|
|
|
|
input[type="url"] {
|
|
|
|
direction: ltr;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
input[type="checkbox"],
|
|
|
|
input[type="radio"] {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
border: 1px solid #8c8f94;
|
2019-09-30 19:24:59 +02:00
|
|
|
border-radius: 4px;
|
2014-02-19 22:43:14 +01:00
|
|
|
background: #fff;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #50575e;
|
2014-02-19 22:43:14 +01:00
|
|
|
clear: none;
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
line-height: 0;
|
2019-09-23 18:51:57 +02:00
|
|
|
height: 1rem;
|
|
|
|
margin: -0.25rem 0.25rem 0 0;
|
2014-02-19 22:43:14 +01:00
|
|
|
outline: 0;
|
|
|
|
padding: 0 !important;
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: middle;
|
2019-09-23 18:51:57 +02:00
|
|
|
width: 1rem;
|
|
|
|
min-width: 1rem;
|
2014-02-19 22:43:14 +01:00
|
|
|
-webkit-appearance: none;
|
2019-03-04 23:02:52 +01:00
|
|
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
2014-03-26 17:06:16 +01:00
|
|
|
transition: .05s border-color ease-in-out;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="radio"]:checked + label:before {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #8c8f94;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-core-ui input[type="reset"]:hover,
|
|
|
|
.wp-core-ui input[type="reset"]:active {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #135e96;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
td > input[type="checkbox"],
|
2014-08-11 18:42:16 +02:00
|
|
|
.wp-admin p input[type="checkbox"],
|
|
|
|
.wp-admin p input[type="radio"] {
|
2014-02-19 22:43:14 +01:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2014-08-11 18:42:16 +02:00
|
|
|
.wp-admin p label input[type="checkbox"] {
|
2014-02-19 22:43:14 +01:00
|
|
|
margin-top: -4px;
|
|
|
|
}
|
|
|
|
|
2014-08-11 18:42:16 +02:00
|
|
|
.wp-admin p label input[type="radio"] {
|
2014-02-19 22:43:14 +01:00
|
|
|
margin-top: -2px;
|
|
|
|
}
|
|
|
|
|
2014-08-11 18:42:16 +02:00
|
|
|
input[type="radio"] {
|
2014-02-19 22:43:14 +01:00
|
|
|
border-radius: 50%;
|
2019-09-23 18:51:57 +02:00
|
|
|
margin-right: 0.25rem;
|
2019-09-30 19:24:59 +02:00
|
|
|
/* 10px not sure if still necessary, comes from the MP6 redesign in r26072 */
|
2019-05-30 13:49:53 +02:00
|
|
|
line-height: 0.71428571;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2019-09-23 18:51:57 +02:00
|
|
|
input[type="checkbox"]:checked::before,
|
|
|
|
input[type="radio"]:checked::before {
|
2014-02-19 22:43:14 +01:00
|
|
|
float: left;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2019-09-23 18:51:57 +02:00
|
|
|
width: 1rem;
|
2020-10-26 03:25:09 +01:00
|
|
|
speak: never;
|
2014-02-19 22:43:14 +01:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
}
|
|
|
|
|
2019-09-23 18:51:57 +02:00
|
|
|
input[type="checkbox"]:checked::before {
|
|
|
|
/* Use the "Yes" SVG Dashicon */
|
2021-02-09 20:47:03 +01:00
|
|
|
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%233582c4%27%2F%3E%3C%2Fsvg%3E");
|
2019-09-23 18:51:57 +02:00
|
|
|
margin: -0.1875rem 0 0 -0.25rem;
|
|
|
|
height: 1.3125rem;
|
|
|
|
width: 1.3125rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="radio"]:checked::before {
|
|
|
|
content: "";
|
|
|
|
border-radius: 50%;
|
2019-09-29 23:56:56 +02:00
|
|
|
width: 0.5rem; /* 8px */
|
|
|
|
height: 0.5rem; /* 8px */
|
|
|
|
margin: 0.1875rem; /* 3px */
|
2021-02-09 20:47:03 +01:00
|
|
|
background-color: #3582c4;
|
2019-09-30 19:24:59 +02:00
|
|
|
/* 16px not sure if still necessary, comes from the MP6 redesign in r26072 */
|
|
|
|
line-height: 1.14285714;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@-moz-document url-prefix() {
|
2014-08-11 18:42:16 +02:00
|
|
|
input[type="checkbox"],
|
|
|
|
input[type="radio"],
|
2014-02-19 22:43:14 +01:00
|
|
|
.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;
|
2016-08-29 23:08:29 +02:00
|
|
|
cursor: pointer;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-08-11 18:42:16 +02:00
|
|
|
input.readonly,
|
|
|
|
input[readonly],
|
|
|
|
textarea.readonly,
|
|
|
|
textarea[readonly] {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background-color: #f0f0f1;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2016-02-23 00:29:26 +01:00
|
|
|
::-webkit-input-placeholder {
|
2021-03-24 17:41:07 +01:00
|
|
|
color: #646970;
|
2016-02-23 00:29:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
::-moz-placeholder {
|
2021-03-24 17:41:07 +01:00
|
|
|
color: #646970;
|
2018-02-03 14:19:32 +01:00
|
|
|
opacity: 1;
|
2016-02-23 00:29:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
:-ms-input-placeholder {
|
2021-03-24 17:41:07 +01:00
|
|
|
color: #646970;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2020-10-23 17:05:09 +02: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 {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
border-color: #d63638 !important;
|
|
|
|
box-shadow: 0 0 2px rgba(214, 54, 56, 0.8);
|
2015-07-07 18:41:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.form-table .form-required.form-invalid td:after {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f534";
|
2015-07-07 18:41:25 +02:00
|
|
|
font: normal 20px/1 dashicons;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #d63638;
|
2015-07-07 18:41:25 +02:00
|
|
|
margin-left: -25px;
|
|
|
|
vertical-align: middle;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2015-09-12 02:10:25 +02:00
|
|
|
/* Adjust error indicator for password layout */
|
|
|
|
.form-table .form-required.user-pass1-wrap.form-invalid td:after {
|
2018-02-03 14:19:32 +01:00
|
|
|
content: "";
|
2015-09-12 02:10:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.form-table .form-required.user-pass1-wrap.form-invalid .password-input-wrapper:after {
|
2018-02-03 14:19:32 +01:00
|
|
|
content: "\f534";
|
2015-09-12 02:10:25 +02:00
|
|
|
font: normal 20px/1 dashicons;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #d63638;
|
2015-09-12 02:10:25 +02:00
|
|
|
margin: 0 6px 0 -29px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.form-input-tip {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #646970;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-04-21 22:55:15 +02:00
|
|
|
input:disabled,
|
|
|
|
input.disabled,
|
2014-08-11 18:42:16 +02:00
|
|
|
select:disabled,
|
|
|
|
select.disabled,
|
2014-04-21 22:55:15 +02:00
|
|
|
textarea:disabled,
|
|
|
|
textarea.disabled {
|
2019-03-04 23:02:52 +01:00
|
|
|
background: rgba(255, 255, 255, 0.5);
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
border-color: rgba(220, 220, 222, 0.75);
|
2019-03-04 23:02:52 +01:00
|
|
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: rgba(44, 51, 56, 0.5);
|
2014-08-11 18:42:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="file"]:disabled,
|
|
|
|
input[type="file"].disabled,
|
2024-02-02 10:55:14 +01:00
|
|
|
input[type="file"][aria-disabled="true"],
|
2014-08-11 18:42:16 +02:00
|
|
|
input[type="range"]:disabled,
|
2024-02-02 10:55:14 +01:00
|
|
|
input[type="range"].disabled,
|
|
|
|
input[type="range"][aria-disabled="true"] {
|
2014-08-11 18:42:16 +02:00
|
|
|
background: none;
|
|
|
|
box-shadow: none;
|
2016-08-29 23:08:29 +02:00
|
|
|
cursor: default;
|
2014-08-11 18:42:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]:disabled,
|
|
|
|
input[type="checkbox"].disabled,
|
2024-02-02 10:55:14 +01:00
|
|
|
input[type="checkbox"][aria-disabled="true"],
|
2014-08-11 18:42:16 +02:00
|
|
|
input[type="radio"]:disabled,
|
|
|
|
input[type="radio"].disabled,
|
2024-02-02 10:55:14 +01:00
|
|
|
input[type="radio"][aria-disabled="true"],
|
2014-08-11 18:42:16 +02:00
|
|
|
input[type="checkbox"]:disabled:checked:before,
|
|
|
|
input[type="checkbox"].disabled:checked:before,
|
|
|
|
input[type="radio"]:disabled:checked:before,
|
|
|
|
input[type="radio"].disabled:checked:before {
|
2014-04-21 22:55:15 +02:00
|
|
|
opacity: 0.7;
|
2024-02-02 10:55:14 +01:00
|
|
|
cursor: default;
|
2014-04-21 22:55:15 +02:00
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
2.0 - Forms
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
2019-09-23 17:27:57 +02:00
|
|
|
/* 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 21:26:03 +01:00
|
|
|
.wp-core-ui select {
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 2; /* 28px */
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #2c3338;
|
|
|
|
border-color: #8c8f94;
|
2019-09-23 17:27:57 +02:00
|
|
|
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 21:26:03 +01:00
|
|
|
padding: 0 24px 0 8px;
|
|
|
|
min-height: 30px;
|
2019-10-06 08:42:02 +02:00
|
|
|
max-width: 25rem;
|
2019-09-23 17:27:57 +02:00
|
|
|
-webkit-appearance: none;
|
|
|
|
/* The SVG is arrow-down-alt2 from Dashicons. */
|
2019-09-30 19:24:59 +02: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 right 5px top 55%;
|
2019-09-23 17:27:57 +02:00
|
|
|
background-size: 16px 16px;
|
2019-09-30 19:24:59 +02: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 21:26:03 +01:00
|
|
|
vertical-align: middle;
|
2020-07-07 09:05:03 +02:00
|
|
|
}
|
2019-09-23 17:27:57 +02: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 21:26:03 +01:00
|
|
|
.wp-core-ui select:hover {
|
2021-02-09 20:47:03 +01:00
|
|
|
color: #2271b1;
|
2019-09-23 17:27:57 +02: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 21:26:03 +01:00
|
|
|
.wp-core-ui select:focus {
|
2021-02-09 20:47:03 +01:00
|
|
|
border-color: #2271b1;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #0a4b78;
|
2021-02-09 20:47:03 +01:00
|
|
|
box-shadow: 0 0 0 1px #2271b1;
|
2019-09-23 17:27:57 +02: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 21:26:03 +01:00
|
|
|
.wp-core-ui select:active {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
border-color: #8c8f94;
|
2019-09-23 17:27:57 +02:00
|
|
|
box-shadow: none;
|
2014-02-19 22:43:14 +01: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 21:26:03 +01:00
|
|
|
.wp-core-ui select.disabled,
|
|
|
|
.wp-core-ui select:disabled {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #a7aaad;
|
|
|
|
border-color: #dcdcde;
|
|
|
|
background-color: #f6f7f7;
|
2019-09-28 18:35:59 +02:00
|
|
|
/* 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;
|
|
|
|
}
|
|
|
|
|
2024-02-02 10:55:14 +01:00
|
|
|
.wp-core-ui select[aria-disabled="true"] {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2019-09-30 19:24:59 +02: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 21:26:03 +01:00
|
|
|
.wp-core-ui select:-moz-focusring {
|
2019-09-30 19:24:59 +02:00
|
|
|
color: transparent;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
text-shadow: 0 0 0 #0a4b78;
|
2019-09-30 19:24:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 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 21:26:03 +01:00
|
|
|
.wp-core-ui select::-ms-value {
|
2019-09-30 19:24:59 +02:00
|
|
|
background: transparent;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #50575e;
|
2019-09-30 19:24:59 +02: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 21:26:03 +01:00
|
|
|
.wp-core-ui select:hover::-ms-value {
|
2021-02-09 20:47:03 +01:00
|
|
|
color: #2271b1;
|
2019-09-30 19:24:59 +02: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 21:26:03 +01:00
|
|
|
.wp-core-ui select:focus::-ms-value {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #0a4b78;
|
2019-09-30 19:24:59 +02: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 21:26:03 +01:00
|
|
|
.wp-core-ui select.disabled::-ms-value,
|
|
|
|
.wp-core-ui select:disabled::-ms-value {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #a7aaad;
|
2019-09-30 19:24:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 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 21:26:03 +01:00
|
|
|
.wp-core-ui select::-ms-expand {
|
2019-09-30 19:24:59 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.wp-admin .button-cancel {
|
2019-09-30 19:24:59 +02:00
|
|
|
display: inline-block;
|
|
|
|
min-height: 28px;
|
2014-02-19 22:43:14 +01:00
|
|
|
padding: 0 5px;
|
|
|
|
line-height: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.meta-box-sortables select {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2020-02-14 01:52:06 +01:00
|
|
|
.meta-box-sortables input {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2019-09-30 19:24:59 +02: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 21:26:03 +01:00
|
|
|
.wp-core-ui select[multiple] {
|
2014-02-19 22:43:14 +01:00
|
|
|
height: auto;
|
2019-09-30 19:24:59 +02:00
|
|
|
padding-right: 8px;
|
|
|
|
background: #fff;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.submit {
|
|
|
|
padding: 1.5em 0;
|
|
|
|
margin: 5px 0;
|
|
|
|
border-bottom-left-radius: 3px;
|
|
|
|
border-bottom-right-radius: 3px;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
form p.submit a.cancel:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
p.submit {
|
|
|
|
text-align: left;
|
|
|
|
max-width: 100%;
|
|
|
|
margin-top: 20px;
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.textright p.submit {
|
|
|
|
border: none;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
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%;
|
|
|
|
}
|
|
|
|
|
2016-09-26 18:46:33 +02:00
|
|
|
.regular-text {
|
2014-02-19 22:43:14 +01:00
|
|
|
width: 25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
input.small-text {
|
|
|
|
width: 50px;
|
2019-09-30 19:24:59 +02:00
|
|
|
padding: 0 6px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2020-07-10 08:48:06 +02:00
|
|
|
label input.small-text {
|
|
|
|
margin-top: -4px;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
input[type="number"].small-text {
|
|
|
|
width: 65px;
|
2020-01-17 14:57:03 +01:00
|
|
|
padding-right: 0;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2015-09-24 21:53:26 +02:00
|
|
|
input.tiny-text {
|
|
|
|
width: 35px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="number"].tiny-text {
|
|
|
|
width: 45px;
|
2020-01-17 14:57:03 +01:00
|
|
|
padding-right: 0;
|
2015-09-24 21:53:26 +02:00
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01: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 21:26:03 +01:00
|
|
|
margin: 0 8px 0 0;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2021-01-07 17:23:07 +01: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;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.tablenav .actions select {
|
|
|
|
float: left;
|
|
|
|
margin-right: 6px;
|
2019-09-23 17:27:57 +02:00
|
|
|
max-width: 12.5rem;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#timezone_string option {
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
|
2019-03-14 00:37:57 +01:00
|
|
|
.wp-hide-pw > .dashicons,
|
|
|
|
.wp-cancel-pw > .dashicons {
|
2015-07-01 16:48:24 +02:00
|
|
|
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 21:26:03 +01:00
|
|
|
width: 1.25rem;
|
|
|
|
height: 1.25rem;
|
|
|
|
top: 0.25rem;
|
|
|
|
font-size: 20px;
|
2015-07-01 16:48:24 +02:00
|
|
|
}
|
|
|
|
|
2019-03-14 00:37:57 +01:00
|
|
|
.wp-cancel-pw .dashicons-no {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
label,
|
|
|
|
#your-profile label + a {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset label,
|
|
|
|
#your-profile label + a {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2018-03-20 23:44:31 +01:00
|
|
|
.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 20:27:13 +02:00
|
|
|
.wp-generate-pw {
|
|
|
|
margin-top: 1em;
|
Upgrade/Install: Show/hide toggle on password fields.
Add a show/hide toggle for new passwords in initial user creation and database access during install and setup process using the same model as on user profiles. Add a new password toggle script. Change setup config table to two columns, matching the install table layout.
Props xmarcos, matt, markjaquith, nazgul, akbigdog, intoxination, rob1n, MichaelH, empireoflight, rmccue, markoheijnen, r0uter, amansurov, bi0xid, DrewAPicture, Narthur, wpnook, markparnell, costdev, clorith, ryokuhi, sabernhardt, bgoewert, ironprogrammer, adeltahri, joedolson, mukesh27, audrasjb, sergeybiryukov.
Fixes #3534.
Built from https://develop.svn.wordpress.org/trunk@56008
git-svn-id: http://core.svn.wordpress.org/trunk@55520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-06-24 01:09:29 +02:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-pwd button {
|
|
|
|
height: min-content;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-pwd button.pwd-toggle .dashicons {
|
|
|
|
position: relative;
|
|
|
|
top: 0.25rem;
|
2020-10-20 20:27:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-pwd {
|
|
|
|
margin-top: 1em;
|
Administration: Hide password in options/writing.
Hide the password for the "Post via e-mail" settings in writing options. Use the same password hiding mechanisms in use elsewhere in core.
Props mastrup, denis-de-bernardy, ryan, brookedot, wojtek.szkutnik, dd32, sabreuse, sergeybiryukov, costdev, peterwilsoncc, zgrkaralar, clorith, renyot, sabernhardt, boniu91, ironprogrammer, bgoewert.
Fixes #9883.
Built from https://develop.svn.wordpress.org/trunk@55974
git-svn-id: http://core.svn.wordpress.org/trunk@55486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-06-22 02:32:21 +02:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mailserver-pass-wrap .wp-pwd {
|
|
|
|
display: inline-block;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* rtl:ignore */
|
|
|
|
#mailserver_pass {
|
|
|
|
padding-right: 2.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* rtl:ignore */
|
|
|
|
.mailserver-pass-wrap .button.wp-hide-pw {
|
|
|
|
background: transparent;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 2;
|
|
|
|
width: 2.5rem;
|
|
|
|
min-width: 40px;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 9px;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mailserver-pass-wrap .button.wp-hide-pw:hover {
|
|
|
|
background: transparent;
|
|
|
|
border-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mailserver-pass-wrap .button.wp-hide-pw:focus {
|
|
|
|
background: transparent;
|
|
|
|
border-color: #3582c4;
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: 0 0 0 1px #3582c4;
|
|
|
|
/* Only visible in Windows High Contrast mode */
|
|
|
|
outline: 2px solid transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mailserver-pass-wrap .button.wp-hide-pw:active {
|
|
|
|
background: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
transform: none;
|
2020-10-20 20:27:13 +02:00
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
#misc-publishing-actions label {
|
|
|
|
vertical-align: baseline;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pass-strength-result {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background-color: #f0f0f1;
|
|
|
|
border: 1px solid #dcdcde;
|
|
|
|
color: #1d2327;
|
Upgrade/Install: Bring some consistency to installation screen styles.
* Include `forms.css` and `l10n.css`, for consistency with login screen and other admin screens.
* Remove redundant `@import` directives from `login.css` for files already declared as dependencies.
* Adjust margin on password strength meter for consistency with other fields.
* Increase font size for "You will need this password to log in" notice.
* Fix misaligned icon on "Hide" button for the password.
Props iseulde, dan@micamedia.com, bassgang, cdog, johnbillion, nmenescardi, mukesh27, SergeyBiryukov.
Fixes #35776, #47757, #47758.
Built from https://develop.svn.wordpress.org/trunk@45673
git-svn-id: http://core.svn.wordpress.org/trunk@45484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-07-25 21:11:55 +02:00
|
|
|
margin: -1px 1px 5px;
|
2014-02-19 22:43:14 +01:00
|
|
|
padding: 3px 5px;
|
|
|
|
text-align: center;
|
2015-07-01 16:48:24 +02:00
|
|
|
width: 25em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
opacity: 0;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#pass-strength-result.short {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background-color: #ffabaf;
|
|
|
|
border-color: #e65054;
|
2015-07-01 16:48:24 +02:00
|
|
|
opacity: 1;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#pass-strength-result.bad {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background-color: #facfd2;
|
|
|
|
border-color: #f86368;
|
2015-07-01 16:48:24 +02:00
|
|
|
opacity: 1;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#pass-strength-result.good {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background-color: #f5e6ab;
|
|
|
|
border-color: #f0c33c;
|
2015-07-01 16:48:24 +02:00
|
|
|
opacity: 1;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#pass-strength-result.strong {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background-color: #b8e6bf;
|
|
|
|
border-color: #68de7c;
|
2015-07-01 16:48:24 +02:00
|
|
|
opacity: 1;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
Upgrade/Install: Show/hide toggle on password fields.
Add a show/hide toggle for new passwords in initial user creation and database access during install and setup process using the same model as on user profiles. Add a new password toggle script. Change setup config table to two columns, matching the install table layout.
Props xmarcos, matt, markjaquith, nazgul, akbigdog, intoxination, rob1n, MichaelH, empireoflight, rmccue, markoheijnen, r0uter, amansurov, bi0xid, DrewAPicture, Narthur, wpnook, markparnell, costdev, clorith, ryokuhi, sabernhardt, bgoewert, ironprogrammer, adeltahri, joedolson, mukesh27, audrasjb, sergeybiryukov.
Fixes #3534.
Built from https://develop.svn.wordpress.org/trunk@56008
git-svn-id: http://core.svn.wordpress.org/trunk@55520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-06-24 01:09:29 +02:00
|
|
|
.password-input-wrapper {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2021-05-12 21:59:02 +02:00
|
|
|
.password-input-wrapper input {
|
|
|
|
font-family: Consolas, Monaco, monospace;
|
|
|
|
}
|
|
|
|
|
2015-07-22 18:56:27 +02:00
|
|
|
#pass1.short, #pass1-text.short {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
border-color: #e65054;
|
2015-07-01 16:48:24 +02:00
|
|
|
}
|
|
|
|
|
2015-07-22 18:56:27 +02:00
|
|
|
#pass1.bad, #pass1-text.bad {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
border-color: #f86368;
|
2015-07-01 16:48:24 +02:00
|
|
|
}
|
|
|
|
|
2015-07-22 18:56:27 +02:00
|
|
|
#pass1.good, #pass1-text.good {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
border-color: #f0c33c;
|
2015-07-01 16:48:24 +02:00
|
|
|
}
|
|
|
|
|
2015-07-22 18:56:27 +02:00
|
|
|
#pass1.strong, #pass1-text.strong {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
border-color: #68de7c;
|
2015-07-01 16:48:24 +02:00
|
|
|
}
|
|
|
|
|
2024-02-07 17:56:13 +01:00
|
|
|
#pass1:focus,
|
|
|
|
#pass1-text:focus {
|
|
|
|
box-shadow: 0 0 0 2px #2271b1;
|
|
|
|
/* Only visible in Windows High Contrast mode */
|
|
|
|
outline: 2px solid transparent;
|
|
|
|
}
|
|
|
|
|
2015-07-13 20:21:24 +02:00
|
|
|
.pw-weak {
|
2019-01-17 08:41:52 +01:00
|
|
|
display: none;
|
2015-07-01 16:48:24 +02:00
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.indicator-hint {
|
|
|
|
padding-top: 8px;
|
|
|
|
}
|
|
|
|
|
2019-03-14 00:37:57 +01:00
|
|
|
.wp-pwd [type="text"],
|
|
|
|
.wp-pwd [type="password"] {
|
Upgrade/Install: Bring some consistency to installation screen styles.
* Include `forms.css` and `l10n.css`, for consistency with login screen and other admin screens.
* Remove redundant `@import` directives from `login.css` for files already declared as dependencies.
* Adjust margin on password strength meter for consistency with other fields.
* Increase font size for "You will need this password to log in" notice.
* Fix misaligned icon on "Hide" button for the password.
Props iseulde, dan@micamedia.com, bassgang, cdog, johnbillion, nmenescardi, mukesh27, SergeyBiryukov.
Fixes #35776, #47757, #47758.
Built from https://develop.svn.wordpress.org/trunk@45673
git-svn-id: http://core.svn.wordpress.org/trunk@45484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-07-25 21:11:55 +02:00
|
|
|
margin-bottom: 0;
|
2019-03-14 00:37:57 +01:00
|
|
|
/* 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 21:26:03 +01:00
|
|
|
min-height: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Hide the Edge "reveal password" native button */
|
|
|
|
.wp-pwd input::-ms-reveal {
|
|
|
|
display: none;
|
2019-03-14 00:37:57 +01:00
|
|
|
}
|
|
|
|
|
2015-07-22 18:56:27 +02:00
|
|
|
#pass1-text,
|
|
|
|
.show-password #pass1 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2019-03-14 00:37:57 +01:00
|
|
|
#pass1-text::-ms-clear {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.show-password #pass1-text {
|
2015-07-22 18:56:27 +02:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
p.search-box {
|
|
|
|
float: right;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.network-admin.themes-php p.search-box {
|
|
|
|
clear: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-box input[name="s"],
|
2014-07-18 06:50:15 +02:00
|
|
|
.tablenav .search-plugins input[name="s"],
|
2014-02-19 22:43:14 +01:00
|
|
|
.tagsdiv .newtag {
|
|
|
|
float: left;
|
|
|
|
margin: 0 4px 0 0;
|
|
|
|
}
|
|
|
|
|
2016-07-11 23:50:31 +02:00
|
|
|
.js.plugins-php .search-box .wp-filter-search {
|
|
|
|
margin: 0;
|
|
|
|
width: 280px;
|
|
|
|
}
|
|
|
|
|
2015-03-04 21:24:25 +01:00
|
|
|
input[type="text"].ui-autocomplete-loading,
|
|
|
|
input[type="email"].ui-autocomplete-loading {
|
|
|
|
background-image: url(../images/loading.gif);
|
|
|
|
background-repeat: no-repeat;
|
2023-04-26 23:38:21 +02:00
|
|
|
background-position: right 5px center;
|
2014-02-19 22:43:14 +01:00
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
2015-03-04 21:24:25 +01:00
|
|
|
input.ui-autocomplete-input.open {
|
|
|
|
border-bottom-color: transparent;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2015-03-04 21:24:25 +01:00
|
|
|
ul#add-to-blog-users {
|
|
|
|
margin: 0 0 0 14px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.ui-autocomplete {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
list-style: none;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 10000;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
border: 1px solid #4f94d4;
|
|
|
|
box-shadow: 0 1px 2px rgba(79, 148, 212, 0.8);
|
2015-03-04 21:24:25 +01:00
|
|
|
background-color: #fff;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.ui-autocomplete li {
|
|
|
|
margin-bottom: 0;
|
2015-03-04 21:24:25 +01:00
|
|
|
padding: 4px 10px;
|
2014-02-19 22:43:14 +01:00
|
|
|
white-space: nowrap;
|
|
|
|
text-align: left;
|
2016-10-23 20:16:42 +02:00
|
|
|
cursor: pointer;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2016-10-23 20:16:42 +02:00
|
|
|
/* Colors for the wplink toolbar autocomplete. */
|
|
|
|
.ui-autocomplete .ui-state-focus {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background-color: #dcdcde;
|
2016-10-23 20:16:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Colors for the tags autocomplete. */
|
2021-02-16 21:04:07 +01:00
|
|
|
.wp-tags-autocomplete .ui-state-focus,
|
|
|
|
.wp-tags-autocomplete [aria-selected="true"] {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background-color: #2271b1;
|
2016-10-23 20:16:42 +02:00
|
|
|
color: #fff;
|
2021-02-16 21:04:07 +01:00
|
|
|
/* Only visible in Windows High Contrast mode */
|
|
|
|
outline: 2px solid transparent;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
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,
|
2016-05-16 15:02:29 +02:00
|
|
|
.form-table td p {
|
2014-02-19 22:43:14 +01:00
|
|
|
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 {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #1d2327;
|
2016-06-17 20:37:28 +02:00
|
|
|
font-weight: 400;
|
2014-02-19 22:43:14 +01:00
|
|
|
text-shadow: none;
|
|
|
|
vertical-align: baseline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table th {
|
|
|
|
vertical-align: top;
|
|
|
|
text-align: left;
|
|
|
|
padding: 20px 10px 20px 0;
|
|
|
|
width: 200px;
|
|
|
|
line-height: 1.3;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2017-05-23 19:58:43 +02:00
|
|
|
.form-table th.th-full, /* Not used by core. Back-compat for pre-4.8 */
|
|
|
|
.form-table .td-full {
|
2014-02-19 22:43:14 +01:00
|
|
|
width: auto;
|
2017-05-23 19:58:43 +02:00
|
|
|
padding: 20px 10px 20px 0;
|
2014-02-19 22:43:14 +01:00
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table td p {
|
|
|
|
margin-top: 4px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2016-01-11 23:54:28 +01:00
|
|
|
.form-table .date-time-doc {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table p.timezone-info {
|
|
|
|
margin: 1em 0;
|
2022-09-16 00:59:11 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
#local-time {
|
|
|
|
margin-top: 0.5em;
|
2016-01-11 23:54:28 +01:00
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.form-table td fieldset label {
|
2020-07-10 08:48:06 +02:00
|
|
|
margin: 0.35em 0 0.5em !important;
|
2014-02-19 22:43:14 +01: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-09 00:14:06 +02:00
|
|
|
.form-table td fieldset p label {
|
2020-07-10 08:48:06 +02:00
|
|
|
margin-top: 0 !important;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.form-table td fieldset label,
|
|
|
|
.form-table td fieldset p,
|
|
|
|
.form-table td fieldset li {
|
2019-05-30 13:49:53 +02:00
|
|
|
line-height: 1.4;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.form-table input.tog,
|
2014-08-11 18:42:16 +02:00
|
|
|
.form-table input[type="radio"] {
|
2014-02-19 22:43:14 +01:00
|
|
|
margin-top: -4px;
|
|
|
|
margin-right: 4px;
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table .pre {
|
|
|
|
padding: 8px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.form-table td .updated {
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
|
2014-11-13 18:01:24 +01:00
|
|
|
table.form-table td .updated p {
|
|
|
|
font-size: 13px;
|
|
|
|
margin: 0.3em 0;
|
2014-11-13 16:21:21 +01:00
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
18.0 - Users
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
#profile-page .form-table textarea {
|
|
|
|
width: 500px;
|
|
|
|
margin-bottom: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#profile-page .form-table #rich_editing {
|
|
|
|
margin-right: 5px
|
|
|
|
}
|
|
|
|
|
|
|
|
#your-profile legend {
|
|
|
|
font-size: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#display_name {
|
|
|
|
width: 15em;
|
|
|
|
}
|
|
|
|
|
2015-07-11 21:28:25 +02:00
|
|
|
#adduser .form-field input,
|
2014-02-19 22:43:14 +01:00
|
|
|
#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 {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background: #dcdcde;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.color-palette {
|
2024-02-09 00:31:16 +01:00
|
|
|
display: table;
|
2014-02-19 22:43:14 +01:00
|
|
|
width: 100%;
|
|
|
|
border-spacing: 0;
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
2024-02-09 00:31:16 +01:00
|
|
|
.color-palette .color-palette-shade,
|
2014-02-19 22:43:14 +01:00
|
|
|
.color-palette td {
|
2024-02-09 00:31:16 +01:00
|
|
|
display: table-cell;
|
2014-02-19 22:43:14 +01:00
|
|
|
height: 20px;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.color-option {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2020-10-24 05:34:06 +02: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 23:36:05 +01:00
|
|
|
display: block;
|
2020-10-24 05:34:06 +02:00
|
|
|
}
|
|
|
|
|
2020-11-09 19:05:08 +01: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-09 00:14:06 +02:00
|
|
|
margin-top: 20px;
|
|
|
|
margin-bottom: 0;
|
2022-06-24 01:04:09 +02:00
|
|
|
word-wrap: break-word;
|
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-09 00:14:06 +02:00
|
|
|
}
|
|
|
|
|
2020-10-24 05:34:06 +02:00
|
|
|
.application-password-display input.code {
|
|
|
|
width: 19em;
|
|
|
|
}
|
|
|
|
|
2020-11-09 19:05:08 +01:00
|
|
|
.auth-app-card.card {
|
|
|
|
max-width: 768px;
|
|
|
|
}
|
|
|
|
|
2020-12-08 21:28:04 +01:00
|
|
|
.authorize-application-php .form-wrap p {
|
2021-01-02 23:36:05 +01:00
|
|
|
display: block;
|
2020-12-08 21:28:04 +01:00
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
19.0 - Tools
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
.tool-box .title {
|
|
|
|
margin: 8px 0;
|
|
|
|
font-size: 18px;
|
2016-06-17 20:37:28 +02:00
|
|
|
font-weight: 400;
|
2014-02-19 22:43:14 +01:00
|
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
|
2015-10-21 05:57:24 +02:00
|
|
|
.label-responsive {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
#export-filters p {
|
|
|
|
margin: 0 0 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#export-filters p.submit {
|
|
|
|
margin: 7px 0 5px;
|
|
|
|
}
|
|
|
|
|
2015-03-18 02:58:27 +01:00
|
|
|
/* Card styles */
|
|
|
|
|
|
|
|
.card {
|
|
|
|
position: relative;
|
|
|
|
margin-top: 20px;
|
|
|
|
padding: 0.7em 2em 1em;
|
|
|
|
min-width: 255px;
|
|
|
|
max-width: 520px;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
border: 1px solid #c3c4c7;
|
2019-03-04 23:02:52 +01:00
|
|
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
2015-03-18 02:58:27 +01:00
|
|
|
background: #fff;
|
2019-05-09 16:56:56 +02:00
|
|
|
box-sizing: border-box;
|
2015-03-18 02:58:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 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;
|
PressThis v2, first run. Props michael-arestad, stephdau, marcelomazza, DrewAPicture, iseulde, afercia, kraftbj, rachelbaker, AramZS, dd32. See #31373.
Built from https://develop.svn.wordpress.org/trunk@31534
git-svn-id: http://core.svn.wordpress.org/trunk@31515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-25 02:50:26 +01:00
|
|
|
vertical-align: top;
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2015-03-18 02:58:27 +01:00
|
|
|
.pressthis-bookmarklet,
|
|
|
|
.pressthis-bookmarklet:hover,
|
|
|
|
.pressthis-bookmarklet:focus,
|
|
|
|
.pressthis-bookmarklet:active {
|
2014-02-19 22:43:14 +01:00
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
cursor: move;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #2c3338;
|
|
|
|
background: #dcdcde;
|
2014-02-19 22:43:14 +01:00
|
|
|
border-radius: 5px;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
border: 1px solid #c3c4c7;
|
2014-02-19 22:43:14 +01:00
|
|
|
font-style: normal;
|
|
|
|
line-height: 16px;
|
|
|
|
font-size: 14px;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2015-03-18 02:58:27 +01:00
|
|
|
.pressthis-bookmarklet:active {
|
2014-02-19 22:43:14 +01:00
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2015-03-18 02:58:27 +01:00
|
|
|
.pressthis-bookmarklet:after {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "";
|
2015-03-18 02:58:27 +01:00
|
|
|
width: 70%;
|
|
|
|
height: 55%;
|
|
|
|
z-index: -1;
|
|
|
|
position: absolute;
|
|
|
|
right: 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 {
|
2014-02-19 22:43:14 +01:00
|
|
|
transform: skew(20deg) rotate(9deg);
|
|
|
|
box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7);
|
|
|
|
}
|
|
|
|
|
2015-03-18 02:58:27 +01:00
|
|
|
.pressthis-bookmarklet span {
|
2014-02-19 22:43:14 +01:00
|
|
|
display: inline-block;
|
2021-09-03 00:18:00 +02:00
|
|
|
margin: 0;
|
|
|
|
padding: 0 12px 8px 9px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2015-03-18 02:58:27 +01:00
|
|
|
.pressthis-bookmarklet span:before {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #787c82;
|
2015-09-05 21:57:25 +02:00
|
|
|
font: normal 20px/1 dashicons;
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f157";
|
2014-02-19 22:43:14 +01:00
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
top: 4px;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
|
2015-03-18 02:58:27 +01:00
|
|
|
.pressthis-js-toggle {
|
PressThis v2, first run. Props michael-arestad, stephdau, marcelomazza, DrewAPicture, iseulde, afercia, kraftbj, rachelbaker, AramZS, dd32. See #31373.
Built from https://develop.svn.wordpress.org/trunk@31534
git-svn-id: http://core.svn.wordpress.org/trunk@31515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-25 02:50:26 +01:00
|
|
|
margin-left: 10px;
|
|
|
|
padding: 0;
|
|
|
|
height: auto;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* to override the button class being applied */
|
2015-03-18 02:58:27 +01:00
|
|
|
.pressthis-js-toggle.button.button {
|
PressThis v2, first run. Props michael-arestad, stephdau, marcelomazza, DrewAPicture, iseulde, afercia, kraftbj, rachelbaker, AramZS, dd32. See #31373.
Built from https://develop.svn.wordpress.org/trunk@31534
git-svn-id: http://core.svn.wordpress.org/trunk@31515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-25 02:50:26 +01:00
|
|
|
margin-left: 10px;
|
|
|
|
padding: 0;
|
|
|
|
height: auto;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
2015-03-18 02:58:27 +01:00
|
|
|
.pressthis-js-toggle .dashicons {
|
PressThis v2, first run. Props michael-arestad, stephdau, marcelomazza, DrewAPicture, iseulde, afercia, kraftbj, rachelbaker, AramZS, dd32. See #31373.
Built from https://develop.svn.wordpress.org/trunk@31534
git-svn-id: http://core.svn.wordpress.org/trunk@31515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-25 02:50:26 +01:00
|
|
|
margin: 5px 8px 6px 7px;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #50575e;
|
PressThis v2, first run. Props michael-arestad, stephdau, marcelomazza, DrewAPicture, iseulde, afercia, kraftbj, rachelbaker, AramZS, dd32. See #31373.
Built from https://develop.svn.wordpress.org/trunk@31534
git-svn-id: http://core.svn.wordpress.org/trunk@31515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-25 02:50:26 +01:00
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
20.0 - Settings
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
2016-01-11 23:54:28 +01:00
|
|
|
.timezone-info code {
|
|
|
|
white-space: nowrap;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.defaultavatarpicker .avatar {
|
|
|
|
margin: 2px 0;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2016-01-11 23:54:28 +01:00
|
|
|
.options-general-php .date-time-text {
|
|
|
|
display: inline-block;
|
|
|
|
min-width: 10em;
|
|
|
|
}
|
|
|
|
|
2015-04-03 03:55:40 +02:00
|
|
|
.options-general-php input.small-text {
|
|
|
|
width: 56px;
|
2019-09-30 19:24:59 +02:00
|
|
|
margin: -2px 0;
|
2015-04-03 03:55:40 +02:00
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.options-general-php .spinner {
|
|
|
|
float: none;
|
2017-11-09 04:55:46 +01:00
|
|
|
margin: -3px 3px 0;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-11-13 18:01:24 +01:00
|
|
|
.settings-php .language-install-spinner,
|
2023-01-19 15:13:13 +01:00
|
|
|
.options-general-php .language-install-spinner,
|
|
|
|
.user-edit-php .language-install-spinner,
|
|
|
|
.profile-php .language-install-spinner {
|
2014-11-13 18:01:24 +01:00
|
|
|
display: inline-block;
|
|
|
|
float: none;
|
|
|
|
margin: -3px 5px 0;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2022-07-16 00:42:10 +02:00
|
|
|
.form-table.permalink-structure .available-structure-tags {
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
|
2023-01-19 23:57:14 +01:00
|
|
|
.form-table.permalink-structure .available-structure-tags ul {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin: 8px 0 0;
|
|
|
|
}
|
|
|
|
|
2017-07-28 19:43:45 +02:00
|
|
|
.form-table.permalink-structure .available-structure-tags li {
|
2023-01-19 23:57:14 +01:00
|
|
|
margin: 6px 5px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table.permalink-structure .available-structure-tags li:last-child {
|
|
|
|
margin-right: 0;
|
2017-07-28 19:43:45 +02:00
|
|
|
}
|
|
|
|
|
2022-07-16 00:42:10 +02:00
|
|
|
.form-table.permalink-structure .structure-selection .row {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table.permalink-structure .structure-selection .row > div {
|
|
|
|
max-width: calc(100% - 24px);
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table.permalink-structure .structure-selection .row label {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table.permalink-structure .structure-selection .row p {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2014-11-26 20:51:23 +01:00
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
21.0 - Network Admin
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
2015-07-12 00:53:25 +02:00
|
|
|
.setup-php textarea {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2014-11-26 20:51:23 +01:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
2015-07-12 01:17:24 +02:00
|
|
|
#search-users,
|
|
|
|
#search-sites {
|
2020-02-01 18:38:03 +01:00
|
|
|
max-width: 60%;
|
2015-07-12 01:17:24 +02:00
|
|
|
}
|
|
|
|
|
2022-07-21 11:04:14 +02:00
|
|
|
.configuration-rules-label {
|
|
|
|
font-weight: 600;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
2015-03-18 04:18:27 +01:00
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
Credentials check dialog for Install and Updates
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
.request-filesystem-credentials-dialog {
|
|
|
|
display: none;
|
2017-10-23 19:54:53 +02:00
|
|
|
/* The customizer uses visibility: hidden on the body for full-overlays. */
|
|
|
|
visibility: visible;
|
2015-03-18 04:18:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-dialog .notification-dialog {
|
2016-05-20 00:59:28 +02:00
|
|
|
top: 10%;
|
2015-06-15 05:20:28 +02:00
|
|
|
max-height: 85%;
|
2015-03-18 04:18:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-dialog-content {
|
|
|
|
margin: 25px;
|
|
|
|
}
|
|
|
|
|
2015-10-21 05:51:24 +02:00
|
|
|
#request-filesystem-credentials-title {
|
2018-02-03 14:19:32 +01:00
|
|
|
font-size: 1.3em;
|
|
|
|
margin: 1em 0;
|
2015-10-21 05:51:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-form legend {
|
|
|
|
font-size: 1em;
|
|
|
|
padding: 1.33em 0;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2015-04-01 04:48:28 +02:00
|
|
|
.request-filesystem-credentials-form input[type="text"],
|
|
|
|
.request-filesystem-credentials-form input[type="password"] {
|
|
|
|
display: block;
|
2015-03-18 04:18:27 +01:00
|
|
|
}
|
|
|
|
|
2015-04-01 04:48:28 +02:00
|
|
|
.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: left;
|
|
|
|
width: 48%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-dialog .ftp-password {
|
|
|
|
margin-left: 4%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-dialog .request-filesystem-credentials-action-buttons {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.request-filesystem-credentials-dialog label[for="ftp"] {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
2016-05-20 00:59:28 +02:00
|
|
|
.request-filesystem-credentials-dialog #auth-keys-desc {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2015-04-01 04:48:28 +02:00
|
|
|
#request-filesystem-credentials-dialog .button:not(:last-child) {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#request-filesystem-credentials-form .cancel-button {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#request-filesystem-credentials-dialog .cancel-button {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
|
|
|
.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 {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #8c8f94;
|
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.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 {
|
2021-09-03 00:18:00 +02:00
|
|
|
margin: 0 0 20px;
|
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 18:37:29 +02:00
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2018-04-13 19:56:20 +02:00
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
Privacy Policy settings screen
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
.tools-privacy-policy-page form {
|
|
|
|
margin-bottom: 1.3em;
|
|
|
|
}
|
|
|
|
|
2021-08-19 22:58:57 +02:00
|
|
|
.tools-privacy-policy-page input.button {
|
2019-10-07 15:20:03 +02:00
|
|
|
margin: 0 1px 0 6px;
|
2018-04-13 19:56:20 +02:00
|
|
|
}
|
|
|
|
|
2021-08-19 22:58:57 +02:00
|
|
|
.tools-privacy-policy-page select {
|
|
|
|
margin: 0 1px 0.5em 6px;
|
|
|
|
}
|
|
|
|
|
2018-04-13 19:56:20 +02:00
|
|
|
.tools-privacy-edit {
|
Privacy: Replace intrusive policy update notice with menu bubbles.
Previously, when a plugin updated its suggested privacy policy text, an admin notice was shown on all screens in the Administration Panels. That was done in order to make sure that administrators were aware of it, so that they could update their policy if needed. That was a very heavy-handed and intrusive approach, though, which leads to a poor user experience, and notice fatigue.
An alternative approach is to use bubble notifications in the menu, similar to when plugins have updates that need to be installed. That still makes it obvious that something needs the administrator's attention, but is not as distracting as a notice.
The notice will still appear on the Privacy page, though, since it is relevant to that screen, and provides an explanation of why the bubble is appearing.
Props azaozz, xkon, iandunn.
Fixes #43954. See #43953.
Built from https://develop.svn.wordpress.org/trunk@43223
git-svn-id: http://core.svn.wordpress.org/trunk@43052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-10 21:52:21 +02:00
|
|
|
margin: 1.5em 0;
|
2018-04-13 19:56:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.tools-privacy-policy-page span {
|
2019-05-30 13:49:53 +02:00
|
|
|
line-height: 2;
|
2018-04-13 19:56:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.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-left: 4px solid #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy_requests tbody th {
|
|
|
|
border-left: 4px solid #fff;
|
|
|
|
background: #fff;
|
2019-03-04 23:02:52 +01:00
|
|
|
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
|
2018-04-13 19:56:20 +02:00
|
|
|
}
|
|
|
|
|
2019-09-23 21:13:58 +02:00
|
|
|
.privacy_requests .row-actions {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #787c82;
|
2019-09-23 21:13:58 +02:00
|
|
|
}
|
|
|
|
|
2020-03-01 00:45:07 +01:00
|
|
|
.privacy_requests .row-actions.processing {
|
|
|
|
position: static;
|
|
|
|
}
|
|
|
|
|
2018-05-10 18:02:21 +02:00
|
|
|
.privacy_requests tbody .has-request-results th {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy_requests tbody .request-results th .notice {
|
|
|
|
margin: 0 0 5px;
|
|
|
|
}
|
|
|
|
|
2018-04-13 19:56:20 +02:00
|
|
|
.privacy_requests tbody td {
|
|
|
|
background: #fff;
|
2019-03-04 23:02:52 +01:00
|
|
|
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
|
2018-04-13 19:56:20 +02:00
|
|
|
}
|
|
|
|
|
2018-05-10 18:02:21 +02:00
|
|
|
.privacy_requests tbody .has-request-results td {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2018-05-15 20:59:21 +02:00
|
|
|
.privacy_requests .next_steps .button {
|
2020-02-25 22:01:06 +01:00
|
|
|
word-wrap: break-word;
|
|
|
|
white-space: normal;
|
2018-05-15 20:59:21 +02:00
|
|
|
}
|
|
|
|
|
2018-04-13 19:56:20 +02:00
|
|
|
.privacy_requests .status-request-confirmed th,
|
|
|
|
.privacy_requests .status-request-confirmed td {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background-color: #fff;
|
|
|
|
border-left-color: #72aee6;
|
2018-04-13 19:56:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.privacy_requests .status-request-failed th,
|
|
|
|
.privacy_requests .status-request-failed td {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background-color: #f6f7f7;
|
|
|
|
border-left-color: #d63638;
|
2018-05-10 12:01:21 +02:00
|
|
|
}
|
|
|
|
|
2018-05-10 18:02:21 +02:00
|
|
|
.privacy_requests .export_personal_data_failed a {
|
|
|
|
vertical-align: baseline;
|
2018-04-13 19:56:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.status-label {
|
2018-04-29 13:37:21 +02:00
|
|
|
font-weight: 600;
|
2018-04-13 19:56:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.status-label.status-request-pending {
|
2018-04-29 13:37:21 +02:00
|
|
|
font-weight: 400;
|
2018-04-13 19:56:20 +02:00
|
|
|
font-style: italic;
|
2021-03-24 17:41:07 +01:00
|
|
|
color: #646970;
|
2018-04-13 19:56:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.status-label.status-request-failed {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #d63638;
|
2018-04-29 13:37:21 +02:00
|
|
|
font-weight: 600;
|
2018-04-13 19:56:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-privacy-request-form {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-privacy-request-form-field {
|
|
|
|
margin: 1.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-privacy-request-form input {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.email-personal-data::before {
|
|
|
|
display: inline-block;
|
|
|
|
font: normal 20px/1 dashicons;
|
|
|
|
margin: 3px 5px 0 -2px;
|
2020-10-26 03:25:09 +01:00
|
|
|
speak: never;
|
2018-04-13 19:56:20 +02:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.email-personal-data--sending::before {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #d63638;
|
2018-04-13 19:56:20 +02:00
|
|
|
content: "\f463";
|
|
|
|
animation: rotation 2s infinite linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
.email-personal-data--sent::before {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #68de7c;
|
2018-04-13 19:56:20 +02:00
|
|
|
content: "\f147";
|
|
|
|
}
|
|
|
|
|
2015-04-01 04:48:28 +02:00
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
/* =Media Queries
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
2019-01-17 08:41:52 +01:00
|
|
|
@media screen and (max-width: 782px) {
|
2014-02-19 22:43:14 +01:00
|
|
|
/* Input Elements */
|
|
|
|
textarea {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
|
|
|
|
2014-11-26 20:51:23 +01:00
|
|
|
input[type="text"],
|
2019-09-30 19:24:59 +02:00
|
|
|
input[type="password"],
|
|
|
|
input[type="date"],
|
|
|
|
input[type="datetime"],
|
|
|
|
input[type="datetime-local"],
|
2014-11-26 20:51:23 +01:00
|
|
|
input[type="email"],
|
2019-09-30 19:24:59 +02:00
|
|
|
input[type="month"],
|
|
|
|
input[type="number"],
|
2014-11-26 20:51:23 +01:00
|
|
|
input[type="search"],
|
2019-09-30 19:24:59 +02:00
|
|
|
input[type="tel"],
|
|
|
|
input[type="time"],
|
|
|
|
input[type="url"],
|
|
|
|
input[type="week"] {
|
2014-02-19 22:43:14 +01:00
|
|
|
-webkit-appearance: none;
|
2019-09-30 19:24:59 +02: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 21:26:03 +01:00
|
|
|
/* Only necessary for IE11 */
|
|
|
|
min-height: 40px;
|
2015-12-08 17:07:25 +01:00
|
|
|
}
|
|
|
|
|
2019-09-30 19:24:59 +02:00
|
|
|
::-webkit-datetime-edit {
|
|
|
|
line-height: 1.875; /* 30px */
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2015-06-28 07:46:25 +02:00
|
|
|
input[type="checkbox"],
|
|
|
|
.widefat th input[type="checkbox"],
|
|
|
|
.widefat thead td input[type="checkbox"],
|
|
|
|
.widefat tfoot td input[type="checkbox"] {
|
2014-02-19 22:43:14 +01:00
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
|
|
|
|
2015-06-28 07:46:25 +02:00
|
|
|
.widefat th input[type="checkbox"],
|
|
|
|
.widefat thead td input[type="checkbox"],
|
|
|
|
.widefat tfoot td input[type="checkbox"] {
|
2014-02-19 22:43:14 +01:00
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
2015-06-28 07:46:25 +02:00
|
|
|
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 18:51:57 +02:00
|
|
|
width: 1.875rem;
|
|
|
|
height: 1.875rem;
|
|
|
|
margin: -0.1875rem -0.3125rem;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-08-11 18:42:16 +02:00
|
|
|
input[type="radio"],
|
|
|
|
input[type="checkbox"] {
|
2019-09-23 18:51:57 +02:00
|
|
|
height: 1.5625rem;
|
|
|
|
width: 1.5625rem;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-08-11 18:42:16 +02:00
|
|
|
.wp-admin p input[type="checkbox"],
|
|
|
|
.wp-admin p input[type="radio"] {
|
2019-09-23 18:51:57 +02:00
|
|
|
margin-top: -0.1875rem;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-08-11 18:42:16 +02:00
|
|
|
input[type="radio"]:checked:before {
|
2014-02-19 22:43:14 +01:00
|
|
|
vertical-align: middle;
|
2019-09-23 18:51:57 +02:00
|
|
|
width: 0.5625rem;
|
|
|
|
height: 0.5625rem;
|
|
|
|
margin: 0.4375rem;
|
2019-05-30 13:49:53 +02:00
|
|
|
line-height: 0.76190476;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-08-11 18:42:16 +02:00
|
|
|
.wp-upload-form input[type="submit"] {
|
2014-02-19 22:43:14 +01:00
|
|
|
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 21:26:03 +01:00
|
|
|
.wp-core-ui select,
|
2019-09-30 19:24:59 +02:00
|
|
|
.wp-admin .form-table select {
|
|
|
|
min-height: 40px;
|
2014-02-19 22:43:14 +01:00
|
|
|
font-size: 16px;
|
2019-09-30 19:24:59 +02:00
|
|
|
line-height: 1.625; /* 26px */
|
|
|
|
padding: 5px 24px 5px 8px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-admin .button-cancel {
|
2019-09-30 19:24:59 +02:00
|
|
|
margin-bottom: 0;
|
|
|
|
padding: 2px 0;
|
2014-02-19 22:43:14 +01:00
|
|
|
font-size: 14px;
|
2019-09-30 19:24:59 +02:00
|
|
|
vertical-align: middle;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2015-07-11 21:28:25 +02:00
|
|
|
#adduser .form-field input,
|
2014-02-19 22:43:14 +01:00
|
|
|
#createuser .form-field input {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table th,
|
2015-10-21 05:57:24 +02:00
|
|
|
.form-table td,
|
|
|
|
.label-responsive {
|
2014-02-19 22:43:14 +01:00
|
|
|
display: block;
|
|
|
|
width: auto;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2015-10-21 05:57:24 +02:00
|
|
|
.label-responsive {
|
|
|
|
margin: 0.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.export-filters li {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2024-02-09 00:31:16 +01:00
|
|
|
.form-table .color-palette .color-palette-shade,
|
2014-02-19 22:43:14 +01:00
|
|
|
.form-table .color-palette td {
|
|
|
|
display: table-cell;
|
|
|
|
width: 15px;
|
2024-02-09 00:31:16 +01:00
|
|
|
height: 30px;
|
|
|
|
padding: 0;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2024-02-09 00:31:16 +01:00
|
|
|
.form-table .color-palette {
|
2014-02-19 22:43:14 +01:00
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea,
|
|
|
|
input {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table td input[type="text"],
|
2014-11-26 20:51:23 +01:00
|
|
|
.form-table td input[type="email"],
|
2014-02-19 22:43:14 +01:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
2015-07-07 18:41:25 +02:00
|
|
|
.form-table .form-required.form-invalid td:after {
|
|
|
|
float: right;
|
|
|
|
margin: -30px 3px 0 0;
|
|
|
|
}
|
|
|
|
|
2014-08-11 18:42:16 +02:00
|
|
|
input[type="text"].small-text,
|
|
|
|
input[type="search"].small-text,
|
|
|
|
input[type="password"].small-text,
|
|
|
|
input[type="number"].small-text,
|
2014-02-19 22:43:14 +01:00
|
|
|
input[type="number"].small-text,
|
2014-08-11 18:42:16 +02:00
|
|
|
.form-table input[type="text"].small-text {
|
2014-02-19 22:43:14 +01:00
|
|
|
width: auto;
|
2017-10-12 05:48:47 +02:00
|
|
|
max-width: 4.375em; /* 70px, enough for 4 digits to fit comfortably */
|
2014-02-19 22:43:14 +01:00
|
|
|
display: inline;
|
|
|
|
padding: 3px 6px;
|
|
|
|
margin: 0 3px;
|
|
|
|
}
|
|
|
|
|
2022-02-25 16:49:02 +01:00
|
|
|
.form-table .regular-text ~ input[type="text"].small-text {
|
|
|
|
margin-top: 5px;
|
2022-01-28 22:50:04 +01:00
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
#pass-strength-result {
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 8px;
|
|
|
|
}
|
|
|
|
|
Upgrade/Install: Show/hide toggle on password fields.
Add a show/hide toggle for new passwords in initial user creation and database access during install and setup process using the same model as on user profiles. Add a new password toggle script. Change setup config table to two columns, matching the install table layout.
Props xmarcos, matt, markjaquith, nazgul, akbigdog, intoxination, rob1n, MichaelH, empireoflight, rmccue, markoheijnen, r0uter, amansurov, bi0xid, DrewAPicture, Narthur, wpnook, markparnell, costdev, clorith, ryokuhi, sabernhardt, bgoewert, ironprogrammer, adeltahri, joedolson, mukesh27, audrasjb, sergeybiryukov.
Fixes #3534.
Built from https://develop.svn.wordpress.org/trunk@56008
git-svn-id: http://core.svn.wordpress.org/trunk@55520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-06-24 01:09:29 +02:00
|
|
|
.password-input-wrapper {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
p.search-box {
|
|
|
|
float: none;
|
2023-06-25 19:21:28 +02:00
|
|
|
width: 100%;
|
2014-02-19 22:43:14 +01:00
|
|
|
margin-bottom: 20px;
|
2023-06-25 19:21:28 +02:00
|
|
|
display: flex;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
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 {
|
2015-06-14 22:12:26 +02:00
|
|
|
display: inline;
|
2014-02-19 22:43:14 +01:00
|
|
|
padding: 4px 0 0;
|
2019-05-30 13:49:53 +02:00
|
|
|
line-height: 1.4;
|
2015-06-14 22:12:26 +02:00
|
|
|
font-size: 14px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.form-table th {
|
2021-09-03 00:18:00 +02:00
|
|
|
padding: 10px 0 0;
|
2014-02-19 22:43:14 +01:00
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table td {
|
2015-06-14 22:12:26 +02:00
|
|
|
margin-bottom: 0;
|
2021-09-03 00:18:00 +02:00
|
|
|
padding: 4px 0 6px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2015-06-14 22:12:26 +02:00
|
|
|
.form-table.permalink-structure td code {
|
2019-07-28 18:11:56 +02:00
|
|
|
display: inline-block;
|
2015-06-14 22:12:26 +02:00
|
|
|
}
|
|
|
|
|
2022-07-16 00:42:10 +02:00
|
|
|
.form-table.permalink-structure .structure-selection {
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table.permalink-structure .structure-selection .row > div {
|
|
|
|
max-width: calc(100% - 36px);
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2015-06-14 22:12:26 +02:00
|
|
|
.form-table.permalink-structure td input[type="text"] {
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.form-table input.regular-text {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-table label {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2023-09-20 19:55:17 +02:00
|
|
|
.form-table td > label:first-child {
|
|
|
|
display: inline-block;
|
|
|
|
margin-top: 0.35em;
|
|
|
|
}
|
|
|
|
|
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 21:26:03 +01:00
|
|
|
.background-position-control .button-group > label {
|
|
|
|
font-size: 0;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.form-table fieldset label {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2014-11-26 20:51:23 +01:00
|
|
|
.form-field #domain {
|
|
|
|
max-width: none;
|
|
|
|
}
|
2015-04-01 04:48:28 +02:00
|
|
|
|
2015-07-13 20:21:24 +02:00
|
|
|
/* 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 20:06:57 +02:00
|
|
|
/* Needs higher specificity than normal input type text and password. */
|
|
|
|
#profile-page .form-table #pass1 {
|
|
|
|
padding-right: 90px;
|
2015-07-13 20:21:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-pwd button.button {
|
|
|
|
background: transparent;
|
2019-03-14 00:37:57 +01:00
|
|
|
border: 1px solid transparent;
|
2015-07-13 20:21:24 +02:00
|
|
|
box-shadow: none;
|
|
|
|
line-height: 2;
|
|
|
|
margin: 0;
|
2019-03-14 00:37:57 +01:00
|
|
|
padding: 5px 9px;
|
2015-07-13 20:21:24 +02:00
|
|
|
position: absolute;
|
|
|
|
right: 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 21:26:03 +01:00
|
|
|
width: 2.375rem;
|
|
|
|
height: 2.375rem;
|
|
|
|
min-width: 40px;
|
|
|
|
min-height: 40px;
|
2015-07-13 20:21:24 +02:00
|
|
|
}
|
|
|
|
|
2019-03-14 00:37:57 +01: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 21:26:03 +01:00
|
|
|
right: 2.5rem;
|
2019-03-14 00:37:57 +01:00
|
|
|
}
|
|
|
|
|
2022-05-17 00:37:12 +02:00
|
|
|
body.user-new-php .wp-pwd button.wp-hide-pw {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2015-07-13 20:21:24 +02:00
|
|
|
.wp-pwd button.button:hover,
|
2019-03-14 00:37:57 +01:00
|
|
|
.wp-pwd button.button:focus {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
2015-07-13 20:21:24 +02:00
|
|
|
.wp-pwd button.button:active {
|
|
|
|
background: transparent;
|
2019-03-14 00:37:57 +01:00
|
|
|
box-shadow: none;
|
|
|
|
transform: none;
|
2015-07-13 20:21:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-pwd .button .text {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-01-11 23:54:28 +01:00
|
|
|
|
2019-09-30 19:24:59 +02: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 21:26:03 +01:00
|
|
|
padding-right: 5rem;
|
2019-09-30 19:24:59 +02:00
|
|
|
}
|
|
|
|
|
2022-05-17 00:37:12 +02:00
|
|
|
body.user-new-php .wp-pwd [type="text"],
|
|
|
|
body.user-new-php .wp-pwd [type="password"] {
|
|
|
|
padding-right: 2.5rem;
|
|
|
|
}
|
|
|
|
|
2019-03-14 00:37:57 +01:00
|
|
|
.wp-cancel-pw .dashicons-no {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2023-06-22 16:38:19 +02:00
|
|
|
.mailserver-pass-wrap .wp-pwd {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* rtl:ignore */
|
|
|
|
#mailserver_pass {
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
2016-01-11 23:54:28 +01:00
|
|
|
.options-general-php input[type="text"].small-text {
|
2017-10-13 20:39:48 +02:00
|
|
|
max-width: 6.25em;
|
2016-01-11 23:54:28 +01:00
|
|
|
margin: 0;
|
|
|
|
}
|
2018-05-09 18:13:21 +02:00
|
|
|
|
|
|
|
/* Privacy Policy settings screen */
|
2018-05-15 21:27:22 +02:00
|
|
|
.tools-privacy-policy-page form.wp-create-privacy-page {
|
2019-01-17 08:41:52 +01:00
|
|
|
margin-bottom: 1em;
|
2018-05-15 21:27:22 +02:00
|
|
|
}
|
|
|
|
|
2019-01-17 08:41:52 +01:00
|
|
|
.tools-privacy-policy-page input#set-page,
|
2018-05-09 18:13:21 +02:00
|
|
|
.tools-privacy-policy-page select {
|
|
|
|
margin: 10px 0 0;
|
|
|
|
}
|
2018-05-14 11:21:21 +02:00
|
|
|
|
2018-05-15 21:27:22 +02:00
|
|
|
.tools-privacy-policy-page .wp-create-privacy-page span {
|
2019-01-17 08:41:52 +01:00
|
|
|
display: block;
|
|
|
|
margin-bottom: 1em;
|
2018-05-15 21:27:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.tools-privacy-policy-page .wp-create-privacy-page .button {
|
2019-01-17 08:41:52 +01:00
|
|
|
margin-left: 0;
|
2018-05-15 21:27:22 +02:00
|
|
|
}
|
|
|
|
|
2018-05-14 11:21:21 +02:00
|
|
|
.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-left: 5px;
|
|
|
|
}
|
2020-02-12 12:29:10 +01:00
|
|
|
|
|
|
|
.wp-privacy-request-form-field input[type="text"] {
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2019-05-16 22:45:54 +02:00
|
|
|
.regular-text {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2015-04-01 04:48:28 +02:00
|
|
|
}
|
|
|
|
|
2015-07-20 21:01:26 +02:00
|
|
|
@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 {
|
2019-01-17 08:41:52 +01:00
|
|
|
padding: 0;
|
2015-07-20 21:01:26 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-13 16:39:54 +02:00
|
|
|
@media only screen and (max-height: 480px), screen and (max-width: 450px) {
|
2018-02-03 14:19:32 +01:00
|
|
|
/* Request Credentials / File Editor Warning */
|
2017-10-13 16:39:54 +02:00
|
|
|
.request-filesystem-credentials-dialog .notification-dialog,
|
|
|
|
.file-editor-warning .notification-dialog {
|
2015-04-01 04:48:28 +02:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2015-06-15 05:20:28 +02:00
|
|
|
max-height: 100%;
|
2015-04-01 04:48:28 +02:00
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
margin: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Smartphone */
|
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
/* Color Picker Options */
|
|
|
|
.color-option {
|
|
|
|
width: 49%;
|
|
|
|
}
|
|
|
|
}
|
2016-01-11 23:54:28 +01:00
|
|
|
|
|
|
|
@media only screen and (max-width: 320px) {
|
|
|
|
.options-general-php .date-time-text.date-time-custom-text {
|
|
|
|
min-width: 0;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
2018-04-10 20:02:30 +02:00
|
|
|
|
|
|
|
@keyframes rotation {
|
|
|
|
0% {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: rotate(359deg);
|
|
|
|
}
|
|
|
|
}
|