Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hides password reset <p class="pw-login-links"> with display:none #17

Open
Jonatan-r opened this issue Sep 29, 2020 · 0 comments
Open

Comments

@Jonatan-r
Copy link

With AdminThemeBoss enabled this piece of the login screen is hidden:
<p class="pw-login-links"><a href="./?forgot=1"><i class="fa fa-question-circle fa-fw"></i> Forgot your password?</a> <br><a href="/"><i class="fa fa-home fa-fw"></i> Quonga.dk</a></p>

It results in this (custom colourscheme and logo here) which looks quite clean I agree:

Skærmbillede 2020-09-30 kl  00 20 51

– But isn't the "Reset Password" option quite important?

In the css file (AdminThemeBoss/uikit/dist/css/uikit.colourname.css) on line 16721:
.pw body.ProcessLogin #pw-content-body p:last-child { display: none }

If you just remove the display:none property it will look like this:

Skærmbillede 2020-09-30 kl  00 29 29

I'd suggest this instead:

`.pw body.ProcessLogin #pw-content-body p:last-child {
display: flex;
justify-content: center;
margin-top: 40px;
margin-bottom: 0;
}

.pw body.ProcessLogin #pw-content-body p:last-child a:last-child {
display: none;
}`

Resulting in this:

Skærmbillede 2020-09-30 kl  00 28 19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant