RTL updates from kashani. see #8047

git-svn-id: http://svn.automattic.com/wordpress/trunk@10027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-12-03 21:00:23 +00:00
parent 06373198c9
commit b7aa9493d5
7 changed files with 92 additions and 35 deletions

View File

@ -11,7 +11,9 @@
.post-com-count {
background-image: url(../images/bubble_bg-rtl.gif);
}
.tablenav .tablenav-pages a {
background: #eee url('../images/menu-bits-rtl.gif') repeat-x scroll right -379px;
}
#upload-menu li.current {
border-right-color: transparent;
border-left-color: #448abd;
@ -25,13 +27,13 @@
background: transparent url(../images/menu-arrows.gif) no-repeat scroll right -34px;
}
#adminmenu.folded li.wp-menu-separator {
.folded #adminmenu 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 -208px;
background: transparent url(../images/menu-bits-rtl.gif) repeat-x scroll right -207px;
}
#adminmenu .wp-has-current-submenu ul li a.current {

View File

@ -11,7 +11,9 @@
.post-com-count {
background-image: url(../images/bubble_bg-rtl.gif);
}
.tablenav .tablenav-pages a {
background: #eee url('../images/menu-bits-rtl.gif') repeat-x scroll right -379px;
}
#upload-menu li.current {
border-right-color: transparent;
border-left-color: #448abd;
@ -25,13 +27,13 @@
background: transparent url(../images/menu-arrows.gif) no-repeat scroll right -34px;
}
#adminmenu.folded li.wp-menu-separator {
.folded #adminmenu 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 -208px;
background: transparent url(../images/menu-bits-rtl.gif) repeat-x scroll right -207px;
}
#adminmenu .wp-has-current-submenu ul li a.current {

View File

@ -10,7 +10,7 @@
right: auto;
left: 0;
}
#dashboard_right_now p.sub, #dashboard_right_now .table, #dashboard_right_now .versions {
#dashboard_right_now p.sub {
font-family: Tahoma, Arial;
}
#dashboard_right_now td.b {
@ -23,7 +23,7 @@
padding-right: 0;
padding-left: 12px;
}
#dashboard_right_now .versions a, #dashboard_right_now .versions .b {
#dashboard_right_now .versions a {
font-family: Tahoma, Arial;
}
#dashboard_right_now a.button {
@ -53,7 +53,6 @@
/* QuickPress */
#dashboard_quick_press h4 {
float: right;
font-family: Tahoma, Arial;
text-align: left;
}
#dashboard_quick_press h4 label {

View File

@ -2,7 +2,11 @@
#adminmenu {
float: right;
clear: right;
margin: 15px 18px 15px 5px;
margin: 15px -160px 15px 5px;
}
div.folded #adminmenu {
margin-left: 0;
margin-right: -45px;
}
/* inner 2 column liquid layout */
.inner-sidebar {
@ -19,11 +23,25 @@
margin-right: 0;
margin-left: 305px;
}
#wpbody {
margin-left:0;
margin-right: 175px;
}
div.folded #wpbody {
margin-left: 0;
margin-right: 60px;
}
#wpbody-content {
float: right;
}
/* 2 columns main area */
#col-right {
float: left;
clear: left;
}
.wrap {
margin: 0 5px 0 15px;
}
/* styles for use by people extending the WordPress interface */
body, td, textarea, input, select {
font-family: Tahoma, arial;

View File

@ -1,16 +1,18 @@
* html #wpbody-content {
float: left;
}
#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;
background: url(../images/menu-bits-rtl.gif) no-repeat scroll right -109px;
}
* html #wpcontent #adminmenu li.wp-has-current-submenu .wp-menu-toggle {
background: url(../images/menu-bits-rtl.gif) no-repeat scroll right -206px;
}
* html #adminmenu {
margin-left:0;
margin-right: -80px;
}
* html div.folded #adminmenu {
margin-left: 0;
margin-right: -22px;
}
#wpcontent #adminmenu .wp-submenu li.wp-submenu-head {
padding: 3px 10px 4px 4px;
}
@ -27,9 +29,13 @@ p.search-box {
margin-right: 0;
}
#bh {
margin: 3px 6px 0 0;
margin: 7px 10px 0 0;
float: left;
}
#user_info + div#favorite-actions {
right: auto;
left: 15px;
}
/* without this dashboard widgets appear in one column for some screen widths */
div#dashboard-widgets {
padding-right: 0;

View File

