-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathstyles.css
161 lines (138 loc) · 4.5 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
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
#page-question-type-combined .mform .textareamonospace textarea {
white-space: pre;
font-family: monospace;
}
#page-question-type-combined .mform fieldset legend span.not_in_question_text {
font-weight: bold;
}
#page-question-type-combined .mform div.error span.not_in_question_text_message {
font-weight: bold;
color: #000;
}
.que.combined .numpartscorrect,
.que.combined .subqincorrectfeedback {
margin: 0 0 0.5em;
}
.que.combined .subqspecificfeedback {
margin: 0 5px;
background: #fff8eb;
border: 1px solid #fff8eb;
padding: 3px;
display: inline-block;
width: 98%;
}
.que.combined .qtext .answer div.r0,
.que.combined .qtext .answer div.r1 {
padding: 0;
text-indent: 0;
display: flex;
align-items: flex-start;
}
.que.combined .qtext .horizontal {
display: inline-flex;
}
.que.combined .qtext span.answer span.r0,
.que.combined .qtext span.answer span.r1 {
display: inline-flex;
align-items: baseline;
}
.que.combined .qtext span.answer span.r0 label,
.que.combined .qtext span.answer span.r1 label {
display: inline-flex;
align-items: baseline;
margin-left: 5px;
margin-right: 5px;
flex: 1 1 auto;
}
.que.combined .qtext .horizontal span.answer span.r0 div.feedback,
.que.combined .qtext .horizontal span.answer span.r1 div.feedback {
margin: 0;
}
.que.combined .qtext span.answer span.r0 label p,
.que.combined .qtext span.answer span.r1 label p {
margin: 0;
flex: 1 1;
}
/* Hack specific style for IE */
body.ie .que.combined .qtext .horizontal span.answer {
width: 100%;
}
body.ie .que.combined .qtext span.answer span.r0 label p,
body.ie .que.combined .qtext span.answer span.r1 label p {
flex-basis: auto;
}
body.ie .que.combined .qtext span.answer span.r0.incorrect img.icon,
body.ie .que.combined .qtext span.answer span.r1.incorrect img.icon,
body.ie .que.combined .qtext span.answer span.r0.correct img.icon,
body.ie .que.combined .qtext span.answer span.r1.correct img.icon {
flex: 1 0 auto;
}
.que.combined .qtext .horizontal span.answer span.r0 div.feedback span.subqspecificfeedback,
.que.combined .qtext .horizontal span.answer span.r1 div.feedback span.subqspecificfeedback {
width: auto;
}
.que.combined .qtext .horizontal span.answer span.r0 div.feedback span.subqspecificfeedback p,
.que.combined .qtext .horizontal span.answer span.r1 div.feedback span.subqspecificfeedback p {
margin: 0;
}
/* Hack specific style for Safari. */
body.safari .que.combined .qtext .horizontal span.answer span.r0 input,
body.safari .que.combined .qtext .horizontal span.answer span.r1 input {
flex: 1 0 auto;
}
.que.combined .answer div.r0 input,
.que.combined .answer div.r1 input {
margin: .3rem .5rem;
width: 15px;
flex-shrink: 0;
}
.que.combined .qtext .answer div.r0 div.feedback,
.que.combined .qtext .answer div.r1 div.feedback {
flex: 1 1 100%;
}
body#page-question-type-combined div[id^=fgroup_id_subqpmatch][id*=susubels] label[for*='allowsubscript'] {
position: absolute;
left: -10000px;
font-weight: normal;
font-size: 1em;
}
body#page-question-type-combined div[id^=fgroup_id_subqpmatch][id*=casedictels] label[for*='usecase'] {
position: absolute;
left: -10000px;
font-weight: normal;
font-size: 1em;
}
body#page-question-type-combined div[id^=fgroup_id_subqmultiresponse][id*=answergroup] label[for*='answer'] {
position: absolute;
left: -10000px;
font-weight: normal;
font-size: 1em;
}
body#page-question-type-combined div[id^=fgroup_id_subqmultiresponse][id*=answergroup] label[for*='correctanswer'] {
position: static;
left: 0;
}
body#page-question-type-combined div[id^=fgroup_id_subqnumeric][id*=answergroup] label[for*='answer'] {
position: absolute;
left: -10000px;
font-weight: normal;
font-size: 1em;
}
body#page-question-type-combined div[id^=fitem_id_subqsinglechoice][id*=answer_],
body#page-question-type-combined div[id^=fitem_id_subqsinglechoice][id*=fraction_],
body#page-question-type-combined div[id^=fitem_id_subqsinglechoice][id*=feedback_] {
background: #eee;
border-left: 1px solid #bbb;
border-right: 1px solid #bbb;
}
body#page-question-type-combined div[id^=fitem_id_subqsinglechoice][id*=answer_] {
border-top: 1px solid #bbb;
margin-bottom: 0;
padding-bottom: 10px;
}
body#page-question-type-combined div[id^=fitem_id_subqsinglechoice][id*=fraction_] {
margin-bottom: 0;
}
body#page-question-type-combined div[id^=fitem_id_subqsinglechoice][id*=feedback_] {
border-bottom: 1px solid #bbb;
}