<!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>[26439] trunk/src/wp-admin/css/wp-admin.css: Widgets: fix no-js and accessibility modes, props shaunandrews, fixes #26165.</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/26439">26439</a></dd>
<dt>Author</dt> <dd>azaozz</dd>
<dt>Date</dt> <dd>2013-11-27 22:16:27 +0000 (Wed, 27 Nov 2013)</dd>
</dl>
<h3>Log Message</h3>
<pre>Widgets: fix no-js and accessibility modes, props shaunandrews, fixes <a href="http://core.trac.wordpress.org/ticket/26165">#26165</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpadmincsswpadmincss">trunk/src/wp-admin/css/wp-admin.css</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpadmincsswpadmincss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/css/wp-admin.css (26438 => 26439)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/css/wp-admin.css 2013-11-27 20:19:56 UTC (rev 26438)
+++ trunk/src/wp-admin/css/wp-admin.css 2013-11-27 22:16:27 UTC (rev 26439)
</span><span class="lines">@@ -10189,7 +10189,7 @@
</span><span class="cx"> border: none;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#available-widgets .widget-title-action {
</del><ins>+#available-widgets .widget-action {
</ins><span class="cx"> display: none;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -10234,15 +10234,8 @@
</span><span class="cx"> .widget-title-action {
</span><span class="cx"> float: right;
</span><span class="cx"> position: relative;
</span><del>- top: 11px;
- right: 10px;
</del><span class="cx"> }
</span><span class="cx">
</span><del>-div#widgets-right a.widget-action:after,
-div#widgets-left .inactive-sidebar .widget-action:after {
- content: '\f140';
-}
-
</del><span class="cx"> div#widgets-left .inactive-sidebar .widgets-sortables {
</span><span class="cx"> min-height: 42px;
</span><span class="cx"> padding: 0;
</span><span class="lines">@@ -10313,49 +10306,44 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> /* Accessibility Mode */
</span><del>-#available-widgets .widget-control-edit .edit {
- display :none;
</del><ins>+.widgets_access #widgets-left .widget .widget-top {
+ cursor: auto;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-#available-widgets .widget-control-edit .add {
</del><ins>+.widgets_access #wpwrap .widgets-holder-wrap.closed .sidebar-description,
+.widgets_access #wpwrap .widgets-holder-wrap.closed .widget,
+.widgets_access #wpwrap .widget-control-edit {
</ins><span class="cx"> display: block;
</span><del>- position: absolute;
- top: 0;
- right: 50px;
- bottom: 0;
- left: 0;
- z-index: 40;
- text-align: center;
- text-indent: -5000px;
</del><span class="cx"> }
</span><span class="cx">
</span><del>-#widgets-right .widget-control-edit {
- background: #EEE;
- margin: -14px -10px 0 0;
- padding: 16px 15px;
- border-left: 1px solid #DDD;
</del><ins>+.widgets_access #widgets-left .widget .widget-top:hover,
+.widgets_access #widgets-right .widget .widget-top:hover {
+ border-color: #ddd;
</ins><span class="cx"> }
</span><span class="cx">
</span><ins>+#available-widgets .widget-control-edit .edit,
+#widgets-left .inactive-sidebar .widget-control-edit .add,
</ins><span class="cx"> #widgets-right .widget-control-edit .add {
</span><span class="cx"> display: none;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+.widget-control-edit {
+ display: block;
+ color: #666;
+ background: #EEE;
+ padding: 0 15px;
+ line-height: 43px;
+ border-left: 1px solid #DDD;
+}
+
+#widgets-left .widget-control-edit:hover,
</ins><span class="cx"> #widgets-right .widget-control-edit:hover {
</span><ins>+ color: #fff;
</ins><span class="cx"> background: #444;
</span><ins>+ border-left: 0;
+ outline: 1px solid #444;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-#widgets-right .widget-control-edit:before {
- content: '\f111';
- display: inline-block;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- font: normal 16px/1 'dashicons';
- vertical-align: top;
- position: relative;
- top: -1px;
- padding-right: 4px;
-}
-
</del><span class="cx"> .widgets-holder-wrap .sidebar-name,
</span><span class="cx"> .widgets-holder-wrap .sidebar-description {
</span><span class="cx"> -webkit-user-select: none;
</span><span class="lines">@@ -10366,6 +10354,12 @@
</span><span class="cx"> .editwidget {
</span><span class="cx"> margin: 0 auto;
</span><span class="cx"> }
</span><ins>+
+.editwidget .widget-inside {
+ display: block;
+ padding: 0 15px;
+}
+
</ins><span class="cx"> .editwidget .widget-control-actions {
</span><span class="cx"> margin-top: 20px;
</span><span class="cx"> }
</span><span class="lines">@@ -10395,15 +10389,22 @@
</span><span class="cx"> -moz-osx-font-smoothing: grayscale;
</span><span class="cx"> text-decoration: none !important;
</span><span class="cx"> }
</span><ins>+
+.widget-top a.widget-action:after {
+ padding: 12px 12px 0;
+}
+
</ins><span class="cx"> .nav-menus-php .item-edit:before {
</span><span class="cx"> line-height: 2.1;
</span><span class="cx"> }
</span><ins>+
</ins><span class="cx"> .control-section .accordion-section-title:after,
</span><span class="cx"> .accordion-section-title:after {
</span><span class="cx"> float: right;
</span><span class="cx"> right: 20px;
</span><span class="cx"> top: -2px;
</span><span class="cx"> }
</span><ins>+
</ins><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><span class="lines">@@ -10430,7 +10431,8 @@
</span><span class="cx"> .widgets_access .widget-action,
</span><span class="cx"> .widgets_access .sidebar-name-arrow,
</span><span class="cx"> .widgets_access #access-on,
</span><del>-.widgets_access .widget-holder .description {
</del><ins>+.widgets_access .widget-holder .description,
+.no-js .widget-holder .description {
</ins><span class="cx"> display: none;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -10443,20 +10445,6 @@
</span><span class="cx"> display: inline;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.widgets_access #wpbody-content .widget-title-action,
-.widgets_access #wpbody-content .widget-control-edit,
-.widgets_access .closed .widgets-sortables,
-.widgets_access .closed .widget-holder {
- display: block;
-}
-
-.widgets_access .closed .sidebar-name {
- -webkit-border-bottom-right-radius: 0;
- -webkit-border-bottom-left-radius: 0;
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0;
-}
-
</del><span class="cx"> .widgets_access .sidebar-name,
</span><span class="cx"> .widgets_access .widget .widget-top {
</span><span class="cx"> cursor: default;
</span><span class="lines">@@ -10557,7 +10545,6 @@
</span><span class="cx"> #available-widgets .widget .widget-top {
</span><span class="cx"> cursor: pointer;
</span><span class="cx"> }
</span><del>-/* End Widgets Area Chooser merge */
</del><span class="cx">
</span><span class="cx"> /* Enable draggable on IE10 touch events until it's rolled into jQuery UI core */
</span><span class="cx"> .ui-sortable,
</span></span></pre>
</div>
</div>
</body>
</html>