<!-- Default -->
<ul class="checklist " style="">
</ul>

<!-- Green -->
<ul class="checklist _green" style="">
</ul>

<ul class="checklist {{modifier}}" style="{{style}}">
    {{> @children }}
</ul>
/* Default */
{
  "style": null
}

/* Green */
{
  "style": null,
  "modifier": "_green"
}

  • Content:
    .checklist {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        list-style: none;
        &-item {
            position: relative;
            display: inline-block;
            padding-left: Space(500);
            text-align: left;
            &::before {
                position: absolute;
                top: 4px;
                left: 0;
            }
        }
        &._green .checklist-item::before {
            color: theme-color(main);
        }
        &._columns {
            height: 150px;
            margin-bottom: Space(600);
            .checklist-item {
                padding: 0 Space(500);
            }
        }
    }
    
    // Specificity overrides
    .section ul.checklist,
    ul.checklist {
        @include unstyled-list;
    }
    li.checklist-item + li.checklist-item {
        margin-top: Space(400);
    }
    
  • URL: /components/raw/checklist/Checklist.scss
  • Filesystem Path: components/molecules/Checklist/Checklist.scss
  • Size: 743 Bytes

There are no notes for this item.