]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/css/media.css
WordPress 4.7-scripts
[autoinstalls/wordpress.git] / wp-admin / css / media.css
index 71424c914c2dd4dc7ce24b442d2a89d669830d1d..65d396612cf9b565a29a9042d5d5a621a3f9eabc 100644 (file)
 #find-posts-close {
        width: 36px;
        height: 36px;
+       border: none;
+       padding: 0;
        position: absolute;
        top: 0;
        right: 0;
        cursor: pointer;
        text-align: center;
+       background: none;
        color: #666;
 }
 
-#find-posts-close:hover {
+#find-posts-close:hover,
+#find-posts-close:focus {
        color: #00a0d2;
 }
 
+#find-posts-close:focus {
+       outline: none;
+       -webkit-box-shadow:
+               0 0 0 1px #5b9dd9,
+               0 0 2px 1px rgba(30, 140, 190, .8);
+       box-shadow:
+               0 0 0 1px #5b9dd9,
+               0 0 2px 1px rgba(30, 140, 190, .8);
+}
+
 #find-posts-close:before {
        font: normal 20px/36px dashicons;
        vertical-align: top;
@@ -755,13 +769,17 @@ border color while dragging a file over the uploader drop area */
 
 .edit-attachment-frame .attachment-media-view .details-image {
        display: block;
-       margin-bottom: 16px;
+       margin: 0 auto 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 .attachment-media-view .attachment-actions {
+       text-align: center;
+}
+
 .edit-attachment-frame .wp-media-wrapper {
        margin-bottom: 12px;
 }
@@ -799,7 +817,7 @@ border color while dragging a file over the uploader drop area */
 }
 
 .edit-attachment-frame .attachment-info .filename {
-       font-weight: normal;
+       font-weight: 400;
        color: #666;
 }
 
@@ -1130,7 +1148,7 @@ span.imgedit-scale-warn {
 .imgedit-settings .imgedit-crop-sel input[type="text"] {
        width: 50px;
        font-size: 14px;
-       padding: 3px 5px;
+       padding: 5px 8px;
 }
 
 .imgedit-separator {