forked from moodleou/moodle-qtype_pmatch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
89 lines (79 loc) · 2.07 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
.que.pmatch .answer {
padding: 0.3em;
width: auto;
display: inline;
}
.que.pmatch .qtext textarea,
.que.pmatch .ablock textarea {
max-width: 100%;
}
/* Editing form. Style repeated elements*/
#page-question-type-pmatch .mform .textareamonospace {
white-space: pre;
font-family: Andale Mono, Monaco, Courier New, DejaVu Sans Mono, monospace;
}
/* Top */
body#page-question-type-pmatch div[id^=fitem_id_][id*=answer_],
body#page-question-type-pmatch #fitem_id_addanswers + .fitem {
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-pmatch div[id^=fitem_id_][id*=_answer_] .fitemtitle,
body#page-question-type-pmatch #fitem_id_addanswers + .fitem .fitemtitle {
font-weight: bold;
}
/* Middle */
body#page-question-type-pmatch div[id^=fitem_id_][id*=fraction_],
body#page-question-type-pmatch #fitem_id_addanswers + .fitem + .fitem {
background: #EEE;
margin-bottom: 0;
margin-top: 0;
padding-bottom: 5px;
padding-top: 5px;
border: 1px solid #BBB;
border-top: 0;
border-bottom: 0;
}
/* Bottom */
body#page-question-type-pmatch div[id^=fitem_id_][id*=feedback_],
body#page-question-type-pmatch div[id^=fitem_id_][id*=otherfeedback] {
background: #EEE;
margin-bottom: 2em;
margin-top: 0;
padding-bottom: 5px;
padding-top: 5px;
border: 1px solid #BBB;
border-top: 0;
}
body#page-question-type-pmatch #fitem_id_addanswers {
margin-bottom: 2em;
}
body#page-question-type-pmatch #fitem_id_answer_0 {
margin-top: 1em;
}
/* Styles for the question-testing interface. */
.qtype_pmatch-selftest-missed-negative {
font-weight: bold;
color: #f00;
}
.qtype_pmatch-selftest-null {
font-weight: bold;
color: #B38686;
}
.qtype_pmatch-selftest-missed-positive {
font-weight: bold;
color: #00f;
}
.que.pmatch .formulation .questiontestslink {
float: right;
font-size: 0.7em;
}
.que.pmatch .formulation .questiontestslink {
float: right;
font-size: 0.7em;
}