Logged out warnings: add fallback text dialog for:
- The login page has "X-Frame-Options: DENY" header. - Cross-domain when displaying on the front-end on multisite with domain mapping. - The site forces ssl login but not ssl admin. Add onbeforeunload prompt to counter (frame-busting) JS redirects. Move the JS and CSS into separate files. See #23295. git-svn-id: http://core.svn.wordpress.org/trunk@23805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
76
wp-includes/css/wp-auth-check.css
Normal file
76
wp-includes/css/wp-auth-check.css
Normal file
@@ -0,0 +1,76 @@
|
||||
/*------------------------------------------------------------------------------
|
||||
Interim login dialog
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
#wp-auth-check-wrap.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#wp-auth-check-wrap #wp-auth-check-bg {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: #000;
|
||||
opacity: 0.5;
|
||||
filter: alpha(opacity=50);
|
||||
z-index: 1000000;
|
||||
}
|
||||
|
||||
#wp-auth-check-wrap #wp-auth-check {
|
||||
position: fixed;
|
||||
left: 50%;
|
||||
overflow: hidden;
|
||||
top: 40px;
|
||||
bottom: 20px;
|
||||
max-height: 435px;
|
||||
width: 380px;
|
||||
margin: 0 0 0 -190px;
|
||||
padding: 0;
|
||||
background-color: #fbfbfb;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
z-index: 1000001;
|
||||
}
|
||||
|
||||
#wp-auth-check-wrap.fallback #wp-auth-check {
|
||||
max-height: 180px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#wp-auth-check-wrap #wp-auth-check-form {
|
||||
background: url('../images/wpspin-2x.gif') no-repeat center center;
|
||||
background-size: 16px 16px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#wp-auth-check-wrap #wp-auth-check-form iframe {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#wp-auth-check-wrap .wp-auth-check-close {
|
||||
bottom: 10px;
|
||||
display: none;
|
||||
position: absolute;
|
||||
right: 30px;
|
||||
}
|
||||
|
||||
#wp-auth-check-wrap .wp-auth-fallback-expired {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
#wp-auth-check-wrap .wp-auth-fallback {
|
||||
font-size: 14px;
|
||||
line-height: 21px;
|
||||
padding: 10px 25px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#wp-auth-check-wrap.fallback .wp-auth-fallback,
|
||||
#wp-auth-check-wrap.fallback .wp-auth-check-close {
|
||||
display: block;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user