Form elements
Input components are a bit simpler than buttons. Just add the default input class (c-input), add the specific modifier class for the type of input (eg text) and optionally a theme (t-corporate). Just as with buttons they can be disabled, just add the modifier class 'disabled'.
Forms use themes for their different colors. If you want a different colored form element, try a different theme on the form.
Elements and modifiers
- .pds-c-input[.disabled][.transparent]
- input[type=text|number|email|tel|password|number|date|time].pds-c-input[.valid|.invalid]
- textarea.pds-c-input[.full-width]
- select.pds-c-input[.full-width]
- label.pds-c-input-label
- .pds-c-input-container[.radio|.checkbox]
- .pds-c-input-container.radio > input[type=radio][.has-validation] + .pds-c-input-check + label
- .pds-c-input-container.checkbox > input[type=checkbox][.has-validation] + .pds-c-input-check + label
- .pds-c-progress[.pending|.ready|.error][.white] > .spinner
padding