Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When we added color module support for the site name and slogan, it hijacked the maintenance page header styling as well. (Dang you colormodule!)
When the site name is white (which it is by default) it "disappears" from the maintenance page. The solution is to make the maintenance page styling more specific and override the color module settings.
Comment | File | Size | Author |
---|---|---|---|
#1 | 850940.patch | 1.06 KB | jensimmons |
Comments
Comment #1
jensimmons CreditAttribution: jensimmons commentedBefore:
After:
Comment #2
eigentor CreditAttribution: eigentor commentedYeah noticed this as well. How about making the maintenance page text all hardcoded black? If someone recolors the site title to match corporate colors, this should be maintained somehow, though.
Comment #3
jensimmons CreditAttribution: jensimmons commentedComment #4
jensimmons CreditAttribution: jensimmons commentedFor context, this is what the whole page looks like:
Comment #5
bleen CreditAttribution: bleen commentedRTBC
Comment #6
eigentor CreditAttribution: eigentor commentedHm, shouldn't we also show the logo? Companies will like their maintenance page branded.
Comment #7
aspilicious CreditAttribution: aspilicious commentedI agree with eigentor.
Comment #8
bleen CreditAttribution: bleen commentedI think we have the same color problem in that case ... imagine a white Nike Swoosh as the company logo. It will appear as a weird giant blank space.
We would have to add full color module support to the maintenance page for this to work... blech.
Also note that this page shows when the database is unreachable ... I dont think this would effect color module settings (?), but it does severely limit what we can do with this page in general.
Comment #9
jensimmons CreditAttribution: jensimmons commentedYeah, that was my thinking — the odds are that the logo will not look good on white. It will only work if 1) the logo has no background of it's own (it's a png like the Druplicon logo), or 2) the header of the themed website is white (which is rare). I figured it would be better to simply not show the logo.
We can debate what to do about the logo — but meanwhile, we should commit this patch. It fixes a more serious bug, and puts Bartik back to the way it was before we colorized the header.
Comment #10
eigentor CreditAttribution: eigentor commentedJen is right - let's commit that and think about a potential logo later. +1 for RTBC.
Comment #11
jensimmons CreditAttribution: jensimmons commentedThis might actually be critical, but I hesitate to add another issue to the critical queue.
It is however, definitely RTBC! Please do commit, our fearless leaders.
Comment #12
int CreditAttribution: int commentedHow this can be critical? it's destroy user data?
And this don't remove any feature, and is only shows wrong in the maintenance page. So set normal.
Comment #13
jensimmons CreditAttribution: jensimmons commentedThis bug means the maintainance page prints the site name in white, on a white background. So it doesn't show up. To me, that's a pretty big bug.
Mostly, though, this is DONE and RTBC!! Let's just commit it, rather than debating the rank! I don't know what the hesitation is.
Comment #14
int CreditAttribution: int commentedCommit #398428 by Dries at 16:50