summaryrefslogtreecommitdiff
path: root/style/curriculum.less
blob: 7ad46b0423742dad978acfb6e69859fdc04955bf (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
52
@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-year-background;
    }
    .quartile {
        background: @color-quartile-background;

        & > li {
            display: inline-block;
            box-sizing: border-box;
            width: 25%;
        }
    }
    .courses {
        background: @color-courses-background;

        & > li {
            margin-top: 2px;
            margin-bottom: 2px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;

            &[data-type="bc"] {
                background-color: @color-bc-background;
            }
            &[data-type="major"] {
                background-color: @color-major-background;
            }
            &[data-type="elective"] {
                background-color: @color-elective-background;
            }
            &[data-type="bep"] {
                background-color: @color-bep-background;
            }
        }
    }
}
/* vim: set sw=4 et ts=4: */