box-sizing: content-box;
}
+.media-frame input,
+.media-frame select,
+.media-frame textarea {
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+}
+
.media-modal,
.media-frame {
font-family: "Open Sans", sans-serif;
font-size: 12px;
+ -webkit-overflow-scrolling: touch;
}
.media-frame input,
}
.media-frame a.button {
- color: #333;
+ color: #32373c;
}
.media-frame a.button:hover {
- color: #222;
+ color: #23282d;
}
.media-frame a.button-primary,
.media-frame select {
font-family: "Open Sans", sans-serif;
font-size: 12px;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
border-width: 1px;
border-style: solid;
border-color: #dfdfdf;
display: none;
}
-/* Enable draggable on IE10 touch events until it's rolled into jQuery UI core */
-.ui-sortable,
-.ui-draggable {
- -ms-touch-action: none;
- touch-action: none;
-}
-
-.meta-box-sortables.ui-sortable {
- -ms-touch-action: auto;
- touch-action: auto;
-}
-
-.meta-box-sortables.ui-sortable .hndle {
+/*!
+ * jQuery UI Draggable/Sortable 1.11.4
+ * http://jqueryui.com
+ *
+ * Copyright jQuery Foundation and other contributors
+ * Released under the MIT license.
+ * http://jquery.org/license
+ */
+.ui-draggable-handle,
+.ui-sortable-handle {
-ms-touch-action: none;
touch-action: none;
}
}
.media-modal-close:hover .media-modal-icon:before {
- color: #2ea2cc;
+ color: #00a0d2;
}
.media-modal-close:active {
margin-left: 4%;
font-size: 12px;
text-align: left;
+ word-wrap: break-word;
+}
+
+.media-sidebar .setting .name {
+ max-width: 80px;
}
.media-sidebar .setting select,
.compat-item .field {
float: left;
- width: 66%;
+ width: 65%;
+ margin: 1px;
}
.compat-item .field input[type="text"],
.compat-item .field input[type="number"],
.compat-item .field input[type="search"],
.compat-item .field input[type="tel"],
-.compat-item .field input[type="url"] {
+.compat-item .field input[type="url"],
+.compat-item .field textarea {
width: 100%;
margin: 0;
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
}
.sidebar-for-errors .attachment-details,
margin: 0;
line-height: 18px;
font-size: 14px;
- color: #0074a2;
+ color: #0073aa;
text-decoration: none;
}
.media-menu .active,
.media-menu .active:hover {
- color: #222;
+ color: #23282d;
font-weight: bold;
}
.media-router .active,
.media-router .active:hover {
- color: #333;
+ color: #32373c;
}
.media-router .active,
*/
.media-frame select.attachment-filters {
margin-top: 11px;
- margin-left: 10px;
+ margin-left: 2%;
+ max-width: 42%;
+ max-width: -webkit-calc(48% - 12px);
+ max-width: calc(48% - 12px);
+}
+
+.media-frame select.attachment-filters:last-of-type {
+ margin-left: 0;
}
/**
-webkit-appearance: none;
}
-.media-toolbar-secondary .search {
- margin-left: 16px;
+.media-toolbar-primary .search {
+ max-width: 100%;
}
/**
* Attachments
*/
-.attachments {
+.wp-core-ui .attachments {
margin: 0;
-webkit-overflow-scrolling: touch;
}
/**
* Attachment
*/
-.attachment {
+.wp-core-ui .attachment {
position: relative;
float: right;
padding: 8px;
box-sizing: border-box;
}
-.attachment:focus,
-.selected.attachment:focus,
-.attachment.details:focus {
+.wp-core-ui .attachment:focus,
+.wp-core-ui .selected.attachment:focus,
+.wp-core-ui .attachment.details:focus {
-webkit-box-shadow:
inset 0 0 2px 3px #fff,
inset 0 0 0 7px #5b9dd9;
outline: none;
}
-.selected.attachment {
+.wp-core-ui .selected.attachment {
-webkit-box-shadow:
inset 0 0 0 5px #fff,
inset 0 0 0 7px #ccc;
inset 0 0 0 7px #ccc;
}
-.attachment.details {
+.wp-core-ui .attachment.details {
-webkit-box-shadow:
inset 0 0 0 3px #fff,
inset 0 0 0 7px #1e8cbe;
inset 0 0 0 7px #1e8cbe;
}
-.attachment-preview {
+.wp-core-ui .attachment-preview {
position: relative;
-webkit-box-shadow:
inset 0 0 15px rgba( 0, 0, 0, 0.1 ),
cursor: pointer;
}
-.attachment-preview:before {
+.wp-core-ui .attachment-preview:before {
content: '';
display: block;
padding-top: 100%;
}
-.attachment .icon {
+.wp-core-ui .attachment .icon {
margin: 0 auto;
overflow: hidden;
}
-.attachment .thumbnail {
+.wp-core-ui .attachment .thumbnail {
overflow: hidden;
position: absolute;
top: 0;
transition: opacity .1s;
}
-.attachment .portrait img {
+.wp-core-ui .attachment .portrait img {
max-width: 100%;
}
-.attachment .landscape img {
+.wp-core-ui .attachment .landscape img {
max-height: 100%;
}
-.attachment .thumbnail:after {
+.wp-core-ui .attachment .thumbnail:after {
content: '';
display: block;
position: absolute;
overflow: hidden;
}
-/* @noflip */
-.attachment .thumbnail img {
+.wp-core-ui .attachment .thumbnail img {
top: 0;
- left: 0;
+ right: 0;
}
-/* @noflip */
-.attachment .thumbnail .centered {
+.wp-core-ui .attachment .thumbnail .centered {
position: absolute;
top: 0;
- left: 0;
+ right: 0;
width: 100%;
height: 100%;
- -webkit-transform: translate( 50%, 50% );
- -ms-transform: translate(50%,50%); /* Fails with spaces?? Weird! */
- transform: translate( 50%, 50% );
+ -webkit-transform: translate( -50%, 50% );
+ -ms-transform: translate(-50%,50%); /* Fails with spaces?? Weird! */
+ transform: translate( -50%, 50% );
}
-.attachment .thumbnail .centered img {
- -webkit-transform: translate( -50%, -50% );
- -ms-transform: translate(-50%,-50%);
- transform: translate( -50%, -50% );
+.wp-core-ui .attachment .thumbnail .centered img {
+ -webkit-transform: translate( 50%, -50% );
+ -ms-transform: translate(50%,-50%);
+ transform: translate( 50%, -50% );
}
-.attachment .thumbnail .centered img.icon {
- -webkit-transform: translate( -50%, -70% );
- -ms-transform: translate(-50%,-70%);
- transform: translate( -50%, -70% );
+.wp-core-ui .attachments-browser .attachment .thumbnail .centered img.icon {
+ -webkit-transform: translate( 50%, -70% );
+ -ms-transform: translate(50%,-70%);
+ transform: translate( 50%, -70% );
}
-.ie8 .attachment img.icon {
+.ie8 .wp-core-ui .attachment img.icon {
top: 20%;
position: relative;
}
-.attachment .filename {
+.wp-core-ui .attachment .filename {
position: absolute;
right: 0;
left: 0;
box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 );
}
-.attachment .filename div {
+.wp-core-ui .attachment .filename div {
padding: 5px 10px;
}
-.attachment .thumbnail img {
+.wp-core-ui .attachment .thumbnail img {
position: absolute;
}
-.attachment .close {
- display: none;
+.wp-core-ui .attachment .close {
+ display: block;
position: absolute;
top: 5px;
left: 5px;
border-radius: 3px;
-webkit-box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.3 );
box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.3 );
+ -webkit-transition-duration: none;
+ transition-duration: none;
+ -webkit-transition-property: none;
+ transition-property: none;
}
-.attachment .close:hover {
+.wp-core-ui .attachment a.close:hover,
+.wp-core-ui .attachment a.close:focus {
-webkit-box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.6 );
box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.6 );
-}
+ background-position: -36px 4px;
-.attachment:hover .close {
- display: block;
}
-.attachment .check {
+.wp-core-ui .attachment .check {
display: none;
height: 24px;
width: 24px;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba( 0, 0, 0, 0.15 );
}
-.attachment .check div {
+.wp-core-ui .attachment .check div {
background-position: -1px 0;
height: 15px;
width: 15px;
margin: 5px;
}
-.attachment .check:hover div {
+.wp-core-ui .attachment .check:hover div {
background-position: -40px 0;
}
-.attachment.selected .check {
+.wp-core-ui .attachment.selected .check {
display: block;
}
-.attachment.details .check,
-.attachment.selected .check:focus,
-.media-frame.mode-grid .attachment.selected .check {
+.wp-core-ui .attachment.details .check,
+.wp-core-ui .attachment.selected .check:focus,
+.wp-core-ui .media-frame.mode-grid .attachment.selected .check {
background-color: #1e8cbe;
-webkit-box-shadow:
0 0 0 1px #fff,
0 0 0 2px #1e8cbe;
}
-.attachment.details .check div,
-.media-frame.mode-grid .attachment.selected .check div {
+.wp-core-ui .attachment.details .check div,
+.wp-core-ui .media-frame.mode-grid .attachment.selected .check div {
background-position: -21px 0;
}
-.attachment.details .check:hover div,
-.attachment.selected .check:focus div,
-.media-frame.mode-grid .attachment.selected .check:hover div {
+.wp-core-ui .attachment.details .check:hover div,
+.wp-core-ui .attachment.selected .check:focus div,
+.wp-core-ui .media-frame.mode-grid .attachment.selected .check:hover div {
background-position: -60px 0;
}
-.media-frame .attachment .describe {
+.wp-core-ui .media-frame .attachment .describe {
position: relative;
display: block;
width: 100%;
display: none;
}
+.attachments-browser .media-toolbar-primary {
+ max-width: 33%;
+}
+
+.attachments-browser .media-toolbar-secondary {
+ max-width: 66%;
+}
+
.uploader-inline .close {
background-color: transparent;
border: 0;
}
.media-selection .attachment {
- width: 48px;
+ width: 40px;
padding: 0;
- margin: 0;
- -webkit-box-shadow: none;
- box-shadow: none;
+ margin: 4px;
}
.media-selection .attachment .thumbnail {
- top: 4px;
- left: 4px;
- bottom: 4px;
- right: 4px;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ right: 0;
}
.media-selection .attachment .icon {
background: none;
}
-.media-selection .attachment.selection.details .thumbnail {
+.wp-core-ui .media-selection .attachment:focus,
+.wp-core-ui .media-selection .selected.attachment:focus,
+.wp-core-ui .media-selection .attachment.details:focus {
+ -webkit-box-shadow:
+ 0 0 0 1px #fff,
+ 0 0 2px 3px #5b9dd9;
+ box-shadow:
+ 0 0 0 1px #fff,
+ 0 0 2px 3px #5b9dd9;
+}
+
+.wp-core-ui .media-selection .selected.attachment {
+ -webkit-box-shadow: none;
+ box-shadow: none;
+}
+
+.wp-core-ui .media-selection .attachment.details {
-webkit-box-shadow:
0 0 0 1px #fff,
0 0 0 3px #1e8cbe;
background: url(../images/spinner.gif) no-repeat;
-webkit-background-size: 20px 20px;
background-size: 20px 20px;
- display: none;
+ float: left;
+ display: inline-block;
+ visibility: hidden;
opacity: 0.7;
filter: alpha(opacity=70);
width: 20px;
height: 20px;
margin: 0;
+ vertical-align: middle;
+}
+
+.media-frame .spinner.is-active {
+ visibility: visible;
}
.media-toolbar .spinner {
}
.attachment-details .settings-save-status .spinner {
- margin: 0 5px 0;
+ margin-right: 5px;
}
.attachment-details .settings-save-status .saved {
display: none;
}
-.attachment-details.save-waiting .settings-save-status .spinner,
+.attachment-details.save-waiting .settings-save-status .spinner {
+ visibility: visible;
+}
+
.attachment-details.save-complete .settings-save-status .saved {
display: block;
}
padding: 12px 14px;
width: 100%;
min-width: 200px;
- -webkit-box-shadow: inset 2px 2px 4px -2px rgba( 0, 0, 0, 0.1 );
- box-shadow: inset 2px 2px 4px -2px rgba( 0, 0, 0, 0.1 );
+ -webkit-box-shadow: inset -2px 2px 4px -2px rgba( 0, 0, 0, 0.1 );
+ box-shadow: inset -2px 2px 4px -2px rgba( 0, 0, 0, 0.1 );
}
.media-frame .embed-url .spinner {
}
.media-frame .embed-loading .embed-url .spinner {
- display: block;
+ visibility: visible;
}
.embed-link-settings,
overflow: auto;
}
-.embed-preview img, .embed-preview iframe, .embed-preview embed {
+.embed-preview img,
+.embed-preview iframe,
+.embed-preview embed {
max-width: 100%;
}
+.embed-preview a {
+ display: inline-block;
+}
+
.embed-preview img {
+ display: block;
height: auto;
}
font-family: Arial, sans-serif;
}
-@media only screen and (max-width: 940px) {
- .media-frame-content .media-toolbar-primary .search,
- .media-frame-content .media-toolbar-secondary .attachment-filters {
- max-width: 134px;
- }
-}
-
/**
* Responsive layout
*/
display: none;
}
- .media-modal .attachments-browser .media-toolbar-primary,
- .media-modal .attachments-browser .media-toolbar-secondary {
- width: 50%;
- }
-
.media-modal .attachments-browser .media-toolbar .search {
max-width: 100%;
height: auto;
}
.media-modal .attachments-browser .media-toolbar .attachment-filters {
- margin: 11px 0 0;
height: auto;
- max-width: 65%;
- max-width: -webkit-calc(100% - 38px);
- max-width: calc(100% - 38px);
}
.media-modal .attachments-browser .media-toolbar .spinner {
- margin: 14px 8px 0;
+ margin: 14px 2px 0;
}
/* Text inputs need to be 16px, or they force zooming on iOS */
}
@media only screen and (max-width: 480px) {
- .media-frame-content .media-toolbar .search,
- .media-frame-content .media-toolbar .attachment-filters {
- max-width: 90px;
- }
-
.media-modal-close {
top: 5px;
left: 5px;
* HiDPI Displays
*/
@media print,
- (-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {