summaryrefslogtreecommitdiffstats
path: root/src/_board.scss
blob: eb221d2ebcfa7de696a1512c6c8d3fec72cd530e (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
@use 'iro-sass/src/props';

@use 'core';

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

        fa-icon {
            visibility: hidden;
        }
    }

    .wbbBoardNode__defaultIcon {
        background-image: url(../images/style-9/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;
            margin-block: 5px;
            border-radius: 1em;
        }

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

    .messageGroupList .columnAvatar {
        div,
        div > p > .userAvatarImage {
            inline-size: 42px;
            block-size: 42px;
        }
    }

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

    .messageGroupList {
        a {
            &:hover {
                text-decoration: underline;
            }
        }
    }

    @media screen and (max-width: 768px) {
        .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnSubject {
            flex-basis: calc(100% - 42px - 14px);
            max-width: calc(100% - 42px - 14px);
        }
    }
}