summaryrefslogtreecommitdiffstats
path: root/src/_sidebar.scss
blob: d22067866fc1cc78b4e8a191d40f6d26c4885ff4 (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
28
29
30
31
32
@use 'iro-sass/src/props';

@use 'core';

@mixin styles {
    .boxesSidebarLeft{
        margin-inline-end: 30px;
    }

    .boxesSidebarRight {
        margin-inline-start: 30px;
    }

    .boxesSidebarLeft, .boxesSidebarRight {
        .box {
            border-radius: 0;

            &:not(:first-child) {
                margin-block-start: 0;
                padding-block-start: 10px;

                &::before {
                    content: "";
                    display: block;
                    block-size: 1px;
                    margin-block-end: 30px;
                    background-color: props.get(core.$theme, --base, --200);
                }
            }
        }
    }
}