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:
parent
0df02eb8ea
commit
41d2a7f82b
|
@ -1,4 +1,5 @@
|
||||||
@import url(forms.css);
|
@import url(forms.css);
|
||||||
|
@import url(l10n.css);
|
||||||
|
|
||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
|
@ -11,7 +12,7 @@ html {
|
||||||
background: #f1f1f1;
|
background: #f1f1f1;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.login {
|
body {
|
||||||
background: #f1f1f1;
|
background: #f1f1f1;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
color: #444;
|
color: #444;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,5 @@
|
||||||
@import url(forms.css);
|
@import url(forms.css);
|
||||||
|
@import url(l10n.css);
|
||||||
|
|
||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
|
@ -11,7 +12,7 @@ html {
|
||||||
background: #f1f1f1;
|
background: #f1f1f1;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.login {
|
body {
|
||||||
background: #f1f1f1;
|
background: #f1f1f1;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
color: #444;
|
color: #444;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -644,7 +644,7 @@ function wp_default_styles( &$styles ) {
|
||||||
// RTL CSS
|
// RTL CSS
|
||||||
$rtl_styles = array(
|
$rtl_styles = array(
|
||||||
// wp-admin
|
// 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
|
// wp-includes
|
||||||
'buttons', 'admin-bar', 'wp-auth-check', 'editor-buttons', 'media-views', 'wp-pointer',
|
'buttons', 'admin-bar', 'wp-auth-check', 'editor-buttons', 'media-views', 'wp-pointer',
|
||||||
'wp-jquery-ui-dialog',
|
'wp-jquery-ui-dialog',
|
||||||
|
|
|
@ -131,6 +131,7 @@ function login_header( $title = 'Log In', $message = '', $wp_error = '' ) {
|
||||||
if ( 'success' === $interim_login )
|
if ( 'success' === $interim_login )
|
||||||
$classes[] = 'interim-login-success';
|
$classes[] = 'interim-login-success';
|
||||||
}
|
}
|
||||||
|
$classes[] =' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_locale() ) ) );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter the login page body classes.
|
* Filter the login page body classes.
|
||||||
|
|
Loading…
Reference in New Issue