-
Notifications
You must be signed in to change notification settings - Fork 6
/
quiz.css
299 lines (250 loc) · 5.43 KB
/
quiz.css
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
/*
* Definitions that apply while viewing questions.
*/
.question-type-name {
font-style: italic;
}
/*
* Definitions that apply while taking the quiz.
*/
#quiz-progress {
font-style: italic;
font-size: 80%;
}
#quiz-score-possible,
#quiz-score-percent {
font-weight: bold;
}
td.quiz-summary-qcell {
vertical-align: top;
padding: 1em 1em 0 0;
}
td.quiz-summary-qcell table tr {
background: transparent;
}
td.quiz-summary-qcell table td {
vertical-align: top;
padding: .5em;
}
.quiz-answer-feedback {
font-style: italic;
}
.feedback-icon {
display: inline;
}
.add-questions {
background: transparent url(images/add.png) no-repeat scroll 0% 10%;
padding: 0 0 1em 2em;
}
.hidden-question {
display: none;
}
.quiz-question-browser-row.odd {
background-color: #e7e7e7;
}
.quiz-question-browser-row.even {
background-color: #fbfbfb;
}
#quiz-question-browser-filters {
/*background-color: black;*/
/* Black bg in seven theme looks horrible. */
background: none repeat scroll 0 0 #e1e2dc;
border-color: #bebfb9;
border-style: solid;
border-width: 1px;
font-weight: normal;
padding: 3px 10px;
text-transform: uppercase;
}
#quiz-question-browser-filters td.active {
background-color: #666;
}
.quiz-question-browser-row.odd td.active {
background-color: #e2e2f9;
}
.quiz-question-browser-row.even td.active {
background-color: #f8f8ff;
}
tr.selected.quiz-question-browser-row td,
tr.selected.quiz-question-browser-row td.active {
background: none repeat scroll 0 0 #505050;
color: #fff;
}
.browser-table th {
border-bottom: 0 solid #666666;
}
.q-staying {
display: inline;
float: left;
margin-right: 8px;
}
/*
* Definitions that apply on the quiz report pages.
*/
div.quiz-report {
margin: 0;
padding: 0;
}
div.quiz-report .dt {
background: #eee;
border-top: solid 1px gray;
padding-left: 5px;
}
div.quiz-report .quiz-report-question-header h3 {
float: left;
}
div.quiz-report-score-container {
border-right: solid 1px gray;
border-left: solid 1px gray;
border-bottom: solid 1px gray;
border-top: solid 1px gray;
float: right;
padding: 4px 6px;
}
div.quiz-report-score-container span div.form-item {
display: inline;
}
div.quiz-score-submit {
float: right;
}
.quiz-report-skipped {
float: right;
}
.q-correct {
background-color: #ddffdd;
}
.q-wrong {
background-color: #ffcccc;
}
.q-waiting {
background-color: #ffffdd;
}
input#edit-submit-hidden {
height: 0;
width: 0;
overflow: hidden;
padding: 0;
border: none;
}
.quiz-passed {
color: #00dd00;
}
.quiz-failed {
color: #dd0000;
}
#no-questions {
font-style: italic;
}
#quiz-start-quiz-button-form div {
padding: 0;
margin: 0;
}
#quiz-start-quiz-button-form input {
margin: 0;
}
#quiz-view-table td {
padding: 0 3px 0 3px;
margin: 0;
line-height: 110%;
}
#browser-pager .pager-last {
display: none;
}
#browser-pager .pager-first {
display: none;
}
.matching-tbl {
width: auto;
border-collapse: separate;
padding: 0;
margin: 0;
border: 0;
line-height: 100%;
}
.matching-tbl p,
.matching-tbl select,
.matching-tbl div {
padding: 0;
margin: 0;
line-height: 100%;
}
.matching-tbl td {
padding: 2px;
margin: 2px;
line-height: 100%;
}
.quiz-solution {
border-left: solid 5px #00ff00;
padding-left: 3px;
}
.quiz-answer-hidden {
font-style: italic;
}
#quiz-jumper-form,
#quiz-jumper-form div,
#quiz-jumper-form select {
display: inline;
}
#quiz-progress .item-list .pager {
text-align: left;
}
#quiz-categorized-form #autocomplete {
overflow: auto;
max-height: 300px;
}
.mark-doubtful .toggle {
margin: auto;
position: relative;
width: 100px;
overflow: hidden;
height: 18px;
line-height: 18px;
font-size: 11px;
text-align: center;
cursor: pointer;
border: 1px solid #ccc;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
-khtml-border-radius: 3px;
border-radius: 3px;
-moz-box-shadow: 0 0 10px rgba(0,0,0,0.50) inset;
-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.50) inset;
box-shadow: 0 0 10px rgba(0,0,0,0.50) inset;
}
.mark-doubtful .toggle.off {
background-clip: padding-box;
background-image: -webkit-gradient(linear, 0% 0%, 100% 0%, color-stop(50%, red), color-stop(50%, white), color-stop(100%, white));
background-image: -moz-linear-gradient(left, red 50%, white 50%, white 100%);
background-image: linear-gradient(left, red 50%, white 50%, white 100%);
}
.mark-doubtful .toggle {
background-image: -webkit-gradient(linear, 0% 0%, 100% 0%, color-stop(50%, white), color-stop(50%, green), color-stop(100%, green));
background-image: -moz-linear-gradient(left, white 50%, green 50%, green 100%);
background-image: linear-gradient(left, white 50%, green 50%, green 100%);
}
.mark-doubtful .toggle div {
position: relative;
color: #777;
width: 52px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
-khtml-border-radius: 2px;
border-radius: 2px;
background: white;
text-shadow: 1px 1px 0 white;
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #fefefe), color-stop(100%, #eaeaea));
background-image: -moz-linear-gradient(top, #fefefe 0%, #eaeaea 100%);
background-image: linear-gradient(top, #fefefe 0%, #eaeaea 100%);
-webkit-transition: left 0.2s;
-mox-transition: left 0.2s;
-o-transition: left 0.2s;
transition: left 0.2s;
}
/*
Fun
#quiz-question-answering-form {
background-image: url('theme/question_bg.png');
background-repeat: no-repeat;
background-position: top left;
}
*/