weekly release 2.6dev
[moodle.git] / question / type / numerical / styles.css
CommitLineData
a18fda20
TH
1.que.numerical .answer {
2 padding: 0.3em;
3 width: auto;
4 display: inline;
5}
522d9fcb 6.que.numerical .answer input[type="text"] {
544de1c0 7 width: 30%;
a18fda20 8}
f1211725
NK
9
10/* Numeric INPUT text boxes should be left aligned in RTL mode
11*/
12#page-question-type-numerical.dir-rtl input[name="unitpenalty"],
13#page-question-type-numerical.dir-rtl input[name^="answer"],
14#page-question-type-numerical.dir-rtl input[name^="tolerance"],
15#page-question-type-numerical.dir-rtl input[name^="multiplier"],
16#page-question-type-numerical.dir-rtl input[name^="unit"]
17{
18 direction: ltr;
19 text-align: left;
20}
c7218aef
CC
21
22/* Editing form. */
23body#page-question-type-numerical div[id^=fgroup_id_][id*=answeroptions_] {
24 background: #EEE;
25 margin-top: 0;
26 margin-bottom: 0;
27 padding-bottom: 5px;
28 padding-top: 5px;
29 border: 1px solid #BBB;
30 border-bottom: 0;
31}
32
33body#page-question-type-numerical div[id^=fgroup_id_][id*=answeroptions_] .fgrouplabel label{
34 font-weight: bold;
35}
36
37body#page-question-type-numerical div[id^=fgroup_id_][id*=answeroptions_] label[for^='id_answer_']{
38 position: absolute;
39 left: -10000px;
40 font-weight: normal;
41 font-size: 1em;
42}
43
44body#page-question-type-numerical div[id^=fitem_id_][id*=fraction_] {
45 background: #EEE;
46 margin-bottom: 0;
47 margin-top: 0;
48 padding-bottom: 5px;
49 padding-top: 5px;
50 border: 1px solid #BBB;
51 border-top: 0;
52 border-bottom: 0;
53}
54
55body#page-question-type-numerical div[id^=fitem_id_][id*=feedback_] {
56 background: #EEE;
57 margin-bottom: 2em;
58 margin-top: 0;
59 padding-bottom: 5px;
60 padding-top: 5px;
61 border: 1px solid #BBB;
62 border-top: 0;
63}