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 a drupal_set_message()
is displayed in the interface, it gets shown all the way up above (which is nice), blue on a black background (which is maybe a bit less nice :). That blue on black color makes the text a bit hard to read for my poor eyes, especially when I'm in a bright room or outside with my laptop. Maybe a bright blue could help? Compare with the admin_menu colors...
The color for warnings is perfect however.
Comment | File | Size | Author |
---|---|---|---|
#3 | faraway.png | 29.9 KB | anarcat |
Comments
Comment #1
yhahn CreditAttribution: yhahn commentedI've brightened the color of the ok status message. Let me know if this improves readability for you -- feel free to tweak yourself and post any adjustments to the RGB : ) The selector in question is around line 405:
Comment #2
anarcat CreditAttribution: anarcat commentedTweaking the div.ok has no effect here. I had to do this instead:
It looks better, but it's green. :) Really, I think this is not much of an issue, i guess the problem is more related to the black background than with the foreground, so I will not insist on this. :)
Comment #3
anarcat CreditAttribution: anarcat commentedI'm reopening this, it's too confusing. I think the main issue is not as much with the colors but where the notification area appears: it's too far up! Maybe it's because I'm so used to see the messages pop up at a certain place, but it does seem really counter-intuitive to see the messages for forms (for example) pop up all the way at the top, with the site heading and main menus in between.
I attached a screenshot of a typical case: notice how, between the error field and the notification area, we successively see:
* the node tabs
* the node title (with its type)
* the breadcrumbs and the primary links menu
* the site logo and title
And only then do we get the chance to see the notification area.
I would much rather have it below the blue heading, right after the breadcrumbs. I think it would still be graphically pleasing while respecting the context a little more.
Marking release critical.
Comment #4
yhahn CreditAttribution: yhahn commentedFixed: http://drupal.org/cvs?commit=216574
Comment #5
anarcat CreditAttribution: anarcat commentedNow you're talking, excellent work, thanks!