forked from jmvedrine/moodle-qtype_multichoiceset
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathstyles.css
86 lines (76 loc) · 2.2 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
.que.multichoiceset .answer .specificfeedback {
display: inline;
padding: 0 0.7em;
background: #fff3bf;
}
.que.multichoiceset .answer div.r0,
.que.multichoiceset .answer div.r1 {
text-indent: 0px !Important;
display: flex;
align-items: baseline;
}
.que.multichoiceset .answer div.r0 label,
.que.multichoiceset .answer div.r1 label,
.que.multichoiceset .answer div.r0 div.specificfeedback,
.que.multichoiceset .answer div.r1 div.specificfeedback {
/* In Chrome and IE, the text-indent above is applied to any embedded table
cells or <li>s, which screws up the intended layout. This fixes it again. */
text-indent: 0;
}
.que.multichoiceset .answer div.r0 .icon.fa-check,
.que.multichoiceset .answer div.r1 .icon.fa-check,
.que.multichoiceset .answer div.r0 .icon.fa-remove,
.que.multichoiceset .answer div.r1 .icon.fa-remove {
text-indent: 0;
}
.que.multichoiceset .answer div.r0 input,
.que.multichoiceset .answer div.r1 input {
margin: 0.3rem 0.5rem;
width: 14px;
}
/* Editing form. */
body#page-question-type-multichoiceset div[id^=fitem_id_][id*=answer_] {
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-multichoiceset div[id^=fitem_id_][id*=answer_] .fitemtitle {
font-weight: bold;
}
body#page-question-type-multichoiceset div[id^=fitem_id_] .fitemtitle {
margin-left: 0;
margin-right: 0;
padding-left: 6px;
padding-right: 0;
}
body#page-question-type-multichoiceset 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-multichoiceset 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;
}
/* Middle. Added JR november 2021. */
body#page-question-type-multichoiceset .correctanswer {
margin-bottom: 0em;
background: #eee;
border: 1px solid #bbb;
border-top: 0;
border-bottom: 0;
}