0-readme edit
row-components
edit
How the rows are set up and used
Row components
Components provide default spacing, colors, fonts, and layout for rows. Several also have options available for different looks. Options are listed in each file.
Of special note: margins are set only on the tops of elements. This so that spacing remains consistent when elements are optional and sometimes not included in the output.
Current layout components
.wm-row
basic structure of a row
.wm-cards
layout for multiple cards
.wm-split
layout for divided row
Current element components
.wm-card
a single card in a row
.wm-description-text
text including publication date, title caption, etc.
.wm-row-buttons
row buttons, which are slightly different from regular buttons
.wm-statnum
a number with prepends and appends for statistics
Row classes
Rows get classes that match the component classes if there is the possibility the row will want to override the component's styles.
.IconRow__text-section
will override .wm-card__text-section