summaryrefslogtreecommitdiffstats
path: root/src/_board.scss
blob: b20839011677fb28a70ff09d19b55f5722d8b94f (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
@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);
            }
        }
    }

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

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

    .messageGroupList .columnSubject > .statusDisplay {
        margin-block-start: -.3em;
    }

    .messageSidebar 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);
        }
    }
}