Merge branch 'MDL-70248-310' of https://github.com/HuongNV13/moodle into MOODLE_310_S...
[moodle.git] / question / type / calculated / styles.css
1 .que.calculated .answer {
2     padding: 0.3em;
3     display: inline;
4 }
6 .que.calculated .answer input[type="text"] {
7     width: 30%;
8 }
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"] {
18     direction: ltr;
19     text-align: left;
20 }
22 /* Editing form. */
23 body#page-question-type-calculated div[id^=fgroup_id_][id*=answeroptions_],
24 body#page-question-type-calculatedmulti div[id^=fgroup_id_][id*=answeroptions_] {
25     background: #eee;
26     margin-top: 0;
27     margin-bottom: 0;
28     padding-bottom: 5px;
29     padding-top: 5px;
30     border: 1px solid #bbb;
31     border-bottom: 0;
32 }
34 body#page-question-type-calculated div[id^=fgroup_id_][id*=answeroptions_] .fgrouplabel label,
35 body#page-question-type-calculatedmulti div[id^=fgroup_id_][id*=answeroptions_] .fgrouplabel label {
36     font-weight: bold;
37 }
39 body#page-question-type-calculated div[id^=fgroup_id_][id*=answeroptions_] label[for^='id_answer_'],
40 body#page-question-type-calculated div[id^=fgroup_id_][id*=answertolerance_] label[for^='id_tolerance_'],
41 body#page-question-type-calculated div[id^=fgroup_id_][id*=answerdisplay_] label[for^='id_correctanswerlength_'],
42 body#page-question-type-calculatedmulti div[id^=fgroup_id_][id*=answeroptions_] label[for^='id_answer_'],
43 body#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 }
50 body#page-question-type-calculated div[id^=fgroup_id_][id*=answertolerance_],
51 body#page-question-type-calculated div[id^=fgroup_id_][id*=answerdisplay_],
52 body#page-question-type-calculatedmulti div[id^=fgroup_id_][id*=answertolerance_],
53 body#page-question-type-calculatedmulti div[id^=fgroup_id_][id*=answerdisplay_] {
54     background: #eee;
55     margin-bottom: 0;
56     margin-top: 0;
57     padding-bottom: 5px;
58     padding-top: 5px;
59     border: 1px solid #bbb;
60     border-top: 0;
61     border-bottom: 0;
62 }
64 body#page-question-type-calculated div[id^=fitem_id_][id*=feedback_],
65 body#page-question-type-calculatedmulti div[id^=fitem_id_][id*=feedback_] {
66     background: #eee;
67     margin-bottom: 2em;
68     margin-top: 0;
69     padding-bottom: 5px;
70     padding-top: 5px;
71     border: 1px solid #bbb;
72     border-top: 0;
73 }