I'm developing a site for a client which will use a light-on-dark color scheme (it's a theme built off of Zen Midnight). Unfortunately, this causes some graphical ugliness and inconsistency with IMCE. The problem seems to lie in the fact that IMCE overrides most of its elements with stylesheets to create its standard dark-on-light color scheme, but not all of them; the other ones are targetted by rules in my stylesheet, which attempts to invert the colors.
The result is the attached. I'll probably end up fixing it by tweaking the rules in the theme's stylesheets so that IMCE's elements aren't targeted, but I'd rather not.
I think it would be preferable if IMCE either strictly colored all of its elements for a consistent dark-on-light look, or didn't color any of them and let the site's theme take total control.
| Comment | File | Size | Author |
|---|---|---|---|
| imce.png | 27.68 KB | Garrett Albright |
Comments
Comment #1
ufku commentedIt's not possible to override all elements in all layers.
IMCE defines dark on light on the top layer(#imce-content) only, which can easily be overridden.
Not including any other css files is also an option but then IMCE becomes isolated and can not be extended by other modules.
If you have a proposal for a better implementation, you're welcome to submit patches.
Comment #2
ufku commentedDefining CSS rules for every single element won't happen.