<!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" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { 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 #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#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>
<title>[14449] trunk/wp-admin/css: Early pass on RTL for nav menu UI.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/14449">14449</a></dd>
<dt>Author</dt> <dd>nacin</dd>
<dt>Date</dt> <dd>2010-05-04 19:34:38 +0000 (Tue, 04 May 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Early pass on RTL for nav menu UI. props yoavf, see <a href="http://trac.wordpress.org/ticket/13166">#13166</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadmincssnavmenurtlcss">trunk/wp-admin/css/nav-menu-rtl.css</a></li>
<li><a href="#trunkwpadmincssnavmenurtldevcss">trunk/wp-admin/css/nav-menu-rtl.dev.css</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadmincssnavmenurtlcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/nav-menu-rtl.css (14448 => 14449)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/nav-menu-rtl.css        2010-05-04 19:31:24 UTC (rev 14448)
+++ trunk/wp-admin/css/nav-menu-rtl.css        2010-05-04 19:34:38 UTC (rev 14449)
</span><span class="lines">@@ -1 +1 @@
</span><del>-.howto span{float:right;}.menu-item-textbox{float:left;}.add-to-menu{float:left;}.menu-item-title input[type=&quot;checkbox&quot;]{margin-left:3px;}.menu li dl dt{padding-left:0;padding-right:10px;}.menu li ul li{margin-left:0;margin-right:20px;}.menu li .item-title{margin-right:0;margin-left:18em;}.item-controls{right:auto;left:15px;}.item-type{padding-right:0;padding-left:10px;}
</del><span class="cx">\ No newline at end of file
</span><ins>+#nav-menus-frame{margin-right:300px;margin-left:0;}#wpbody-content #menu-settings-column{margin-right:-300px;margin-left:0;float:right;}#menu-settings-column .handlediv{background-position:100% -110px;}#menu-management-liquid{float:right;}#menu-management{margin-left:20px;margin-right:0;}}#nav-menu-header{background-position:right top;}#post-body{padding:0 10px 10px 0;}.post-body-plain{padding:10px 0 0 10px;}#menu-management .nav-tabs-arrow-left{right:0;left:auto;}#menu-management .nav-tabs-arrow-right{left:0;right:auto;text-align:left;}#menu-management .nav-tabs{padding-right:30px;padding-left:10px;}.js #menu-management .nav-tabs{float:right;margin-right:0;margin-left:-400px;}#select-nav-menu-container{padding:0 10px 3px 10px;}#menu-management #major-publishing-actions #delete-action{float:left;margin-left:10px;margin-right:0;}#wpbody .open-label span{padding-left:10px;padding-right:0;}.js .input-with-default-title{font-style:normal;}.postbox .howto input{float:left;}#side-sortables .potential-menu-item{margin-right:0;}#side-sortables .potential-menu-item ul{margin-right:0;}#cancel-save{margin-left:0;margin-right:20px;}.list-controls{float:right;}.add-to-menu{float:left;}#add-custom-link label span{float:right;padding-left:5px;padding-right:0;}.howto span{float:right;}.list li .menu-item-title input{margin-left:3px;margin-right:0;}.menu-item-handle{background-position:right top;padding-right:10px;padding-left:0;}.menu-item-handle .item-title{margin-left:13em;margin-right:0;}.menu-item-depth-0{margin-right:0;margin-left:0;}.menu-item-depth-1{margin-right:30px;margin-left:0;}.menu-item-depth-2{margin-right:60px;margin-left:0;}.menu-item-depth-3{margin-right:90px;margin-left:0;}.menu-item-depth-4{margin-right:120px;margin-left:0;}.menu-item-depth-5{margin-right:150px;margin-left:0;}.menu-item-depth-6{margin-right:180px;margin-left:0;}.menu-item-depth-7{margin-right:210px;margin-left:0;}.menu-item-depth-8{margin-right:240px;margin-left:0;}.menu-item-depth-9{margin-right:270px;margin-left:0;}.menu-item-depth-10{margin-right:300px;margin-left:0;}.menu-item-depth-11{margin-right:330px;margin-left:0;}.menu-item-depth-0 .menu-item-transport{margin-right:0;margin-left:0;}.menu-item-depth-1 .menu-item-transport{margin-right:-30px;margin-left:0;}.menu-item-depth-2 .menu-item-transport{margin-right:-60px;margin-left:0;}.menu-item-depth-3 .menu-item-transport{margin-right:-90px;margin-left:0;}.menu-item-depth-4 .menu-item-transport{margin-right:-120px;margin-left:0;}.menu-item-depth-5 .menu-item-transport{margin-right:-150px;margin-left:0;}.menu-item-depth-6 .menu-item-transport{margin-right:-180px;margin-left:0;}.menu-item-depth-7 .menu-item-transport{margin-right:-210px;margin-left:0;}.menu-item-depth-8 .menu-item-transport{margin-right:-240px;margin-left:0;}.menu-item-depth-9 .menu-item-transport{margin-right:-270px;margin-left:0;}.menu-item-depth-10 .menu-item-transport{margin-right:-300px;margin-left:0;}.menu-item-depth-11 .menu-item-transport{margin-right:-330px;margin-left:0;}.item-type{padding-right:0;padding-left:10px;}.item-controls{right:auto;left:20px;}.item-controls .item-order{padding-left:10px;padding-right:0;}.item-edit{background-position:100% -105px;left:-20px;right:auto;}.menu-item-settings{padding:10px 10px 10px 0;}.link-to-original a{padding-right:4px;padding-left:0;}.menu-item-settings .description-thin,.menu-item-settings .description-wide{margin-left:10px;margin-right:0;float:right;}.save-menu-item{padding-right:10px;padding-left:0;float:left;}.major-publishing-actions .publishing-action{text-align:left;float:left;}.major-publishing-actions .delete-action{text-align:right;float:left;padding-left:15px;padding-right:0;}
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpadmincssnavmenurtldevcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/nav-menu-rtl.dev.css (14448 => 14449)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/nav-menu-rtl.dev.css        2010-05-04 19:31:24 UTC (rev 14448)
+++ trunk/wp-admin/css/nav-menu-rtl.dev.css        2010-05-04 19:34:38 UTC (rev 14449)
</span><span class="lines">@@ -1,32 +1,190 @@
</span><del>-.howto span {
</del><ins>+#nav-menus-frame {
+        margin-right: 300px;
+        margin-left: 0;
+}
+
+#wpbody-content #menu-settings-column {
+        margin-right: -300px;
+        margin-left: 0;
</ins><span class="cx">         float: right;
</span><span class="cx"> }
</span><del>-.menu-item-textbox {
</del><ins>+
+#menu-settings-column .handlediv {
+        background-position: 100% -110px;
+}
+
+/* Menu Container */
+#menu-management-liquid {
+        float: right;
+}
+#menu-management {
+        margin-left: 20px;
+        margin-right: 0;
+}
+        }
+
+        #nav-menu-header {
+                background-position: right top;
+        }
+
+        #post-body {
+                padding:0 10px 10px 0;
+        }
+
+        .post-body-plain {
+                padding: 10px 0 0 10px;
+        }
+
+/* Menu Tabs */
+
+        #menu-management .nav-tabs-arrow-left {
+                right: 0;
+                left:auto;
+        }
+        #menu-management .nav-tabs-arrow-right {
+                left: 0;
+                right: auto;
+                text-align: left;
+        }
+
+
+#menu-management .nav-tabs {
+        padding-right: 30px;
+        padding-left: 10px;
+}
+.js #menu-management .nav-tabs {
+        float: right;
+        margin-right: 0px;
+        margin-left: -400px;
+}
+
+#select-nav-menu-container {
+        padding: 0 10px 3px 10px;
+}
+
+/* Menu Toolbar */
+#menu-management #major-publishing-actions #delete-action {
</ins><span class="cx">         float: left;
</span><ins>+        margin-left: 10px;
+        margin-right: 0;
</ins><span class="cx"> }
</span><ins>+
+#wpbody .open-label span {
+        padding-left: 10px;
+        padding-right: 0;
+}
+
+        .js .input-with-default-title {
+                font-style: normal;
+        }
+
+/* Add Menu Item Boxes */
+.postbox .howto input {
+        float: left;
+}
+
+#side-sortables .potential-menu-item {
+        margin-right: 0;
+}
+#side-sortables .potential-menu-item ul {
+        margin-right: 0;
+        
+}
+
+/* Button Primary Actions */
+#cancel-save { margin-left:0; margin-right: 20px; }
+
+/* Button Secondary Actions */
+.list-controls { float: right; }
</ins><span class="cx"> .add-to-menu {
</span><span class="cx">         float: left;
</span><span class="cx"> }
</span><del>-.menu-item-title input[type=&quot;checkbox&quot;] {
-        margin-left: 3px;
-}
-.menu li dl dt {
</del><ins>+
+/* Custom Links */
+#add-custom-link label span { float: right; padding-left: 5px; padding-right:0;}
+.howto span { float: right; }
+
+/* Listings */
+.list li .menu-item-title input { margin-left: 3px; margin-right: 0; }
+
+/* Nav Menu */
+.menu-item-handle {
+        background-position: right top;
+        padding-right: 10px;
</ins><span class="cx">         padding-left: 0;
</span><del>-        padding-right: 10px;
</del><span class="cx"> }
</span><del>-.menu li ul li {
-        margin-left: 0;
-        margin-right: 20px;
</del><ins>+.menu-item-handle .item-title {
+        margin-left:13em;
+        margin-right:0;
</ins><span class="cx"> }
</span><del>-.menu li .item-title {
</del><ins>+
+/* WARNING: The factor of 30px is hardcoded into the nav-menus javascript. */
+.menu-item-depth-0 { margin-right: 0px; margin-left:0;}
+.menu-item-depth-1 { margin-right: 30px; margin-left:0;}
+.menu-item-depth-2 { margin-right: 60px; margin-left:0;}
+.menu-item-depth-3 { margin-right: 90px; margin-left:0;}
+.menu-item-depth-4 { margin-right: 120px; margin-left:0;}
+.menu-item-depth-5 { margin-right: 150px; margin-left:0;}
+.menu-item-depth-6 { margin-right: 180px; margin-left:0;}
+.menu-item-depth-7 { margin-right: 210px; margin-left:0;}
+.menu-item-depth-8 { margin-right: 240px; margin-left:0;}
+.menu-item-depth-9 { margin-right: 270px; margin-left:0;}
+.menu-item-depth-10 { margin-right: 300px; margin-left:0;}
+.menu-item-depth-11 { margin-right: 330px; margin-left:0;}
+
+.menu-item-depth-0 .menu-item-transport { margin-right: 0px; margin-left:0;}
+.menu-item-depth-1 .menu-item-transport { margin-right: -30px; margin-left:0;}
+.menu-item-depth-2 .menu-item-transport { margin-right: -60px; margin-left:0;}
+.menu-item-depth-3 .menu-item-transport { margin-right: -90px; margin-left:0;}
+.menu-item-depth-4 .menu-item-transport { margin-right: -120px; margin-left:0;}
+.menu-item-depth-5 .menu-item-transport { margin-right: -150px; margin-left:0;}
+.menu-item-depth-6 .menu-item-transport { margin-right: -180px; margin-left:0;}
+.menu-item-depth-7 .menu-item-transport { margin-right: -210px; margin-left:0;}
+.menu-item-depth-8 .menu-item-transport { margin-right: -240px; margin-left:0;}
+.menu-item-depth-9 .menu-item-transport { margin-right: -270px; margin-left:0;}
+.menu-item-depth-10 .menu-item-transport { margin-right: -300px; margin-left:0;}
+.menu-item-depth-11 .menu-item-transport { margin-right: -330px; margin-left:0;}
+
+/* Menu item controls */
+.item-type { padding-right:0; padding-left: 10px; }
+.item-controls { right:auto; left: 20px; }
+.item-controls .item-order { padding-left: 10px; padding-right:0;}
+
+.item-edit {
+        background-position: 100% -105px;
+        left: -20px;
+        right: auto;
+}
+
+/* Menu editing */
+.menu-item-settings {
+        padding: 10px 10px 10px 0;
+}
+
+        .link-to-original a {
+                padding-right: 4px;
+                padding-left: 0;
+        }
+
+.menu-item-settings .description-thin,
+.menu-item-settings .description-wide {
+        margin-left: 10px;
</ins><span class="cx">         margin-right: 0;
</span><del>-        margin-left: 18em;
</del><ins>+        float: right;
</ins><span class="cx"> }
</span><del>-.item-controls {
-        right: auto;
-        left: 15px;
</del><ins>+.save-menu-item {
+        padding-right: 10px;
+        padding-left: 0;
+        float: left;
</ins><span class="cx"> }
</span><del>-.item-type {
</del><ins>+
+.major-publishing-actions .publishing-action {
+        text-align: left;
+        float: left;
+}
+.major-publishing-actions .delete-action {
+        text-align: right;
+        float: left;
+        padding-left: 15px;
</ins><span class="cx">         padding-right: 0;
</span><del>-        padding-left: 10px;
</del><span class="cx"> }
</span><span class="cx">\ No newline at end of file
</span></span></pre>
</div>
</div>

</body>
</html>