summaryrefslogtreecommitdiffstats
path: root/tpl/objects/list-group.pug
blob: e9db236ddd8cf1c77ff54044340bb44d7fa36a7e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
mixin list-group
    -
        let classes = {
            'o-list-group':             true,
            'o-list-group--horizontal': attributes.horizontal,
        }

    div(class=classes)
        block

mixin list-group-item
    -
        let classes = {
            'o-list-group__item':              true,
            'o-list-group__item--interactive': attributes.interactive,
        }

    div(class=classes)
        block