-
Notifications
You must be signed in to change notification settings - Fork 11
/
styles.css
83 lines (72 loc) · 2.04 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
.que.pmatchjme .answer {
padding: 0.3em;
width: auto;
display: inline;
}
.que.pmatchjme .answer input {
width: 99%;
}
/* modal from the JME editor. Not inside the .que.pmatchjme, but hopefully this class is unique enough. */
.gwt-DecoratedPopupPanel.mosaic-WindowPanel button {
padding: 0;
}
.que.pmatchjme span.answerlabel {
vertical-align: top;
}
.qtype_pmatchjme-applet-warning {
width: 348px;
height: 302px;
background: #fff;
color: #ccc;
padding: 5px;
}
#page-question-type-pmatchjme .mform .textareamonospace {
white-space: pre;
font-family: Andale Mono, Monaco, Courier New, DejaVu Sans Mono, monospace;
}
/* Editing form. Style repeated elements*/
/* Top */
body#page-question-type-pmatchjme div[id^=fitem_id_][id*=answer_],
body#page-question-type-pmatchjme #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-pmatchjme div[id^=fitem_id_][id*=_answer_] .fitemtitle,
body#page-question-type-pmatchjme #fitem_id_addanswers + .fitem .fitemtitle {
font-weight: bold;
}
/* Middle */
body#page-question-type-pmatchjme div[id^=fitem_id_][id*=fraction_],
body#page-question-type-pmatchjme #fitem_id_addanswers + .fitem + .fitem,
body#page-question-type-pmatchjme div[id^=fitem_id_][id*=feedback_],
body#page-question-type-pmatchjme div[id^=fitem_id_][id*=otherfeedback] {
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-pmatchjme div[id^=fitem_id_][id*=atomcount_] {
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-pmatchjme #fitem_id_addanswers {
margin-bottom: 2em;
}
body#page-question-type-pmatchjme #fitem_id_answer_0 {
margin-top: 1em;
}