]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/css/media.css
WordPress 4.0
[autoinstalls/wordpress.git] / wp-admin / css / media.css
index d04866afe0da6e0d16c804062ab12e844af24725..e27b665cfbb5148e86b92f4c5fdb6998dfbad80b 100644 (file)
-div#media-upload-header {
-       margin: 0;
-       padding: 0 5px;
-       font-weight: bold;
-       position: relative;
-       border-bottom-width: 1px;
-       border-bottom-style: solid;
-       height: 2.5em;
+/*------------------------------------------------------------------------------
+  14.0 - Media Screen
+------------------------------------------------------------------------------*/
+
+.media-item .describe {
+       border-collapse: collapse;
+       width: 100%;
+       border-top: 1px solid #dfdfdf;
+       clear: both;
+       cursor: default;
 }
 
-body#media-upload ul#sidemenu {
-       font-weight: normal;
-       margin: 0 5px;
-       position: absolute;
-       left: 0px;
-       bottom: -1px;
+.media-item.media-blank .describe {
+       border: 0;
+}
+
+.media-item .describe th {
+       vertical-align: top;
+       text-align: left;
+       padding: 5px 10px 10px;
+       width: 140px;
+}
+
+.media-item .describe .align th {
+       padding-top: 0;
 }
 
-div#media-upload-error {
-       margin: 1em;
-       font-weight: bold;
+.media-item .media-item-info tr {
+       background-color: transparent;
+}
+
+.media-item .describe td {
+       padding: 0 8px 8px 0;
+       vertical-align: top;
+}
+
+.media-item thead.media-item-info td {
+       padding: 4px 10px 0;
+}
+
+.media-item .media-item-info .A1B1 {
+       padding: 0 0 0 10px;
 }
 
