on-demand release 4.0dev+
[moodle.git] / question / type / numerical / styles.css
CommitLineData
a18fda20
TH
1.que.numerical .answer {
2 padding: 0.3em;
a18fda20
TH
3 display: inline;
4}
bc33e9bd 5
ed7844b5
FM
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"] {
f1211725
NK
12 direction: ltr;
13 text-align: left;
14}
c7218aef
CC
15
16/* Editing form. */
17body#page-question-type-numerical div[id^=fgroup_id_][id*=answeroptions_] {
bc33e9bd 18 background: #eee;
c7218aef
CC
19 margin-top: 0;
20 margin-bottom: 0;
21 padding-bottom: 5px;
22 padding-top: 5px;
bc33e9bd 23 border: 1px solid #bbb;
c7218aef
CC
24 border-bottom: 0;
25}
26
bc33e9bd 27body#page-question-type-numerical div[id^=fgroup_id_][id*=answeroptions_] .fgrouplabel label {
c7218aef
CC
28 font-weight: bold;
29}
30
2f7827b2
TH
31body.path-question-type div#fgroup_id_penaltygrp label[for^=id_unitpenalty],
32body.path-question-type div[id^=fgroup_id_units_] label[for^='id_unit_'],
bc33e9bd 33body#page-question-type-numerical div[id^=fgroup_id_][id*=answeroptions_] label[for^='id_answer_'] {
c7218aef
CC
34 position: absolute;
35 left: -10000px;
36 font-weight: normal;
37 font-size: 1em;
38}
39
40body#page-question-type-numerical div[id^=fitem_id_][id*=fraction_] {
bc33e9bd 41 background: #eee;
c7218aef
CC
42 margin-bottom: 0;
43 margin-top: 0;
44 padding-bottom: 5px;
45 padding-top: 5px;
bc33e9bd 46 border: 1px solid #bbb;
c7218aef
CC
47 border-top: 0;
48 border-bottom: 0;
49}
50
51body#page-question-type-numerical div[id^=fitem_id_][id*=feedback_] {
bc33e9bd 52 background: #eee;
c7218aef
CC
53 margin-bottom: 2em;
54 margin-top: 0;
55 padding-bottom: 5px;
56 padding-top: 5px;
bc33e9bd 57 border: 1px solid #bbb;
c7218aef
CC
58 border-top: 0;
59}