MDL-62454 theme_boost: numerical qtype answer inline
[moodle.git] / question / type / numerical / styles.css
1 .que.numerical .answer {
2     padding: 0.3em;
3     display: inline;
4 }
6 /*rtl:ignore*/
7 #page-question-type-numerical input[name="unitpenalty"],
8 #page-question-type-numerical input[name^="answer"],
9 #page-question-type-numerical input[name^="tolerance"],
10 #page-question-type-numerical input[name^="multiplier"],
11 #page-question-type-numerical input[name^="unit"] {
12     direction: ltr;
13     text-align: left;
14 }
16 /* Editing form. */
17 body#page-question-type-numerical div[id^=fgroup_id_][id*=answeroptions_] {
18     background: #eee;
19     margin-top: 0;
20     margin-bottom: 0;
21     padding-bottom: 5px;
22     padding-top: 5px;
23     border: 1px solid #bbb;
24     border-bottom: 0;
25 }
27 body#page-question-type-numerical div[id^=fgroup_id_][id*=answeroptions_] .fgrouplabel label {
28     font-weight: bold;
29 }
31 body.path-question-type div#fgroup_id_penaltygrp label[for^=id_unitpenalty],
32 body.path-question-type div[id^=fgroup_id_units_] label[for^='id_unit_'],
33 body#page-question-type-numerical div[id^=fgroup_id_][id*=answeroptions_] label[for^='id_answer_'] {
34     position: absolute;
35     left: -10000px;
36     font-weight: normal;
37     font-size: 1em;
38 }
40 body#page-question-type-numerical div[id^=fitem_id_][id*=fraction_] {
41     background: #eee;
42     margin-bottom: 0;
43     margin-top: 0;
44     padding-bottom: 5px;
45     padding-top: 5px;
46     border: 1px solid #bbb;
47     border-top: 0;
48     border-bottom: 0;
49 }
51 body#page-question-type-numerical div[id^=fitem_id_][id*=feedback_] {
52     background: #eee;
53     margin-bottom: 2em;
54     margin-top: 0;
55     padding-bottom: 5px;
56     padding-top: 5px;
57     border: 1px solid #bbb;
58     border-top: 0;
59 }