-form {
-       margin: 1em;
+.media-item td.savesend {
+       padding-bottom: 15px;
 }
 
-#search-filter {
-       text-align: right;
+.media-item .thumbnail {
+       max-height: 128px;
+       max-width: 128px;
 }
 
-.media-upload-form label, .media-upload-form legend {
-       display:block;
-       font-weight: bold;
+#wpbody-content #async-upload-wrap a {
+       display: none;
+}
+
+.media-upload-form {
+       margin-top: 20px;
+}
+
+.media-upload-form td label {
+       margin-right: 6px;
+       margin-left: 2px;
+}
+
+.media-upload-form .align .field label {
+       display: inline;
+       padding: 0 0 0 23px;
+       margin: 0 1em 0 3px;
+       font-weight: 600;
+}
+
+.media-upload-form tr.image-size label {
+       margin: 0 0 0 5px;
+       font-weight: 600;
+}
+
+.media-upload-form th.label label {
+       font-weight: 600;
+       margin: 0.5em;
        font-size: 13px;
-       margin-bottom: 0.5em;
-       margin: 0 0 0.5em 0;
 }
 
-th { position: relative; }
+.media-upload-form th.label label span {
+       padding: 0 5px;
+}
 
-.media-upload-form label.form-help, td.help {
-       font-style: italic;
-       font-weight: normal;
+.media-item .describe input[type="text"],
+.media-item .describe textarea {
+       width: 460px;
 }
 
-.media-upload-form p.help {
+.media-item .describe p.help {
        margin: 0;
-       padding: 0;
+       padding: 0 0 0 5px;
 }
 
-.media-upload-form fieldset {
+.media-item .edit-attachment,
+.describe-toggle-on,
+.describe-toggle-off {
+       display: block;
+       line-height: 36px;
+       float: right;
+       margin-right: 10px;
+}
+
+.media-item .describe-toggle-off,
+.media-item.open .describe-toggle-on {
+       display: none;
+}
+
+.media-item.open .describe-toggle-off {
+       display: block;
+}
+
+.media-upload-form .media-item {
+       min-height: 36px;
+       margin-bottom: 1px;
+       position: relative;
        width: 100%;
-       border: none;
-       text-align: justify;
-       margin: 0 0 1em 0;
-       padding: 0;
+       background: #fff;
 }
 
-/* specific to the image upload form */
-.align .field label {
-       display: inline;
-       padding: 0 0 0 28px;
-       margin: 0 1em 0 0;
+.media-upload-form .media-item,
+.media-upload-form .media-item .error {
+       -webkit-box-shadow: 0 1px 0 #dfdfdf;
+       box-shadow: 0 1px 0 #dfdfdf;
+}
+
+#media-items:empty {
+       border: 0 none;
+}
+
+.media-item .filename {
+       line-height: 36px;
+       overflow: hidden;
+       margin-left: 6px;
+}
+
+.media-item .pinkynail {
+       float: left;
+       margin: 2px 10px 0 3px;
+       max-width: 40px;
+       max-height: 32px;
 }
-.image-align-none-label {
-       background: url(../images/align-none.png) no-repeat center left;
+
+.media-item .startopen,
+.media-item .startclosed {
+       display: none;
 }
 
-.image-align-left-label {
-       background: url(../images/align-left.png) no-repeat center left;
+.media-item .original {
+       position: relative;
+       height: 34px;
+}
+
+.media-item .progress {
+       float: right;
+       height: 22px;
+       margin: 7px 6px;
+       width: 200px;
+       line-height: 2em;
+       padding: 0;
+       overflow: hidden;
+       -webkit-border-radius: 22px;
+       border-radius: 22px;
+       background: #ddd;
+       -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
+       box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
 }
 
-.image-align-center-label {
-       background: url(../images/align-center.png) no-repeat center left;
+.media-item .bar {
+       z-index: 9;
+       width: 0;
+       height: 100%;
+       margin-top: -22px;
+       -webkit-border-radius: 22px;
+       border-radius: 22px;
+       background-color: #0074a2;
+       -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
+       box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
 }
 
-.image-align-right-label {
-       background: url(../images/align-right.png) no-repeat center left;
+.media-item .progress .percent {
+       z-index: 10;
+       position: relative;
+       width: 200px;
+       padding: 0;
+       color: #fff;
+       text-align: center;
+       line-height: 22px;
+       font-weight: 400;
+       text-shadow: 0 1px 2px rgba(0,0,0,0.2);
 }
 
-#flash-upload-ui, .insert-gallery {
+.upload-php .fixed .column-parent {
+       width: 15%;
+}
+
+.js .html-uploader #plupload-upload-ui {
        display: none;
 }
 
-tr.image-size label {
-       display: inline;
-       margin: 0 1em 0 0;
+.js .html-uploader #html-upload-ui {
+       display: block;
 }
-.pinkynail {
-       max-width: 40px;
-       max-height: 40px;
+
+.media-upload-form .media-item.error,
+.media-upload-form .media-item .error {
+       width: auto;
+       margin: 0 0 1px 0;
 }
 
-.filename.original {
-       float: left;
+.media-upload-form .media-item .error {
+       padding: 10px 0 10px 14px;
 }
-.crunching {
+
+.media-item .error-div a.dismiss {
        display: block;
-       line-height: 32px;
-       text-align: right;
-       margin-right: 5px;
+       float: right;
+       margin: 0 10px 0 15px;
 }
-button.dismiss {
+
+/*------------------------------------------------------------------------------
+  14.1 - Media Library
+------------------------------------------------------------------------------*/
+
+.find-box {
+       background-color: #fff;
+       -webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
+       box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
+       width: 600px;
+       overflow: hidden;
+       margin-left: -300px;
+       position: fixed;
+       top: 30px;
+       bottom: 30px;
+       left: 50%;
+       z-index: 100105;
+}
+
+.find-box-head {
+       background: #fcfcfc;
+       border-bottom: 1px solid #dfdfdf;
+       height: 36px;
+       font-size: 18px;
+       font-weight: 600;
+       line-height: 36px;
+       padding: 0 36px 0 16px;
        position: absolute;
-       top: 5px;
-       right: 5px;
-       z-index: 4;
+       top: 0;
+       left: 0;
+       right: 0;
 }
-.file-error {
-       margin: 0 0 5px 50px;
-       font-weight: bold;
+
+.find-box-inside {
+       overflow: auto;
+       padding: 16px;
+       background-color: #fff;
+       position: absolute;
+       top: 37px;
+       bottom: 45px;
+       overflow-y: scroll;
+       width: 100%;
+       -webkit-box-sizing: border-box;
+       -moz-box-sizing: border-box;
+       box-sizing: border-box;
 }
 
-.progress {
+.find-box-search {
+       padding-bottom: 16px;
+}
+
+.find-box-search .spinner {
+       float: none;
+       left: 110px;
        position: absolute;
-       top: 0px;
-       left: 0px;
-       width: 623px;
+       top: 2px;
+}
+
+.find-box-search,
+#find-posts-response {
+       position: relative; /* RTL fix, #WP28010 */
+}
+
+#find-posts-input,
+#find-posts-search {
+       float: left;
+}
+
+#find-posts-input {
+       width: 140px;
+       height: 28px;
+       margin: 0 4px 0 0;
+}
+
+.widefat .found-radio {
+       padding-right: 0;
+       width: 16px;
+}
+
+#find-posts-close {
+       width: 36px;
        height: 36px;
+       position: absolute;
+       top: 0;
+       right: 0;
+       cursor: pointer;
+       text-align: center;
+       color: #666;
 }
-.bar {
-       width: 0px;
-       height: 100%;
-       border-right-width: 3px;
-       border-right-style: solid;
+
+#find-posts-close:hover {
+       color: #2ea2cc;
+}
+
+#find-posts-close:before {
+       font: normal 20px/36px 'dashicons';
+       vertical-align: top;
+       speak: none;
+       -webkit-font-smoothing: antialiased;
+       -moz-osx-font-smoothing: grayscale;
+       content: '\f158';
+}
+
+.find-box-buttons {
+       padding: 8px 16px;
+       background: #fcfcfc;
+       border-top: 1px solid #dfdfdf;
+       position: absolute;
+       bottom: 0;
+       left: 0;
+       right: 0;
+}
+
+@media screen and ( max-width: 782px ) {
+       .find-box-inside {
+               bottom: 57px;
+       }
+}
+
+@media screen and ( max-width: 660px ) {
+
+       .find-box {
+               top: 0;
+               bottom: 0;
+               left: 0;
+               right: 0;
+               margin: 0;
+               width: 100%;
+       }
+
 }
 
-#library-form .progress, #gallery-form .progress {
+.ui-find-overlay {
+       position: fixed;
+       top: 0;
+       left: 0;
+       right: 0;
+       bottom: 0;
+       background: #000;
+       opacity: 0.7;
+       filter: alpha(opacity=70);
+       z-index: 100100;
+}
+
+ul#dismissed-updates {
        display: none;
 }
 
-.media-item .thumbnail {
-       max-width: 128px;
-       max-height: 128px;
+form.upgrade {
+       margin-top: 8px;
 }
-.media-item .pinkynail {
-       float: left;
-       margin: 2px;
-       height: 32px;
-       max-width: 40px;
+
+form.upgrade .hint {
+       font-style: italic;
+       font-size: 85%;
+       margin: -0.5em 0 2em 0;
 }
 
-thead.media-item-info tr {
-       background-color: transparent;
+#poststuff .inside .the-tagcloud {
+       margin: 5px 0 10px;
+       padding: 8px;
+       border: 1px solid #ddd;
+       line-height: 1.8em;
+       word-spacing: 3px;
+       -webkit-border-radius: 6px;
+       border-radius: 6px;
+}
+
+.drag-drop #drag-drop-area {
+       border: 4px dashed #bbb;
+       height: 200px;
+}
+
+.drag-drop .drag-drop-inside {
+       margin: 70px auto 0;
+       width: 250px;
+}
+
+.drag-drop-inside p {
+       color: #aaa;
+       font-size: 14px;
+       margin: 5px 0;
+       display: none;
+}
+
+.drag-drop .drag-drop-inside p {
+       text-align: center;
+}
+
+.drag-drop-inside p.drag-drop-info {
+       font-size: 20px;
+}
+
+.drag-drop .drag-drop-inside p,
+.drag-drop-inside p.drag-drop-buttons {
+       display: block;
+}
+
+/*
+#drag-drop-area:-moz-drag-over {
+       border-color: #83b4d8;
+}
+border color while dragging a file over the uploader drop area */
+.drag-drop.drag-over #drag-drop-area {
+       border-color: #83b4d8;
+}
+
+#plupload-upload-ui {
+       position: relative;
 }
-thead.media-item-info th, thead.media-item-info td {
+
+/**
+ * Media Library grid view
+ */
+
+.media-frame.mode-grid,
+.media-frame.mode-grid .media-frame-content,
+.media-frame.mode-grid .attachments-browser .attachments,
+.media-frame.mode-grid .uploader-inline-content {
+       position: static;
+}
+
+/* Regions we don't use at all */
+.media-frame.mode-grid .media-frame-title,
+.media-frame.mode-grid .media-frame-router,
+.media-frame.mode-grid .media-frame-menu {
+       display: none;
+}
+
+.media-frame.mode-grid .media-frame-content {
+       background-color: transparent;
        border: none;
-       margin: 0;
 }
 
-.form-table thead.media-item-info {
-       border: 8px solid #fff;
+.upload-php .mode-grid .media-sidebar {
+       position: relative;
+       width: auto;
+       margin-bottom: 16px;
+       padding: 0 16px;
+       border: 1px solid #c00;
+       background-color: #feebe8;
 }
 
-.describe.startopen, .describe.startclosed {
+.upload-php .mode-grid .hide-sidebar .media-sidebar {
        display: none;
 }
-abbr.required {
-       text-decoration: none;
+
+.upload-php .mode-grid .media-sidebar .media-uploader-status {
+       border-bottom: none;
+       padding-bottom: 0;
+       max-width: 100%;
+}
+
+.upload-php .mode-grid .media-sidebar .upload-error {
+       margin: 20px 0;
+       padding: 0;
        border: none;
+       background: none;
+}
+
+.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors {
+       font-size: 0;
+       top: -12px;
+       right: -10px;
+}
+
+.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:before {
+       content: "\f158";
+       font: normal 20px/1 dashicons;
+       color: #666;
+}
+
+.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:focus:before,
+.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:hover:before {
+       color: #2ea2cc;
+}
+
+.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h3 {
+       display: none;
+}
+
+.media-frame.mode-grid .uploader-inline {
+       position: relative;
+       top: auto;
+       right: auto;
+       left: auto;
+       bottom: auto;
+       padding-top: 0;
+       margin-top: 0;
+       border: 4px dashed #bbb;
+}
+
+.media-frame.mode-select .attachments-browser.fixed .attachments {
+       position: relative;
+       top: 94px; /* prevent jumping up when the toolbar becomes fixed */
+       padding-bottom: 94px; /* offset for above so the bottom doesn't get cut off */
+}
+
+.media-frame.mode-grid .attachment:focus,
+.media-frame.mode-grid .selected.attachment:focus,
+.media-frame.mode-grid .attachment.details:focus {
+       -webkit-box-shadow:
+               inset 0 0 2px 3px #f1f1f1,
+               inset 0 0 0 7px #5b9dd9;
+       box-shadow:
+               inset 0 0 2px 3px #f1f1f1,
+               inset 0 0 0 7px #5b9dd9;
+       outline: none;
+}
+
+.media-frame.mode-grid .selected.attachment {
+       -webkit-box-shadow:
+               inset 0 0 0 5px #f1f1f1,
+               inset 0 0 0 7px #ccc;
+       box-shadow:
+               inset 0 0 0 5px #f1f1f1,
+               inset 0 0 0 7px #ccc;
+}
+
+.media-frame.mode-grid .attachment.details {
+       -webkit-box-shadow:
+               inset 0 0 0 3px #f1f1f1,
+               inset 0 0 0 7px #1e8cbe;
+       box-shadow:
+               inset 0 0 0 3px #f1f1f1,
+               inset 0 0 0 7px #1e8cbe;
+}
+
+.media-frame.mode-grid.mode-select .attachment .thumbnail {
+       opacity: 0.65;
+}
+
+.media-frame.mode-select .attachment.selected .thumbnail {
+       opacity: 1;
+}
+
+.media-frame.mode-grid .media-toolbar {
+       margin-bottom: 15px;
+       height: auto;
+}
+
+.media-frame.mode-grid .media-toolbar select {
+       margin: 0 10px 0 0;
+       font-size: 14px;
+}
+
+.media-frame.mode-grid .media-toolbar-secondary > .media-button {
+       margin-top: 10px;
+       margin-bottom: 10px;
+}
+
+.media-frame.mode-grid .attachments-browser .bulk-select {
+       display: inline-block;
+       margin: 0 10px 0 0;
+}
+
+.media-frame.mode-grid .search {
+       margin-top: 0;
+}
+
+.media-frame.mode-grid .spinner {
+       margin-top: 15px;
+}
+
+.attachments-browser .media-toolbar-secondary > .select-mode-toggle-button {
+       margin-right: 10px;
 }
-.describe label {
+
+.media-frame.mode-select .attachments-browser.fixed .media-toolbar {
+       position: fixed;
+       top: 32px;
+       left: auto;
+       right: 20px;
+       margin-top: 0;
+}
+
+.media-frame.mode-grid .attachments-browser {
+       padding: 0;
+}
+
+.media-frame.mode-grid .attachments-browser .attachments {
+       padding: 2px;
+}
+
+.media-frame.mode-grid .attachments-browser .no-media {
+       color: #999;
+       font-size: 18px;
+       font-style: normal;
+       margin: 0;
+       padding: 100px 0 0;
+       text-align: center;
+}
+
+/**
+ * Attachment details modal
+ */
+
+.edit-attachment-frame {
+       display: block;
+       height: 100%;
+       width: 100%;
+}
+
+.edit-attachment-frame .edit-media-header {
+       overflow: hidden;
+}
+
+.upload-php .media-modal-close .media-modal-icon:before {
+       content: '\f335';
+       font-size: 22px;
+}
+
+.upload-php .media-modal-close .media-modal-icon {
+       margin: 14px;
+       width: 22px;
+}
+
+.upload-php .media-modal-close,
+.edit-attachment-frame .edit-media-header .left,
+.edit-attachment-frame .edit-media-header .right {
+       cursor: pointer;
+       color: #777;
+       background-color: transparent;
+       height: 50px;
+       width: 50px;
+       padding: 0;
+       position: absolute;
+       text-align: center;
+       border: 0;
+       border-left: 1px solid #ddd;
+       -webkit-transition: color .1s ease-in-out, background .1s ease-in-out;
+    transition: color .1s ease-in-out, background .1s ease-in-out;
+}
+
+.upload-php .media-modal-close {
+       top: 0;
+       right: 0;
+}
+
+.edit-attachment-frame .edit-media-header .left {
+       right: 102px;
+}
+
+.edit-attachment-frame .edit-media-header .right {
+       right: 51px;
+}
+
+.edit-attachment-frame .media-frame-title {
+       left: 0;
+       right: 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;
 }
-.describe td {
-       vertical-align: middle;
+
+.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;
 }
-.describe td.A1 {
-       width: 132px;
+
+.upload-php .media-modal-close:focus .media-modal-icon:before,
+.upload-php .media-modal-close:hover .media-modal-icon:before {
+       color: #000;
 }
-.describe input[type="text"], .describe textarea {
-       width: 460px;
+
+.edit-attachment-frame .edit-media-header .left:before,
+.rtl .edit-attachment-frame .edit-media-header .right:before {
+       content: '\f341';
+}
+
+.edit-attachment-frame .edit-media-header .right:before,
+.rtl .edit-attachment-frame .edit-media-header .left:before {
+       content: '\f345';
+}
+
+.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 {
+       left: 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;
+       right: 0;
+       left: 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: left;
+       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%;
 }
-.describe-toggle-on, .describe-toggle-off {
+
+.edit-attachment-frame .attachment-media-view .details-image {
        display: block;
-       line-height: 36px;
-       float: right;
-       margin-right: 20px;
+       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 */
 }
-.describe-toggle-off {
-       display: none;
+
+.edit-attachment-frame .wp-media-wrapper {
+       margin-bottom: 12px;
+}
+
+.edit-attachment-frame input,
+.edit-attachment-frame textarea {
+       padding: 6px 8px;
+       line-height: 16px;
 }
 
-.clickmask {
+.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-left: 1px solid #ddd;
+       background: #f3f3f3;
 }
 
-.hidden {
-       height: 0px;
-       width: 0px;
+.edit-attachment-frame .attachment-info .details,
+.edit-attachment-frame .attachment-info .settings {
+       position: relative; /* RTL fix, #WP29352 */
        overflow: hidden;
-       border: none;
+       float: none;
+       margin-bottom: 15px;
+       padding-bottom: 15px;
+       border-bottom: 1px solid #ddd;
 }
 
-/* Specific to Uploader */
+.edit-attachment-frame .attachment-info .filename {
+       font-weight: normal;
+       color: #666;
+}
 
-#media-upload .media-upload-form p {
-       margin: 0 1em 1em 0;
+.edit-attachment-frame .attachment-info .thumbnail {
+       margin-bottom: 12px;
 }
 
-#media-upload .media-upload-form p.ml-submit {
-       padding: 1em 0;
+.attachment-info .actions {
+       margin-bottom: 16px;
 }
 
-#media-upload p.help {
-       font-style: italic;
-       font-weight: normal;
+.attachment-info .actions a {
+       display: inline;
+       text-decoration: none;
 }
-#media-upload tr.image-size td.field {
-       text-align: center;
+
+
+/*------------------------------------------------------------------------------
+  14.2 - Image Editor
+------------------------------------------------------------------------------*/
+
+.wp_attachment_details label[for="content"] {
+       font-size: 13px;
+       line-height: 1.5;
+       margin: 1em 0;
 }
-#media-upload #media-items {
-       border-width: 1px;
-       border-style: solid;
-       border-bottom: none;
-       width: 623px;
+
+.wp_attachment_details #attachment_caption {
+       height: 4em;
 }
 
-#media-upload .media-item {
+.describe .image-editor {
+       vertical-align: top;
+}
+
+.imgedit-wrap {
        position: relative;
-       border-bottom-width: 1px;
-       border-bottom-style: solid;
-       min-height: 36px;
-       width: 100%;
 }
 
-#media-upload .ui-sortable .media-item {
-       cursor: move;
+.imgedit-settings p {
+       margin: 8px 0 0;
 }
 
-.filename {
-       float: left;
-       line-height: 36px;
-       margin-left: 10px;
+.describe .imgedit-wrap .imgedit-settings {
+       padding: 0 5px;
+}
+
+.wp_attachment_holder div.updated {
+       margin-top: 0;
+}
+
+.wp_attachment_holder .imgedit-wrap > div {
+       height: auto;
+       overflow: hidden;
+}
+
+.wp_attachment_holder .imgedit-wrap .imgedit-panel-content {
+       padding-right: 16px;
+       width: auto;
        overflow: hidden;
-       max-width: 430px;
 }
-#media-upload .describe {
-       border-top-width: 1px;
-       border-top-style: solid;
-       padding: 5px;
+
+.wp_attachment_holder .imgedit-wrap .imgedit-settings {
+       float: right;
+       width: 250px;
+}
+
+.imgedit-settings input {
+       margin-top: 0;
+       vertical-align: middle;
+}
+
+.imgedit-wait {
+       position: absolute;
+       top: 0;
+       background: #fff url(../images/spinner.gif) no-repeat center;
+       -webkit-background-size: 20px 20px;
+       background-size: 20px 20px;
+       opacity: 0.7;
+       filter: alpha(opacity=70);
        width: 100%;
-       clear: both;
-       cursor: default;
+       height: 500px;
+       display: none;
 }
-#media-upload .describe th.label {
-       padding-top: .5em;
-       text-align: left;
+
+.no-float {
+       float: none;
+}
+
+.media-disabled,
+.imgedit-settings .disabled {
+       color: grey;
+}
+
+.wp_attachment_image,
+.A1B1 {
+       overflow: hidden;
+}
+
+.wp_attachment_image .button,
+.A1B1 .button {
+       float: left;
+}
+
+.no-js .wp_attachment_image .button {
+       display: none;
+}
+
+.wp_attachment_image .spinner,
+.A1B1 .spinner {
+       float: left;
+       padding: 0 0 4px 0;
+       vertical-align: bottom;
 }
-#media-upload tr.align td.field {
+
+.imgedit-menu {
+       margin: 0 0 12px;
+       min-width: 300px;
+}
+
+.imgedit-menu div {
+       float: left;
+       width: 32px;
+       border: 1px solid #d5d5d5;
+       background: #f1f1f1;
+       margin: 0 8px 0 0;
+       height: 32px;
+       -webkit-font-smoothing: antialiased;
+       -moz-osx-font-smoothing: grayscale;
        text-align: center;
+       line-height: 28px;
+       color: #777;
+       cursor: pointer;
 }
-#media-upload tr.image-size {
-       margin-bottom: 1em;
-       height: 3em;
+
+.imgedit-menu div:before {
+       font: normal 20px/1 'dashicons';
+       speak: none;
+       vertical-align: middle;
 }
 
-#media-upload #filter {
-       width: 623px;
+.imgedit-menu div:hover {
+       border-color: #c1c1c1;
+       background-color: #eaeaea;
+       color: #333;
 }
 
-#media-upload #filter .subsubsub {
-       margin: 8px 0;
+.imgedit-menu div.disabled {
+       border-color: #ccc;
+       background-color: #ddd;
+       color: #777;
+       filter: alpha(opacity=50);
+       opacity: 0.5;
+       cursor: default;
 }
 
-#filter .tablenav select {
-       border-style:solid;
-       border-width:1px;
-       padding:2px;
-       vertical-align:top;
+.imgedit-crop:before {
+       content:'\f165';
 }
 
-#media-upload a.delete,
-#media-upload a.del-link {
-       padding: 0 3px 1px;
+.imgedit-rleft:before {
+       content:'\f166';
 }
 
-#media-upload .del-attachment {
-       display: none;
+.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 8px 0 0;
+}
+
+.imgedit-rleft {
+       margin: 0 3px;
+}
+
+.imgedit-rright {
+       margin: 0 8px 0 3px;
+}
+
+.imgedit-flipv {
+       margin: 0 3px;
+}
+
+.imgedit-fliph {
+       margin: 0 8px 0 3px;
+}
+
+.imgedit-undo {
+       margin: 0 3px;
+}
+
+.imgedit-redo {
+       margin: 0 8px 0 3px;
+}
+
+.imgedit-applyto img {
+       margin: 0 8px 0 0;
+}
+
+.imgedit-group-top {
        margin: 5px 0;
 }
 
-.menu_order {
-       float: right;
-       font-size: 11px;
-       margin: 10px 10px 0;
+#poststuff .imgedit-group-top h3 {
+       padding: 0;
 }
 
-.menu_order_input {
-       border: 1px solid #DDDDDD;
-       font-size: 10px;
-       padding: 1px;
-       width: 23px;
+.imgedit-group-top h3 a {
+       text-decoration: none;
 }
 
-.ui-sortable-helper {
-       background-color: #fff;
-       border: 1px solid #aaa;
-       opacity: 0.6;
-       filter: alpha(opacity=60);
+.imgedit-applyto .imgedit-label {
+       padding: 2px 0 0;
+       display: block;
+}
+
+.imgedit-help {
+       display: none;
+       font-style: italic;
+}
+
+a.imgedit-help-toggle {
+       text-decoration: none;
 }
 
-#media-upload th.order-head {
-        width: 25%;
-        text-align: center;
+.form-table td.imgedit-response {
+       padding: 0;
+}
+
+.imgedit-submit {
+       margin: 8px 0;
+}
+
+.imgedit-submit-btn {
+       margin-left: 20px;
+}
+
+.imgedit-wrap .nowrap {
+       white-space: nowrap;
+}
+
+span.imgedit-scale-warn {
+       color: red;
+       font-size: 20px;
+       font-style: normal;
+       visibility: hidden;
+       vertical-align: middle;
 }
 
-#media-upload .widefat {
-       width: 626px;
-       border-style: solid solid none;
+.imgedit-group {
+       margin-bottom: 8px;
+       padding: 2px 10px;
+}
+
+audio, video {
+       display: inline-block;
+       max-width: 100%;
+}
+
+.mejs-container {
+       width: 100%;
+       max-width: 100%;
+}
+
+/* =Media Queries
+-------------------------------------------------------------- */
+
+/**
+ * HiDPI Displays
+ */
+@media print,
+  (-o-min-device-pixel-ratio: 5/4),
+  (-webkit-min-device-pixel-ratio: 1.25),
+  (min-resolution: 120dpi) {
+       .imgedit-wait {
+               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 0 10px 12px;
+       }
+}
+
+/**
+ * Media queries for media grid.
+ */
+
+@media only screen and (max-width: 1120px) {
+       .media-frame.mode-grid .attachments-browser .media-toolbar-secondary {
+               float: none;
+       }
+}
+
+@media only screen and ( max-width: 782px ) {
+       .media-frame.mode-select .attachments-browser.fixed .media-toolbar {
+               top: 46px;
+               right: 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 {
+               right: 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 {
+               right: 82px;
+       }
+
+       .edit-attachment-frame .edit-media-header .right {
+               right: 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%;
+       }
 }
 
-.sorthelper {
-       z-index: -1;
+@media only screen and (max-width: 640px), screen and (max-height: 400px) {
+       .upload-php .mode-grid .media-sidebar{
+               max-width: 100%;
+       }
 }