tiles should add extra descriptive class #189

Closed
polyester opened this Issue Apr 28, 2013 · 4 comments

Comments

Projects
None yet
3 participants
Contributor

polyester commented Apr 28, 2013

it would be helpful if tiles add an extra class on what kind of tile they are. Something like 'class="covertile-pfg"', 'class="covertile-list"', to make it easier for CSS and diazo to grip onto. I'm suggesting covertile here as name, because there might be future confusion when others start using the name 'tiles' as well

Contributor

agnogueira commented Apr 28, 2013

+1

Owner

hvelarde commented May 15, 2013

I think this is related with #190 that is already closed.

should we consider this as implemented?

Contributor

agnogueira commented May 15, 2013

No, it's different. This is an automatic class for each tile, always on code, not defined by the user

Contributor

polyester commented May 15, 2013

the use-case is different. Both are good, but this allows styling of all 'list' type tiles, without end user intervention

@warpr warpr added a commit to warpr/collective.cover that referenced this issue Oct 25, 2013

@warpr warpr Add cover-(type)-tile class to all tile templates.
This addresses the issue #189 for all the default tiles, but doesn't do it automatically for new tiles.
b52d557

hvelarde closed this Oct 25, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment