Download & Extend

CSS color makes text unreadable on light-on-dark websites.

Project:Revision Deletion
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)
Issue tags:color, CSS color, light-on-dark

Issue Summary

tr.revision-current {
  background-color: #ffffcc !important; /* Highlight current version. "!important" overrides odd/even. */
  /* font-size: 115%; /* */
}

This CSS color makes text unreadable on light-on-dark websites. Furthermore, the !important declaration makes it impossible to overwrite this change in the theme stylesheet.

Options:
- remove colour all together
- remove !important decalration, and leave it up to the site admin to fix it in the theme stylesheet.
- add "color: #000;" to make the text readable. Either add another !important dec. to the color, or remove it from the background-color.

Comments

#1

Status:active» fixed

You are correct, it should have been commented before committing like the other examples. It was there for testing on my site.

#2

Status:fixed» closed (fixed)

Included in 6.x-1.0-rc2 and 5.x-1.2.

#3

Thank you :)

nobody click here