summaryrefslogtreecommitdiff
path: root/style/curriculum.less
blob: 5f0238004a2ed25872bb3a594d7b5a9b72773f0d (plain)
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
@import "colors.less";

body[data-page="curriculum"] #curriculum-menu {
    /* reset list styles */
    ul {
        padding: 0;
        margin: 0;
    }
    li {
        list-style: none;
        padding: 3px;
        margin: 0;
    }
    .year {
        display: block;
        background: @color-complement-0;
    }
    .quartile {
        background: @color-complement-1;
        display: flex;

        & > li {
            flex: 1;
            width: 100%;
        }
    }
    .courses {
        background: @color-complement-2;

        & > li {
            background: @color-complement-3;
            margin: 2px inherit;
            white-space: nowrap;
            overflow: hidden;

            &[data-type="bc"] {
                background-color: #FFC000;
            }
            &[data-type="major"] {
                background-color: #31859B;
            }
            &[data-type="elective"] {
                background-color: #AB9AC0;
            }
            &[data-type="bep"] {
                background-color: #C00000;
            }
        }
    }
}
/* vim: set sw=4 et ts=4: */