Since upgrading to RC1 and RC2, the stylesheets are imported in the wrong order. The theme's stylesheet should be at the bottom so that it can override any module stylesheets. Instead the theme's stylesheet is at the top of the list, with all module stylesheets following...
Comments
Comment #1
killes@www.drop.org commentedI can't confirm this.
Comment #2
q0rban commentedhttp://www.thejettisonparty.com/
basic phptemplate theme running 4.7RC2
It cascaded properly before RC1
Comment #3
killes@www.drop.org commentedMight be theme specifc. It works fine on drupal.org and for bluemarine on localhost.
Comment #4
q0rban commentedBreaks for pushbutton and bluemarine as well on my site..
Comment #5
q0rban commentedI don't know.. drupal.org looks broken to me too... I'm sure the cascading order doesn't matter for drupal.org, though, since probably each modules css has been customized for it.
shouldn't
@import "/themes/bluebeach/style.css";be at the end of the list?If I look on the wayback machine (unfortunately the last one to view is april '05 or something), it looks like bluebeach's style sheet is the last in the list..
The only reason I noticed it is because after upgrading to RC1, I had to go into my theme's stylesheet and put !important in every nice_menus.css rule I wanted to override.
Comment #6
tenrapid commentedThe theme's stylesheet is added to the static $styles array in theme_add_style() when init_theme() is called. Normally this happens the first time a theme('...', ...) function is called. So if all modules add their .css file via theme_add_style() BEFORE init_theme() is called then everything is in order.
A module that calls init_theme() breaks this order. On your site this is the case with the acidfree.module. It does this to get the theme's path and to look there for a acidfree.css file that will be used instead of the one in modules/acidfree.
Comment #7
killes@www.drop.org commentedthanks tenrapid.
Comment #8
q0rban commentedWhy is drupal.org's css cascading out of order? And why did this only happen after upgrading to 4.7RC1?
Comment #9
q0rban commentedwoops.
Comment #10
q0rban commentedThanks tenrapid, that was indeed the problem.. Submitted a patch to acidfree.
http://drupal.org/node/57876