Closed (fixed)
Project:
Zen
Version:
7.x-3.x-dev
Component:
layout.css
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Jun 2010 at 05:05 UTC
Updated:
21 Aug 2013 at 09:30 UTC
There's some incongruity in the new style sheet separation: where does region styling go? it's part of page.tpl.php, so it should go in pages.css, but it's purely to do with blocks, so it should go in blocks.css...
Anyway, it would probably make sense to add per-region styling to the blocks.css, like this:
.region-header .block{
}for each built-in region. At the moment, there's no built-in css declarations for per-region block styling, even though blocks look different per-region on nearly every site I've ever seen.
Comments
Comment #1
johnalbinGood point.
And I agree there is some blurriness about where region styling goes. Blocks are related to pages through regions, after all.
Personally, I would put per-region block styling in blocks.css. And region styling in pages.css.
Yep, the CSS files haven't been given an update since 6.x-2.x and need to be refreshed to match the new markup in D7. I'm going to expand the scope of this issue to include all needed blocks.css updates. I'll make sure to include region-specific block styling too.
Comment #2
johnalbinActually, there's already an issue (and patch!) for the broader issue. Pulling the scope back to the original title.
Comment #3
johnalbinYou can now add this kind of selector to the online docs.