RTL updates from kashani. see #8047

git-svn-id: https://develop.svn.wordpress.org/trunk@9687 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-11-14 18:27:52 +00:00
parent 7d116a2ae4
commit f970b05bb1
2 changed files with 95 additions and 58 deletions

View File

@ -1,20 +1,38 @@
.metabox-holder .postbox h3, #poststuff .postbox h3 { * html #wpbody-content {
padding-left:0; float: left;
padding-right: 23px;
} }
* html #poststuff .postarea, * html #poststuff #titlediv { #wphead-info {
margin-left:0; float: left;
margin-right: 3%; }
* 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 { * html #poststuff h2 {
margin-right: 0; margin-right: 0;
} }
#bh { #bh {
padding-right:0; margin: 3px 6px 0 0;
padding-left: 15px; float: left;
} }
/* without this dashboard widgets appear in one column for some screen widths */
div#dashboard-widgets { div#dashboard-widgets {
padding-right:0; padding-right: 0;
padding-left: 1px; padding-left: 1px;
} }
#tagchecklist span a { #tagchecklist span a {
@ -23,44 +41,39 @@ div#dashboard-widgets {
.widefat th input { .widefat th input {
margin: 0 5px 0 0; margin: 0 5px 0 0;
} }
/* ---------- add by navid */ /* ---------- add by navid */
#sidemenu a { /* fix left admin buttom ex. plugins, options */ #TB_window {
float:left; width: 670px;
position: absolute;
top: 50%;
left: 50%;
margin-right: 335px !important;
} }
.wrap h2 { #dashboard_plugins {
margin:5px 4px 0 0; direction: ltr;
} }
#editor-toolbar {/* fix hover in media uploader icon */ #dashboard_plugins h3.hndle {
direction:ltr; direction: rtl;
} }
#TB_window { /* fix theme preview */ #dashboard_incoming_links ul li, #dashboard_secondary ul li, #dashboard_primary ul li, p.comment-actions {
left:2%; width: 100%;
} }
/* fix widget page */ #favorite-inside {
form#widgets-filter { position: absolute;
position:static; right:0;
} }
#widget-search { #post-status-info {
display:none; height: 25px;
} }
/* fix manage comment page */ #screen-meta {
.view-switch { position: static;
float:left;
} }
form#posts-filter { p.submit { /* quick edit and reply in edit-comments.php */
position:static; height:22px;
} }
.search-box { .inner-sidebar { /* fix edit single comment */
display:none; position: static;
} }
#submenu { form#widgets-filter { /* fix widget page */
margin-right: 20px; position: static;
} }
/* 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; }

View File

@ -163,6 +163,7 @@ ul#adminmenu li.write-new-button a {
#adminmenu .wp-menu-toggle { #adminmenu .wp-menu-toggle {
float: left; float: left;
padding: 1px 0 0 2px; padding: 1px 0 0 2px;
clear: left;
} }
#adminmenu div.wp-menu-image { #adminmenu div.wp-menu-image {
float: right; float: right;
@ -258,10 +259,6 @@ ul#adminmenu li.write-new-button a {
#poststuff .stuffbox h3 { #poststuff .stuffbox h3 {
background-position: right top; background-position: right top;
} }
#edit-slug-buttons a {
margin-right: 0;
margin-left: 4px;
}
.postarea h3 label { .postarea h3 label {
float: right; float: right;
} }
@ -472,20 +469,6 @@ td.action-links, th.action-links {
} }
/* 2500 - 2700 /* 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 { #bulk-titles div a {
float: right; float: right;
margin: 3px -2px 0 3px; margin: 3px -2px 0 3px;
@ -494,8 +477,49 @@ td.action-links, th.action-links {
margin-left: 0; margin-left: 0;
margin-right: 10px; 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 /* 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 { .describe-toggle-on, .describe-toggle-off {
float: left; float: left;
margin-right: 0; margin-right: 0;