RTL for login screen.

props yoavf.
fixes #27784.

Built from https://develop.svn.wordpress.org/trunk@28096


git-svn-id: http://core.svn.wordpress.org/trunk@27927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2014-04-13 16:06:14 +00:00
parent 0df02eb8ea
commit 41d2a7f82b
6 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,5 @@
@import url(forms.css);
@import url(l10n.css);
html,
body {
@ -11,7 +12,7 @@ html {
background: #f1f1f1;
}
body.login {
body {
background: #f1f1f1;
min-width: 0;
color: #444;

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,5 @@
@import url(forms.css);
@import url(l10n.css);
html,
body {
@ -11,7 +12,7 @@ html {
background: #f1f1f1;
}
body.login {
body {
background: #f1f1f1;
min-width: 0;
color: #444;

File diff suppressed because one or more lines are too long

View File

@ -644,7 +644,7 @@ function wp_default_styles( &$styles ) {
// RTL CSS
$rtl_styles = array(
// wp-admin
'wp-admin', 'install', 'wp-color-picker', 'customize-controls', 'customize-widgets', 'ie',
'wp-admin', 'install', 'wp-color-picker', 'customize-controls', 'customize-widgets', 'ie', 'login',
// wp-includes
'buttons', 'admin-bar', 'wp-auth-check', 'editor-buttons', 'media-views', 'wp-pointer',
'wp-jquery-ui-dialog',

View File

@ -131,6 +131,7 @@ function login_header( $title = 'Log In', $message = '', $wp_error = '' ) {
if ( 'success' === $interim_login )
$classes[] = 'interim-login-success';
}
$classes[] =' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_locale() ) ) );
/**
* Filter the login page body classes.