fabiocaccamo / django-admin-interface

:superhero: :zap: django's default admin interface with superpowers - customizable themes, popup windows replaced by modals and many other features.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Login page needs title background colour

merwok opened this issue · comments

commented

Django version: 4.1.6

Package version: 0.24.2

Current behavior (bug description)
The parameter title_color is used on the login page and the banner section of other pages.
If the banner background is dark (like in the USDS or Foundation theme, the one that’s blue and grey) and the title colour white, it looks good on the banner and can’t be seen on the white background on the login page.

Expected behavior
Ability to set background_color for the login page (section Title if I’m not mistaken)

Or/and separate two variables to control title_color on title screen and pages banner.

@merwok the title is always inside the header, so the color contrast problem should be the same in the login page and in the dashboard page.

Could you attach a couple of screenshots of how you see the title in both pages please?

commented

No, on the login page there isn’t a header, so my light blue colour looks great on normal pages with grey background but is hard to see on login page with white background!

admin-banner admin-login

I think you have customized the login template for showing the logo in that position.

commented

I absolutely did! Copied from django and customized for logo position and a couple other things.

I will compare with/without my override and see what class I’m missing to apply banner colour background to the top rectangle of the login form zone. Thanks for the help!