admin.scss 1.61 KB
Newer Older
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
@import "../../thaliawebsite/static/css/variables";

#changelist table {
    width: 100%;

    tr {
        &:nth-child(even) {
            background: #f9f9f9;
        }
        &:nth-child(odd) {
            background: #fff;
        }
    }

    td {
        vertical-align: middle;
    }

    thead {
        th {
            padding: 8px 10px;

            @media(max-width: 767px) {
                padding-top: 15px;
                padding-bottom: 15px;
            }

            &.sortable {
                outline: none;

                &:not(.sorter-false):hover {
                    background-color: #eee;
                }

                .toggle {
                    width: 14px;
                    height: 14px;
                    display: none;
                    background: url('/static/admin/img/sorting-icons.svg') no-repeat 0 0;
                    background-size: 14px auto;
                }

                &.tablesorter-headerAsc {
                    background-color: #eee;

                    .toggle {
                        display: inline-block;
                        background-position: 0 -56px;
                    }
                }

                &.tablesorter-headerDesc {
                    background-color: #eee;

                    .toggle {
                        display: inline-block;
                        background-position: 0 -28px;
                    }
                }
            }
        }
    }
}

select[name=payment] {
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
66
    background: $red;
67
68
69
    color: white;

    &.paid {
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
70
        background: $green;
71
72
73
74
75
76
    }

    @media(max-width: 767px) {
        height: 40px;
    }
}