/* Include margin and padding in the width calculation of input and textarea. */
/* inherits font size 14px */
line-height: 1.42857143; /* 20px */
padding: 4px 6px 1px 6px;
input[type="datetime-local"],
box-shadow: 0 0 0 transparent;
border: 1px solid #8c8f94;
input[type="datetime-local"],
/* inherits font size 14px */
line-height: 2; /* 28px */
/* Only necessary for IE11 */
::-webkit-datetime-edit {
/* inherits font size 14px */
line-height: 1.85714286; /* 26px */
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="time"]:focus,
input[type="week"]:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus,
box-shadow: 0 0 0 1px #2271b1;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
border: 1px solid #8c8f94;
margin: -0.25rem 0.25rem 0 0;
-webkit-appearance: none;
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
transition: .05s border-color ease-in-out;
input[type="radio"]:checked + label:before {
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
td > input[type="checkbox"],
.wp-admin p input[type="checkbox"],
.wp-admin p input[type="radio"] {
.wp-admin p label input[type="checkbox"] {
.wp-admin p label input[type="radio"] {
/* 10px not sure if still necessary, comes from the MP6 redesign in r26072 */
input[type="checkbox"]:checked::before,
input[type="radio"]:checked::before {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
input[type="checkbox"]:checked::before {
/* Use the "Yes" SVG Dashicon */
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%233582c4%27%2F%3E%3C%2Fsvg%3E");
margin: -0.1875rem 0 0 -0.25rem;
input[type="radio"]:checked::before {
height: 0.5rem; /* 8px */
margin: 0.1875rem; /* 3px */
background-color: #3582c4;
/* 16px not sure if still necessary, comes from the MP6 redesign in r26072 */
@-moz-document url-prefix() {
-webkit-appearance: textfield;
input[type="search"]::-webkit-search-decoration {
.wp-admin input[type="file"] {
background-color: #f0f0f1;
::-webkit-input-placeholder {
.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 {
border-color: #d63638 !important;
box-shadow: 0 0 2px rgba(214, 54, 56, 0.8);
.form-table .form-required.form-invalid td:after {
font: normal 20px/1 dashicons;
/* Adjust error indicator for password layout */
.form-table .form-required.user-pass1-wrap.form-invalid td:after {
.form-table .form-required.user-pass1-wrap.form-invalid .password-input-wrapper:after {
font: normal 20px/1 dashicons;
background: rgba(255, 255, 255, 0.5);
border-color: rgba(220, 220, 222, 0.75);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
color: rgba(44, 51, 56, 0.5);
input[type="file"]:disabled,
input[type="file"].disabled,
input[type="range"]:disabled,
input[type="range"].disabled {
input[type="checkbox"]:disabled,
input[type="checkbox"].disabled,
input[type="radio"]:disabled,
input[type="radio"].disabled,
input[type="checkbox"]:disabled:checked:before,
input[type="checkbox"].disabled:checked:before,
input[type="radio"]:disabled:checked:before,
input[type="radio"].disabled:checked:before {
/*------------------------------------------------------------------------------
------------------------------------------------------------------------------*/
/* Select styles are based on the default button in buttons.css */
line-height: 2; /* 28px */
-webkit-appearance: none;
/* The SVG is arrow-down-alt2 from Dashicons. */
background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%;
background-size: 16px 16px;
.wp-core-ui select:hover {
.wp-core-ui select:focus {
box-shadow: 0 0 0 1px #2271b1;
.wp-core-ui select:active {
.wp-core-ui select.disabled,
.wp-core-ui select:disabled {
background-color: #f6f7f7;
/* 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');
text-shadow: 0 1px 0 #fff;
/* Reset Firefox inner outline that appears on :focus. */
/* This ruleset overrides the color change on :focus thus needs to be after select:focus. */
.wp-core-ui select:-moz-focusring {
text-shadow: 0 0 0 #0a4b78;
/* Remove background focus style from IE11 while keeping focus style available on option elements. */
.wp-core-ui select::-ms-value {
.wp-core-ui select:hover::-ms-value {
.wp-core-ui select:focus::-ms-value {
.wp-core-ui select.disabled::-ms-value,
.wp-core-ui select:disabled::-ms-value {
/* Hide the native down arrow for select element on IE. */
.wp-core-ui select::-ms-expand {
.wp-admin .button-cancel {
.meta-box-sortables select {
.meta-box-sortables input {
.misc-pub-post-status select {
.wp-core-ui select[multiple] {
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
form p.submit a.cancel:hover {
table.form-table + p.submit,
table.form-table + input + p.submit,
table.form-table + input + input + p.submit {
#minor-publishing-actions input,
#major-publishing-actions input,
#minor-publishing-actions .preview {
input[type="number"].small-text {
input[type="number"].tiny-text {
/* @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 label[for="new_role2"],