]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/css/media-views.css
WordPress 4.5
[autoinstalls/wordpress.git] / wp-includes / css / media-views.css
index c20c17945cccfe6d019d23fdae33481c8eda6391..7f69a0edbda785d43803f56a68e69f0ff77fe100 100644 (file)
        -webkit-overflow-scrolling: touch;
 }
 
+.media-modal legend,
+.media-modal label {
+       font-size: 13px;
+}
+
 .media-frame input,
 .media-frame textarea {
        padding: 6px 8px;
@@ -79,7 +84,7 @@
        font-size: 12px;
        border-width: 1px;
        border-style: solid;
-       border-color: #dfdfdf;
+       border-color: #ddd;
 }
 
 .media-frame input[type="text"]:focus,
        -webkit-appearance: textfield;
 }
 
-.media-frame :-moz-placeholder {
-   color: #a9a9a9;
+.media-frame ::-webkit-input-placeholder {
+       color: #72777c;
+}
+
+.media-frame ::-moz-placeholder {
+       color: #72777c;
+       opacity: 1;
+}
+
+.media-frame :-ms-input-placeholder {
+       color: #72777c;
 }
 
 .media-frame .hidden {
        z-index: 100;
        height: 60px;
        padding: 0 16px;
-       border: 0 solid #dfdfdf;
+       border: 0 solid #ddd;
        overflow: hidden;
 }
 
        color: #666;
 }
 
-.compat-item label span  {
+.compat-item label span {
        text-align: right;
 }
 
 }
 
 .media-frame.hide-router .media-frame-title {
-       border-bottom: 1px solid #dfdfdf;
+       border-bottom: 1px solid #ddd;
        -webkit-box-shadow: 0 4px 4px -4px rgba( 0, 0, 0, 0.1 );
        box-shadow: 0 4px 4px -4px rgba( 0, 0, 0, 0.1 );
 }
        margin-top: 11px;
        padding: 4px;
        font-size: 13px;
-       color: #464646;
+       color: #444;
        font-family: "Open Sans", sans-serif;
        -webkit-appearance: none;
 }
        float: left;
        padding: 8px;
        margin: 0;
-       color: #464646;
+       color: #444;
        cursor: pointer;
        list-style: none;
        text-align: center;
 
 .uploader-inline .close:before {
        font: normal 30px/50px dashicons !important;
-       color: #777;
+       color: #72777c;
        display: inline-block;
        content: "\f335";
        font-weight: 300;
        margin: 10px auto;
        -webkit-border-radius: 10px;
        border-radius: 10px;
-       background: #dfdfdf;
+       background: #ddd;
        background: rgba( 0, 0, 0, 0.1 );
 }
 
 }
 
 .media-uploader-status .upload-count {
-       color: #464646;
+       color: #444;
 }
 
 .media-uploader-status .upload-dismiss-errors,
 
 .uploader-inline .has-upload-message .upload-instructions {
        font-size: 14px;
-       color: #464646;
+       color: #444;
        font-weight: normal;
 }
 
        padding: 1px 8px;
        margin: 1px 8px 1px -8px;
        line-height: 16px;
-       border-right: 1px solid #dfdfdf;
+       border-right: 1px solid #ddd;
        color: #0073aa;
 }
 
 
 .attachment-info .filename {
        font-weight: bold;
-       color: #464646;
+       color: #444;
        word-wrap: break-word;
 }
 
        position: static;
 }
 
-.media-modal .imgedit-wait {
-       height: auto !important;
-       right: 0;
-       bottom: 0;
-       left: 0;
-}
-
 .media-modal .imgedit-wrap .imgedit-panel-content {
        padding: 16px;
        position: absolute;
 .media-modal .imgedit-wrap .imgedit-settings {
        background: #f3f3f3;
        border-left: 1px solid #ddd;
-       padding: 0 16px 16px;
+       padding: 20px 16px 16px;
        position: absolute;
        top: 0;
        right: 0;
        padding: 0;
 }
 
+.media-modal .imgedit-group-top {
+       margin: 0;
+}
+
 .media-modal .imgedit-group-top h3, /* Back-compat for pre-4.4 */
-.media-modal .imgedit-group-top h2 {
+.media-modal .imgedit-group-top h2,
+.media-modal .imgedit-group-top h2 .button-link {
+       display: inline-block;
        text-transform: uppercase;
        font-size: 12px;
        color: #666;
        margin: 0;
-       margin-top: 24px;
+       margin-top: 3px;
 }
 
 .media-modal .imgedit-group-top h3 a, /* Back-compat for pre-4.4 */
-.media-modal .imgedit-group-top h2 a {
+.media-modal .imgedit-group-top h2 a,
+.media-modal .imgedit-group-top h2 .button-link {
        text-decoration: none;
        color: #666;
 }
 
-.media-modal .imgedit-help-toggle {
-       margin-top: -2px;
+/* higher specificity than media.css */
+.wp-core-ui.media-modal .image-editor .imgedit-help-toggle,
+.wp-core-ui.media-modal .image-editor .imgedit-help-toggle:hover,
+.wp-core-ui.media-modal .image-editor .imgedit-help-toggle:active {
+       border: 1px solid transparent;
+       margin: 0;
+       padding: 0;
+       background: transparent;
+       color: #0074a2;
+       font-size: 20px;
+       line-height: 1;
        cursor: pointer;
-       color: #666;
+       -webkit-box-sizing: content-box;
+       -moz-box-sizing: content-box;
+       box-sizing: content-box;
+       -webkit-box-shadow: none;
+       box-shadow: none;
+}
+
+.wp-core-ui.media-modal .image-editor .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 );
+}
+
+.wp-core-ui.media-modal .imgedit-group-top .dashicons-arrow-down.imgedit-help-toggle {
+       margin-top: -3px;
+}
+
+.wp-core-ui.media-modal .image-editor h3 .imgedit-help-toggle {
+       margin-top: -2px;
 }
 
 .media-modal .imgedit-help-toggled span.dashicons:before {
        content: "\f142";
 }
 
-.media-modal .imgedit-group img {
-       margin-top: 5px;
+.media-modal .imgedit-thumbnail-preview {
+       margin: 10px 8px 0 0;
+}
+
+.imgedit-thumbnail-preview-caption {
+       display: block;
 }
 
 .media-modal .imgedit-wrap div.updated {
 }
 
 .image-details .custom-size span small {
-       color: #999;
+       color: #555d66; /* #f3f3f3 background */
        font-size: inherit;
 }
 
   (-webkit-min-device-pixel-ratio: 1.25),
   (min-resolution: 120dpi) {
 
-       .media-modal-icon {
+       .wp-core-ui .media-modal-icon {
                background-image: url(../images/uploader-icons-2x.png);
                -webkit-background-size: 134px 15px;
                background-size: 134px 15px;