]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/css/media-rtl.css
WordPress 4.5
[autoinstalls/wordpress.git] / wp-admin / css / media-rtl.css
index 2ad628040e4fadb1f73f792c066da5b1d794241c..43cb84a15e6b17d9b08ac51e94ea2ea4ce956209 100644 (file)
@@ -5,7 +5,7 @@
 .media-item .describe {
        border-collapse: collapse;
        width: 100%;
-       border-top: 1px solid #dfdfdf;
+       border-top: 1px solid #ddd;
        clear: both;
        cursor: default;
 }
        display: block;
        line-height: 36px;
        float: left;
+       margin-left: 10px;
 }
 
 .media-item .describe-toggle-off,
        display: block;
 }
 
-#media-items .media-item {
-       border-bottom: 1px solid #dfdfdf;
+.media-upload-form .media-item {
        min-height: 36px;
+       margin-bottom: 1px;
        position: relative;
        width: 100%;
+       background: #fff;
 }
 
-#media-items {
-       width: 623px;
-}
-
-.media-new-php #media-items {
-       margin: 1em 0;
+.media-upload-form .media-item,
+.media-upload-form .media-item .error {
+       -webkit-box-shadow: 0 1px 0 #ddd;
+       box-shadow: 0 1px 0 #ddd;
 }
 
 #media-items:empty {
 .media-item .filename {
        line-height: 36px;
        overflow: hidden;
-}
-
-.media-item .error-div {
-       padding-right: 10px;
+       margin-right: 6px;
 }
 
 .media-item .pinkynail {
        float: right;
-       margin: 2px 0 0 10px;
+       margin: 2px 3px 0 10px;
        max-width: 40px;
        max-height: 32px;
 }
 .media-item .progress {
        float: left;
        height: 22px;
-       margin: 7px 0 0;
+       margin: 7px 6px;
        width: 200px;
        line-height: 2em;
        padding: 0;
        overflow: hidden;
-       margin-bottom: 2px;
        -webkit-border-radius: 22px;
        border-radius: 22px;
        background: #ddd;
-       -webkit-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
-       box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
+       -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);
 }
 
 .media-item .bar {
        margin-top: -22px;
        -webkit-border-radius: 22px;
        border-radius: 22px;
-       background-color: #0074a2;
+       background-color: #0073aa;
        -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);
 }
        text-align: center;
        line-height: 22px;
        font-weight: 400;
-       text-shadow: 0px 1px 2px rgba(0,0,0,0.2);
+       text-shadow: 0 1px 2px rgba(0,0,0,0.2);
 }
 
 .upload-php .fixed .column-parent {
        display: block;
 }
 
-.media-upload-form .media-item.error {
-       margin: 0;
-       padding: 0;
+.media-upload-form .media-item.error,
+.media-upload-form .media-item .error {
+       width: auto;
+       margin: 0 0 1px 0;
 }
 
-.media-upload-form .media-item.error p,
-.media-item .error-div {
-       line-height: 16px;
-       margin: 5px 10px;
-       padding: 0;
+.media-upload-form .media-item .error {
+       padding: 10px 14px 10px 0;
 }
 
 .media-item .error-div a.dismiss {
        display: block;
        float: left;
-       margin: 5px 15px 0 4px;
+       margin: 0 15px 0 10px;
 }
 
 /*------------------------------------------------------------------------------
 
 .find-box-head {
        background: #fcfcfc;
-       border-bottom: 1px solid #dfdfdf;
+       border-bottom: 1px solid #ddd;
        height: 36px;
        font-size: 18px;
        font-weight: 600;
 
 .find-box-search .spinner {
        float: none;
-       right: 125px;
+       right: 105px;
        position: absolute;
-       top: 18px;
+}
+
+.find-box-search,
+#find-posts-response {
+       position: relative; /* RTL fix, #WP28010 */
 }
 
 #find-posts-input,
 }
 
 #find-posts-close:hover {
-       color: #2ea2cc;
+       color: #00a0d2;
 }
 
 #find-posts-close:before {
-       font: normal 20px/36px 'dashicons';
+       font: normal 20px/36px dashicons;
        vertical-align: top;
        speak: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
