RTL updates, props kashani, see #8047

git-svn-id: http://svn.automattic.com/wordpress/trunk@9605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2008-11-11 04:30:48 +00:00
parent 41870c14a8
commit 12c32007cf
4 changed files with 77 additions and 16 deletions

View File

@ -16,6 +16,9 @@
border-right-color: transparent;
border-left-color: #448abd;
}
#adminmenu .wp-submenu .current a.current {
background: transparent url(../images/menu-bits-rtl.gif) no-repeat scroll right -289px;
}
#adminmenu li.wp-menu-separator {
background: transparent url(../images/menu-arrows-rtl.gif) no-repeat scroll right 5px;
}
@ -26,6 +29,9 @@
#adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle {
background: transparent url(../images/menu-bits-rtl.gif) repeat-x scroll right -206px;
}
#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;
}
#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;
@ -43,3 +49,6 @@
#adminmenu li.wp-has-current-submenu a.wp-has-submenu {
background: #b5b5b5 url(../images/menu-bits-rtl.gif) repeat-x scroll right top;
}
.ui-sortable .postbox:hover .handlediv {
background: transparent url(../images/menu-bits-rtl.gif) no-repeat scroll right -111px;
}

View File

@ -2,44 +2,68 @@
border-right-color: transparent;
border-left-color: #99d;
}
.plugins .togl {
border-right-color: transparent;
border-left-color: #ccc;
}
.post-com-count {
background-image: url(../images/bubble_bg-rtl.gif);
}
#adminmenu li a #awaiting-mod {
background-image: url(../images/comment-stalk-rtl.gif);
}
#upload-menu li.current {
border-right-color: transparent;
border-left-color: #448abd;
}
#adminmenu .wp-submenu .current a.current {
background: transparent url(../images/menu-bits-rtl.gif) no-repeat scroll right -289px;
}
#adminmenu li.wp-menu-separator {
background: transparent url(../images/menu-arrows.gif) no-repeat scroll right -34px;
}
#adminmenu.folded li.wp-menu-separator {
background: transparent url(../images/menu-arrows.gif) no-repeat scroll left 5px;
}
#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;
}
#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;
}
#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;
}
#adminmenu a.wp-has-submenu {
background: #f1f1f1 url(../images/menu-bits-rtl.gif) repeat-x scroll right -379px;
}
#adminmenu .wp-submenu a {
background: #FFFFFF url(../images/menu-bits-rtl.gif) no-repeat scroll right -310px;
}
#adminmenu li.current a,
#adminmenu .wp-submenu a:hover {
background: transparent url(../images/menu-bits-rtl.gif) no-repeat scroll right -289px;
}
#adminmenu li.wp-has-current-submenu a.wp-has-submenu {
background: #b5b5b5 url(../images/menu-bits-rtl.gif) repeat-x scroll right top;
}
.ui-sortable .postbox:hover .handlediv {
background: transparent url(../images/menu-bits-rtl.gif) no-repeat scroll right -111px;
}

View File

@ -40,3 +40,6 @@ li.widget-list-control-item h4.widget-title a,
right: auto;
left: 1em;
}
div#current-widgets { /* fix */
overflow: auto;
}

View File

