RTL updates from kashani, see #8047

git-svn-id: http://svn.automattic.com/wordpress/trunk@9820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2008-11-20 21:21:54 +00:00
parent ed01be1927
commit 543be53ab0
6 changed files with 65 additions and 27 deletions

View File

@ -35,16 +35,29 @@
#adminmenu li.wp-has-current-submenu .wp-menu-toggle,
#adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle {
background: transparent url(../images/menu-bits-rtl.gif) repeat-x scroll right -206px;
background: transparent url(../images/menu-bits-rtl.gif) repeat-x scroll right -208px;
}
#adminmenu .wp-has-current-submenu ul li a.current {
background: url(../images/menu-dark-rtl.gif) top right no-repeat !important;
}
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
#adminmenu .menu-top .current {
background: url(../images/menu-bits-rtl.gif) top right repeat-x;
}
#adminmenu li.wp-has-current-submenu ul li a {
background: url(../images/menu-dark-rtl.gif) bottom right no-repeat !important;
}
#adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle, #adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle {
background: transparent url(../images/menu-bits-rtl.gif) no-repeat right -206px;
background: transparent url(../images/menu-bits-rtl.gif) no-repeat right -207px;
}
#adminmenu .wp-has-submenu:hover .wp-menu-toggle,
#adminmenu .wp-menu-open .wp-menu-toggle {
background: transparent url(../images/menu-bits-rtl.gif) repeat-x scroll right -108px;
background: transparent url(../images/menu-bits-rtl.gif) repeat-x scroll right -109px;
}
#adminmenu a.wp-has-submenu {

View File

@ -35,16 +35,29 @@
#adminmenu li.wp-has-current-submenu .wp-menu-toggle,
#adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle {
background: transparent url(../images/menu-bits-rtl.gif) repeat-x scroll right -206px;
background: transparent url(../images/menu-bits-rtl.gif) repeat-x scroll right -208px;
}
#adminmenu .wp-has-current-submenu ul li a.current {
background: url(../images/menu-dark-rtl.gif) top right no-repeat !important;
}
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
#adminmenu .menu-top .current {
background: url(../images/menu-bits-rtl.gif) top right repeat-x;
}
#adminmenu li.wp-has-current-submenu ul li a {
background: url(../images/menu-dark-rtl.gif) bottom right no-repeat !important;
}
#adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle, #adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle {
background: transparent url(../images/menu-bits-rtl.gif) no-repeat right -206px;
background: transparent url(../images/menu-bits-rtl.gif) no-repeat right -207px;
}
#adminmenu .wp-has-submenu:hover .wp-menu-toggle,
#adminmenu .wp-menu-open .wp-menu-toggle {
background: transparent url(../images/menu-bits-rtl.gif) repeat-x scroll right -108px;
background: transparent url(../images/menu-bits-rtl.gif) repeat-x scroll right -109px;
}
#adminmenu a.wp-has-submenu {
@ -67,3 +80,6 @@
.meta-box-sortables .postbox:hover .handlediv {
background: transparent url(../images/menu-bits-rtl.gif) no-repeat scroll right -111px;
}
#favorite-toggle {
background: transparent url(../images/fav-arrow-rtl.png) no-repeat right -4px;
}

View File

@ -10,7 +10,7 @@
right: auto;
left: 0;
}
#dashboard_right_now .inside {
#dashboard_right_now p.sub, #dashboard_right_now .table, #dashboard_right_now .versions {
font-family: Tahoma, Arial;
}
#dashboard_right_now td.b {
@ -38,6 +38,9 @@
left: auto;
right: 0;
}
#dashboard-widgets .heading {
font-family: Tahoma, Arial;
}
/* Feeds */
.rss-widget cite {
text-align: left;
@ -60,10 +63,11 @@
}
#dashboard_quick_press #media-buttons {
margin: 0 5em .5em 0;
padding: 0 2px 0 0;
padding: 0 10px 0 0;
}
#dashboard-widgets #dashboard_quick_press form p.submit {
padding: 1em 5em 1em 1em;
margin-left: 0;
margin-right: 4.6em;
}
#dashboard-widgets #dashboard_quick_press form p.submit input {
float: right;

View File

@ -37,22 +37,15 @@ body, td, textarea, input, select {
.subsubsub {
float: right;
}
.widefat td {
padding: 7px 10px 9px 15px;
}
.widefat th {
padding: 7px 10px 8px 15px;
text-align: right;
}
.widefat th input {
margin: 0 8px 0 0;
}
.widefat .check-column {
text-align: left;
}
.wrap h2 {
font-family: arial;
padding: 10px 0 5px 15px;
padding: 14px 0 1px 15px;
}
.wrap h2.long-header {
padding-left: 0;

View File

@ -38,6 +38,9 @@ button.dismiss {
left: auto;
right: 0;
}
.describe td {
padding: 0 0 0 5px;
}
.bar {
border-right-width: 0;
border-left-width: 3px;

View File

@ -17,14 +17,20 @@ td.available-theme {
/* 200 - 500
=================================== */
#save-post {
float: left;
}
.preview {
float: right;
}
.preview {
float: left;
}
#sticky-span {
margin-left: 0;
margin-right: 18px;
}
#post-body .misc-pub-section {
border-right: 0 none;
border-left: 1px solid #eee;
border-right-width: 0;
border-left-width: 1;
border-right-style: none;
border-left-style: solid;
float: right;
}
#post-body .misc-pub-section-last {
@ -101,6 +107,7 @@ td.available-theme {
.tablenav .displaying-num {
margin-right: 0;
margin-left: 10px;
font-family: Tahoma, "Times New Roman";
}
#postcustomstuff table input,
#postcustomstuff table select,
@ -128,14 +135,16 @@ td.available-theme {
#wphead h1.long-title {
font-family: "Times New Roman", Tahoma;
}
#adminmenu {
font-family: Tahoma, "Times New Roman";
}
#adminmenu .wp-submenu a {
padding-left: 0;
padding-right: 12px;
border-width: 0 0 0 1px;
border-style: none none none solid;
font-family: Tahoma, "Times New Roman";
}
#adminmenu a.menu-top,
#adminmenu .wp-submenu-head {
font-family: Tahoma, "Times New Roman";
}
#adminmenu img.wp-menu-image {
float: right;
@ -264,7 +273,7 @@ td.available-theme {
right: auto;
left: 10px;
}
.wp_themeSkin tr.mceFirst {
.wp_themeSkin tr.mceFirst td.mceToolbar {
background-position: right top;
}
#poststuff #edButtonPreview,
@ -426,7 +435,7 @@ td.action-links, th.action-links {
=================================== */
#edithead .inside {
float: right;
margin: 0 0 2px 4px;
margin: 3px 5px 2px 0;
}
#replyrow #ed_reply_toolbar input {
margin: 1px 1px 1px 2px;