[TYPO3-project-4-3] CSS BE issues

Martin Kutschker masi-no at spam-typo3.org
Tue May 26 08:39:40 CEST 2009


Uschi Renziehausen schrieb:
> 
> Apart from that here some suggestions for general rules for classnames.
> 
> 1) No capital letters. To improve readability, we use a dash (-).
> 
> 2) Classnames should be as short as possible, means, let us get rid of
> meaningless prefixes like typo3- or let us at least shorten them to t3-...
> 
> 3) Classnames should not reflect the markup. Currently we have stuff
> like wrapperTable, wrapperTable1 and so on. What happens if the markup
> changes and we get rid of those tables?
> 
> 4) Let us use the same classes for the same purpose throughout the whole
> BE. If we want alternating colors the presumably we want the same colors
> for every list.

Maybe this rules can be created in concordance with the v5 team. They
haven't probably thought much about CSS, but if we do it right they can
use it later without any changing *

Masi

* Though I doubt it. They have proven that they are willing to reinvent
all tools ;)


More information about the TYPO3-project-4-3 mailing list