summaryrefslogtreecommitdiffstats
path: root/src_old/layouts/_flex.scss
blob: d3f4f9cf38c913baa46485643986e80ad0299eb7 (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
@use 'iro-sass/src/index' as iro;

@include iro.props-namespace('flex') {
    @include iro.bem-layout(iro.props-namespace()) {
        display: flex;

        @include iro.bem-modifier('align-stretch') {
            align-items: stretch;
        }

        @include iro.bem-modifier('align-center') {
            align-items: center;
        }

        @include iro.bem-modifier('align-start') {
            align-items: flex-start;
        }

        @include iro.bem-modifier('align-end') {
            align-items: flex-end;
        }

        @include iro.bem-modifier('column') {
            flex-direction: column;
        }
    }
}