aboutsummaryrefslogtreecommitdiff
path: root/resources/assets/stylesheets/less/admin.less
blob: e26e1754e584c81aaad9aa1853185bdbec722e9e (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
.drag-and-drop { display: none; }
.js .drag-and-drop {
    display: block;
    margin: 5px;
    overflow: hidden;
    padding: 10px;
    padding-left: 0px;
    position: relative;
    text-align: center;
    background-color: @content-color-20;
    .background-icon('upload', 'clickable', 50);
    background-repeat: no-repeat;
    background-position: center 10px;
    padding-top: 70px;
    color: @base-color;
    cursor: pointer;

    input[type=file] {
        border: 0;
        font-size: 5em;
        margin: 0;
        opacity: 0;
        padding: 0;
        position: absolute;
        right: 0;
        top: 0;
    }

    &.hovered {
        background-color: @base-color;
        .background-icon('upload', 'info_alt', 50);
        color: white;
    }
}
.js .widget-links .drag-and-drop {
    margin-left: -15px;
}

fieldset.attribute_table {
    border-collapse: collapse;

    ul {
        margin: 0px;
    }
    .sem_class_name .sem_class_edit {
        display: none;
    }
    .sem_class_name:hover .sem_class_edit {
        display: inline;
    }
    ul#sem_type_list > li {
        height: 20px;
    }
    ul#sem_type_list > li .sem_type_delete, ul#sem_type_list > li .sem_type_edit {
        display: none;
    }
    ul#sem_type_list > li:hover .sem_type_delete, ul#sem_type_list > li:hover .sem_type_edit {
        display: inline;
    }
    div[container] {
        display: inline-block;
        width: 150px;
        max-width: 150px;
        overflow: hidden;
        border: thin solid #cccccc;
        vertical-align: top;
        margin-top: 3px;
        margin-bottom: 3px;
    }
    div[container] > h2 {
        display: block;
        width: 100%;
        background-color: #dddddd;
        font-size: 12px;
        text-align: center;
        margin: 0px;
    }
    div[container] > div.droparea {
        min-height: 30px;
        padding: 1px;
    }
    div[container] > div.droparea > div.plugin {
        cursor: move;
        border: thin solid #cccccc;
        border-radius: 5px;
        background-color: #dddddd;
        margin: 5px;
        margin-left: 7px;
        margin-right: 7px;
        display: inline-block;
        min-width: 132px;
        max-width: 132px;
    }
    div[container] > div.droparea > div > h2 {
        display: block;
        width: 100%;
        background-color: #cccccc;
        font-size: 12px;
        text-align: center;
        margin: 0px;
    }
    div[container] > div.droparea > div.deactivated {
        opacity: 0.5;
    }
    div[container]#plugins {
        width: 99%;
        max-width: 99%;
        margin-left: auto;
        margin-right: auto;
    }
    hr {
        height: 1px;
        color: #aaaaaa;
        background-color: #aaaaaa;
        border: none;
    }
    div[container]#deactivated_modules {
        width: 99%;
        max-width: 99%;
        margin-left: auto;
        margin-right: auto;
    }
    div[container]#deactivated_modules .plugin > div {
        display: none;
    }
}

.course-admin {
    .course-completion {
        .hide-text();
        .square(16px);
        background-repeat: no-repeat;
        display: block;
    }

    th .course-completion {
        .background-icon('radiobutton-checked', 'clickable');
    }

    td .course-completion {
        .background-icon('radiobutton-checked', 'status-red');

        &[data-course-completion="1"] {
            .background-icon('radiobutton-checked', 'status-yellow');
        }
        &[data-course-completion="2"] {
            .background-icon('radiobutton-checked', 'status-green');
        }

        &.ajaxing {
            background-image: url("@{image-path}/ajax_indicator_small.gif");
        }
    }
}