MDL-55168 grunt: Add plain css linting
[moodle.git] / question / type / calculatedsimple / styles.css
CommitLineData
cdece95e
TH
1.que.calculatedsimple .answer {
2 padding: 0.3em;
cdece95e
TH
3 display: inline;
4}
522d9fcb 5.que.calculatedsimple .answer input[type="text"] {
cdece95e
TH
6 width: 30%;
7}
c7218aef
CC
8
9/* Editing form. */
10body#page-question-type-calculatedsimple div[id^=fgroup_id_][id*=answeroptions_] {
11 background: #EEE;
12 margin-top: 0;
13 margin-bottom: 0;
14 padding-bottom: 5px;
15 padding-top: 5px;
16 border: 1px solid #BBB;
17 border-bottom: 0;
18}
19
20body#page-question-type-calculatedsimple div[id^=fgroup_id_][id*=answeroptions_] .fgrouplabel label{
21 font-weight: bold;
22}
23
24body#page-question-type-calculatedsimple div[id^=fgroup_id_][id*=answeroptions_] label[for^='id_answer_'],
25body#page-question-type-calculatedsimple div[id^=fgroup_id_][id*=answertolerance_] label[for^='id_tolerance_'],
26body#page-question-type-calculatedsimple div[id^=fgroup_id_][id*=answerdisplay_] label[for^='id_correctanswerlength_'] {
27 position: absolute;
28 left: -10000px;
29 font-weight: normal;
30 font-size: 1em;
31}
32
33body#page-question-type-calculatedsimple div[id^=fgroup_id_][id*=answertolerance_],
34body#page-question-type-calculatedsimple div[id^=fgroup_id_][id*=answerdisplay_] {
35 background: #EEE;
36 margin-bottom: 0;
37 margin-top: 0;
38 padding-bottom: 5px;
39 padding-top: 5px;
40 border: 1px solid #BBB;
41 border-top: 0;
42 border-bottom: 0;
43}
44
45body#page-question-type-calculatedsimple div[id^=fitem_id_][id*=feedback_] {
46 background: #EEE;
47 margin-bottom: 2em;
48 margin-top: 0;
49 padding-bottom: 5px;
50 padding-top: 5px;
51 border: 1px solid #BBB;
52 border-top: 0;
53}