+
+.edit-attachment-frame .media-frame-title {
+ right: 0;
+ left: 150px; /* leave space for prev/next/close */
+}
+
+.edit-attachment-frame .edit-media-header .right:before,
+.edit-attachment-frame .edit-media-header .left:before {
+ font: normal 20px/50px dashicons !important;
+ display: inline;
+ font-weight: 300;
+}
+
+.upload-php .media-modal-close:hover,
+.upload-php .media-modal-close:focus,
+.edit-attachment-frame .edit-media-header .left:hover,
+.edit-attachment-frame .edit-media-header .right:hover,
+.edit-attachment-frame .edit-media-header .left:focus,
+.edit-attachment-frame .edit-media-header .right:focus {
+ background: #ddd;
+ border-color: #ccc;
+ color: #000;
+ outline: none;
+ -webkit-box-shadow: none;
+ box-shadow: none;
+}
+
+.upload-php .media-modal-close:focus .media-modal-icon:before,
+.upload-php .media-modal-close:hover .media-modal-icon:before {
+ color: #000;
+}
+
+.edit-attachment-frame .edit-media-header .left:before,
+.rtl .edit-attachment-frame .edit-media-header .right:before {
+ content: "\f345";
+}
+
+.edit-attachment-frame .edit-media-header .right:before,
+.rtl .edit-attachment-frame .edit-media-header .left:before {
+ content: "\f341";
+}
+
+.edit-attachment-frame .edit-media-header .left.disabled,
+.edit-attachment-frame .edit-media-header .right.disabled,
+.edit-attachment-frame .edit-media-header .left.disabled:hover,
+.edit-attachment-frame .edit-media-header .right.disabled:hover {
+ color: #ccc;
+ background: inherit;
+ cursor: default;
+ pointer-events: none;
+}
+
+.edit-attachment-frame .media-frame-content,
+.edit-attachment-frame .media-frame-router {
+ right: 0;
+}
+
+.edit-attachment-frame .media-frame-content {
+ border-bottom: none;
+ bottom: 0;
+ top: 50px;
+}
+
+.edit-attachment-frame .attachment-details {
+ position: absolute;
+ overflow: auto;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ -webkit-box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1);
+ box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1);
+}
+
+.edit-attachment-frame .attachment-media-view {
+ float: right;
+ width: 65%;
+ height: 100%;
+}
+
+.edit-attachment-frame .attachment-media-view .thumbnail {
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+ padding: 16px;
+ height: 100%;
+}
+
+.edit-attachment-frame .attachment-media-view .details-image {
+ display: block;
+ margin-bottom: 16px;
+ max-width: 100%;
+ max-height: 90%;
+ max-height: -webkit-calc( 100% - 42px );
+ max-height: calc( 100% - 42px ); /* leave space for actions underneath */
+}
+
+.edit-attachment-frame .wp-media-wrapper {
+ margin-bottom: 12px;
+}
+
+.edit-attachment-frame input,
+.edit-attachment-frame textarea {
+ padding: 6px 8px;
+ line-height: 16px;
+}
+
+.edit-attachment-frame .attachment-info {
+ overflow: auto;
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+ margin-bottom: 0;
+ padding: 12px 16px 0;
+ width: 35%;
+ height: 100%;
+ -webkit-box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1);
+ box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1);
+ border-bottom: 0;
+ border-right: 1px solid #ddd;
+ background: #f3f3f3;
+}
+
+.edit-attachment-frame .attachment-info .details,
+.edit-attachment-frame .attachment-info .settings {
+ position: relative; /* RTL fix, #WP29352 */
+ overflow: hidden;
+ float: none;
+ margin-bottom: 15px;
+ padding-bottom: 15px;
+ border-bottom: 1px solid #ddd;
+}
+
+.edit-attachment-frame .attachment-info .filename {
+ font-weight: 400;
+ color: #666;
+}
+
+.edit-attachment-frame .attachment-info .thumbnail {
+ margin-bottom: 12px;
+}
+
+.attachment-info .actions {
+ margin-bottom: 16px;
+}
+
+.attachment-info .actions a {
+ display: inline;
+ text-decoration: none;
+}
+
+
+/*------------------------------------------------------------------------------
+ 14.2 - Image Editor
+------------------------------------------------------------------------------*/
+
+.wp_attachment_details label[for="content"] {
+ font-size: 13px;
+ line-height: 1.5;
+ margin: 1em 0;
+}
+
+.wp_attachment_details #attachment_caption {
+ height: 4em;
+}
+
+.describe .image-editor {
+ vertical-align: top;
+}
+
+.imgedit-wrap {
+ position: relative;
+ padding-top: 10px;
+}
+
+.imgedit-settings p,
+.imgedit-settings fieldset {
+ margin: 8px 0;
+}
+
+.imgedit-settings legend {
+ margin-bottom: 5px;
+}
+
+.describe .imgedit-wrap .imgedit-settings {
+ padding: 0 5px;
+}
+
+.wp_attachment_holder div.updated {
+ margin-top: 0;
+}
+
+.wp_attachment_holder .imgedit-wrap > div {
+ height: auto;
+}
+
+.wp_attachment_holder .imgedit-wrap .imgedit-panel-content {
+ padding: 3px 0 0 16px;
+ float: right;
+}
+
+.wp_attachment_holder .imgedit-wrap .imgedit-settings {
+ float: left;
+ width: 250px;
+}
+
+.imgedit-settings input {
+ margin-top: 0;
+ vertical-align: middle;
+}
+
+.imgedit-wait {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ width: 100%;
+ background: #fff;
+ opacity: 0.7;
+ filter: alpha(opacity=70);
+ display: none;
+}
+
+.imgedit-wait:before {
+ content: "";
+ display: block;
+ width: 20px;
+ height: 20px;
+ position: absolute;
+ right: 50%;
+ top: 50%;
+ margin: -10px -10px 0 0;
+ background: transparent url(../images/spinner.gif) no-repeat center;
+ -webkit-background-size: 20px 20px;
+ background-size: 20px 20px;
+ -webkit-transform: translateZ(0);
+ transform: translateZ(0);
+}
+
+.no-float {
+ float: none;
+}
+
+.media-disabled,
+.imgedit-settings .disabled {
+ /* WCAG 1.4.3 Text or images of text that are part of an inactive user
+ interface component ... have no contrast requirement. */
+ color: #a0a5aa;
+}
+
+.A1B1 {
+ overflow: hidden;
+}
+
+.wp_attachment_image .button,
+.A1B1 .button {
+ float: right;
+}
+
+.no-js .wp_attachment_image .button {
+ display: none;
+}
+
+.wp_attachment_image .spinner,
+.A1B1 .spinner {
+ float: right;
+}
+
+.imgedit-menu {
+ min-width: 300px;
+ margin: 0 0 12px;
+}
+
+.imgedit-menu .note-no-rotate {
+ clear: both;
+ margin: 0;
+ padding: 1em 0 0;
+}
+
+.image-editor .imgedit-menu .button {
+ float: right;
+ width: 32px;
+ height: 32px;
+ margin: 0 0 0 8px;
+ padding: 0;
+ background: #f1f1f1;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ line-height: 16px;
+ color: #72777c;
+}
+
+.imgedit-menu .button:before {
+ font: normal 20px/1 dashicons;
+ speak: none;
+ vertical-align: middle;
+}
+
+.imgedit-menu .button.disabled {
+ border-color: #ccc;
+ background-color: #ddd;
+ color: #72777c;
+ filter: alpha(opacity=50);
+ opacity: 0.5;
+ cursor: default;
+}
+
+.imgedit-crop:before {
+ content: "\f165";
+}
+
+.imgedit-rleft:before {
+ content: "\f166";
+}
+
+.imgedit-rright:before {
+ content: "\f167";
+}
+
+.imgedit-flipv:before {
+ content: "\f168";
+}
+
+.imgedit-fliph:before {
+ content: "\f169";
+}
+
+.imgedit-undo:before {
+ content: "\f171";
+}
+
+.imgedit-redo:before {
+ content: "\f172";
+}
+
+.imgedit-crop-wrap {
+ position: relative;
+}
+
+.imgedit-crop {
+ margin: 0 0 0 8px;
+}
+
+.imgedit-rleft {
+ margin: 0 3px;
+}
+
+.imgedit-rright {
+ margin: 0 3px 0 8px;
+}
+
+.imgedit-flipv {
+ margin: 0 3px;
+}
+
+.imgedit-fliph {
+ margin: 0 3px 0 8px;
+}
+
+.imgedit-undo {
+ margin: 0 3px;
+}
+
+.imgedit-redo {
+ margin: 0 3px 0 8px;
+}
+
+.imgedit-thumbnail-preview {
+ margin: 10px 0 0 8px;
+}
+
+.imgedit-thumbnail-preview-caption {
+ display: block;
+}
+
+#poststuff .imgedit-group-top h3, /* Back-compat for pre-4.4 */
+#poststuff .imgedit-group-top h2 {
+ display: inline-block;
+ margin: 0;
+ padding: 0;
+ font-size: 14px;
+ line-height: 1.4;
+}
+
+.imgedit-group-top h3 a, /* Back-compat for pre-4.4 */
+.imgedit-group-top h2 a {
+ text-decoration: none;
+}
+
+.imgedit-applyto .imgedit-label {
+ display: block;
+ padding: .5em 0 0;
+}
+
+.imgedit-help {
+ display: none;
+ font-style: italic;
+}
+
+/* higher specificity than buttons */
+.image-editor .imgedit-settings .imgedit-help-toggle,
+.image-editor .imgedit-settings .imgedit-help-toggle:hover,
+.image-editor .imgedit-settings .imgedit-help-toggle:active {
+ border: 1px solid transparent;
+ margin: -1px -1px 0 0;
+ padding: 0;
+ background: transparent;
+ color: #0074a2;
+ font-size: 20px;
+ line-height: 1;
+ cursor: pointer;
+ -webkit-box-sizing: content-box;
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
+ -webkit-box-shadow: none;
+ box-shadow: none;
+}
+
+.image-editor .imgedit-settings .imgedit-help-toggle:focus {
+ color: #0074a2;
+ border-color: #5b9dd9;
+ outline: none;
+ -webkit-box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
+ box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
+}
+
+.form-table td.imgedit-response {
+ padding: 0;
+}
+
+.imgedit-submit {
+ margin: 8px 0 0;
+}
+
+.imgedit-submit-btn {
+ margin-right: 20px;
+}
+
+.imgedit-wrap .nowrap {
+ white-space: nowrap;
+ font-size: 12px;
+ line-height: inherit;
+}
+
+span.imgedit-scale-warn {
+ color: red;
+ font-size: 20px;
+ font-style: normal;
+ visibility: hidden;
+ vertical-align: middle;
+}
+
+.imgedit-save-target {
+ margin: 8px 0;
+}
+
+.imgedit-group {
+ margin-bottom: 8px;
+ padding: 10px;
+}
+
+.imgedit-settings .imgedit-scale input[type="text"],
+.imgedit-settings .imgedit-crop-ratio input[type="text"],
+.imgedit-settings .imgedit-crop-sel input[type="text"] {
+ width: 50px;
+ font-size: 14px;
+ padding: 3px 5px;
+}
+
+.imgedit-separator {
+ display: inline-block;
+ width: 7px;
+ text-align: center;
+ vertical-align: middle;
+ font-size: 13px;
+ color: #444;
+}
+
+.imgedit-settings .imgedit-scale .button {
+ margin-bottom: 0;
+}
+
+audio, video {
+ display: inline-block;
+ max-width: 100%;
+}
+
+.mejs-container {
+ width: 100%;
+ max-width: 100%;
+}
+
+/* =Media Queries
+-------------------------------------------------------------- */
+
+/**
+ * HiDPI Displays
+ */
+@media print,
+ (-webkit-min-device-pixel-ratio: 1.25),
+ (min-resolution: 120dpi) {
+ .imgedit-wait:before {
+ background-image: url(../images/spinner-2x.gif);
+ }
+}
+
+@media screen and ( max-width: 782px ) {
+ .wp_attachment_details label[for="content"] {
+ font-size: 14px;
+ line-height: 1.5em;
+ }
+
+ .media-upload-form .media-item.error,
+ .media-upload-form .media-item .error {
+ font-size: 13px;
+ line-height: 1.5;
+ }
+
+ .media-upload-form .media-item.error {
+ padding: 1px 10px;
+ }
+
+ .media-upload-form .media-item .error {
+ padding: 10px 12px 10px 0;
+ }
+
+ .imgedit-settings .imgedit-scale input[type="text"],
+ .imgedit-settings .imgedit-crop-ratio input[type="text"],
+ .imgedit-settings .imgedit-crop-sel input[type="text"] {
+ width: 60px;
+ font-size: 16px;
+ padding: 6px 10px;
+ }
+
+ .imgedit-applyto .imgedit-label {
+ vertical-align: middle;
+ }
+}
+
+/**
+ * Media queries for media grid.
+ */
+
+@media only screen and (max-width: 1120px) {
+ /* override for media-views.css */
+ #wp-media-grid .wp-filter .attachment-filters {
+ max-width: 100%;
+ }
+}
+
+@media only screen and ( max-width: 782px ) {
+ .media-frame.mode-select .attachments-browser.fixed .media-toolbar {
+ top: 46px;
+ left: 10px;
+ }
+}
+
+@media only screen and (max-width: 600px) {
+ .media-frame.mode-select .attachments-browser.fixed .media-toolbar {
+ top: 0;
+ }
+}
+
+@media only screen and (max-width: 480px) {
+ .edit-attachment-frame .media-frame-title {
+ left: 110px;
+ }
+
+ .upload-php .media-modal-close,
+ .edit-attachment-frame .edit-media-header .left,
+ .edit-attachment-frame .edit-media-header .right {
+ width: 40px;
+ height: 40px;
+ }
+
+ .upload-php .media-modal-close .media-modal-icon {
+ margin: 9px 10px;
+ }
+
+ .edit-attachment-frame .edit-media-header .right:before,
+ .edit-attachment-frame .edit-media-header .left:before {
+ line-height: 40px !important;
+ }
+
+ .edit-attachment-frame .edit-media-header .left {
+ left: 82px;
+ }
+
+ .edit-attachment-frame .edit-media-header .right {
+ left: 41px;
+ }
+
+ .edit-attachment-frame .media-frame-content {
+ top: 40px;
+ }
+
+ .edit-attachment-frame .attachment-media-view {
+ float: none;
+ height: auto;
+ width: 100%;
+ }
+
+ .edit-attachment-frame .attachment-info {
+ height: auto;
+ width: 100%;
+ }
+}
+
+@media only screen and (max-width: 640px), screen and (max-height: 400px) {
+ .upload-php .mode-grid .media-sidebar{
+ max-width: 100%;
+ }