RTL support for Press This. Props RanYanivHartstein. see #7289

git-svn-id: http://svn.automattic.com/wordpress/trunk@8328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-07-13 17:57:23 +00:00
parent b71746be10
commit b1672442f8
3 changed files with 64 additions and 1 deletions

View File

@ -0,0 +1,7 @@
#menu { margin-right: 8px !important; }
p.submit input { text-align: right !important; }
li.ui-tabs-selected a { height: 25px; }
#photo_directions span { right: 200px; left: auto; height: 8px; }

View File

@ -1,3 +1,59 @@
body {
font-family: sans-serif;
}
#viewsite {
right:auto; left: 8px;
}
ul#menu {
padding-right: 8px;
}
.ui-tabs-nav li {
float: right;
}
div#posting {
padding-right:16px; padding-left: 0;
}
div#categories {
right: auto; left: 16px;
}
div#categories h2 {
margin:0.5em 1em 0.5em 0;
}
#jaxtag {
padding-right :1em; padding-left: 0;
}
input#newtag {
margin-left: 4px; width: 100px;
}
#photo_directions span {
right: auto; left: 3px
}
#TB_ajaxContent #options {
right: auto; left: 25px;
}
#TB_ajaxContent {
text-align: right;
}
#TB_ajaxContent #this_photo {
direction: ltr;
}
.video_split #extra_fields {
float: right;
}
.video_split .editor_area {
float: left;
}

View File

@ -211,7 +211,7 @@ function wp_default_styles( &$styles ) {
$styles->default_version = get_bloginfo( 'version' );
$styles->text_direction = 'rtl' == get_bloginfo( 'text_direction' ) ? 'rtl' : 'ltr';
$rtl_styles = array( 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this' );
$rtl_styles = array( 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'press-this-ie' );
$styles->add( 'wp-admin', '/wp-admin/wp-admin.css' );
$styles->add_data( 'wp-admin', 'rtl', '/wp-admin/rtl.css' );