diff --git a/src/wp-includes/css/wp-auth-check.css b/src/wp-includes/css/wp-auth-check.css index 4d54c0354b..5d31e0341f 100644 --- a/src/wp-includes/css/wp-auth-check.css +++ b/src/wp-includes/css/wp-auth-check.css @@ -48,14 +48,38 @@ } #wp-auth-check-wrap #wp-auth-check-form { - background: url(../images/spinner-2x.gif) no-repeat center center; - -webkit-background-size: 16px 16px; - background-size: 16px 16px; height: 100%; + position: relative; overflow: auto; -webkit-overflow-scrolling: touch; } +#wp-auth-check-form.loading:before { + content: ""; + display: block; + width: 20px; + height: 20px; + position: absolute; + left: 50%; + top: 50%; + margin: -10px 0 0 -10px; + background: url(../images/spinner.gif) no-repeat center; + -webkit-background-size: 20px 20px; + background-size: 20px 20px; + -webkit-transform: translateZ(0); + transform: translateZ(0); +} + +@media print, + (-webkit-min-device-pixel-ratio: 1.25), + (min-resolution: 120dpi) { + + #wp-auth-check-form.loading:before { + background-image: url(../images/spinner-2x.gif); + } + +} + #wp-auth-check-wrap #wp-auth-check-form iframe { height: 98%; /* Scrollbar fix */ width: 100%; diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index b3781639e2..9fd503fd0e 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -4939,7 +4939,7 @@ function wp_auth_check_html() { if ( $same_domain ) { ?> -
+