@ -12,7 +12,7 @@ td.available-theme {
margin-left: 1em;
}
.quicktags, .search {
font-family: Tahoma, Arial;
font-family: Tahoma, "Times New Roman";
}
/* 200 - 500
=================================== */
@ -46,11 +46,12 @@ td.available-theme {
.button,
.button-primary,
.button-secondary,
.button-highlighted {
font-family: Tahoma, Arial;
.button-highlighted,
#postcustomstuff .submit input {
font-family: Tahoma, "Times New Roman";
}
#wpcontent select {
font-family: Tahoma, Arial;
font-family: Tahoma, "Times New Roman";
}
#quicktags {
background-position: right top;
@ -75,7 +76,7 @@ td.available-theme {
margin-left: 0;
}
#your-profile legend {
font-family: Arial, Tahoma;
font-family: "Times New Roman", Tahoma;
}
#ajax-response.alignleft {
margin-left: 0;
@ -83,7 +84,7 @@ td.available-theme {
}
.page-numbers {
margin-right: 0;
margin-left: 5px;
margin-left: 1px;
}
.column-author img, .column-username img {
float: right;
@ -95,6 +96,16 @@ td.available-theme {
}
.tablenav .tablenav-pages {
float: left;
margin: 0 0 0 8px;
}
.tablenav .displaying-num {
margin-right: 0;
margin-left: 10px;
}
#postcustomstuff table input,
#postcustomstuff table select,
#postcustomstuff table textarea {
margin: 8px 8px 8px 0;
}
/* 700 - 1000
=================================== */
@ -111,14 +122,17 @@ td.available-theme {
margin: 9px 20px 0 0;
}
ul#adminmenu li.write-new-button a {
font-family: Tahoma, Arial;
font-family: Tahoma, "Times New Roman";
}
#wphead h1 {
font-family: Arial, Tahoma;
font-family: "Times New Roman", Tahoma;
float: right;
}
#wphead h1.long-title {
font-family: "Times New Roman", Tahoma;
}
#adminmenu {
font-family: Tahoma, Arial;
font-family: Tahoma, "Times New Roman";
}
#adminmenu .wp-submenu a {
padding-left: 0;
@ -126,17 +140,17 @@ ul#adminmenu li.write-new-button a {
border-width: 0 0 0 1px;
border-style: none none none solid;
}
#adminmenu .wp-menu-image {
#adminmenu img.wp-menu-image {
float: right;
}
#adminmenu.folded .wp-menu-image {
#adminmenu.folded img.wp-menu-image {
padding: 7px 6px 0 0;
}
#adminmenu .wp-submenu li.wp-submenu-head {
#adminmenu .wp-submenu .wp-submenu-head {
padding: 6px 10px 6px 4px;
}
#adminmenu.folded .wp-submenu {
margin: -1px 33px 0 0;
margin: -1px 28px 0 0;
}
#adminmenu.folded .wp-submenu a {
padding-left: 0;
@ -150,6 +164,9 @@ ul#adminmenu li.write-new-button a {
float: left;
padding: 1px 0 0 2px;
}
#adminmenu div.wp-menu-image {
float: right;
}
/* end side admin menu */
/* 1000 - 1300
=================================== */
@ -165,7 +182,7 @@ ul#adminmenu li.write-new-button a {
left:0;
}
#footer #footer-thankyou, #footer #footer-upgrade {
font-family: Tahoma, Arial;
font-family: Tahoma, "Times New Roman";
}
#footer #footer-upgrade {
right: auto;
@ -232,6 +249,9 @@ ul#adminmenu li.write-new-button a {
}
/* 1500 - 1800
=================================== */
.ui-sortable .postbox .handlediv {
float: left;
}
.metabox-holder .postbox h3,
#poststuff .postbox h3,
#poststuff .stuffbox h3 {
@ -360,7 +380,7 @@ td.action-links, th.action-links {
margin-right: 10px;
}
.info-box-title {
font-family: Arial, Tahoma;
font-family: "Times New Roman", Tahoma;
}
.settings-toggle {
text-align: left;
@ -427,7 +447,7 @@ td.action-links, th.action-links {
#screen-options-link-wrap,
#contextual-help-link-wrap {
float: left;
font-family: Tahoma, Arial;
font-family: Tahoma, "Times New Roman";
margin: -1px 0 0 10px;
}
#screen-options-wrap h5,
@ -526,3 +546,8 @@ td.action-links, th.action-links {
.clearlooks2 .mceTop .mceLeft {
width:100% !important;
}
/* ltr
=================================== */
#author-email, #author-url, #rss-url-1, #edit-slug-box, #post_name, #trackback_url, #metakeyinput, #post_password, #slug, #category_nicename, #link_url, #link_image, #rss_uri, #menu_order, #email, #newcomment_author_url, #pages-exclude, #template textarea, #user_login, #url, #pass1, #pass2, #aim, #yim, #jabber, #siteurl, #home, #admin_email, #gmt_offset, #default_post_edit_rows, #mailserver_url, #mailserver_login, #mailserver_pass, #mailserver_port, #ping_sites, #posts_per_page, #posts_per_rss, #blog_charset, #close_comments_days_old, #comments_per_page, #comment_max_links, #moderation_keys, #blacklist_keys, #thumbnail_size_w, #thumbnail_size_h, #medium_size_w, #medium_size_h, #large_size_w, #large_size_h, #permalink_structure, #category_base, #tag_base, #upload_path, #upload_url_path, #rules {
direction: ltr;
}