MDL-55168 grunt: Add plain css linting
[moodle.git] / question / type / calculated / styles.css
CommitLineData
a18fda20
TH
1.que.calculated .answer {
2 padding: 0.3em;
a18fda20
TH
3 display: inline;
4}
522d9fcb 5.que.calculated .answer input[type="text"] {
cdece95e 6 width: 30%;
a18fda20 7}
f1211725 8
ed7844b5
FM
9/*rtl:ignore*/
10#page-question-type-calculated input[name^="answer"],
11#page-question-type-calculated input[name^="unit"],
12#page-question-type-calculated input[name^="multiplier"],
13#page-question-type-calculated input[name^="calcmax"],
14#page-question-type-calculated input[name^="calcmin"],
15#page-question-type-calculated input[name^="number"],
16#page-question-type-calculated input[name^="tolerance"] {
f1211725
NK
17 direction: ltr;
18 text-align: left;
19}
c7218aef
CC
20
21/* Editing form. */
22body#page-question-type-calculated div[id^=fgroup_id_][id*=answeroptions_],
23body#page-question-type-calculatedmulti 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-calculated div[id^=fgroup_id_][id*=answeroptions_] .fgrouplabel label,
34body#page-question-type-calculatedmulti div[id^=fgroup_id_][id*=answeroptions_] .fgrouplabel label {
35 font-weight: bold;
36}
37
38body#page-question-type-calculated div[id^=fgroup_id_][id*=answeroptions_] label[for^='id_answer_'],
39body#page-question-type-calculated div[id^=fgroup_id_][id*=answertolerance_] label[for^='id_tolerance_'],
40body#page-question-type-calculated div[id^=fgroup_id_][id*=answerdisplay_] label[for^='id_correctanswerlength_'],
41body#page-question-type-calculatedmulti div[id^=fgroup_id_][id*=answeroptions_] label[for^='id_answer_'],
42body#page-question-type-calculatedmulti div[id^=fgroup_id_][id*=answerdisplay_] label[for^='id_correctanswerlength_'] {
43 position: absolute;
44 left: -10000px;
45 font-weight: normal;
46 font-size: 1em;
47}
48
49body#page-question-type-calculated div[id^=fgroup_id_][id*=answertolerance_],
50body#page-question-type-calculated div[id^=fgroup_id_][id*=answerdisplay_],
51body#page-question-type-calculatedmulti div[id^=fgroup_id_][id*=answertolerance_],
52body#page-question-type-calculatedmulti div[id^=fgroup_id_][id*=answerdisplay_] {
53 background: #EEE;
54 margin-bottom: 0;
55 margin-top: 0;
56 padding-bottom: 5px;
57 padding-top: 5px;
58 border: 1px solid #BBB;
59 border-top: 0;
60 border-bottom: 0;
61}
62
63body#page-question-type-calculated div[id^=fitem_id_][id*=feedback_],
64body#page-question-type-calculatedmulti div[id^=fitem_id_][id*=feedback_] {
65 background: #EEE;
66 margin-bottom: 2em;
67 margin-top: 0;
68 padding-bottom: 5px;
69 padding-top: 5px;
70 border: 1px solid #BBB;
71 border-top: 0;
72}