schedule.module.scss 700 Bytes
Newer Older
Kim, Subin's avatar
Kim, Subin committed
1
2
3
4
5
6
7
8
9
10
11
.activeBtn {
    &:focus {
        border-color: black;
    }

    // 펼쳐졌을 때
    &:not(.collapsed) {
        color: black;
        border-bottom: 1px solid #000000;
        white-space: normal;

Kim, Subin's avatar
Kim, Subin committed
12
13
14
15
16
17
        & .period {
            display: block;
        }

        & .time {
            display: none;
Kim, Subin's avatar
Kim, Subin committed
18
19
20
21
22
23
24
25
26
        }
    }

    // 숨겨졌을 때
    &[class~="collapsed"] {
        border-bottom: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
Kim, Subin's avatar
Kim, Subin committed
27
28
29
30
31
32
33
34

        & .period {
            display: none;
        }

        & .time {
            display: block;
        }
Kim, Subin's avatar
Kim, Subin committed
35
36
37
38
39
40
41
42
43
44
    }

    &::after {
        display: none;
    }
}

.textBox {
    white-space: pre-line;
}