<!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>[26293] trunk/src/wp-admin: Making improvements to new styles added in the MP6 merge, and addressing visual feedback from core team.</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/26293">26293</a></dd>
<dt>Author</dt> <dd>iammattthomas</dd>
<dt>Date</dt> <dd>2013-11-20 22:47:25 +0000 (Wed, 20 Nov 2013)</dd>
</dl>
<h3>Log Message</h3>
<pre>Making improvements to new styles added in the MP6 merge, and addressing visual feedback from core team.
Improved and more consistent styling on the widgets & menus pages:
* Use the same visual treatment for both widgets and menus.
* Re-use existing styles from input:focus for draggable elements.
* Use the standard H3 size for widget area titles.
* Re-style the Widgets page drop zone to match drop zone from dashboard.
* Replace the gear icon on Widgets with the standard open/close arrows.
* Remove "Choose a sidebar" header from widget area chooser.
Make open/close arrows more consistent:
* Use the same arrow direction everywhere: pointing down when its container is closed, pointing up when open (following the Dashboard example).
* Set a consistent color for open/close arrows.
* Add a hover color for open/close arrows.
* Make open/close arrows permanently visible; :hover states don't exist on touch.
Make typography and color more consistent:
* Switch all declarations of #dedede to #ddd for simplicity's sake.
* Make H3s the same weight and color as H2s.
* Make select elements the same color as text inputs.
* Make paragraph text <a href="http://core.trac.wordpress.org/ticket/444">#444</a> so it doesn't look washed out on grey backgrounds.
General improvements:
* Eliminate the border between rows in settings tables.
* Make text and buttons line up in the Customizer.
See <a href="http://core.trac.wordpress.org/ticket/25858">#25858</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpadmincsscolorsfreshcss">trunk/src/wp-admin/css/colors-fresh.css</a></li>
<li><a href="#trunksrcwpadmincsscustomizecontrolscss">trunk/src/wp-admin/css/customize-controls.css</a></li>
<li><a href="#trunksrcwpadmincsswpadmincss">trunk/src/wp-admin/css/wp-admin.css</a></li>
<li><a href="#trunksrcwpadminwidgetsphp">trunk/src/wp-admin/widgets.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpadmincsscolorsfreshcss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/css/colors-fresh.css (26292 => 26293)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/css/colors-fresh.css 2013-11-20 22:46:43 UTC (rev 26292)
+++ trunk/src/wp-admin/css/colors-fresh.css 2013-11-20 22:47:25 UTC (rev 26293)
</span><span class="lines">@@ -161,7 +161,7 @@
</span><span class="cx"> #wpbody,
</span><span class="cx"> .form-table .pre,
</span><span class="cx"> .ui-autocomplete li a {
</span><del>- color: #555;
</del><ins>+ color: #444;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> body > #upload-menu {
</span><span class="lines">@@ -273,7 +273,7 @@
</span><span class="cx"> input[type="url"],
</span><span class="cx"> .titlewrap input,
</span><span class="cx"> select {
</span><del>- border-color: #dedede;
</del><ins>+ border-color: #ddd;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .inside textarea,
</span><span class="lines">@@ -297,7 +297,12 @@
</span><span class="cx"> input[type="url"]:focus,
</span><span class="cx"> input[type="checkbox"]:focus,
</span><span class="cx"> input[type="radio"]:focus,
</span><del>-select:focus {
</del><ins>+select:focus,
+#widgets-left .widget-in-question .widget-top,
+#available-widgets .widget-top:hover,
+#widgets-right .widget-top:hover,
+#widgets-left .widget-top:hover,
+.menu-item-bar .menu-item-handle:hover {
</ins><span class="cx"> border-color: #999;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -369,13 +374,6 @@
</span><span class="cx"> color: #222;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.form-table th {
- border-bottom: 1px solid #dfdfdf;
-}
-
-.form-table td {
- border-bottom: 1px solid #dfdfdf;
-}
</del><span class="cx"> .form-table.editcomment td {
</span><span class="cx"> border-bottom: none;
</span><span class="cx"> }
</span><span class="lines">@@ -411,8 +409,9 @@
</span><span class="cx"> color: #000;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.wrap h2 {
- color: #000;
</del><ins>+h2,
+h3 {
+ color: #222;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .wrap .add-new-h2,
</span><span class="lines">@@ -970,9 +969,10 @@
</span><span class="cx"> color: #888;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.widget,
-#available-widgets .widget-top,
</del><ins>+.widget-top,
+.menu-item-handle,
</ins><span class="cx"> .menu-item-settings,
</span><ins>+.widget-inside,
</ins><span class="cx"> .postbox,
</span><span class="cx"> #menu-settings-column .accordion-container,
</span><span class="cx"> #menu-management .menu-edit,
</span><span class="lines">@@ -986,21 +986,15 @@
</span><span class="cx"> #post-status-info,
</span><span class="cx"> .popular-tags,
</span><span class="cx"> .feature-filter {
</span><del>- border: 1px solid #dedede;
- -webkit-box-shadow: 0px 1px 1px -1px rgba(0,0,0,0.1);
- box-shadow: 0px 1px 1px -1px rgba(0,0,0,0.1);
</del><ins>+ border: 1px solid #ddd;
+ -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.05);
+ box-shadow: 0 1px 2px rgba(0,0,0,0.05);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .wp-editor-container {
</span><span class="cx"> border-bottom: none;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#available-widgets .widget,
-.widget.ui-sortable-helper {
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
</del><span class="cx"> .postbox table.widefat {
</span><span class="cx"> -webkit-box-shadow: none;
</span><span class="cx"> box-shadow: none;
</span><span class="lines">@@ -1021,21 +1015,15 @@
</span><span class="cx"> .postbox h3,
</span><span class="cx"> #namediv h3,
</span><span class="cx"> #submitdiv h3 {
</span><del>- color: #555;
</del><span class="cx"> border-bottom: 1px solid #eeeeee;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .widget .widget-top,
</span><span class="cx"> .menu-item-handle {
</span><del>- background: #e9e9e9;
- color: #333;
</del><ins>+ background: #fafafa;
+ color: #222;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-.js .sidebar-name:hover h3,
-.js .postbox h3:hover {
- color: #000;
-}
-
</del><span class="cx"> #misc-publishing-actions label[for="post_status"]:before,
</span><span class="cx"> #post-body #visibility:before,
</span><span class="cx"> .curtime #timestamp:before,
</span><span class="lines">@@ -1069,7 +1057,7 @@
</span><span class="cx">
</span><span class="cx"> #screen-meta {
</span><span class="cx"> background-color: #fff;
</span><del>- border: 1px solid #dedede;
</del><ins>+ border: 1px solid #ddd;
</ins><span class="cx"> border-top: none;
</span><span class="cx"> -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.025);
</span><span class="cx"> box-shadow: 0 1px 0 rgba(0,0,0,.025);
</span><span class="lines">@@ -1105,7 +1093,7 @@
</span><span class="cx"> /* screen options and help tabs */
</span><span class="cx"> #screen-options-link-wrap,
</span><span class="cx"> #contextual-help-link-wrap {
</span><del>- border: 1px solid #dedede;
</del><ins>+ border: 1px solid #ddd;
</ins><span class="cx"> border-top: none;
</span><span class="cx"> background: #fff;
</span><span class="cx"> -webkit-box-shadow: 0px 1px 1px -1px rgba(0,0,0,0.1);
</span><span class="lines">@@ -1181,9 +1169,13 @@
</span><span class="cx">
</span><span class="cx"> .widget-inside,
</span><span class="cx"> .menu-item-settings {
</span><del>- background: #eee;
</del><ins>+ background: #fff;
</ins><span class="cx"> }
</span><span class="cx">
</span><ins>+.menu-item-settings {
+ border-top: none;
+}
+
</ins><span class="cx"> #titlediv #title {
</span><span class="cx"> background-color: #fff;
</span><span class="cx"> }
</span><span class="lines">@@ -1500,10 +1492,6 @@
</span><span class="cx"> color: #2ea2cc;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.js .meta-box-sortables .postbox:hover .handlediv:before {
- color: #888;
-}
-
</del><span class="cx"> .tablenav .tablenav-pages {
</span><span class="cx"> color: #555;
</span><span class="cx"> }
</span><span class="lines">@@ -1567,7 +1555,6 @@
</span><span class="cx">
</span><span class="cx"> .sortable-placeholder {
</span><span class="cx"> border-color: #bbb;
</span><del>- background-color: #f5f5f5;
</del><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #post-body ul.category-tabs li.tabs a,
</span><span class="lines">@@ -1596,19 +1583,19 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #widgets-left #available-widgets {
</span><del>- background: #fff;
</del><ins>+ background: transparent;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-#available-widgets .widget-description {
- color: #555;
</del><ins>+#widgets-left .widgets-holder-wrap {
+ border: none;
+ -webkit-box-shadow: none;
+ box-shadow: none;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .sidebar-name {
</span><del>- color: #464646;
</del><span class="cx"> border-bottom-color: #e1e1e1;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.js .sidebar-name:hover,
</del><span class="cx"> .js #removing-widget {
</span><span class="cx"> color: #2ea2cc;
</span><span class="cx"> }
</span><span class="lines">@@ -1619,8 +1606,9 @@
</span><span class="cx">
</span><span class="cx"> .in-widget-title,
</span><span class="cx"> #widgets-right .widget-top a.widget-control-edit,
</span><del>-#wp_inactive_widgets .in-widget-title {
- color: #777;
</del><ins>+#wp_inactive_widgets .in-widget-title,
+#available-widgets .widget-description {
+ color: #666;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #widgets-right .widget-top a.widget-control-edit:hover {
</span><span class="lines">@@ -1715,28 +1703,22 @@
</span><span class="cx"> color: #f00;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.widget-top a.widget-action:hover {
- color: #0074a2;
</del><ins>+.widget-action,
+.handlediv,
+.item-edit,
+.sidebar-name-arrow,
+.accordion-section-title:after {
+ color: #aaa;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-.widget-top a.widget-action:after {
- color: #333;
</del><ins>+.widget-action:hover,
+.handlediv:hover,
+.item-edit:hover,
+.sidebar-name:hover .sidebar-name-arrow,
+.accordion-section-title:hover:after {
+ color: #777;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-#wp_inactive_widgets .widget .widget-top a.widget-action {
- color: #ddd;
-}
-
-.nav-menus-php .item-edit:before,
-#wp_inactive_widgets .widget .widget-top a.widget-action:after {
- color: #888;
-}
-
-.control-section .accordion-section-title::after,
-.accordion-section-title::after {
- color: #888;
-}
-
</del><span class="cx"> /* Menu editing */
</span><span class="cx">
</span><span class="cx"> .link-to-original {
</span></span></pre></div>
<a id="trunksrcwpadmincsscustomizecontrolscss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/css/customize-controls.css (26292 => 26293)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/css/customize-controls.css 2013-11-20 22:46:43 UTC (rev 26292)
+++ trunk/src/wp-admin/css/customize-controls.css 2013-11-20 22:47:25 UTC (rev 26293)
</span><span class="lines">@@ -20,7 +20,7 @@
</span><span class="cx">
</span><span class="cx"> #customize-header-actions .button-primary {
</span><span class="cx"> float: right;
</span><del>- margin-top: 10px;
</del><ins>+ margin-top: 9px;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #customize-header-actions .spinner {
</span></span></pre></div>
<a id="trunksrcwpadmincsswpadmincss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/css/wp-admin.css (26292 => 26293)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/css/wp-admin.css 2013-11-20 22:46:43 UTC (rev 26292)
+++ trunk/src/wp-admin/css/wp-admin.css 2013-11-20 22:47:25 UTC (rev 26293)
</span><span class="lines">@@ -250,8 +250,6 @@
</span><span class="cx"> -webkit-box-sizing: border-box;
</span><span class="cx"> -ms-box-sizing: border-box; /* ie8 only */
</span><span class="cx"> box-sizing: border-box;
</span><del>- -webkit-border-radius: 0;
- border-radius: 0;
</del><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> input[type="checkbox"],
</span><span class="lines">@@ -289,10 +287,6 @@
</span><span class="cx"> margin-top: -2px;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-input[type="checkbox"] {
- border-radius: 0;
-}
-
</del><span class="cx"> input[type=radio] {
</span><span class="cx"> border-radius: 50%;
</span><span class="cx"> margin-right: 4px;
</span><span class="lines">@@ -492,6 +486,7 @@
</span><span class="cx"> h2 {
</span><span class="cx"> font-size: 1.5em;
</span><span class="cx"> margin: .83em 0;
</span><ins>+ font-weight: 400;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> h3 {
</span><span class="lines">@@ -884,7 +879,11 @@
</span><span class="cx"> input[type="url"]:focus,
</span><span class="cx"> input[type="checkbox"]:focus,
</span><span class="cx"> input[type="radio"]:focus,
</span><del>-select:focus {
</del><ins>+select:focus,
+#widgets-chooser ul,
+#widgets-left .widget-in-question .widget-top,
+#available-widgets .widget-top:hover,
+div#widgets-right .widget-top:hover {
</ins><span class="cx"> -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1);
</span><span class="cx"> box-shadow: 0 1px 2px rgba(0,0,0,0.1);
</span><span class="cx"> }
</span><span class="lines">@@ -1088,7 +1087,7 @@
</span><span class="cx"> padding: 2px;
</span><span class="cx"> line-height: 28px;
</span><span class="cx"> height: 28px;
</span><del>- color: #555;
</del><ins>+ color: #333;
</ins><span class="cx"> vertical-align: top;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -1321,7 +1320,7 @@
</span><span class="cx"> #major-publishing-actions {
</span><span class="cx"> padding: 10px;
</span><span class="cx"> clear: both;
</span><del>- border-top: 1px solid #dedede;
</del><ins>+ border-top: 1px solid #ddd;
</ins><span class="cx"> background: #f5f5f5;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -2360,7 +2359,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .metabox-holder .postbox-container .empty-container {
</span><del>- border: 3px dashed #CCCCCC;
</del><ins>+ border: 3px dashed #bbb;
</ins><span class="cx"> height: 250px;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -5788,7 +5787,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .drag-drop #drag-drop-area {
</span><del>- border: 4px dashed #DDDDDD;
</del><ins>+ border: 4px dashed #bbb;
</ins><span class="cx"> height: 200px;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -6081,7 +6080,7 @@
</span><span class="cx">
</span><span class="cx"> .form-table td {
</span><span class="cx"> margin-bottom: 9px;
</span><del>- padding: 18px 10px;
</del><ins>+ padding: 15px 10px;
</ins><span class="cx"> line-height: 1.3;
</span><span class="cx"> font-size: 14px;
</span><span class="cx"> vertical-align: middle;
</span><span class="lines">@@ -6787,7 +6786,7 @@
</span><span class="cx">
</span><span class="cx"> .picker-dropdown {
</span><span class="cx"> background: #fcfcfc;
</span><del>- border: 1px solid #dedede;
</del><ins>+ border: 1px solid #ddd;
</ins><span class="cx"> margin-right: 12%;
</span><span class="cx"> max-width: 270px;
</span><span class="cx"> position: relative;
</span><span class="lines">@@ -6833,7 +6832,7 @@
</span><span class="cx"> .picker-dropdown.dropdown-container:before {
</span><span class="cx"> top: -11px;
</span><span class="cx"> z-index: 1;
</span><del>- border-bottom-color: #dedede;
</del><ins>+ border-bottom-color: #ddd;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .picker-dropdown-arrow {
</span><span class="lines">@@ -6845,7 +6844,7 @@
</span><span class="cx"> height: 100%;
</span><span class="cx"> background: white;
</span><span class="cx"> text-align: center;
</span><del>- border: 1px solid #dedede;
</del><ins>+ border: 1px solid #ddd;
</ins><span class="cx"> border-left-width: 0;
</span><span class="cx"> cursor: pointer;
</span><span class="cx"> }
</span><span class="lines">@@ -6862,7 +6861,7 @@
</span><span class="cx"> .color-option {
</span><span class="cx"> display: block;
</span><span class="cx"> padding: 20px;
</span><del>- border-top: 1px solid #dedede;
</del><ins>+ border-top: 1px solid #ddd;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .color-option:hover,
</span><span class="lines">@@ -7504,7 +7503,7 @@
</span><span class="cx"> left: 0;
</span><span class="cx"> right: 0;
</span><span class="cx"> height: 45px;
</span><del>- padding: 0 20px;
</del><ins>+ padding: 0 15px;
</ins><span class="cx"> line-height: 45px;
</span><span class="cx"> z-index: 10;
</span><span class="cx"> margin: 0;
</span><span class="lines">@@ -7514,7 +7513,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .wp-full-overlay-sidebar .wp-full-overlay-header a.back {
</span><del>- margin-top: 10px;
</del><ins>+ margin-top: 9px;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .wp-full-overlay-sidebar .wp-full-overlay-footer {
</span><span class="lines">@@ -9074,10 +9073,9 @@
</span><span class="cx"> .menu-item-bar .menu-item-handle {
</span><span class="cx"> border: 1px solid #dfdfdf;
</span><span class="cx"> position: relative;
</span><del>- padding-left: 10px;
- padding-right: 2px;
</del><ins>+ padding: 10px 15px;
</ins><span class="cx"> height: auto;
</span><del>- width: 400px;
</del><ins>+ width: 382px;
</ins><span class="cx"> line-height: 30px;
</span><span class="cx"> overflow: hidden;
</span><span class="cx"> word-wrap: break-word;
</span><span class="lines">@@ -9092,14 +9090,6 @@
</span><span class="cx"> background-image: linear-gradient(to top, #f6c9cc, #fdf8ff);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.menu-item-edit-active .menu-item-handle {
- -webkit-border-bottom-right-radius: 0;
- -webkit-border-bottom-left-radius: 0;
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0;
- border-bottom: none;
-}
-
</del><span class="cx"> .no-js .menu-item-edit-active .item-edit {
</span><span class="cx"> display: none;
</span><span class="cx"> }
</span><span class="lines">@@ -9115,7 +9105,6 @@
</span><span class="cx"> .menu-item-handle .item-title {
</span><span class="cx"> font-size: 13px;
</span><span class="cx"> font-weight: 600;
</span><del>- padding: 5px 0;
</del><span class="cx"> line-height: 20px;
</span><span class="cx"> display: block;
</span><span class="cx"> margin-right: 13em;
</span><span class="lines">@@ -9179,7 +9168,7 @@
</span><span class="cx"> /* Menu item controls */
</span><span class="cx"> .item-type {
</span><span class="cx"> font-size: 12px;
</span><del>- padding: 7px 10px;
</del><ins>+ padding: 12px 10px;
</ins><span class="cx"> line-height: 18px;
</span><span class="cx"> display: block;
</span><span class="cx"> }
</span><span class="lines">@@ -9209,7 +9198,7 @@
</span><span class="cx"> top: 0;
</span><span class="cx"> display: block;
</span><span class="cx"> width: 30px;
</span><del>- height: 36px;
</del><ins>+ height: 40px;
</ins><span class="cx"> margin-right: 0 !important;
</span><span class="cx"> text-indent: 100%;
</span><span class="cx"> overflow: hidden;
</span><span class="lines">@@ -9225,6 +9214,8 @@
</span><span class="cx"> display: block;
</span><span class="cx"> width: 402px;
</span><span class="cx"> padding: 10px 0 10px 10px;
</span><ins>+ position: relative;
+ z-index: 10; /* Keep .item-title's shadow from appearing on top of .menu-item-settings */
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .menu-item-settings .field-move a {
</span><span class="lines">@@ -9234,12 +9225,10 @@
</span><span class="cx">
</span><span class="cx"> .menu-item-edit-active .menu-item-settings {
</span><span class="cx"> display: block;
</span><del>- border-top: none;
</del><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .menu-item-edit-inactive .menu-item-settings {
</span><span class="cx"> display: none;
</span><del>- border-top: none;
</del><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .add-menu-item-pagelinks {
</span><span class="lines">@@ -9682,26 +9671,14 @@
</span><span class="cx"> text-decoration: none !important;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/* Make the tiny arrow visible on the widgets page at all times */
-.js .widgets-holder-wrap .sidebar-name .sidebar-name-arrow:before {
- color: rgba(136,136,136,.4);
-}
-.js .widgets-holder-wrap .sidebar-name .sidebar-name-arrow:before {
- content: '\f142';
-}
-.js .widgets-holder-wrap.closed .sidebar-name .sidebar-name-arrow:before {
- content: '\f140';
-}
-
</del><span class="cx"> /* Show the arrow only on hover */
</span><del>-.js .sidebar-name:hover .sidebar-name-arrow:before,
-.js .meta-box-sortables .postbox:hover .handlediv:before {
</del><ins>+.js .sidebar-name .sidebar-name-arrow:before,
+.js .meta-box-sortables .postbox .handlediv:before {
</ins><span class="cx"> content: '\f142';
</span><del>- color: #888;
</del><span class="cx"> }
</span><span class="cx">
</span><del>-.js .widgets-holder-wrap.closed:hover .sidebar-name-arrow:before,
-.js .meta-box-sortables .postbox.closed:hover .handlediv:before {
</del><ins>+.js .widgets-holder-wrap.closed .sidebar-name-arrow:before,
+.js .meta-box-sortables .postbox.closed .handlediv:before {
</ins><span class="cx"> content: '\f140';
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -10002,14 +9979,13 @@
</span><span class="cx"> margin: 10px auto;
</span><span class="cx"> /* min-width: 50%; Not sure if this is needed */
</span><span class="cx"> position: relative;
</span><del>- border: none !important; /* ln 991 in colors-fresh.css */
</del><span class="cx"> box-sizing: border-box;
</span><span class="cx"> -moz-box-sizing:border-box;
</span><span class="cx"> -webkit-box-sizing:border-box;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .widget-top {
</span><del>- font-size: 12px;
</del><ins>+ font-size: 13px;
</ins><span class="cx"> font-weight: 600;
</span><span class="cx"> background: #f7f7f7;
</span><span class="cx"> }
</span><span class="lines">@@ -10021,15 +9997,15 @@
</span><span class="cx">
</span><span class="cx"> .widget-title h4 {
</span><span class="cx"> margin: 0;
</span><del>- padding: 18px 15px;
</del><ins>+ padding: 15px;
</ins><span class="cx"> line-height: 1;
</span><span class="cx"> overflow: hidden;
</span><span class="cx"> white-space: nowrap;
</span><span class="cx"> text-overflow: ellipsis;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.widget-inside {
- background: #fff !important; /* ln 1204 in colors.fresh.css */
</del><ins>+.widgets-holder-wrap .widget-inside {
+ border-top: none;
</ins><span class="cx"> padding: 1px 15px 15px 15px;
</span><span class="cx"> line-height: 16px;
</span><span class="cx"> }
</span><span class="lines">@@ -10042,20 +10018,15 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .widget.ui-sortable-helper {
</span><del>- border: 1px solid #DEDEDE;
- border-radius: 3px;
- box-shadow: 0 1px 3px rgba(0,0,0,0.2);
</del><span class="cx"> opacity: 0.8;
</span><span class="cx"> z-index: 2000;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .widget-placeholder {
</span><del>- border: 1px solid #dedede;
- margin: auto auto -1px;
</del><ins>+ border: 1px dashed #bbb;
+ margin: 10px 0;
</ins><span class="cx"> height: 50px;
</span><span class="cx"> width: 100%;
</span><del>- background: #eee;
- box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
</del><span class="cx"> -webkit-box-sizing: border-box;
</span><span class="cx"> -moz-box-sizing: border-box;
</span><span class="cx"> box-sizing: border-box;
</span><span class="lines">@@ -10072,9 +10043,9 @@
</span><span class="cx">
</span><span class="cx"> .sidebar-name-arrow {
</span><span class="cx"> position: absolute;
</span><del>- top: 0;
- right: 0;
- bottom: 0;
</del><ins>+ top: 0;
+ right: 0;
+ bottom: 0;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .js .sidebar-name {
</span><span class="lines">@@ -10082,8 +10053,6 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .sidebar-name h3 {
</span><del>- font-weight: normal;
- font-size: 15px;
</del><span class="cx"> margin: 0;
</span><span class="cx"> padding: 8px 10px;
</span><span class="cx"> overflow: hidden;
</span><span class="lines">@@ -10094,16 +10063,18 @@
</span><span class="cx"> padding: 0;
</span><span class="cx"> margin: 0;
</span><span class="cx"> font-style: normal;
</span><del>- font-size: 12px;
</del><span class="cx"> color: #777;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+#available-widgets.widgets-holder-wrap .description {
+ padding-bottom: 10px;
+}
+
</ins><span class="cx"> /* Widgets 2-col Layout */
</span><span class="cx"> div.widget-liquid-left {
</span><span class="cx"> margin: 0;
</span><span class="cx"> width: 38%;
</span><span class="cx"> float: left;
</span><del>- border-right: 2px solid #ccc;
</del><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> div.widget-liquid-right {
</span><span class="lines">@@ -10114,8 +10085,7 @@
</span><span class="cx"> /* Widgets Left - Available Widgets */
</span><span class="cx">
</span><span class="cx"> div#widgets-left {
</span><del>- margin: 0;
- padding: 12px 5% 0 0;
</del><ins>+ padding-top: 12px;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> div#widgets-left .closed .sidebar-name,
</span><span class="lines">@@ -10128,66 +10098,32 @@
</span><span class="cx"> margin: 0 10px 0 0;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-div#widgets-left .sidebar-name:hover h3 {
- color: #464646;
-}
-
</del><span class="cx"> div#widgets-left .sidebar-name .sidebar-name-arrow:before {
</span><span class="cx"> right: 0;
</span><span class="cx"> top: 4px;
</span><span class="cx"> padding: 4px 6px 4px 4px;
</span><del>- border-radius: 20px;
</del><span class="cx"> }
</span><span class="cx">
</span><del>-div#widgets-left .sidebar-name:hover .sidebar-name-arrow:before {
- background: #ccc;
-}
-
-div#widgets-left .closed .sidebar-name .sidebar-name-arrow:before {
- background: #999;
- color: #fff;
-}
-
</del><span class="cx"> div#widgets-left .widget-holder {
</span><span class="cx"> background: transparent;
</span><span class="cx"> border: none;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#available-widgets {
- background: transparent !important; /* ln 1620 colors-fresh.css */
- margin: 0;
- border-radius: none;
- box-shadow: none;
- border: none;
-}
-
</del><span class="cx"> #available-widgets .widget-title-action {
</span><span class="cx"> display: none;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #available-widgets .widget {
</span><del>- margin: 10px 0 0 0;
- background: #ddd;
- border-radius: 3px;
</del><ins>+ margin: 0;
</ins><span class="cx"> }
</span><ins>+
</ins><span class="cx"> #available-widgets .widget:nth-child(odd) {
</span><span class="cx"> clear: both;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#available-widgets .widget-top {
- border-radius: 3px;
- background: #ffffff; /* ln 1047 in colors-fresh.css */
- border: 1px solid #bbb !important; /* ln 991 in colors-fresh.css */
-}
-
-#available-widgets .widget-top:hover {
- border-color: #999 !important; /* ln 991 in colors-fresh.css */
- box-shadow: 0 1px 3px rgba(0,0,0,0.2);
-}
-
</del><span class="cx"> #available-widgets .widget .widget-description {
</span><span class="cx"> display: block;
</span><del>- padding: 10px 16px;
</del><ins>+ padding: 10px 15px;
</ins><span class="cx"> font-size: 12px;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -10206,46 +10142,21 @@
</span><span class="cx"> margin-top: 40px;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#widgets-left .inactive-sidebar .widget {
- margin: 10px 0 0 0;
-}
-
-#widgets-left .inactive-sidebar .widget-inside {
- -webkit-border-bottom-right-radius: 3px;
- -webkit-border-bottom-left-radius: 3px;
- -moz-border-radius-bottomright: 3px;
- -moz-border-radius-bottomleft: 3px;
- border-bottom-right-radius: 3px;
- border-bottom-left-radius: 3px;
- background: #dfdfdf;
-}
-
-#widgets-left .inactive-sidebar .widget-top {
- background: #fff !important; /* ln 991 in colors-fresh.css */
- border: 1px solid #bbb !important; /* ln 991 in colors-fresh.css */
- border-radius: 3px;
-}
-
-#widgets-left .inactive-sidebar .widget-top:hover {
- border-color: #999 !important; /* ln 991 in colors-fresh.css */
- box-shadow: 0 1px 3px rgba(0,0,0,0.2);
-}
-
</del><span class="cx"> /* Not sure what this is for... */
</span><span class="cx"> div#widgets-left .inactive-sidebar .widget.expanded {
</span><span class="cx"> left: auto;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#widgets-left .inactive-sidebar .widget-title-action {
</del><ins>+.widget-title-action {
</ins><span class="cx"> float: right;
</span><span class="cx"> position: relative;
</span><del>- top: 13px;
</del><ins>+ top: 11px;
</ins><span class="cx"> right: 10px;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+div#widgets-right a.widget-action:after,
</ins><span class="cx"> div#widgets-left .inactive-sidebar .widget-action:after {
</span><del>- content: '\f111';
- color: #888;
</del><ins>+ content: '\f140';
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> div#widgets-left .inactive-sidebar .widgets-sortables {
</span><span class="lines">@@ -10256,19 +10167,6 @@
</span><span class="cx"> position: relative;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-div#widgets-left .inactive-sidebar .widget-placeholder {
- border: 1px solid #ccc;
- margin: 10px 0 0;
- height: 50px;
- width: 100%;
- border-radius: 3px;
- background: #e7e7e7;
- box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
-}
-
</del><span class="cx"> /* Widgets Right */
</span><span class="cx">
</span><span class="cx"> div#widgets-right:after {
</span><span class="lines">@@ -10285,13 +10183,12 @@
</span><span class="cx">
</span><span class="cx"> div#widgets-right .widget {
</span><span class="cx"> margin: 0 auto;
</span><del>- border: 1px solid #dedede !important; /* ln 991 in colors-fresh.css */
- margin-bottom: -1px;
</del><ins>+ margin-bottom: 10px;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> div#widgets-right .sidebar-description {
</span><span class="cx"> border-top: 1px solid #eeeeee;
</span><del>- padding: 10px 15px 15px 15px;
</del><ins>+ padding: 10px 15px;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> div#widgets-right .closed .sidebar-description {
</span><span class="lines">@@ -10309,25 +10206,8 @@
</span><span class="cx">
</span><span class="cx"> div#widgets-right .widget-top {
</span><span class="cx"> padding: 0;
</span><del>- background: #f7f7f7;
</del><span class="cx"> }
</span><span class="cx">
</span><del>-div#widgets-right .widget-title-action {
- float: right;
- position: relative;
- top: 14px;
- right: 10px;
-}
-
-div#widgets-right a.widget-action:after {
- content: '\f111';
- color: #888;
-}
-
-div#widgets-right .widget-inside {
- border-top: 1px solid #dedede;
-}
-
</del><span class="cx"> div#widgets-right .widgets-sortables {
</span><span class="cx"> padding: 0 8px;
</span><span class="cx"> margin-bottom: 9px;
</span><span class="lines">@@ -10335,21 +10215,6 @@
</span><span class="cx"> min-height: 50px;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-div#widgets-right .widgets-sortables:before {
- display: block;
- content: "";
- text-align: center;
- position: absolute;
- left: 8px;
- right: 8px;
- bottom: 0;
- height: 47px;
- border: 1px dashed #dedede;
- line-height: 40px;
- font-weight: 600;
- color: #aaa;
-}
-
</del><span class="cx"> .sidebar-name .spinner {
</span><span class="cx"> margin: -5px 5px;
</span><span class="cx"> float: none;
</span><span class="lines">@@ -10362,10 +10227,10 @@
</span><span class="cx"> #available-widgets .widget-control-edit .add {
</span><span class="cx"> display: block;
</span><span class="cx"> position: absolute;
</span><del>- top: 0;
- right: 50px;
- bottom: 0;
- left: 0;
</del><ins>+ top: 0;
+ right: 50px;
+ bottom: 0;
+ left: 0;
</ins><span class="cx"> z-index: 40;
</span><span class="cx"> text-align: center;
</span><span class="cx"> text-indent: -5000px;
</span><span class="lines">@@ -10412,7 +10277,7 @@
</span><span class="cx"> .control-section .accordion-section-title:after,
</span><span class="cx"> .accordion-section-title:after {
</span><span class="cx"> right: 0;
</span><del>- content: '\f141';
</del><ins>+ content: '\f140';
</ins><span class="cx"> border: none;
</span><span class="cx"> background: none;
</span><span class="cx"> font: normal 20px/1 'dashicons';
</span><span class="lines">@@ -10427,7 +10292,7 @@
</span><span class="cx"> text-decoration: none !important;
</span><span class="cx"> }
</span><span class="cx"> .nav-menus-php .item-edit:before {
</span><del>- line-height: 1.5;
</del><ins>+ line-height: 2.1;
</ins><span class="cx"> }
</span><span class="cx"> .control-section .accordion-section-title:after,
</span><span class="cx"> .accordion-section-title:after {
</span><span class="lines">@@ -10438,7 +10303,7 @@
</span><span class="cx"> .control-section.open .accordion-section-title:after,
</span><span class="cx"> #customize-info.open .accordion-section-title:after,
</span><span class="cx"> .nav-menus-php .menu-item-edit-active .item-edit:before {
</span><del>- content: '\f140';
</del><ins>+ content: '\f142';
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> /* Hide Widget Settings by Default */
</span><span class="lines">@@ -10513,38 +10378,25 @@
</span><span class="cx"> pointer-events: auto;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.widget-liquid-left #widgets-left.chooser #available-widgets .widget-in-question .widget-top {
- background: #fff;
- border: 1px solid #bbb;
- box-shadow: 0 1px 3px rgba(0,0,0,0.2);
</del><ins>+#widgets-chooser ul.widgets-chooser-sidebars {
+ margin: 0;
+ list-style-type: none;
+ max-height: 300px;
+ overflow: auto;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #widgets-chooser {
</span><del>- clear: both;
</del><span class="cx"> display: none;
</span><del>- max-width: 400px;
</del><span class="cx"> }
</span><span class="cx">
</span><del>-#widgets-chooser h3 {
- font-size: 12px;
- padding: 15px 0 12px 35px;
- margin: 0;
- border-top: 1px solid #ccc;
- background: rgba(0,0,0,0.6);
- color: #fff;
</del><ins>+#widgets-chooser ul {
+ border: 1px solid #ccc;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-#widgets-chooser ul.widgets-chooser-sidebars {
- margin: 0;
- list-style-type: none;
- max-height: 300px;
- overflow: auto;
-}
-
</del><span class="cx"> #widgets-chooser li {
</span><span class="cx"> padding: 10px 15px 10px 35px;
</span><ins>+ border-bottom: 1px solid #ccc;
</ins><span class="cx"> background: #fff;
</span><del>- border-bottom: 1px solid #ccc;
</del><span class="cx"> margin: 0;
</span><span class="cx"> cursor: pointer;
</span><span class="cx"> outline: none;
</span><span class="lines">@@ -10568,8 +10420,12 @@
</span><span class="cx"> left: 5px;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+#widgets-chooser li:last-child {
+ border: none;
+}
+
</ins><span class="cx"> #widgets-chooser li.widgets-chooser-selected {
</span><del>- background: #1075a0;
</del><ins>+ background: #2ea2cc;
</ins><span class="cx"> color: #fff;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -10632,7 +10488,7 @@
</span><span class="cx">
</span><span class="cx"> .accordion-section-title {
</span><span class="cx"> margin: 0;
</span><del>- padding: 15px 20px;
</del><ins>+ padding: 12px 15px 15px;
</ins><span class="cx"> position: relative;
</span><span class="cx"> border-left: 1px solid #dfdfdf;
</span><span class="cx"> border-right: 1px solid #dfdfdf;
</span><span class="lines">@@ -10686,7 +10542,7 @@
</span><span class="cx"> .js .control-section .accordion-section-title:hover,
</span><span class="cx"> .js .control-section.open .accordion-section-title,
</span><span class="cx"> .js .control-section .accordion-section-title:focus {
</span><del>- color: #555;
</del><ins>+ color: #222;
</ins><span class="cx"> background: #f5f5f5;
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunksrcwpadminwidgetsphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/widgets.php (26292 => 26293)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/widgets.php 2013-11-20 22:46:43 UTC (rev 26292)
+++ trunk/src/wp-admin/widgets.php 2013-11-20 22:47:25 UTC (rev 26293)
</span><span class="lines">@@ -429,7 +429,6 @@
</span><span class="cx"> </div>
</span><span class="cx">
</span><span class="cx"> <div id="widgets-chooser">
</span><del>- <h3><?php _e( 'Choose a sidebar:' ); ?></h3>
</del><span class="cx"> <ul class="widgets-chooser-sidebars"></ul>
</span><span class="cx"> <div class="widgets-chooser-actions">
</span><span class="cx"> <button class="button-secondary"><?php _e( 'Cancel' ); ?></button>
</span></span></pre>
</div>
</div>
</body>
</html>