Merge branch 'MDL-68749-310-2' of git://github.com/mickhawkins/moodle into MOODLE_310...
[moodle.git] / question / type / calculated / styles.css
CommitLineData
a18fda20
TH
1.que.calculated .answer {
2 padding: 0.3em;
a18fda20
TH
3 display: inline;
4}
bc33e9bd 5
522d9fcb 6.que.calculated .answer input[type="text"] {
cdece95e 7 width: 30%;
a18fda20 8}
f1211725 9
ed7844b5
FM
10/*rtl:ignore*/
11#page-question-type-calculated input[name^="answer"],
12#page-question-type-calculated input[name^="unit"],
13#page-question-type-calculated input[name^="multiplier"],
14#page-question-type-calculated input[name^="calcmax"],
15#page-question-type-calculated input[name^="calcmin"],
16#page-question-type-calculated input[name^="number"],
17#page-question-type-calculated input[name^="tolerance"] {
f1211725
NK
18 direction: ltr;
19 text-align: left;
20}
c7218aef
CC
21
22/* Editing form. */
23body#page-question-type-calculated div[id^=fgroup_id_][id*=answeroptions_],
24body#page-question-type-calculatedmulti div[id^=fgroup_id_][id*=answeroptions_] {
bc33e9bd 25 background: #eee;
c7218aef
CC
26 margin-top: 0;
27 margin-bottom: 0;
28 padding-bottom: 5px;
29 padding-top: 5px;
bc33e9bd 30 border: 1px solid #bbb;
c7218aef
CC
31 border-bottom: 0;
32}
33
34body#page-question-type-calculated div[id^=fgroup_id_][id*=answeroptions_] .fgrouplabel label,
35body#page-question-type-calculatedmulti div[id^=fgroup_id_][id*=answeroptions_] .fgrouplabel label {
36 font-weight: bold;
37}
38
39body#page-question-type-calculated div[id^=fgroup_id_][id*=answeroptions_] label[for^='id_answer_'],
40body#page-question-type-calculated div[id^=fgroup_id_][id*=answertolerance_] label[for^='id_tolerance_'],
41body#page-question-type-calculated div[id^=fgroup_id_][id*=answerdisplay_] label[for^='id_correctanswerlength_'],
42body#page-question-type-calculatedmulti div[id^=fgroup_id_][id*=answeroptions_] label[for^='id_answer_'],
43body#page-question-type-calculatedmulti div[id^=fgroup_id_][id*=answerdisplay_] label[for^='id_correctanswerlength_'] {
44 position: absolute;
45 left: -10000px;
46 font-weight: normal;
47 font-size: 1em;
48}
49
50body#page-question-type-calculated div[id^=fgroup_id_][id*=answertolerance_],
51body#page-question-type-calculated div[id^=fgroup_id_][id*=answerdisplay_],
52body#page-question-type-calculatedmulti div[id^=fgroup_id_][id*=answertolerance_],
53body#page-question-type-calculatedmulti div[id^=fgroup_id_][id*=answerdisplay_] {
bc33e9bd 54 background: #eee;
c7218aef
CC
55 margin-bottom: 0;
56 margin-top: 0;
57 padding-bottom: 5px;
58 padding-top: 5px;
bc33e9bd 59 border: 1px solid #bbb;
c7218aef
CC
60 border-top: 0;
61 border-bottom: 0;
62}
63
64body#page-question-type-calculated div[id^=fitem_id_][id*=feedback_],
65body#page-question-type-calculatedmulti div[id^=fitem_id_][id*=feedback_] {
bc33e9bd 66 background: #eee;
c7218aef
CC
67 margin-bottom: 2em;
68 margin-top: 0;
69 padding-bottom: 5px;
70 padding-top: 5px;
bc33e9bd 71 border: 1px solid #bbb;
c7218aef
CC
72 border-top: 0;
73}