mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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(l10n.css);
|
||||
|
||||
html,
|
||||
body {
|
||||
@ -11,7 +12,7 @@ html {
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
body.login {
|
||||
body {
|
||||
background: #f1f1f1;
|
||||
min-width: 0;
|
||||
color: #444;
|
||||
|
2
wp-admin/css/login-rtl.min.css
vendored
2
wp-admin/css/login-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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;
|
||||
|
2
wp-admin/css/login.min.css
vendored
2
wp-admin/css/login.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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',
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user