{{> theme}} {{> highlight}} {{> jquery}}

Basics

Important notes about this styleguide

This is a preliminar WIP of the new dashboard stylesheet, based on the naming conventions of suitcss and Medium’s CSS is actually pretty good.

General rules

  • All new elements added in this repository should have included a 'CDB-' namespace.
  • Don't create default styles for common elements (e.g. input { padding: 10px 0 }). It will make more difficult edit styles for the future custom elements and the !important use will grow.
  • Avoid creating new classes with only one attribute (e.g. .marginRight { margin-right: 10px } ). It is impossible to manage the amount of cases we would like to cover.
{{#each sections}}

{{section}}{{#if heading}}/{{heading}}{{/if}}

{{{comment}}}
{{#if code}}
{{{code}}}
{{/if}} {{#if markup}}
{{{markup}}}
{{/if}}
{{/each}}