<!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>[22586] trunk/wp-includes/js/tinymce: TinyMCE: fix styles, add 2x background icons and load buttons.css in the Edit Image modal, remove wp-view styles from content.css, add 2x icons for the popup buttons (for editing image and gallery), fixes #22447, see #21019</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, #logmsg > ol { margin-left: 0; 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/22586">22586</a></dd>
<dt>Author</dt> <dd>azaozz</dd>
<dt>Date</dt> <dd>2012-11-14 23:21:59 +0000 (Wed, 14 Nov 2012)</dd>
</dl>
<h3>Log Message</h3>
<pre>TinyMCE: fix styles, add 2x background icons and load buttons.css in the Edit Image modal, remove wp-view styles from content.css, add 2x icons for the popup buttons (for editing image and gallery), fixes <a href="http://core.trac.wordpress.org/ticket/22447">#22447</a>, see <a href="http://core.trac.wordpress.org/ticket/21019">#21019</a></pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpincludesjstinymcepluginswpeditimagecsseditimagecss">trunk/wp-includes/js/tinymce/plugins/wpeditimage/css/editimage.css</a></li>
<li><a href="#trunkwpincludesjstinymcepluginswpeditimageeditimagehtml">trunk/wp-includes/js/tinymce/plugins/wpeditimage/editimage.html</a></li>
<li><a href="#trunkwpincludesjstinymcepluginswpeditimageeditor_plugin_srcjs">trunk/wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin_src.js</a></li>
<li><a href="#trunkwpincludesjstinymcepluginswpgalleryeditor_plugin_srcjs">trunk/wp-includes/js/tinymce/plugins/wpgallery/editor_plugin_src.js</a></li>
<li><a href="#trunkwpincludesjstinymcethemesadvancedskinswp_themecontentcss">trunk/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkwpincludesjstinymcepluginswpeditimageimgdelete2xpng">trunk/wp-includes/js/tinymce/plugins/wpeditimage/img/delete-2x.png</a></li>
<li><a href="#trunkwpincludesjstinymcepluginswpeditimageimgimage2xpng">trunk/wp-includes/js/tinymce/plugins/wpeditimage/img/image-2x.png</a></li>
<li><a href="#trunkwpincludesjstinymcepluginswpgalleryimgdelete2xpng">trunk/wp-includes/js/tinymce/plugins/wpgallery/img/delete-2x.png</a></li>
<li><a href="#trunkwpincludesjstinymcepluginswpgalleryimgedit2xpng">trunk/wp-includes/js/tinymce/plugins/wpgallery/img/edit-2x.png</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpincludesjstinymcepluginswpeditimagecsseditimagecss"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/tinymce/plugins/wpeditimage/css/editimage.css (22585 => 22586)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/tinymce/plugins/wpeditimage/css/editimage.css        2012-11-14 22:58:34 UTC (rev 22585)
+++ trunk/wp-includes/js/tinymce/plugins/wpeditimage/css/editimage.css        2012-11-14 23:21:59 UTC (rev 22586)
</span><span class="lines">@@ -5,25 +5,10 @@
</span><span class="cx">         padding: 0;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.submit input,
-.button,
-.button-primary,
-.button-secondary,
-.button-highlighted {
-        font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
-        text-decoration: none;
-        font-size: 11px !important;
-        line-height: 16px;
-        padding: 2px 8px;
-        cursor: pointer;
-        border-width: 1px;
-        border-style: solid;
-        -webkit-border-radius: 11px;
-        border-radius: 11px;
-        -moz-box-sizing: content-box;
-        -webkit-box-sizing: content-box;
-        -khtml-box-sizing: content-box;
-        box-sizing: content-box;
</del><ins>+body {
+        font-family: sans-serif;
+        font-size: 12px;
+        line-height: 1.4em;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> a.button {
</span><span class="lines">@@ -33,7 +18,7 @@
</span><span class="cx"> textarea,
</span><span class="cx"> input,
</span><span class="cx"> select {
</span><del>-        font: 13px Verdana, Arial, Helvetica, sans-serif;
</del><ins>+        font: inherit;
</ins><span class="cx">         margin: 1px;
</span><span class="cx">         padding: 3px;
</span><span class="cx"> }
</span><span class="lines">@@ -44,10 +29,6 @@
</span><span class="cx">         font-style: italic;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-body, td {
-        font: 13px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
-}
-
</del><span class="cx"> abbr.required {
</span><span class="cx">         color: #FF0000;
</span><span class="cx">         text-align: left;
</span><span class="lines">@@ -311,6 +292,7 @@
</span><span class="cx">         padding: 0 0 0 28px;
</span><span class="cx">         margin: 0 1em 0 0;
</span><span class="cx"> }
</span><ins>+
</ins><span class="cx"> .image-align-none-label {
</span><span class="cx">         background: url(../../../../../../wp-admin/images/align-none.png) no-repeat center left;
</span><span class="cx"> }
</span><span class="lines">@@ -429,3 +411,25 @@
</span><span class="cx"> .rtl #img_size_title {
</span><span class="cx">         text-align: left;
</span><span class="cx"> }
</span><ins>+
+@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
+        .image-align-none-label {
+                background: url(../../../../../../wp-admin/images/align-none-2x.png) no-repeat center left;
+                background-size: auto 15px;
+        }
+
+        .image-align-left-label {
+                background: url(../../../../../../wp-admin/images/align-left-2x.png) no-repeat center left;
+                background-size: auto 15px;
+        }
+
+        .image-align-center-label {
+                background: url(../../../../../../wp-admin/images/align-center-2x.png) no-repeat center left;
+                background-size: auto 15px;
+        }
+
+        .image-align-right-label {
+                background: url(../../../../../../wp-admin/images/align-right-2x.png) no-repeat center left;
+                background-size: auto 15px;
+        }
+}
</ins></span></pre></div>
<a id="trunkwpincludesjstinymcepluginswpeditimageeditimagehtml"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/tinymce/plugins/wpeditimage/editimage.html (22585 => 22586)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/tinymce/plugins/wpeditimage/editimage.html        2012-11-14 22:58:34 UTC (rev 22585)
+++ trunk/wp-includes/js/tinymce/plugins/wpeditimage/editimage.html        2012-11-14 23:21:59 UTC (rev 22586)
</span><span class="lines">@@ -5,6 +5,7 @@
</span><span class="cx"> <title></title>
</span><span class="cx">
</span><span class="cx"> <link rel="stylesheet" href="css/editimage.css?ver=357-20121111" type="text/css" media="all" />
</span><ins>+<link rel="stylesheet" href="../../../../css/buttons.css?ver=357-20121111" type="text/css" media="all" />
</ins><span class="cx"> <script type="text/javascript" src="js/editimage.min.js?ver=357-20121111"></script>
</span><span class="cx"> <script type="text/javascript" src="../../utils/form_utils.js?ver=357-20121111"></script>
</span><span class="cx"> <base target="_self" />
</span></span></pre></div>
<a id="trunkwpincludesjstinymcepluginswpeditimageeditor_plugin_srcjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin_src.js (22585 => 22586)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin_src.js        2012-11-14 22:58:34 UTC (rev 22585)
+++ trunk/wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin_src.js        2012-11-14 23:21:59 UTC (rev 22586)
</span><span class="lines">@@ -199,8 +199,11 @@
</span><span class="cx">                 },
</span><span class="cx">
</span><span class="cx">                 _createButtons : function() {
</span><del>-                        var t = this, ed = tinyMCE.activeEditor, DOM = tinymce.DOM, editButton, dellButton;
</del><ins>+                        var t = this, ed = tinyMCE.activeEditor, DOM = tinymce.DOM, editButton, dellButton, isRetina;
</ins><span class="cx">
</span><ins>+                        isRetina = ( window.devicePixelRatio && window.devicePixelRatio > 1 ) || // WebKit, Opera
+                                ( window.matchMedia && window.matchMedia('(min-resolution:130dpi)').matches ); // Firefox, IE10, Opera
+
</ins><span class="cx">                         DOM.remove('wp_editbtns');
</span><span class="cx">
</span><span class="cx">                         DOM.add(document.body, 'div', {
</span><span class="lines">@@ -209,7 +212,7 @@
</span><span class="cx">                         });
</span><span class="cx">
</span><span class="cx">                         editButton = DOM.add('wp_editbtns', 'img', {
</span><del>-                                src : t.url+'/img/image.png',
</del><ins>+                                src : isRetina ? t.url+'/img/image-2x.png' : t.url+'/img/image.png',
</ins><span class="cx">                                 id : 'wp_editimgbtn',
</span><span class="cx">                                 width : '24',
</span><span class="cx">                                 height : '24',
</span><span class="lines">@@ -221,7 +224,7 @@
</span><span class="cx">                         });
</span><span class="cx">
</span><span class="cx">                         dellButton = DOM.add('wp_editbtns', 'img', {
</span><del>-                                src : t.url+'/img/delete.png',
</del><ins>+                                src : isRetina ? t.url+'/img/delete-2x.png' : t.url+'/img/delete.png',
</ins><span class="cx">                                 id : 'wp_delimgbtn',
</span><span class="cx">                                 width : '24',
</span><span class="cx">                                 height : '24',
</span></span></pre></div>
<a id="trunkwpincludesjstinymcepluginswpeditimageimgdelete2xpng"></a>
<div class="binary"><h4>Added: trunk/wp-includes/js/tinymce/plugins/wpeditimage/img/delete-2x.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/wp-includes/js/tinymce/plugins/wpeditimage/img/delete-2x.png
</span><span class="cx">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkwpincludesjstinymcepluginswpeditimageimgimage2xpng"></a>
<div class="binary"><h4>Added: trunk/wp-includes/js/tinymce/plugins/wpeditimage/img/image-2x.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/wp-includes/js/tinymce/plugins/wpeditimage/img/image-2x.png
</span><span class="cx">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkwpincludesjstinymcepluginswpgalleryeditor_plugin_srcjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/tinymce/plugins/wpgallery/editor_plugin_src.js (22585 => 22586)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/tinymce/plugins/wpgallery/editor_plugin_src.js        2012-11-14 22:58:34 UTC (rev 22585)
+++ trunk/wp-includes/js/tinymce/plugins/wpgallery/editor_plugin_src.js        2012-11-14 23:21:59 UTC (rev 22586)
</span><span class="lines">@@ -69,8 +69,11 @@
</span><span class="cx">                 },
</span><span class="cx">
</span><span class="cx">                 _createButtons : function() {
</span><del>-                        var t = this, ed = tinyMCE.activeEditor, DOM = tinymce.DOM, editButton, dellButton;
</del><ins>+                        var t = this, ed = tinyMCE.activeEditor, DOM = tinymce.DOM, editButton, dellButton, isRetina;
</ins><span class="cx">
</span><ins>+                        isRetina = ( window.devicePixelRatio && window.devicePixelRatio > 1 ) || // WebKit, Opera
+                                ( window.matchMedia && window.matchMedia('(min-resolution:130dpi)').matches ); // Firefox, IE10, Opera
+
</ins><span class="cx">                         DOM.remove('wp_gallerybtns');
</span><span class="cx">
</span><span class="cx">                         DOM.add(document.body, 'div', {
</span><span class="lines">@@ -79,7 +82,7 @@
</span><span class="cx">                         });
</span><span class="cx">
</span><span class="cx">                         editButton = DOM.add('wp_gallerybtns', 'img', {
</span><del>-                                src : t.url+'/img/edit.png',
</del><ins>+                                src : isRetina ? t.url+'/img/edit-2x.png' : t.url+'/img/edit.png',
</ins><span class="cx">                                 id : 'wp_editgallery',
</span><span class="cx">                                 width : '24',
</span><span class="cx">                                 height : '24',
</span><span class="lines">@@ -93,7 +96,7 @@
</span><span class="cx">                         });
</span><span class="cx">
</span><span class="cx">                         dellButton = DOM.add('wp_gallerybtns', 'img', {
</span><del>-                                src : t.url+'/img/delete.png',
</del><ins>+                                src : isRetina ? t.url+'/img/delete-2x.png' : t.url+'/img/delete.png',
</ins><span class="cx">                                 id : 'wp_delgallery',
</span><span class="cx">                                 width : '24',
</span><span class="cx">                                 height : '24',
</span></span></pre></div>
<a id="trunkwpincludesjstinymcepluginswpgalleryimgdelete2xpng"></a>
<div class="binary"><h4>Added: trunk/wp-includes/js/tinymce/plugins/wpgallery/img/delete-2x.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/wp-includes/js/tinymce/plugins/wpgallery/img/delete-2x.png
</span><span class="cx">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkwpincludesjstinymcepluginswpgalleryimgedit2xpng"></a>
<div class="binary"><h4>Added: trunk/wp-includes/js/tinymce/plugins/wpgallery/img/edit-2x.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/wp-includes/js/tinymce/plugins/wpgallery/img/edit-2x.png
</span><span class="cx">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkwpincludesjstinymcethemesadvancedskinswp_themecontentcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css (22585 => 22586)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css        2012-11-14 22:58:34 UTC (rev 22585)
+++ trunk/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css        2012-11-14 23:21:59 UTC (rev 22586)
</span><span class="lines">@@ -140,165 +140,3 @@
</span><span class="cx">         width: 300px;
</span><span class="cx">         height: 250px;
</span><span class="cx"> }
</span><del>-
-/* WordPress TinyMCE Previews */
-.wp-view-wrap {
-        position: relative;
-        display: inline-block;
-}
-
-.wp-view-wrap * {
-        font-family: sans-serif;
-        font-weight: normal;
-}
-
-.wp-view-wrap img {
-        display: block;
-        border: 0;
-        padding: 0;
-        margin: 0;
-        border-radius: 0;
-        box-shadow: none;
-}
-
-.wp-view-wrap.alignnone {
-        display: block;
-}
-
-.wp-view-wrap.aligncenter {
-        display: block;
-        text-align: center;
-}
-
-.wp-view-wrap.alignleft {
-        float: left;
-}
-
-.wp-view-wrap.alignright {
-        float: right;
-}
-
-.wp-view-wrap .overlay {
-        opacity: 0;
-        display: block;
-        content: '';
-        position: absolute;
-        top: 0;
-        left: 0;
-        right: 0;
-        bottom: 0;
-        box-shadow: inset 0 0 45px rgba( 0, 0, 0, 0.3 );
-        /*box-shadow:
-                inset 0 60px 30px -30px rgba( 0, 0, 0, 0.2 ),
-                inset 0 -60px 30px -30px rgba( 0, 0, 0, 0.2 );*/
-        overflow: hidden;
-
-        -webkit-transition: opacity 100ms ease-in-out, background 150ms;
-        -moz-transition: opacity 100ms ease-in-out, background 150ms;
-        -ms-transition: opacity 100ms ease-in-out, background 150ms;
-        -o-transition: opacity 100ms ease-in-out, background 150ms;
-        transition: opacity 100ms ease-in-out, background 150ms;
-}
-
-.wp-view-wrap:hover .overlay,
-.wp-view-wrap.selected .overlay {
-        opacity: 1;
-}
-.wp-view-wrap.selected .overlay {
-        background: rgba( 0, 86, 132, 0.3 );
-}
-
-.wp-view-wrap .spinner {
-        background: #fff url("../../../../../../../wp-admin/images/wpspin_light.gif") no-repeat center center;
-}
-
-.wp-view-wrap .button {
-        position: absolute;
-        height: 22px;
-        line-height: 22px;
-        font-size: 14px;
-        text-align: center;
-        cursor: pointer;
-        color: #464646;
-
-        background: #f3f3f3;
-        background-image: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#f4f4f4));
-        background-image: -webkit-linear-gradient(top, #fefefe, #f4f4f4);
-        background-image: -moz-linear-gradient(top, #fefefe, #f4f4f4);
-        background-image: -ms-linear-gradient(top, #fefefe, #f4f4f4);
-        background-image: -o-linear-gradient(top, #fefefe, #f4f4f4);
-        background-image: linear-gradient(to bottom, #fefefe, #f4f4f4);
-
-        box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.2 );
-        border-radius: 2px;
-}
-
-.wp-view-wrap .button:hover {
-        box-shadow:
-                0 0 0 1px rgba( 0, 0, 0, 0.6 ),
-                0 0 10px rgba( 255, 255, 255, 0.4 );
-        background: #fff;
-        background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f3f3f3));
-        background-image: -webkit-linear-gradient(top, #fff, #f3f3f3);
-        background-image: -moz-linear-gradient(top, #fff, #f3f3f3);
-        background-image: -ms-linear-gradient(top, #fff, #f3f3f3);
-        background-image: -o-linear-gradient(top, #fff, #f3f3f3);
-        background-image: linear-gradient(to bottom, #fff, #f3f3f3);
-        color: #333;
-}
-
-.wp-view-wrap .close {
-        top: 5px;
-        right: 5px;
-        width: 22px;
-        font-size: 22px;
-        line-height: 20px;
-}
-
-.wp-view-wrap .edit {
-        bottom: 5px;
-        right: 5px;
-        padding: 0 10px;
-}
-
-.editor-attachment {
-        display: inline-block;
-        position: relative;
-        margin-top: 10px;
-        margin-right: 10px;
-        overflow: hidden;
-}
-
-.editor-attachment,
-.editor-attachment img {
-        min-height: 100px;
-        min-width: 100px;
-}
-
-.editor-attachment img,
-.editor-attachment .overlay {
-        border-radius: inherit;
-}
-
-.editor-attachment-preview {
-        position: relative;
-}
-
-.wp-view-type-gallery {
-        display: block;
-}
-
-.editor-gallery {
-        display: inline-block;
-        position: relative;
-        min-height: 150px;
-        min-width: 150px;
-        margin: 5px 15px 15px 5px;
-        box-shadow:
-         0 0 0 4px #fff,
-         0 0 0 5px #ccc,
-         5px 5px 0 4px #fff,
-         5px 5px 0 5px #ccc,
-         10px 10px 0 4px #fff,
-         10px 10px 0 5px #ccc;
-}
</del></span></pre>
</div>
</div>
</body>
</html>