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