]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/css/media-views.css
WordPress 4.4
[autoinstalls/wordpress.git] / wp-includes / css / media-views.css
index 2d4aba74534734663f77670d91423e6a6897ab55..c20c17945cccfe6d019d23fdae33481c8eda6391 100644 (file)
@@ -7,12 +7,12 @@
        box-sizing: content-box;
 }
 
-.media-frame input,
-.media-frame select,
-.media-frame textarea {
-    -webkit-box-sizing: border-box;
-    -moz-box-sizing: border-box;
-    box-sizing: border-box;
+.media-modal input,
+.media-modal select,
+.media-modal textarea {
+       -webkit-box-sizing: border-box;
+       -moz-box-sizing: border-box;
+       box-sizing: border-box;
 }
 
 .media-modal,
 
 .media-frame a {
        border-bottom: none;
-       color: #21759b;
+       color: #0073aa;
+}
+
+.media-frame a:hover,
+.media-frame a:active {
+       color: #00a0d2;
 }
 
-.media-frame a:hover {
-       color: #d54e21;
+.media-frame a:focus {
+       -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);
+       outline: none;
+       color: #124964;
 }
 
 .media-frame a.button {
 }
 
 .media-modal-close .media-modal-icon:before {
-       content: '\f158';
-       font: normal 20px/1 'dashicons';
+       content: "\f158";
+       font: normal 20px/1 dashicons;
        speak: none;
        vertical-align: middle;
        -webkit-font-smoothing: antialiased;
        -webkit-font-smoothing: subpixel-antialiased;
 }
 
+.media-modal-content .media-frame select.attachment-filters {
+       margin-top: 11px;
+       margin-right: 2%;
+       width: 42%;
+       width: -webkit-calc(48% - 12px);
+       width: calc(48% - 12px);
+}
+
+.media-modal-content .attachments-browser .media-toolbar-secondary {
+       width: 66%;
+}
+
+.media-modal-content .media-toolbar-primary.search-form {
+       width: 33%;
+}
+
+.media-modal-content .media-toolbar-primary .media-button {
+       float: right;
+}
+
+.media-modal-content .attachments-browser .search {
+       width: 100%;
+}
+
 /* higher specificity */
 .wp-core-ui .media-modal-icon {
        background-image: url(../images/uploader-icons.png);
        width: 100%;
 }
 
-.media-sidebar h3,
-.image-details h3 {
+.media-sidebar h3, /* Back-compat for pre-4.4 */
+.image-details h3, /* Back-compat for pre-4.4 */
+.media-sidebar h2,
+.image-details h2 {
        position: relative;
        font-weight: bold;
        text-transform: uppercase;
 }
 
 .media-menu > a:hover {
-       color: #21759B;
+       color: #0073aa;
        background: rgba( 0, 0, 0, 0.04 );
 }
 
 .wp-core-ui .attachment.details {
        -webkit-box-shadow:
                inset 0 0 0 3px #fff,
-               inset 0 0 0 7px #1e8cbe;
+               inset 0 0 0 7px #0073aa;
        box-shadow:
                inset 0 0 0 3px #fff,
-               inset 0 0 0 7px #1e8cbe;
+               inset 0 0 0 7px #0073aa;
 }
 
 .wp-core-ui .attachment-preview {
 }
 
 .wp-core-ui .attachment-preview:before {
-       content: '';
+       content: "";
        display: block;
        padding-top: 100%;
 }
 }
 
 .wp-core-ui .attachment .thumbnail:after {
-       content: '';
+       content: "";
        display: block;
        position: absolute;
        top: 0;
 .wp-core-ui .attachment.details .check,
 .wp-core-ui .attachment.selected .check:focus,
 .wp-core-ui .media-frame.mode-grid .attachment.selected .check {
-       background-color: #1e8cbe;
+       background-color: #0073aa;
        -webkit-box-shadow:
                0 0 0 1px #fff,
-               0 0 0 2px #1e8cbe;
+               0 0 0 2px #0073aa;
        box-shadow:
                0 0 0 1px #fff,
-               0 0 0 2px #1e8cbe;
+               0 0 0 2px #0073aa;
 }
 
 .wp-core-ui .attachment.details .check .media-modal-icon,
 }
 
 .uploader-inline .close:before {
-       font: normal 30px/50px 'dashicons' !important;
+       font: normal 30px/50px dashicons !important;
        color: #777;
        display: inline-block;
-       content: '\f335';
+       content: "\f335";
        font-weight: 300;
 }
 
        height: 10px;
        min-width: 20px;
        width: 0;
-       background: #1e8cbe;
+       background: #0073aa;
        -webkit-border-radius: 10px;
        border-radius: 10px;
        -webkit-transition: width 300ms;
        max-width: 400px;
 }
 
-.uploader-inline .media-uploader-status h3 {
+.uploader-inline .media-uploader-status h3, /* Back-compat for pre-4.4 */
+.uploader-inline .media-uploader-status h2 {
        display: none;
 }
 
        padding: 12px;
        margin-bottom: 12px;
        background: #fff;
-       border-left: 4px solid #dd3d36;
+       border-left: 4px solid #dc3232;
        -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);
 }
 