-       content: '\f158';
+       content: "\f158";
 }
 
 .find-box-buttons {
        padding: 8px 16px;
        background: #fcfcfc;
-       border-top: 1px solid #dfdfdf;
+       border-top: 1px solid #ddd;
        position: absolute;
        bottom: 0;
        right: 0;
@@ -386,12 +384,10 @@ form.upgrade .hint {
        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;
+       border: 4px dashed #b4b9be;
        height: 200px;
 }
 
@@ -401,7 +397,7 @@ form.upgrade .hint {
 }
 
 .drag-drop-inside p {
-       color: #aaa;
+       color: #a0a5aa;
        font-size: 14px;
        margin: 5px 0;
        display: none;
@@ -433,6 +429,393 @@ border color while dragging a file over the uploader drop area */
        position: relative;
 }
 
+/**
+ * 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;
+}
+
+.upload-php .mode-grid .media-sidebar {
+       position: relative;
+       width: auto;
+       margin-bottom: 16px;
+       padding: 0 16px;
+       border-right: 4px solid #dd3d36;
+       -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
+       box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
+       background-color: #fff;
+}
+
+.upload-php .mode-grid .hide-sidebar .media-sidebar {
+       display: 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: 12px 0;
+       padding: 4px 0 0;
+       border: none;
+       -webkit-box-shadow: none;
+       box-shadow: none;
+       background: none;
+}
+
+.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors {
+       top: -10px;
+       left: -14px;
+       padding: 10px;
+}
+
+.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:before {
+       content: "\f153";
+       display: block;
+       font: normal 16px/1 dashicons;
+       color: #b4b9be;
+}
+
+.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: #c00;
+}
+
+.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h3, /* Back-compat for pre-4.4 */
+.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h2 {
+       display: none;
+}
+
+.media-frame.mode-grid .uploader-inline {
+       position: relative;
+       top: auto;
+       left: auto;
+       right: auto;
+       bottom: auto;
+       padding-top: 0;
+       margin-top: 0;
+       border: 4px dashed #b4b9be;
+}
+
+.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 0 0 10px;
+       font-size: 14px;
+}
+
+.media-frame.mode-grid.mode-edit .media-toolbar-secondary > .select-mode-toggle-button {
+       margin: 0 0 0 8px;
+       vertical-align: middle;
+}
+
+.media-frame.mode-grid .attachments-browser .bulk-select {
+       display: inline-block;
+       margin: 0 0 0 10px;
+}
+
+.media-frame.mode-grid .search {
+       margin-top: 0;
+}
+
+.media-frame.mode-grid .spinner {
+       margin-top: 16px;
+}
+
+.attachments-browser .media-toolbar-secondary > .media-button {
+       margin-left: 10px;
+}
+
+.media-frame.mode-select .attachments-browser.fixed .media-toolbar {
+       position: fixed;
+       top: 32px;
+       right: auto;
+       left: 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: #666; /* same as no plugins and no themes */
+       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,
+.edit-attachment-frame .edit-media-header .left,
+.edit-attachment-frame .edit-media-header .right {
+       cursor: pointer;
+       color: #72777c;
+       background-color: transparent;
+       height: 50px;
+       width: 50px;
+       padding: 0;
+       position: absolute;
+       text-align: center;
+       border: 0;
+       border-right: 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;
+       left: 0;
+}
+
+.edit-attachment-frame .edit-media-header .left {
+       left: 102px;
+}
+
+.edit-attachment-frame .edit-media-header .right {
+       left: 51px;
+}
+
+.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: normal;
+       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
@@ -454,10 +837,16 @@ border color while dragging a file over the uploader drop area */
 
 .imgedit-wrap {
        position: relative;
+       padding-top: 10px;
 }
 
-.imgedit-settings p {
-       margin: 8px 0 0;
+.imgedit-settings p,
+.imgedit-settings fieldset {
+       margin: 8px 0;
+}
+
+.imgedit-settings legend {
+       margin-bottom: 5px;
 }
 
 .describe .imgedit-wrap .imgedit-settings {
@@ -470,13 +859,11 @@ border color while dragging a file over the uploader drop area */
 
 .wp_attachment_holder .imgedit-wrap > div {
        height: auto;
-       overflow: hidden;
 }
 
 .wp_attachment_holder .imgedit-wrap .imgedit-panel-content {
-       padding-left: 16px;
-       width: auto;
-       overflow: hidden;
+       padding: 3px 0 0 16px;
+       float: right;
 }
 
 .wp_attachment_holder .imgedit-wrap .imgedit-settings {
@@ -492,26 +879,41 @@ border color while dragging a file over the uploader drop area */
 .imgedit-wait {
        position: absolute;
        top: 0;
-       background: #fff url(../images/spinner.gif) no-repeat center;
-       -webkit-background-size: 20px 20px;
-       background-size: 20px 20px;
+       bottom: 0;
+       width: 100%;
+       background: #fff;
        opacity: 0.7;
        filter: alpha(opacity=70);
-       width: 100%;
-       height: 500px;
        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  {
-       color: grey;
+.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;
 }
 
-.wp_attachment_image,
 .A1B1 {
        overflow: hidden;
 }
@@ -528,77 +930,73 @@ border color while dragging a file over the uploader drop area */
 .wp_attachment_image .spinner,
 .A1B1 .spinner {
        float: right;
-       padding: 0 0 4px 0;
-       vertical-align: bottom;
 }
 
 .imgedit-menu {
-       margin: 0 0 12px;
        min-width: 300px;
+       margin: 0 0 12px;
 }
 
-.imgedit-menu div {
+.imgedit-menu .note-no-rotate {
+       clear: both;
+       margin: 0;
+       padding: 1em 0 0;
+}
+
+.image-editor .imgedit-menu .button {
        float: right;
        width: 32px;
-       border: 1px solid #d5d5d5;
-       background: #f1f1f1;
-       margin: 0 0 0 8px;
        height: 32px;
+       margin: 0 0 0 8px;
+       padding: 0;
+       background: #f1f1f1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
-       text-align: center;
-       line-height: 28px;
-       color: #777;
-       cursor: pointer;
+       line-height: 16px;
+       color: #72777c;
 }
 
-.imgedit-menu div:before {
-       font: normal 20px/1 'dashicons';
+.imgedit-menu .button:before {
+       font: normal 20px/1 dashicons;
        speak: none;
        vertical-align: middle;
 }
 
-.imgedit-menu div:hover {
-       border-color: #c1c1c1;
-       background-color: #eaeaea;
-       color: #333;
-}
-
-.imgedit-menu div.disabled {
+.imgedit-menu .button.disabled {
        border-color: #ccc;
        background-color: #ddd;
-       color: #777;
+       color: #72777c;
        filter: alpha(opacity=50);
        opacity: 0.5;
        cursor: default;
 }
 
 .imgedit-crop:before {
-       content:'\f165';
+       content: "\f165";
 }
 
 .imgedit-rleft:before {
-       content:'\f166';
+       content: "\f166";
 }
 
 .imgedit-rright:before {
-       content:'\f167';
+       content: "\f167";
 }
 
 .imgedit-flipv:before {
-       content:'\f168';
+       content: "\f168";
 }
 
 .imgedit-fliph:before {
-       content:'\f169';
+       content: "\f169";
 }
 
 .imgedit-undo:before {
-       content:'\f171';
+       content: "\f171";
 }
 
 .imgedit-redo:before {
-       content:'\f172';
+       content: "\f172";
 }
 
 .imgedit-crop-wrap {
@@ -633,25 +1031,31 @@ border color while dragging a file over the uploader drop area */
        margin: 0 3px 0 8px;
 }
 
-.imgedit-applyto img {
-       margin: 0 0 0 8px;
+.imgedit-thumbnail-preview {
+       margin: 10px 0 0 8px;
 }
 
-.imgedit-group-top {
-       margin: 5px 0;
+.imgedit-thumbnail-preview-caption {
+       display: block;
 }
 
-#poststuff .imgedit-group-top h3 {
+#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 {
+.imgedit-group-top h3 a, /* Back-compat for pre-4.4 */
+.imgedit-group-top h2 a {
        text-decoration: none;
 }
 
 .imgedit-applyto .imgedit-label {
-       padding: 2px 0 0;
        display: block;
+       padding: .5em 0 0;
 }
 
 .imgedit-help {
@@ -659,8 +1063,31 @@ border color while dragging a file over the uploader drop area */
        font-style: italic;
 }
 
-a.imgedit-help-toggle {
-       text-decoration: none;
+/* 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 {
@@ -668,7 +1095,7 @@ a.imgedit-help-toggle {
 }
 
 .imgedit-submit {
-       margin: 8px 0;
+       margin: 8px 0 0;
 }
 
 .imgedit-submit-btn {
@@ -677,6 +1104,8 @@ a.imgedit-help-toggle {
 
 .imgedit-wrap .nowrap {
        white-space: nowrap;
+       font-size: 12px;
+       line-height: inherit;
 }
 
 span.imgedit-scale-warn {
@@ -687,9 +1116,34 @@ span.imgedit-scale-warn {
        vertical-align: middle;
 }
 
+.imgedit-save-target {
+       margin: 8px 0;
+}
+
 .imgedit-group {
        margin-bottom: 8px;
-       padding: 2px 10px;
+       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 {
@@ -699,6 +1153,7 @@ audio, video {
 
 .mejs-container {
        width: 100%;
+       max-width: 100%;
 }
 
 /* =Media Queries
@@ -708,10 +1163,9 @@ audio, video {
  * HiDPI Displays
  */
 @media print,
-  (-o-min-device-pixel-ratio: 5/4),
   (-webkit-min-device-pixel-ratio: 1.25),
   (min-resolution: 120dpi) {
-       .imgedit-wait {
+       .imgedit-wait:before {
                background-image: url(../images/spinner-2x.gif);
        }
 }
@@ -721,4 +1175,105 @@ audio, video {
                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%;
+       }
 }