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:
parent
b71746be10
commit
b1672442f8
|
@ -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; }
|
|
@ -1,3 +1,59 @@
|
||||||
body {
|
body {
|
||||||
font-family: sans-serif;
|
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;
|
||||||
}
|
}
|
|
@ -211,7 +211,7 @@ function wp_default_styles( &$styles ) {
|
||||||
$styles->default_version = get_bloginfo( 'version' );
|
$styles->default_version = get_bloginfo( 'version' );
|
||||||
$styles->text_direction = 'rtl' == get_bloginfo( 'text_direction' ) ? 'rtl' : 'ltr';
|
$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( 'wp-admin', '/wp-admin/wp-admin.css' );
|
||||||
$styles->add_data( 'wp-admin', 'rtl', '/wp-admin/rtl.css' );
|
$styles->add_data( 'wp-admin', 'rtl', '/wp-admin/rtl.css' );
|
||||||
|
|
Loading…
Reference in New Issue