Hi,

It seems, with http://drupal.org/node/323844 fixed, too many CSS files from parent theme are incorrectly included in the editor area.

In my case, when viewing a node, these CSS files are included:
/sites/all/themes/ballzen/html-elements.css
/sites/all/themes/zen/zen/tabs.css
/sites/all/themes/zen/zen/messages.css
/sites/all/themes/zen/zen/block-editing.css
/sites/all/themes/zen/zen/wireframes.css
/sites/all/themes/ballzen/layout.css
/sites/all/themes/ballzen/ballzen.css
/sites/all/themes/ballzen/print.css

The editor area incorrectly added these: (by inspecting in Firebug)
/sites/all/themes/zen/zen/html-elements.css
/sites/all/themes/zen/zen/zen.css
/sites/all/themes/ballzen/zen.css
/sites/all/themes/ballzen/image_attach.css

ballzen.info stylesheet override looks like:

; You can also override any of Zen's stylesheets or any module's stylesheets,
; an /extremely/ useful feature. See the excellent Drupal 6 Theme Guide at
; http://drupal.org/node/171209 for more details.
stylesheets[all][] = layout.css
stylesheets[all][] = html-elements.css
stylesheets[all][] = ballzen.css
stylesheets[print][] = print.css
; To prevent stylesheets of a base theme or of a module from being included in
; our sub-theme, we specify it in our .info file (and we don't need to have a
; stylesheet in our sub-theme with that name.) For example, we prevent the
; zen.css file in the base theme from being included by specifying it here.
stylesheets[all][] = zen.css
stylesheets[all][] = image_attach.css

Comments

wwalc’s picture

Status: Active » Fixed

Fixed in CVS. Let me know if the nightly build (that will be available tomorrow after midnight) is working as expected.

ball.in.th’s picture

Hi,

Just tested the 6.x-1.x-dev, these css files are still incorrectly included:
/sites/all/themes/ballzen/zen.css
/sites/all/themes/ballzen/image_attach.css

These two files do not exist in ballzen theme. The stylesheet override in .info file can be used in this case to tell drupal not to load these two files from the parent theme or from a module. Please see the comment of Zen theme in my .info file above at "To prevent stylesheets of a base theme or of a module from being included ..." .

ball.in.th’s picture

Status: Fixed » Active
wwalc’s picture

Status: Active » Postponed (maintainer needs more info)

Any chance that you could PM me that theme? I tried to reproduce this issue using The Morning After theme, but the zen.css file was correctly loaded from the subtheme folder.

wwalc’s picture

Status: Postponed (maintainer needs more info) » Fixed

Thanks to the help of ball.in.th this issue has been fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.