Problem/Motivation

Happily, the old CSS coding standards draft is out of the picture and we have a shiny new document: http://drupal.org/node/1891580
I'm not familiar with what, if any, rules Coder has regarding CSS, but they (if existant) will likely need to be updated to reflect these new standards.

Proposed resolution

  • If Coder currently utilizes the old CSS coding standards draft, update to the new standards.
  • If Coder doesn't have any rules regarding CSS, let's add some!

Remaining tasks

I could use some input here since I'm not sure where this lands in the realm of work to be done. Part of the task list for this issue is to notify the Coder maintainers. Creating this issue seemed like a good way to do that and get the ball rolling on any updates Coder might need.

Comments

klausi’s picture

I removed the alphabetical ordering of properties rule.

Next will we have to cover those exceptions:

/* Cell dimensions */
.cell-1 { width: 10%; }
.cell-2 { width: 20%; }
.cell-3 { width: 30%; }
.cell-4 { width: 40%; }
.cell-5 { width: 50%; }
klausi’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Note that CSS support has been removed from Coder. To check and fix CSS files please use Stylelint and use the Drupal core .stylelintrc.json configuration file.