4b800867 by Jeremy Groot

fix when its password reset not login

1 parent 65a5e8ea
......@@ -38,7 +38,7 @@ body.login {
}
#login_error {
#login_error, .message {
position: absolute;
bottom:0;
}
......@@ -58,8 +58,8 @@ body.login {
width: auto;
min-height: 250px;
padding: 60px 100px 100px 240px;
margin-left: 30%;
margin-top: 5%;
margin-left: 32%;
margin-top: 6%;
pointer-events: none;
}
}
......@@ -86,16 +86,21 @@ body.login {
#login h1 span {
display:block;
position: absolute;
left:70px;
left:0;
font-size:24px;
color:#221D58 !important;
pointer-events: none;
max-width: 220px;
min-width: 220px;
line-height: 1.2;
text-align: center;
}
@media(max-width:1000px) and (min-width:601px) {
#login h1 span {
left:0;
min-width: auto;
}
}
......@@ -134,12 +139,6 @@ body.login {
#lostpasswordform {
background: url(../images/reset.png) 0px 0px no-repeat !important;
}
form {}
form {
......@@ -296,7 +295,12 @@ label {
}
#login h1 {
margin-left:15%;
margin-left:17%;
}
#login h1 span {
max-width: 150px;
min-width: auto;
}
......@@ -304,7 +308,7 @@ label {
@media (max-width: 1000px) {
#login h1 {
margin-left:23%;
margin-left:17%;
}
}
......@@ -319,7 +323,7 @@ label {
width: 40%;
}
#login h1 {
margin-left:23%;
margin-left:20%;
margin-top:20%;
}
}
......@@ -406,7 +410,6 @@ label {
width:auto;
position: absolute;
top:120px;
white-space: nowrap;
}
......@@ -431,17 +434,16 @@ label {
}
#lostpasswordform {
background: url(../images/reset.png) 0px 0px no-repeat !important;
}
#login h1 span {
left:0;
top:20px;
min-width: auto;
max-width: none;
white-space: nowrap;
}
#loginform {
#login form {
padding:15% !important;
margin-top:80px !important;
}
......@@ -493,9 +495,8 @@ label {
#login_error,
.message {
position: relative;
top: 75px;
width: 89vw;
position: relative;
top:80px;
}
}
......@@ -526,7 +527,6 @@ label {
.message {
position: relative;
top: 70px;
width: 88vw;
}
......
......@@ -16,6 +16,9 @@ use Tz\WordPress\Tools\ShortCodes;
spl_autoload_register(__NAMESPACE__.'\autoloader');
add_action( 'login_headertext', function($title) {
if($_REQUEST['action'] == 'lostpassword') {
return "RESET PASSWORD:";
}
return "LOG IN:";
} );
......