forked from seemuth/moodle-question_type_calculatedformat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
82 lines (76 loc) · 3.13 KB
/
styles.css
File metadata and controls
82 lines (76 loc) · 3.13 KB
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
.que.calculatedformat .answer {
padding: 0.3em;
width: auto;
display: inline;
}
.que.calculatedformat .answer input[type="text"] {
width: 30%;
}
/* Numeric INPUT text boxes should be left aligned in RTL mode
*/
#page-question-type-calculatedformat.dir-rtl input[name^="answer"],
#page-question-type-calculatedformat.dir-rtl input[name^="unit"],
#page-question-type-calculatedformat.dir-rtl input[name^="multiplier"],
#page-question-type-calculatedformat.dir-rtl input[name^="calcmax"],
#page-question-type-calculatedformat.dir-rtl input[name^="calcmin"],
#page-question-type-calculatedformat.dir-rtl input[name^="number"],
#page-question-type-calculatedformat.dir-rtl input[name^="tolerance"]
{
direction: ltr;
text-align: left;
}
/* Editing form. */
body#page-question-type-calculatedformat div[id^=fgroup_id_][id*=answeroptions_],
body#page-question-type-calculatedformatmulti 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-calculatedformat div[id^=fgroup_id_][id*=answeroptions_] .fgrouplabel label,
body#page-question-type-calculatedformatmulti div[id^=fgroup_id_][id*=answeroptions_] .fgrouplabel label {
font-weight: bold;
}
body#page-question-type-calculatedformat div[id^=fgroup_id_][id*=answeroptions_] label[for^='id_answer_'],
body#page-question-type-calculatedformat div[id^=fgroup_id_][id*=answertolerance_] label[for^='id_tolerance_'],
body#page-question-type-calculatedformat div[id^=fgroup_id_][id*=answerdisplay_] label[for^='id_correctanswerlengthint_'],
body#page-question-type-calculatedformat div[id^=fgroup_id_][id*=answerdisplay_] label[for^='id_correctanswerlengthfrac_'],
body#page-question-type-calculatedformatmulti div[id^=fgroup_id_][id*=answeroptions_] label[for^='id_answer_'],
body#page-question-type-calculatedformatmulti div[id^=fgroup_id_][id*=answerdisplay_] label[for^='id_correctanswerlengthint_'] {
position: absolute;
left: -10000px;
font-weight: normal;
font-size: 1em;
}
body#page-question-type-calculatedformatmulti div[id^=fgroup_id_][id*=answerdisplay_] label[for^='id_correctanswerlengthfrac_'] {
position: absolute;
left: -10000px;
font-weight: normal;
font-size: 1em;
}
body#page-question-type-calculatedformat div[id^=fgroup_id_][id*=answertolerance_],
body#page-question-type-calculatedformat div[id^=fgroup_id_][id*=answerdisplay_],
body#page-question-type-calculatedformatmulti div[id^=fgroup_id_][id*=answertolerance_],
body#page-question-type-calculatedformatmulti div[id^=fgroup_id_][id*=answerdisplay_] {
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-calculatedformat div[id^=fitem_id_][id*=feedback_],
body#page-question-type-calculatedformatmulti 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;
}