@ -71,3 +71,23 @@ button.dismiss {
.menu_order {
float: left;
}
.media-upload-form label.form-help, td.help, #media-upload p.help, #media-upload label.help {
font-family: Tahoma, Arial;
}
#gallery-settings #basic th.label {
padding: 5px 0 5px 5px;
}
#gallery-settings .title, .media-blank h3 {
font-family: Tahoma, Arial;
}
#gallery-settings .describe th.label {
text-align: right;
}
#gallery-settings label,
#gallery-settings legend {
margin-right: 0;
margin-left: 15px;
}
#gallery-settings .align .field label {
margin: 0 0 0 1.5em;
}

View File

@ -102,7 +102,6 @@ td.available-theme {
}
.tablenav .tablenav-pages {
float: left;
margin: 0 0 0 8px;
}
.tablenav .displaying-num {
margin-right: 0;
@ -149,20 +148,20 @@ td.available-theme {
#adminmenu img.wp-menu-image {
float: right;
}
#adminmenu.folded img.wp-menu-image {
.folded #adminmenu img.wp-menu-image {
padding: 7px 6px 0 0;
}
#adminmenu .wp-submenu .wp-submenu-head {
padding: 6px 10px 6px 4px;
}
#adminmenu.folded .wp-submenu {
.folded #adminmenu .wp-submenu {
margin: -1px 28px 0 0;
}
#adminmenu.folded .wp-submenu a {
.folded #adminmenu .wp-submenu a {
padding-left: 0;
padding-right: 10px;
}
#adminmenu.folded a.wp-has-submenu {
.folded #adminmenu a.wp-has-submenu {
margin-left: 0;
margin-right: 40px;
}
@ -174,6 +173,12 @@ td.available-theme {
#adminmenu div.wp-menu-image {
float: right;
}
#wphead-info {
margin: 0 15px 0 0;
padding-right:0;
padding-left: 15px;
float: left;
}
/* end side admin menu */
/* 1000 - 1300
=================================== */
@ -187,17 +192,10 @@ td.available-theme {
#sidemenu li a:hover span.update-plugins {
background-position: -160px top;
}
#adminmenu li a #awaiting-mod span, #adminmenu li a #update-plugins span, #sidemenu li a #update-plugins span {
#adminmenu li a #awaiting-mod span, #adminmenu li a span.update-plugins span, #sidemenu li a span.update-plugins span {
right:auto;
left:0;
}
#footer #footer-thankyou, #footer #footer-upgrade {
font-family: Tahoma, "Times New Roman";
}
#footer #footer-upgrade {
right: auto;
left: 15px;
}
/* Tables used on comment.php and option/setting pages */
.form-table th,
#wpbody-content .describe th {
@ -257,11 +255,17 @@ td.available-theme {
#poststuff h2 {
clear: right;
}
.setting-description, .form-wrap p {
font-family: Tahoma, Arial;
}
/* 1500 - 1800
=================================== */
.meta-box-sortables .postbox .handlediv {
float: left;
}
.howto {
font-family: Tahoma, Arial;
}
.metabox-holder .postbox h3,
#poststuff .postbox h3,
#poststuff .stuffbox h3 {
@ -448,13 +452,13 @@ td.action-links, th.action-links {
}
/* show/hide settings */
#screen-meta-links {
margin: 0 0 0 20px;
margin: 0 0 0 9px;
}
#screen-options-link-wrap,
#contextual-help-link-wrap {
float: left;
font-family: Tahoma, "Times New Roman";
margin: -1px 0 0 10px;
margin: -1px 0 0 6px;
}
#screen-options-wrap h5,
#contextual-help-wrap h5 {
@ -471,7 +475,9 @@ td.action-links, th.action-links {
margin-right: 0;
margin-left: 5px;
}
#screen-meta a.show-settings {
padding: 0 6px 0 16px;
}
/* 2500 - 2700
=================================== */
#bulk-titles div a {
@ -557,7 +563,6 @@ td.action-links, th.action-links {
padding: 3px 12px 4px 30px;
}
#favorite-inside {
margin: 0 1px 0 0;
}
#favorite-inside a {
padding: 3px 10px 3px 5px;
@ -570,6 +575,11 @@ td.action-links, th.action-links {
#utc-time, #local-time {
padding-left: 0;
padding-right: 25px;
font-family: Tahoma, Arial;
}
.icon32 {
float: right;
margin: 8px 0 0 6px;
}
/* TinyMCE
=================================== */