<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[29598] trunk/src: Media Grid: Move CSS into an admin-only file.</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/29598">29598</a></dd>
<dt>Author</dt> <dd>helen</dd>
<dt>Date</dt> <dd>2014-08-25 16:50:36 +0000 (Mon, 25 Aug 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Media Grid: Move CSS into an admin-only file.

`media-views.css` can be loaded on the front, which does not need this extra CSS.

fixes <a href="http://core.trac.wordpress.org/ticket/29340">#29340</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpadmincssmediacss">trunk/src/wp-admin/css/media.css</a></li>
<li><a href="#trunksrcwpincludescssmediaviewscss">trunk/src/wp-includes/css/media-views.css</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpadmincssmediacss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/css/media.css (29597 => 29598)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/css/media.css 2014-08-25 16:02:43 UTC (rev 29597)
+++ trunk/src/wp-admin/css/media.css    2014-08-25 16:50:36 UTC (rev 29598)
</span><span class="lines">@@ -432,7 +432,404 @@
</span><span class="cx">  position: relative;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+/**
+ * Media Library grid view
+ */
</ins><span class="cx"> 
</span><ins>+.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 {
+       z-index: 1900;
+       top: 102px;
+       bottom: auto;
+       background: #fff;
+       border-left: none;
+       padding: 16px;
+       -webkit-box-shadow: -1px 0 1px rgba(0,0,0,.3);
+       box-shadow: -1px 0 1px rgba(0,0,0,.3);
+}
+
+.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;
+}
+
+.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors {
+       font-size: 0;
+       top: -20px;
+       right:  -14px;
+}
+
+.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-grid .media-toolbar select {
+       margin-top: 1px;
+       font-size: inherit;
+}
+
+.media-frame.mode-grid .attachments-browser .bulk-select {
+       display: inline-block;
+       margin: 0 10px 0 0;
+}
+
+.media-frame.mode-grid .attachments,
+.media-frame.mode-select .attachments {
+       padding: 2px;
+}
+
+.media-frame.mode-select .attachments-browser.fixed .attachments {
+       position: relative;
+       top: 80px; /* prevent jumping up when the toolbar becomes fixed */
+       padding-bottom: 80px; /* offset for above so the bottom doesn't get cut off */
+}
+
+.media-frame.mode-grid .attachment:focus {
+       -webkit-box-shadow:
+               inset 0 0 0 5px #f1f1f1,
+               inset 0 0 1px 7px #5b9dd9;
+       box-shadow:
+               inset 0 0 0 5px #f1f1f1,
+               inset 0 0 1px 7px #5b9dd9;
+}
+
+.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 .selected.attachment:focus {
+       -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;
+}
+
+/**
+ * Copied styles from the Add theme toolbar.
+ *
+ * This should be OOCSS'd so both use a shared selector.
+ */
+.media-frame.mode-grid .attachments-browser .media-toolbar {
+       background: #fff;
+       -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
+       box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
+       -webkit-box-sizing: border-box;
+       -moz-box-sizing: border-box;
+       box-sizing: border-box;
+       color: #555;
+       display: inline-block;
+       font-size: 13px;
+       margin: 20px 0;
+       padding: 0 20px;
+       position: relative;
+       width: 100%;
+       height: auto;
+       border: none;
+}
+
+.media-frame.mode-select .attachments-browser.fixed .media-toolbar {
+       position: fixed;
+       top: 32px;
+       left: auto;
+       right: 20px;
+       margin-top: 0;
+}
+
+.media-frame.mode-grid input[type="search"] {
+       margin: 1px;
+       padding: 3px 5px;
+       position: absolute;
+       right: 10px;
+       top: 9px;
+       font-size: 16px;
+       font-weight: 300;
+       line-height: 1.5;
+       width: 280px;
+}
+
+.media-frame.mode-grid .view-switch {
+       display: inline-block;
+       float: none;
+       vertical-align: middle;
+       padding: 15px 0;
+       margin: 0 20px 0 0;
+}
+
+.media-frame.mode-grid select {
+       margin: 0 10px 0 0;
+}
+
+.media-frame.mode-grid .spinner {
+       margin-top: 15px;
+}
+
+.attachments-browser .media-toolbar-secondary > .select-mode-toggle-button {
+       margin-right: 10px;
+}
+
+.media-frame.mode-grid .attachments-browser {
+       padding: 0;
+}
+
+.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;
+}
+
+.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 {
+       color: #2ea2cc;
+}
+
+.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;
+}
+
+.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%;
+}
+
+.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-left: 1px solid #ddd;
+       background: #f3f3f3;
+}
+
+.edit-attachment-frame .attachment-info .details,
+.edit-attachment-frame .attachment-info .settings {
+       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;
+}
+
+
</ins><span class="cx"> /*------------------------------------------------------------------------------
</span><span class="cx">   14.2 - Image Editor
</span><span class="cx"> ------------------------------------------------------------------------------*/
</span><span class="lines">@@ -736,3 +1133,52 @@
</span><span class="cx">          padding: 10px 0 10px 12px;
</span><span class="cx">  }
</span><span class="cx"> }
</span><ins>+
+/**
+ * Media queries for media grid.
+ */
+
+@media only screen and (max-width: 1120px) {
+       .media-frame.mode-grid .attachments-browser .media-toolbar-primary,
+       .media-frame.mode-grid .attachments-browser .media-toolbar-secondary {
+               float: none;
+       }
+
+       .media-frame.mode-grid input[type="search"] {
+               margin: 20px 0;
+               position: static;
+               width: 100%;
+               max-width: 280px;
+       }
+}
+
+@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 .attachment-media-view {
+               float: none;
+               max-height: 70%;
+               height: auto;
+               width: 100%;
+       }
+
+       .edit-attachment-frame .attachment-media-view.portrait {
+               height: 70%;
+       }
+
+       .edit-attachment-frame .attachment-info {
+               height: auto;
+               width: 100%;
+       }
+}
</ins></span></pre></div>
<a id="trunksrcwpincludescssmediaviewscss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/css/media-views.css (29597 => 29598)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/css/media-views.css        2014-08-25 16:02:43 UTC (rev 29597)
+++ trunk/src/wp-includes/css/media-views.css   2014-08-25 16:50:36 UTC (rev 29598)
</span><span class="lines">@@ -255,47 +255,6 @@
</span><span class="cx">  -webkit-overflow-scrolling: touch;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.upload-php .mode-grid .media-sidebar {
-       z-index: 1900;
-       top: 102px;
-       bottom: auto;
-       background: #fff;
-       border-left: none;
-       padding: 16px;
-       -webkit-box-shadow: -1px 0 1px rgba(0,0,0,.3);
-       box-shadow: -1px 0 1px rgba(0,0,0,.3);
-}
-
-.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;
-}
-
-.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors {
-       font-size: 0;
-       top: -20px;
-       right:  -14px;
-}
-
-.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;
-}
-
</del><span class="cx"> .hide-toolbar .media-sidebar {
</span><span class="cx">  bottom: 0;
</span><span class="cx"> }
</span><span class="lines">@@ -814,15 +773,6 @@
</span><span class="cx">  outline: none;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.media-frame.mode-grid .attachment:focus {
-       -webkit-box-shadow:
-               inset 0 0 0 5px #f1f1f1,
-               inset 0 0 1px 7px #5b9dd9;
-       box-shadow:
-               inset 0 0 0 5px #f1f1f1,
-               inset 0 0 1px 7px #5b9dd9;
-}
-
</del><span class="cx"> .selected.attachment {
</span><span class="cx">  -webkit-box-shadow:
</span><span class="cx">          inset 0 0 0 5px #fff,
</span><span class="lines">@@ -832,15 +782,6 @@
</span><span class="cx">          inset 0 0 0 7px #ccc;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.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;
-}
-
</del><span class="cx"> .attachment-preview {
</span><span class="cx">  position: relative;
</span><span class="cx">  -webkit-box-shadow:
</span><span class="lines">@@ -876,14 +817,6 @@
</span><span class="cx">  transition: opacity .1s;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.media-frame.mode-grid.mode-select .attachment .thumbnail {
-       opacity: 0.65;
-}
-
-.media-frame.mode-select .attachment.selected .thumbnail {
-       opacity: 1;
-}
-
</del><span class="cx"> .attachment .portrait img {
</span><span class="cx">  max-width: 100%;
</span><span class="cx"> }
</span><span class="lines">@@ -1033,15 +966,6 @@
</span><span class="cx">          inset 0 0 0 7px #1e8cbe;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.media-frame.mode-grid .selected.attachment:focus {
-       -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;
-}
-
</del><span class="cx"> .attachment.details .check,
</span><span class="cx"> .attachment.selected .check:focus,
</span><span class="cx"> .media-frame.mode-grid .attachment.selected .check {
</span><span class="lines">@@ -1113,10 +1037,6 @@
</span><span class="cx">  outline: none;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.media-frame.mode-grid .uploader-inline {
-       border: 4px dashed #bbb;
-}
-
</del><span class="cx"> .attachments-browser .uploader-inline.hidden {
</span><span class="cx">  display: none;
</span><span class="cx"> }
</span><span class="lines">@@ -1617,11 +1537,6 @@
</span><span class="cx">  word-wrap: break-word;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.edit-attachment-frame .attachment-info .filename {
-       font-weight: normal;
-       color: #666;
-}
-
</del><span class="cx"> .attachment-info .thumbnail {
</span><span class="cx">  position: relative;
</span><span class="cx">  float: left;
</span><span class="lines">@@ -1632,10 +1547,6 @@
</span><span class="cx">  margin-bottom: 5px;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.edit-attachment-frame .attachment-info .thumbnail {
-       margin-bottom: 12px;
-}
-
</del><span class="cx"> .uploading .attachment-info .thumbnail {
</span><span class="cx">  width: 120px;
</span><span class="cx">  height: 80px;
</span><span class="lines">@@ -2566,370 +2477,6 @@
</span><span class="cx">  }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-
-/**
- * Media Grid
- */
-.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;
-}
-
-.media-frame.mode-grid .uploader-inline {
-       position: relative;
-       top: auto;
-       right: auto;
-       left: auto;
-       bottom: auto;
-       padding-top: 0;
-       margin-top: 0;
-}
-
-.media-frame.mode-grid .media-toolbar select {
-       margin-top: 1px;
-       font-size: inherit;
-}
-
-.media-frame.mode-grid .attachments-browser .bulk-select {
-       display: inline-block;
-       margin: 0 10px 0 0;
-}
-
-.media-frame.mode-grid .attachments {
-       padding: 2px;
-}
-
-.media-frame.mode-select .attachments {
-       padding: 2px;
-}
-
-.media-frame.mode-select .attachments-browser.fixed .attachments {
-       position: relative;
-       top: 80px; /* prevent jumping up when the toolbar becomes fixed */
-       padding-bottom: 80px; /* offset for above so the bottom doesn't get cut off */
-}
-
-/**
- * Copied styles from the Add theme toolbar.
- *
- * This should be OOCSS'd so both use a shared selector.
- */
-.media-frame.mode-grid .attachments-browser .media-toolbar {
-       background: #fff;
-       -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
-       box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
-       -webkit-box-sizing: border-box;
-       -moz-box-sizing: border-box;
-       box-sizing: border-box;
-       color: #555;
-       display: inline-block;
-       font-size: 13px;
-       margin: 20px 0;
-       padding: 0 20px;
-       position: relative;
-       width: 100%;
-       height: auto;
-       border: none;
-}
-
-.media-frame.mode-select .attachments-browser.fixed .media-toolbar {
-       position: fixed;
-       top: 32px;
-       left: auto;
-       right: 20px;
-       margin-top: 0;
-}
-
-@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-frame.mode-grid input[type="search"] {
-       margin: 1px;
-       padding: 3px 5px;
-       position: absolute;
-       right: 10px;
-       top: 9px;
-       font-size: 16px;
-       font-weight: 300;
-       line-height: 1.5;
-       width: 280px;
-}
-
-.media-frame.mode-grid .view-switch {
-       display: inline-block;
-       float: none;
-       vertical-align: middle;
-       padding: 15px 0;
-       margin: 0 20px 0 0;
-}
-
-.media-frame.mode-grid select {
-       margin: 0 10px 0 0;
-}
-
-.media-frame.mode-grid .spinner {
-       margin-top: 15px;
-}
-
-.attachments-browser .media-toolbar-secondary > .select-mode-toggle-button {
-       margin-right: 10px;
-}
-
-.media-frame.mode-grid .attachments-browser {
-       padding: 0;
-}
-
-.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;
-}
-
-/**
- * The left and right buttons are copied from the expanded theme details modal.
- *
- * This should be OOCSS'd so both use a shared selector.
- */
-.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;
-}
-
-.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 {
-       color: #2ea2cc;
-}
-
-.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;
-}
-
-.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%;
-}
-
-.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 .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;
-}
-
-.edit-attachment-frame .attachment-info .details,
-.edit-attachment-frame .attachment-info .settings {
-       overflow: hidden;
-       float: none;
-       margin-bottom: 15px;
-       padding-bottom: 15px;
-       border-bottom: 1px solid #ddd;
-}
-
-.attachment-info .actions {
-       margin-bottom: 16px;
-}
-
-.attachment-info .actions a {
-       display: inline;
-       text-decoration: none;
-}
-
-.edit-attachment-frame input,
-.edit-attachment-frame textarea {
-       padding: 6px 8px;
-       line-height: 16px;
-}
-
-/**
- * Media queries for media grid.
- */
-
-@media only screen and (max-width: 1120px) {
-       .media-frame.mode-grid .attachments-browser .media-toolbar-primary,
-       .media-frame.mode-grid .attachments-browser .media-toolbar-secondary {
-               float: none;
-       }
-
-       .media-frame.mode-grid input[type="search"] {
-               margin: 20px 0;
-               position: static;
-               width: 100%;
-               max-width: 280px;
-       }
-}
-
-@media only screen and (max-width: 480px) {
-       .edit-attachment-frame .attachment-media-view {
-               float: none;
-               max-height: 70%;
-               height: auto;
-               width: 100%;
-       }
-
-       .edit-attachment-frame .attachment-media-view.portrait {
-               height: 70%;
-       }
-
-       .edit-attachment-frame .attachment-info {
-               height: auto;
-               width: 100%;
-       }
-}
-
</del><span class="cx"> .attachments[data-columns="1"] .attachment {
</span><span class="cx">  width: 100%;
</span><span class="cx"> }
</span></span></pre>
</div>
</div>

</body>
</html>