+.uploader-inline .upload-errors .upload-error {
+       background-color: #fbeaea;
+       -webkit-box-shadow: none;
+       box-shadow: none;
+}
+
 .upload-errors .upload-error-filename {
        font-weight: bold;
 }
        border: 1px dashed #fff;
 }
 
-.uploader-window h3 {
+.uploader-window h3, /* Back-compat for pre-4.4 */
+.uploader-window h1 {
        margin: -0.5em 0 0;
        position: absolute;
        top: 50%;
        margin: 0 0 4em;
 }
 
-.uploader-inline h3 {
+.uploader-inline h3, /* Back-compat for pre-4.4 */
+.uploader-inline h2 {
        font-size: 20px;
        line-height: 28px;
        font-weight: 400;
        margin: 1px 8px 1px -8px;
        line-height: 16px;
        border-right: 1px solid #dfdfdf;
-       color: #21759B;
+       color: #0073aa;
 }
 
 .media-selection .button-link:hover,
 .media-selection .button-link:focus {
-       background: #21759B;
-       color: #fff;
-       border-color: transparent;
+       color: #00a0d2;
 }
 
 .media-selection .button-link:last-child {
 }
 
 .selection-info .clear-selection {
-       color: red;
+       color: #bc0b0b;
 }
 
 .selection-info .clear-selection:hover,
 .selection-info .clear-selection:focus {
-       background: red;
-       color: #fff;
+       color: red;
 }
 
 .media-selection .selection-view {
 .wp-core-ui .media-selection .attachment.details {
        -webkit-box-shadow:
                0 0 0 1px #fff,
-               0 0 0 3px #1e8cbe;
+               0 0 0 3px #0073aa;
        box-shadow:
                0 0 0 1px #fff,
-               0 0 0 3px #1e8cbe;
+               0 0 0 3px #0073aa;
 }
 
 .media-selection:after {
-       content: '';
+       content: "";
        display: block;
        position: absolute;
        top: 0;
        width: 25px;
        background-image: -webkit-gradient(linear, right top, left top, from(rgba( 255, 255, 255, 1 )), to(rgba( 255, 255, 255, 0 )));
        background-image: -webkit-linear-gradient(right, rgba( 255, 255, 255, 1 ), rgba( 255, 255, 255, 0 ));
-       background-image: linear-gradient(to left, rgba( 255, 255, 255, 1 ) ,  rgba( 255, 255, 255, 0 ) );
+       background-image: linear-gradient(to left, rgba( 255, 255, 255, 1 ), rgba( 255, 255, 255, 0 ));
 }
 
 .media-selection .attachment .filename {
 }
 
 .attachment-info .thumbnail-image:after {
-       content: '';
+       content: "";
        display: block;
        position: absolute;
        top: 0;
        padding: 0;
 }
 
-.media-modal .imgedit-group-top h3 {
+.media-modal .imgedit-group-top h3, /* Back-compat for pre-4.4 */
+.media-modal .imgedit-group-top h2 {
        text-transform: uppercase;
        font-size: 12px;
        color: #666;
        margin-top: 24px;
 }
 
-.media-modal .imgedit-group-top h3 a {
+.media-modal .imgedit-group-top h3 a, /* Back-compat for pre-4.4 */
+.media-modal .imgedit-group-top h2 a {
        text-decoration: none;
        color: #666;
 }
 }
 
 .media-modal .imgedit-help-toggled span.dashicons:before {
-       content: '\f142';
+       content: "\f142";
 }
 
 .media-modal .imgedit-group img {
        left: 0;
 }
 
-.image-details .column-settings h3 {
+.image-details .column-settings h3, /* Back-compat for pre-4.4 */
+.image-details .column-settings h2 {
        margin: 20px;
        padding-top: 20px;
        border-top: 1px solid #ddd;
+       color: #23282d;
 }
 
 .image-details .column-image {
 }
 
 .image-details .advanced-toggle:after {
-       font: normal 20px/1 'dashicons';
+       font: normal 20px/1 dashicons;
        speak: none;
        vertical-align: top;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
-       content: '\f140';
+       content: "\f140";
        display: inline-block;
        margin-top: -2px;
 }
 
 .image-details .advanced-visible .advanced-toggle:after {
-       content: '\f142';
+       content: "\f142";
 }
 
 .image-details .embed-media-settings .size {
 }
 
 .image-details .custom-size:after {
-       content: '';
+       content: "";
        display: table;
        clear: both;
 }
 }
 
 .media-embed .thumbnail:after {
-       content: '';
+       content: "";
        display: block;
        position: absolute;
        top: 0;
 
        .media-frame:not(.hide-menu) .media-frame-title {
                left: 0;
-               color: #21759b;
        }
 
        .media-frame:not(.hide-menu) .media-frame-title .dashicons {
        }
 
        .media-frame:not(.hide-menu) .media-frame-title h1 {
+               color: #0073aa;
                line-height: 3;
                font-size: 18px;
                float: left;