font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
-webkit-overflow-scrolling: touch;
.media-modal .legend-inline {
transform: translate(-100%, 50%);
0 0 2px 1px rgba(79, 148, 212, 0.8);
/* Only visible in Windows High Contrast mode */
outline: 1px solid transparent;
.media-frame a.button:hover {
.media-frame a.button-primary,
.media-frame a.button-primary:hover {
.wp-admin .media-frame select {
.media-frame input[type="text"],
.media-frame input[type="password"],
.media-frame input[type="color"],
.media-frame input[type="date"],
.media-frame input[type="datetime"],
.media-frame input[type="datetime-local"],
.media-frame input[type="email"],
.media-frame input[type="month"],
.media-frame input[type="number"],
.media-frame input[type="search"],
.media-frame input[type="tel"],
.media-frame input[type="time"],
.media-frame input[type="url"],
.media-frame input[type="week"],
box-shadow: 0 0 0 transparent;
border: 1px solid #8c8f94;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
.media-frame input[type="text"],
.media-frame input[type="password"],
.media-frame input[type="date"],
.media-frame input[type="datetime"],
.media-frame input[type="datetime-local"],
.media-frame input[type="email"],
.media-frame input[type="month"],
.media-frame input[type="number"],
.media-frame input[type="search"],
.media-frame input[type="tel"],
.media-frame input[type="time"],
.media-frame input[type="url"],
.media-frame input[type="week"] {
/* inherits font size 13px */
line-height: 2.15384615; /* 28px */
/* Search field in the Media Library toolbar */
.media-frame.mode-grid .wp-filter input[type="search"] {
.media-frame input[type="text"]:focus,
.media-frame input[type="password"]:focus,
.media-frame input[type="number"]:focus,
.media-frame input[type="search"]:focus,
.media-frame input[type="email"]:focus,
.media-frame input[type="url"]:focus,
.media-frame textarea:focus,
.media-frame select:focus {
box-shadow: 0 0 0 1px #3582c4;
outline: 2px solid transparent;
.media-frame input:disabled,
.media-frame textarea:disabled,
.media-frame input[readonly],
.media-frame textarea[readonly] {
background-color: #f0f0f1;
.media-frame input[type="search"] {
-webkit-appearance: textfield;
.media-frame ::-webkit-input-placeholder {
.media-frame ::-moz-placeholder {
.media-frame :-ms-input-placeholder {
* In some cases there's the need of higher specificity,
* for example higher than `.media-embed .setting`.
.media-frame .setting.hidden {
* jQuery UI Draggable/Sortable 1.11.4
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
.wp-customizer .media-modal {
.wp-customizer .media-modal-backdrop {
border: 1px solid transparent;
transition: color .1s ease-in-out, background .1s ease-in-out;
.media-modal-close:hover,
.media-modal-close:active {
.media-modal-close:focus {
box-shadow: 0 0 3px rgba(34, 113, 177, 0.8);
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
.media-modal-close span.media-modal-icon {
.media-modal-close .media-modal-icon:before {
font: normal 20px/1 dashicons;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
-webkit-font-smoothing: subpixel-antialiased;
.media-modal-content .media-frame select.attachment-filters {
.media-modal-content .attachments-browser .search {
.wp-core-ui .media-modal-icon {
background-image: url(../images/uploader-icons.png);
background-repeat: no-repeat;
.media-frame-toolbar .media-toolbar {
border-top: 1px solid #dcdcde;
.media-toolbar-secondary {
.media-toolbar-primary > .media-button,
.media-toolbar-primary > .media-button-group {
.media-toolbar-secondary > .media-button,
.media-toolbar-secondary > .media-button-group {
border-left: 1px solid #dcdcde;
-webkit-overflow-scrolling: touch;
* Implementation of bottom padding in overflow content differs across browsers.
* We need a different method. See https://github.com/w3c/csswg-drafts/issues/129
.hide-toolbar .media-sidebar {
text-transform: uppercase;
.attachment-details .setting {
.media-sidebar .collection-settings .setting {
.media-sidebar .setting.has-description,
.attachment-details .setting.has-description {
.media-sidebar .setting .link-to-custom {
.media-sidebar .setting span, /* Back-compat for pre-5.3 */
.attachment-details .setting span, /* Back-compat for pre-5.3 */
.media-sidebar .setting .name,
.media-sidebar .setting .value,
.attachment-details .setting .name {
.media-sidebar .setting .name {
.media-sidebar .setting .value {
.media-sidebar .setting select {
.media-sidebar .setting input[type="checkbox"],
.media-sidebar .field input[type="checkbox"],
.media-sidebar .setting input[type="radio"],
.media-sidebar .field input[type="radio"],
.attachment-details .setting input[type="checkbox"],
.attachment-details .field input[type="checkbox"],
.attachment-details .setting input[type="radio"],
.attachment-details .field input[type="radio"] {
.media-sidebar .setting span, /* Back-compat for pre-5.3 */
.attachment-details .setting span, /* Back-compat for pre-5.3 */
.media-sidebar .setting .name,
.media-sidebar .setting .value,
.media-sidebar .checkbox-label-inline,
.attachment-details .setting .name,
.attachment-details .setting .value,
.compat-item label span {
.media-sidebar .checkbox-label-inline {
.media-sidebar .copy-to-clipboard-container,
.attachment-details .copy-to-clipboard-container {
margin-left: calc( 35% - 1px );
/* Needs high specificity. */
.attachment-details .attachment-info .copy-to-clipboard-container {
.media-sidebar .copy-to-clipboard-container .success,
.attachment-details .copy-to-clipboard-container .success {
.compat-item label span {
.media-sidebar .setting input[type="text"],
.media-sidebar .setting input[type="password"],
.media-sidebar .setting input[type="email"],
.media-sidebar .setting input[type="number"],
.media-sidebar .setting input[type="search"],
.media-sidebar .setting input[type="tel"],
.media-sidebar .setting input[type="url"],
.media-sidebar .setting textarea,
.media-sidebar .setting .value,
.attachment-details .setting input[type="text"],
.attachment-details .setting input[type="password"],
.attachment-details .setting input[type="email"],
.attachment-details .setting input[type="number"],
.attachment-details .setting input[type="search"],
.attachment-details .setting input[type="tel"],