<!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>[27765] trunk/src: Better, more consistent styling for plugin details Thickbox and TinyMCE help.</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/27765">27765</a></dd>
<dt>Author</dt> <dd>helen</dd>
<dt>Date</dt> <dd>2014-03-27 00:07:05 +0000 (Thu, 27 Mar 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Better, more consistent styling for plugin details Thickbox and TinyMCE help.

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

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpadmincsscommoncss">trunk/src/wp-admin/css/common.css</a></li>
<li><a href="#trunksrcwpincludescsseditorcss">trunk/src/wp-includes/css/editor.css</a></li>
<li><a href="#trunksrcwpincludesjstinymcepluginswordpresspluginjs">trunk/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js</a></li>
<li><a href="#trunksrcwpincludesjstinymcewpmcehelpphp">trunk/src/wp-includes/js/tinymce/wp-mce-help.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpadmincsscommoncss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/css/common.css (27764 => 27765)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/css/common.css        2014-03-27 00:06:50 UTC (rev 27764)
+++ trunk/src/wp-admin/css/common.css   2014-03-27 00:07:05 UTC (rev 27765)
</span><span class="lines">@@ -1806,15 +1806,14 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #plugin-information-title {
</span><del>-       padding: 0 36px 0 16px;
-       font-size: 18px;
</del><ins>+        padding: 0 76px 0 20px;
+       font-size: 22px;
</ins><span class="cx">   font-weight: 600;
</span><del>-       line-height: 36px;
</del><ins>+        line-height: 56px;
</ins><span class="cx">   top: 0;
</span><span class="cx">  right: 0;
</span><span class="cx">  left: 0;
</span><del>-       height: 36px;
-       border-bottom: 1px solid #ddd;
</del><ins>+        height: 56px;
</ins><span class="cx">   overflow: hidden;
</span><span class="cx">  text-overflow: ellipsis;
</span><span class="cx">  white-space: nowrap;
</span><span class="lines">@@ -1862,9 +1861,8 @@
</span><span class="cx">  position: absolute;
</span><span class="cx">  top: 90px;
</span><span class="cx">  right: 0;
</span><del>-       bottom: 44px;
</del><ins>+        bottom: 58px;
</ins><span class="cx">   left: 0;
</span><del>-       overflow: auto;
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #section-holder {
</span><span class="lines">@@ -1875,6 +1873,7 @@
</span><span class="cx">  right: 250px;
</span><span class="cx">  bottom: 0;
</span><span class="cx">  left: 0;
</span><ins>+       overflow: auto;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #section-holder .updated {
</span><span class="lines">@@ -1883,14 +1882,15 @@
</span><span class="cx"> 
</span><span class="cx"> #plugin-information .fyi {
</span><span class="cx">  background: #f3f3f3;
</span><del>-       border: 1px solid #ddd;
-       border-top: 0;
</del><ins>+        border-left: 1px solid #ddd;
</ins><span class="cx">   color: #666;
</span><span class="cx">  padding: 16px;
</span><span class="cx">  position: absolute;
</span><span class="cx">  top: 0;
</span><span class="cx">  right: 0;
</span><ins>+       bottom: 0;
</ins><span class="cx">   width: 217px;
</span><ins>+       overflow: auto;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #plugin-information .fyi strong {
</span><span class="lines">@@ -1922,11 +1922,12 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #plugin-information-footer {
</span><del>-       padding: 8px 16px;
</del><ins>+        padding: 15px 16px;
</ins><span class="cx">   position: absolute;
</span><span class="cx">  right: 0;
</span><span class="cx">  bottom: 0;
</span><span class="cx">  left: 0;
</span><ins>+       height: 28px;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #plugin-information .section ul,
</span><span class="lines">@@ -1974,7 +1975,7 @@
</span><span class="cx"> @media screen and ( max-width: 782px ) {
</span><span class="cx">  #plugin-information-content {
</span><span class="cx">          overflow: auto;
</span><del>-               bottom: 62px;
</del><ins>+                bottom: 58px;
</ins><span class="cx">   }
</span><span class="cx"> 
</span><span class="cx">  #plugin-information .fyi {
</span><span class="lines">@@ -1994,8 +1995,8 @@
</span><span class="cx">  }
</span><span class="cx"> 
</span><span class="cx">  #plugin-information-footer {
</span><del>-               padding: 12px 16px;
-               height: 37px;
</del><ins>+                padding: 12px 16px 0;
+               height: 46px;
</ins><span class="cx">   }
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -2031,14 +2032,14 @@
</span><span class="cx"> 
</span><span class="cx"> body.plugin-install-php .tb-close-icon,
</span><span class="cx"> body.index-php .tb-close-icon {
</span><del>-       line-height: 36px;
-       width: 36px;
-       height: 36px;
</del><ins>+        line-height: 48px;
+       width: 48px;
+       height: 48px;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> body.plugin-install-php .tb-close-icon:before,
</span><span class="cx"> body.index-php .tb-close-icon:before {
</span><del>-       line-height: 36px;
</del><ins>+        line-height: 48px;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /* @todo: move this. */
</span></span></pre></div>
<a id="trunksrcwpincludescsseditorcss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/css/editor.css (27764 => 27765)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/css/editor.css     2014-03-27 00:06:50 UTC (rev 27764)
+++ trunk/src/wp-includes/css/editor.css        2014-03-27 00:07:05 UTC (rev 27765)
</span><span class="lines">@@ -73,6 +73,10 @@
</span><span class="cx">  width: calc( 100% - 36px );
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+.mce-wp-help .mce-window-head {
+       border-bottom: none;
+}
+
</ins><span class="cx"> .mce-textbox {
</span><span class="cx">  border: 1px solid #ddd;
</span><span class="cx">  -webkit-border-radius: 0;
</span></span></pre></div>
<a id="trunksrcwpincludesjstinymcepluginswordpresspluginjs"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js (27764 => 27765)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js     2014-03-27 00:06:50 UTC (rev 27764)
+++ trunk/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js        2014-03-27 00:07:05 UTC (rev 27765)
</span><span class="lines">@@ -182,7 +182,8 @@
</span><span class="cx">                  url: tinymce.baseURL + '/wp-mce-help.php',
</span><span class="cx">                  width: 450,
</span><span class="cx">                  height: 420,
</span><del>-                       inline: 1
</del><ins>+                        inline: 1,
+                       classes: 'wp-help'
</ins><span class="cx">           });
</span><span class="cx">  });
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjstinymcewpmcehelpphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/js/tinymce/wp-mce-help.php (27764 => 27765)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/js/tinymce/wp-mce-help.php 2014-03-27 00:06:50 UTC (rev 27764)
+++ trunk/src/wp-includes/js/tinymce/wp-mce-help.php    2014-03-27 00:07:05 UTC (rev 27765)
</span><span class="lines">@@ -27,51 +27,35 @@
</span><span class="cx">          min-width: 0;
</span><span class="cx">  }
</span><span class="cx"> 
</span><del>-       #tabs-wrap {
</del><ins>+        .wp-core-ui #tabs {
+               margin-top: 1px;
+               padding: 0 6px;
</ins><span class="cx">           position: absolute;
</span><span class="cx">          top: 0;
</span><ins>+               right: 0;
+               left: 0;
+               height: 31px;
+               z-index: 1;
</ins><span class="cx">   }
</span><span class="cx"> 
</span><del>-       #tabs {
-               box-shadow: 0 3px 5px rgba( 255, 255, 255, 0.2 );
-               margin: 0;
-               padding: 0;
</del><ins>+        .wp-core-ui #tabs a {
</ins><span class="cx">           position: relative;
</span><del>-               -webkit-user-select: none;
-               -moz-user-select: none;
-               -ms-user-select: none;
-               user-select: none;
-       }
-
-       #tabs a {
-               -webkit-transition: none;
-               transition: none;
-       }
-       
-       #tabs-wrap #tabs > a {
</del><span class="cx">           float: left;
</span><del>-               font-size: 14px;
</del><ins>+                padding: 6px 10px;
+               margin: 0;
</ins><span class="cx">           height: 18px;
</span><span class="cx">          line-height: 18px;
</span><del>-               margin: 0;
-               padding: 7px 10px;
-               position: relative;
</del><span class="cx">           text-decoration: none;
</span><del>-               border-right: 1px solid #ddd;
-               background-color: #eee;
-               color: inherit;
</del><ins>+                -webkit-transition: none;
+               transition: none;
</ins><span class="cx">   }
</span><span class="cx"> 
</span><del>-       #tabs > a:active,
-       #tabs > a:focus {
-               outline: none;
-       }
-
-       #tabs-wrap #tabs .active,
-       #tabs-wrap #tabs .active:hover {
</del><ins>+        #tabs a.active {
+               margin: -1px -1px 0;
+               background: #fff;
+               border: 1px solid #ddd;
+               border-bottom: none;
</ins><span class="cx">           color: #333;
</span><del>-               background: #fff;
-               border-bottom: 1px solid #fff;
</del><span class="cx">   }
</span><span class="cx"> 
</span><span class="cx">  #tabs .active:after {
</span><span class="lines">@@ -83,8 +67,8 @@
</span><span class="cx">          border-top: 1px solid #ddd;
</span><span class="cx">          height: 360px;
</span><span class="cx">          margin: 0;
</span><del>-               margin-top: 32px;
-               overflow-y: scroll;
</del><ins>+                margin-top: 30px;
+               overflow: auto;
</ins><span class="cx">           padding: 10px 16px;
</span><span class="cx">  }
</span><span class="cx"> 
</span><span class="lines">@@ -151,13 +135,11 @@
</span><span class="cx">  document.body.className = document.body.className.replace(/windows/, 'macos');
</span><span class="cx"> </script>
</span><span class="cx"> 
</span><del>-<div id="tabs-wrap">
-       <div id="tabs">
-               <a id="tab1" href="javascript:flipTab(1)" title="<?php esc_attr_e('Basics of Rich Editing'); ?>" accesskey="1" class="active"><?php _e('Basics'); ?></a>
-               <a id="tab2" href="javascript:flipTab(2)" title="<?php esc_attr_e('Advanced use of the Rich Editor'); ?>" accesskey="2"><?php _e('Advanced'); ?></a>
-               <a id="tab3" href="javascript:flipTab(3)" title="<?php esc_attr_e('Hotkeys'); ?>" accesskey="3"><?php _e('Hotkeys'); ?></a>
-               <a id="tab4" href="javascript:flipTab(4)" title="<?php esc_attr_e('About the software'); ?>" accesskey="4"><?php _e('About'); ?></a>
-       </div>
</del><ins>+<div id="tabs">
+       <a id="tab1" href="javascript:flipTab(1)" title="<?php esc_attr_e('Basics of Rich Editing'); ?>" accesskey="1" class="active"><?php _e('Basics'); ?></a>
+       <a id="tab2" href="javascript:flipTab(2)" title="<?php esc_attr_e('Advanced use of the Rich Editor'); ?>" accesskey="2"><?php _e('Advanced'); ?></a>
+       <a id="tab3" href="javascript:flipTab(3)" title="<?php esc_attr_e('Hotkeys'); ?>" accesskey="3"><?php _e('Hotkeys'); ?></a>
+       <a id="tab4" href="javascript:flipTab(4)" title="<?php esc_attr_e('About the software'); ?>" accesskey="4"><?php _e('About'); ?></a>
</ins><span class="cx"> </div>
</span><span class="cx"> 
</span><span class="cx"> <div id="flipper" class="wrap">
</span></span></pre>
</div>
</div>

</body>
</html>