#112 More semantic CSS classes

open
nobody
None
5
2013-01-16
2008-12-12
Udi
No

There are some CSS classes which are not at all semantic, like the .greenbar, .redbar, .green, .red, .grey etc... It's bad, because when I want to recolour the the summary page I have to remove the <span class=green> etc. strings from the php files. But if you substitute all the class="green", class="red" things with e.g: class="priority-low", class="priority-high", class="bar-finished", class="bar-unfinished" in the php files, and than add it to the CSS file also, than all I need is to change the CSS file when I want blue bars, or the normal priorities not green and not bold.

Discussion