Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

CSS Components

Unai Abrisketa edited this page Oct 28, 2020 · 3 revisions
Actions

Available classes

Class Description
actions--disabled Disables the available actions of the links, buttons, etc.
Buttons

Available classes

Class Screenshot
button__solid--primary button__solid--primary
button__solid--secondary button__solid--secondary
button__solid--danger button__solid--danger
button__transparent--primary button__transparent--primary
button__transparent--secondary button__transparent--secondary
button__transparent--danger button__transparent--danger

Customizable variables

Variable Default
$button-primary-background rgb(78, 183, 168)
$button-primary-color rgb(255, 255, 255)
$button-secondary-background rgb(153, 153, 153)
$button-secondary-color rgb(255, 255, 255)
$button-danger-background rgb(218, 60, 60)
$button-danger-color rgb(255, 255, 255)
$button-border-radius 3px
$button-box-shadow true

For customization of the variables see the Style customization gide

Cards

Available classes

Class Screenshot
card card
card--padding card--padding
card__separator card__separator
card__headline card__headline

Customizable variables

Variable Default
$card-border-radius 3px
$card-box-shadow 0 2px 7px rgba(0, 0, 0, 0.2)
$card-separator-color rgb(222, 222, 222)
$card-title-color rgb(247, 133, 96)

For customization of the variables see the Style customization gide

Links

Available classes

Class Screenshot
link--primary link--primary
link--secondary link--secondary
link--danger link--danger

Customizable variables

Variable Default
$link-primary-color rgb(61, 149, 137)
$link-secondary-color rgb(128, 128, 128)
$link-danger-color rgb(191, 36, 36)

For customization of the variables see the Style customization gide

Margins

Available classes

Class Description
margin--clear Sets all margins to 0
margin--top Sets a top margin of 30px
margin--bottom Sets a bottom margin of 30px
margin--left Sets a left margin of 30px
margin--right Sets a right margin of 30px
Markdown

Available classes

Class Description
markdown Sets markdown styles to the wrapped content, similar to GitHub markdown styles
Scrollbox

Available classes

Class Description
scrollbox Generates a scrollable box when the wrapped content's height exceeds 65vh. Shows tops and bottom shadows that indicate the scroll level
Texts

Available classes

Class Description
text__align--left Aligns the wrapped text to left
text__align--center Aligns the wrapped text to center
text__align--right Aligns the wrapped text to right
Titles

Available classes

Class Screenshot
title title

Customizable variables

Variable Default
$title-color rgb(122, 118, 76)

For customization of the variables see the Style customization gide

Clone this wiki locally