fix when its password reset not login
Showing
2 changed files
with
25 additions
and
22 deletions
| ... | @@ -38,7 +38,7 @@ body.login { | ... | @@ -38,7 +38,7 @@ body.login { |
| 38 | 38 | ||
| 39 | } | 39 | } |
| 40 | 40 | ||
| 41 | #login_error { | 41 | #login_error, .message { |
| 42 | position: absolute; | 42 | position: absolute; |
| 43 | bottom:0; | 43 | bottom:0; |
| 44 | } | 44 | } |
| ... | @@ -58,8 +58,8 @@ body.login { | ... | @@ -58,8 +58,8 @@ body.login { |
| 58 | width: auto; | 58 | width: auto; |
| 59 | min-height: 250px; | 59 | min-height: 250px; |
| 60 | padding: 60px 100px 100px 240px; | 60 | padding: 60px 100px 100px 240px; |
| 61 | margin-left: 30%; | 61 | margin-left: 32%; |
| 62 | margin-top: 5%; | 62 | margin-top: 6%; |
| 63 | pointer-events: none; | 63 | pointer-events: none; |
| 64 | } | 64 | } |
| 65 | } | 65 | } |
| ... | @@ -86,16 +86,21 @@ body.login { | ... | @@ -86,16 +86,21 @@ body.login { |
| 86 | #login h1 span { | 86 | #login h1 span { |
| 87 | display:block; | 87 | display:block; |
| 88 | position: absolute; | 88 | position: absolute; |
| 89 | left:70px; | 89 | left:0; |
| 90 | font-size:24px; | 90 | font-size:24px; |
| 91 | color:#221D58 !important; | 91 | color:#221D58 !important; |
| 92 | pointer-events: none; | 92 | pointer-events: none; |
| 93 | max-width: 220px; | ||
| 94 | min-width: 220px; | ||
| 95 | line-height: 1.2; | ||
| 96 | text-align: center; | ||
| 93 | } | 97 | } |
| 94 | 98 | ||
| 95 | 99 | ||
| 96 | @media(max-width:1000px) and (min-width:601px) { | 100 | @media(max-width:1000px) and (min-width:601px) { |
| 97 | #login h1 span { | 101 | #login h1 span { |
| 98 | left:0; | 102 | left:0; |
| 103 | min-width: auto; | ||
| 99 | } | 104 | } |
| 100 | } | 105 | } |
| 101 | 106 | ||
| ... | @@ -134,12 +139,6 @@ body.login { | ... | @@ -134,12 +139,6 @@ body.login { |
| 134 | 139 | ||
| 135 | 140 | ||
| 136 | 141 | ||
| 137 | |||
| 138 | |||
| 139 | #lostpasswordform { | ||
| 140 | background: url(../images/reset.png) 0px 0px no-repeat !important; | ||
| 141 | } | ||
| 142 | |||
| 143 | form {} | 142 | form {} |
| 144 | 143 | ||
| 145 | form { | 144 | form { |
| ... | @@ -296,7 +295,12 @@ label { | ... | @@ -296,7 +295,12 @@ label { |
| 296 | } | 295 | } |
| 297 | 296 | ||
| 298 | #login h1 { | 297 | #login h1 { |
| 299 | margin-left:15%; | 298 | margin-left:17%; |
| 299 | } | ||
| 300 | |||
| 301 | #login h1 span { | ||
| 302 | max-width: 150px; | ||
| 303 | min-width: auto; | ||
| 300 | } | 304 | } |
| 301 | 305 | ||
| 302 | 306 | ||
| ... | @@ -304,7 +308,7 @@ label { | ... | @@ -304,7 +308,7 @@ label { |
| 304 | 308 | ||
| 305 | @media (max-width: 1000px) { | 309 | @media (max-width: 1000px) { |
| 306 | #login h1 { | 310 | #login h1 { |
| 307 | margin-left:23%; | 311 | margin-left:17%; |
| 308 | } | 312 | } |
| 309 | } | 313 | } |
| 310 | 314 | ||
| ... | @@ -319,7 +323,7 @@ label { | ... | @@ -319,7 +323,7 @@ label { |
| 319 | width: 40%; | 323 | width: 40%; |
| 320 | } | 324 | } |
| 321 | #login h1 { | 325 | #login h1 { |
| 322 | margin-left:23%; | 326 | margin-left:20%; |
| 323 | margin-top:20%; | 327 | margin-top:20%; |
| 324 | } | 328 | } |
| 325 | } | 329 | } |
| ... | @@ -406,7 +410,6 @@ label { | ... | @@ -406,7 +410,6 @@ label { |
| 406 | width:auto; | 410 | width:auto; |
| 407 | position: absolute; | 411 | position: absolute; |
| 408 | top:120px; | 412 | top:120px; |
| 409 | white-space: nowrap; | ||
| 410 | } | 413 | } |
| 411 | 414 | ||
| 412 | 415 | ||
| ... | @@ -431,17 +434,16 @@ label { | ... | @@ -431,17 +434,16 @@ label { |
| 431 | 434 | ||
| 432 | } | 435 | } |
| 433 | 436 | ||
| 434 | #lostpasswordform { | ||
| 435 | background: url(../images/reset.png) 0px 0px no-repeat !important; | ||
| 436 | } | ||
| 437 | |||
| 438 | 437 | ||
| 439 | #login h1 span { | 438 | #login h1 span { |
| 440 | left:0; | 439 | left:0; |
| 441 | top:20px; | 440 | top:20px; |
| 441 | min-width: auto; | ||
| 442 | max-width: none; | ||
| 443 | white-space: nowrap; | ||
| 442 | } | 444 | } |
| 443 | 445 | ||
| 444 | #loginform { | 446 | #login form { |
| 445 | padding:15% !important; | 447 | padding:15% !important; |
| 446 | margin-top:80px !important; | 448 | margin-top:80px !important; |
| 447 | } | 449 | } |
| ... | @@ -494,8 +496,7 @@ label { | ... | @@ -494,8 +496,7 @@ label { |
| 494 | #login_error, | 496 | #login_error, |
| 495 | .message { | 497 | .message { |
| 496 | position: relative; | 498 | position: relative; |
| 497 | top: 75px; | 499 | top:80px; |
| 498 | width: 89vw; | ||
| 499 | } | 500 | } |
| 500 | } | 501 | } |
| 501 | 502 | ||
| ... | @@ -526,7 +527,6 @@ label { | ... | @@ -526,7 +527,6 @@ label { |
| 526 | .message { | 527 | .message { |
| 527 | position: relative; | 528 | position: relative; |
| 528 | top: 70px; | 529 | top: 70px; |
| 529 | width: 88vw; | ||
| 530 | } | 530 | } |
| 531 | 531 | ||
| 532 | 532 | ... | ... |
| ... | @@ -16,6 +16,9 @@ use Tz\WordPress\Tools\ShortCodes; | ... | @@ -16,6 +16,9 @@ use Tz\WordPress\Tools\ShortCodes; |
| 16 | spl_autoload_register(__NAMESPACE__.'\autoloader'); | 16 | spl_autoload_register(__NAMESPACE__.'\autoloader'); |
| 17 | 17 | ||
| 18 | add_action( 'login_headertext', function($title) { | 18 | add_action( 'login_headertext', function($title) { |
| 19 | if($_REQUEST['action'] == 'lostpassword') { | ||
| 20 | return "RESET PASSWORD:"; | ||
| 21 | } | ||
| 19 | return "LOG IN:"; | 22 | return "LOG IN:"; |
| 20 | } ); | 23 | } ); |
| 21 | 24 | ... | ... |
-
Please register or sign in to post a comment