aboutsummaryrefslogtreecommitdiff
path: root/resources/assets/stylesheets/scss/my_courses.scss
blob: 769f3d2af1ec8d09b85bba64b9b7da60bc050c9e (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
53
54
55
56
57
58
59
.missing_course {
    .content {
        font-weight: bold;
    }
    border: 2px solid var(--red);
    display: inline-block;
    padding: 5px;
    margin: 5px 0;
    background: var(--white);
}

form.default .mycourses-group-selector {
    position: relative;

    background-clip: padding-box;
    border: 1px solid fade-out($brand-color-lighter, 0.8);

    input[type="radio"] {
        @extend .sr-only;

        &:checked + label {
            .group-number {
                display: none;
            }
            .checked-icon {
                display: inline;
            }
        }
    }

    &:hover label {
        .group-number {
            display: none;
        }
        .checked-icon {
            display: inline;
        }
    }

    label {
        text-align: center;
        font-size: large;
        font-weight: bold;
        cursor: pointer;

        background-color: var(--white);
        margin-bottom: 0;
        text-indent: 0;

        height: 1.2em;

        .group-number {
            display: inline;
        }
        .checked-icon {
            display: none;
        }
    }
}