-
Notifications
You must be signed in to change notification settings - Fork 17
/
styles.css
104 lines (97 loc) · 2.06 KB
/
styles.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
.error pre {
margin-bottom: -10px;
}
.que.regexp .answer {
padding: 0.3em;
display: inline;
color: green;
}
.alternateanswers .regexp,
#alternateanswers .regexp {
color: #333;
font-weight: bold;
}
.que.regexp .answer input {
width: 80%;
}
.maxtotalpenalties {
color: #f00;
}
.misplacedword,
.wrongword,
.labelmisplacedword,
.labelwrongword {
color: white;
}
.misplacedword,
.labelmisplacedword {
background-color: #5cb85c;
}
.wrongword,
.labelwrongword {
background-color: #d9534f;
}
.labelmisplacedword,
.labelwrongword {
font-size: 75%;
}
.que.regexp .correctword {
color: #00f;
}
/* must be a monospace font for correct display of erroneous characters position */
.displayvalidationerrors {
font-family: Courier New, Courier, monospace;
color: maroon;
font-size: 0.9em;
}
.alternateanswers ul.square,
#alternateanswers ul.square {
list-style: square;
}
.alternateanswers ul {
margin: 0;
}
.expandalternateanswers {
background-color: #ffc;
}
/* Editing form. */
body#page-question-type-regexp div[id^=fgroup_id_][id*=answeroptions_] {
background: #eee;
margin-top: 0;
margin-bottom: 0;
padding-bottom: 5px;
padding-top: 5px;
border: 1px solid #bbb;
border-bottom: 0;
}
body#page-question-type-regexp div[id^=fgroup_id_][id*=answeroptions_] .fgrouplabel label {
font-weight: bold;
}
body#page-question-type-regexp div[id^=fgroup_id_][id*=answeroptions_] label[for^='id_answer_'] {
position: absolute;
left: -10000px;
font-weight: normal;
font-size: 1em;
}
body#page-question-type-regexp div[id^=fitem_id_][id*=fraction_] {
background: #eee;
margin-bottom: 0;
margin-top: 0;
padding-bottom: 5px;
padding-top: 5px;
border: 1px solid #bbb;
border-top: 0;
border-bottom: 0;
}
body#page-question-type-regexp div[id^=fitem_id_][id*=feedback_] {
background: #eee;
margin-bottom: 2em;
margin-top: 0;
padding-bottom: 5px;
padding-top: 5px;
border: 1px solid #bbb;
border-top: 0;
}
.btn .helpme[disabled] {
display: none;
}