diff --git a/src/scss/cdb-components/step.scss b/src/scss/cdb-components/step.scss new file mode 100644 index 0000000..be490c5 --- /dev/null +++ b/src/scss/cdb-components/step.scss @@ -0,0 +1,72 @@ +// Step styles +// ---------------------------------------------- + +/* SG +# Step + +``` +
    +
  1. +
    +
    1
    + +
    +

    Type

    +

    Histogram

    +

    Distribution of a numeric variable in a range

    +
    + +
    +
    +
    +
    +
  2. +
+``` +*/ + +@import '../cdb-utilities/mixins'; +@import '../cdb-variables/sizes'; +@import '../cdb-variables/colors'; + +.CDB-Step-header { + @include display-flex(); + @include flex-direction(row); + @include align-items(flex-start, flex-start); +} + +.CDB-Step-headerNumeration { + width: $baseSize * 3; + height: $baseSize * 3; + border: 1px solid $cMainLine; + border-radius: 4px; + background-color: $cWhite; + color: $cTypo3; + font-size: $sFontSize-small; + line-height: $baseSize * 3; + text-align: center; +} + +.CDB-Step-headerInfo { + width: 100%; +} + +.CDB-Step-headerTitle { + color: $cMainDark; +} + +.CDB-Step-headerDetails { + color: $cTypo3; + + &.is-uppercase { + text-transform: uppercase; + } +} + +.CDB-Step-action { + width: $baseSize * 3; + height: $baseSize * 3; + font-size: 14px; + text-align: center; + cursor: pointer; +} diff --git a/src/scss/cdb-components/typography.scss b/src/scss/cdb-components/typography.scss index b02624d..a9b844b 100644 --- a/src/scss/cdb-components/typography.scss +++ b/src/scss/cdb-components/typography.scss @@ -48,3 +48,11 @@ font-size: $sFontSize-small; line-height: $sLineHeight-small; } + +.CDB-FontSize-small { + font-size: $sFontSize-small; +} + +.CDB-FontSize-medium { + font-size: $sFontSize-medium; +}