RTL updates from kashani. see #8047

git-svn-id: http://svn.automattic.com/wordpress/trunk@9687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-11-14 18:27:52 +00:00
parent 15e19cdf80
commit 268523f5ac
2 changed files with 95 additions and 58 deletions

View File

@ -1,20 +1,38 @@
.metabox-holder .postbox h3, #poststuff .postbox h3 {
padding-left:0;
padding-right: 23px;
* html #wpbody-content {
float: left;
}
* html #poststuff .postarea, * html #poststuff #titlediv {
margin-left:0;
margin-right: 3%;
#wphead-info {
float: left;
}
* html #wpcontent #adminmenu .wp-has-submenu .wp-menu-toggle {
background: url(../images/menu-bits-rtl.gif) no-repeat scroll right -108px;
}
* html #wpcontent #adminmenu li.wp-has-current-submenu .wp-menu-toggle {
background: url(../images/menu-bits-rtl.gif) no-repeat scroll right -206px;
}
#wpcontent #adminmenu .wp-submenu li.wp-submenu-head {
padding: 3px 10px 4px 4px;
}
.inline-edit-row fieldset label span.title {
float: right;
}
.inline-edit-row fieldset label span.input-text-wrap {
margin-right: 0;
}
p.search-box {
float: left;
}
* html #poststuff h2 {
margin-right: 0;
}
#bh {
padding-right:0;
padding-left: 15px;
margin: 3px 6px 0 0;
float: left;
}
/* without this dashboard widgets appear in one column for some screen widths */
div#dashboard-widgets {
padding-right:0;
padding-right: 0;
padding-left: 1px;
}
#tagchecklist span a {
@ -24,43 +42,38 @@ div#dashboard-widgets {
margin: 0 5px 0 0;
}
/* ---------- add by navid */
#sidemenu a { /* fix left admin buttom ex. plugins, options */
float:left;
}
.wrap h2 {
margin:5px 4px 0 0;
}
#editor-toolbar {/* fix hover in media uploader icon */
direction:ltr;
}
#TB_window { /* fix theme preview */
left:2%;
}
/* fix widget page */
form#widgets-filter {
position:static;
}
#widget-search {
display:none;
}
/* fix manage comment page */
.view-switch {
float:left;
}
form#posts-filter {
position:static;
}
.search-box {
display:none;
}
#submenu {
margin-right: 20px;
}
/* Fixes for media-upload window */
/* Center media-upload panel on screen */
#TB_window {
width: 670px;
position: absolute;
top: 50%;
left: 50%;
margin-right: 335px !important; }
margin-right: 335px !important;
}
#dashboard_plugins {
direction: ltr;
}
#dashboard_plugins h3.hndle {
direction: rtl;
}
#dashboard_incoming_links ul li, #dashboard_secondary ul li, #dashboard_primary ul li, p.comment-actions {
width: 100%;
}
#favorite-inside {
position: absolute;
right:0;
}
#post-status-info {
height: 25px;
}
#screen-meta {
position: static;
}
p.submit { /* quick edit and reply in edit-comments.php */
height:22px;
}
.inner-sidebar { /* fix edit single comment */
position: static;
}
form#widgets-filter { /* fix widget page */
position: static;
}

View File

@ -163,6 +163,7 @@ ul#adminmenu li.write-new-button a {
#adminmenu .wp-menu-toggle {
float: left;
padding: 1px 0 0 2px;
clear: left;
}
#adminmenu div.wp-menu-image {
float: right;
@ -258,10 +259,6 @@ ul#adminmenu li.write-new-button a {
#poststuff .stuffbox h3 {
background-position: right top;
}
#edit-slug-buttons a {
margin-right: 0;
margin-left: 4px;
}
.postarea h3 label {
float: right;
}
@ -472,20 +469,6 @@ td.action-links, th.action-links {
}
/* 2500 - 2700
=================================== */
.inline-editor .post-title .slug,
.inline-editor .page-title .slug {
text-align: left;
}
.inline-editor .categories ul.cat-checklist {
padding: 0 4px 0 0;
}
.inline-editor .categories ul.children {
padding-left: 0;
padding-right: 15px;
}
.inline-editor .comments {
text-align: right;
}
#bulk-titles div a {
float: right;
margin: 3px -2px 0 3px;
@ -494,8 +477,49 @@ td.action-links, th.action-links {
margin-left: 0;
margin-right: 10px;
}
#wpbody-content .inline-edit-row fieldset {
float: right;
}
#wpbody-content .quick-edit-row-page fieldset.inline-edit-col-right .inline-edit-col {
border-left: 0 none;
border-right: 1px solid;
}
#wpbody-content .bulk-edit-row .inline-edit-col-bottom {
float: left;
}
.inline-edit-row fieldset label span.title {
float: right;
}
.inline-edit-row fieldset label span.input-text-wrap {
margin-left: 0;
margin-right: 5em;
}
.quick-edit-row-post fieldset.inline-edit-col-right label span.title {
padding-right: 0;
padding-left: 0.5em;
}
#wpbody-content .quick-edit-row fieldset .inline-edit-group label.alignleft:first-child {
margin-right: 0;
margin-left: 0.5em;
}
/* 2700 - 3000
=================================== */
.inline-edit-row fieldset span.title,
.inline-edit-row fieldset span.checkbox-title {
font-family: Tahoma, "Times New Roman";
}
.inline-edit-row fieldset .inline-edit-date {
float: right;
}
.inline-edit-row fieldset ul.cat-checklist label,
.inline-edit-row .catshow,
.inline-edit-row .cathide,
.inline-edit-row #bulk-titles div {
font-family: Tahoma, "Times New Roman";
}
.quick-edit-row-post fieldset label.inline-edit-status {
float: right;
}
.describe-toggle-on, .describe-toggle-off {
float: left;
margin-right: 0;