summaryrefslogtreecommitdiffstats
path: root/assets/css/components/_footer.scss
blob: 4e809a41372ad6844f83f84513145a1efd0fb2d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
@include namespace('footer') {
    @include store((
        --colors: (
            --fg:     prop(--colors --obj, $global: true),
            --border: prop(--colors --obj-hi, $global: true),
        )
    ));

    @include component(namespace()) {
        display:         flex;
        position:        relative;
        align-items:     center;
        justify-content: space-between;
        height:          prop(--dims --outer, $global: true);

        @include element('content') {
            width:        100%;
            height:       100%;
            margin-top:   -1px;
            margin-right: prop(--container --dims --pad-x, $global: true);
            margin-left:  prop(--container --dims --pad-x, $global: true);
            border-top:   1px solid prop(--colors --border);
            color:        prop(--colors --fg);
            line-height:  prop(--dims --outer, $global: true);
        }
    }
}