summaryrefslogtreecommitdiffstats
path: root/src/_board.scss
blob: 7e8be12f8adbef6d1eca807ed1295f1c8c55bcfb (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
@use 'iro-sass/src/props';

@use 'core';

@mixin styles {
    .wbbBoardNode__unreadIcon {
        background-image: url(../images/style-6/custom/boardNewM.png);
        background-position: center center;
        background-repeat: no-repeat;

        fa-icon {
            visibility: hidden;
        }
    }

    .wbbBoardNode__defaultIcon {
        background-image: url(../images/style-6/custom/boardM.png);
        background-position: center center;
        background-repeat: no-repeat;

        fa-icon {
            visibility: hidden;
        }
    }

    .wbbBoardNode__lastPostAvatar .userAvatarImage {
        inline-size: 32px;
        block-size: 32px;
    }

    .wbbBoardSeparator {
        block-size: 1px;
        background-color: var(--wcfContentBorderInner);
    }

    .tabularListColumns {
        &::before {
            content: "";
            inline-size: 4px;
            align-self: stretch;
            margin-inline-end: 10px;
            border-radius: 1em;
        }

        &.new {
            &::before {
                background-color: props.get(core.$theme, --base, --700);
            }
        }
    }

    .tabularListRow.divider {
        + li:not(.divider) {
            border-block-start-width: 3px;
        }
    }
}