summaryrefslogtreecommitdiffstats
path: root/tpl/objects/backdrop.pug
blob: cbe88665510668aeeaee258015f8130160230391 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
mixin backdrop
    -
        let classes = {
            'o-backdrop':   true,
            'u-p-relative': true,
        }
        if (attributes.class) {
            classes[attributes.class] = true;
        }

    div(class=classes, style={ width: '100%', 'min-height': '5em', 'max-height': '40em' })
        block