-
Notifications
You must be signed in to change notification settings - Fork 10
/
styles.css
88 lines (87 loc) · 2.88 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
.que.varnumeric .answer {
padding: 0.3em;
width: auto;
display: inline;
}
.que.varnumeric span.answerwrap {
display: inline-block;
}
.que.varnumeric .answer input {
width: 99%;
}
/* Editing form. Style repeated elements*/
/* Top */
body#page-question-type-varnumeric div[id^=fitem_id_][id*=vartype_],
body#page-question-type-varnumeric #fitem_id_addanswers + .fitem,
body#page-question-type-varnumeric div[id^=fgroup_id_][id*=answeroptions_] {
background: #eee;
margin-top: 0;
margin-bottom: 0;
padding-bottom: 5px;
padding-top: 5px;
border: 1px solid #bbb;
border-bottom: 0;
}
body#page-question-type-varnumeric div[id^=fitem_id_][id*=_varname_] .fitemtitle,
body#page-question-type-varnumeric #fitem_id_addanswers + .fitem .fitemtitle,
body#page-question-type-varnumeric div[id^=fgroup_id_][id*=answeroptions_] .fitemtitle {
font-weight: bold;
}
/* Middle */
body#page-question-type-varnumeric div[id^=fitem_id_][id*=varname_],
body#page-question-type-varnumeric div[id^=fitem_id_][id*=_variant],
body#page-question-type-varnumeric div[id^=fitem_id_][id*=feedback_],
body#page-question-type-varnumeric div[id^=fitem_id_][id*=feedback_] + .fitem,
body#page-question-type-varnumeric div[id^=fgroup_id_][id*=autofirerow1_],
body#page-question-type-varnumeric div[id^=fgroup_id_][id*=autofirerow2_] {
background: #eee;
margin-bottom: 0;
margin-top: 0;
padding-bottom: 5px;
padding-top: 5px;
border: 1px solid #bbb;
border-top: 0;
border-bottom: 0;
}
/* Bottom */
body#page-question-type-varnumeric div[id^=fgroup_id_][id*=autofirerow3_] {
background: #eee;
margin-bottom: 2em;
margin-top: 0;
padding-bottom: 5px;
padding-top: 5px;
border: 1px solid #bbb;
border-top: 0;
}
/* Variant Bottom */
body#page-question-type-varnumeric div[id^=fitem_id_][id*=_variant_last] {
margin-bottom: 1em;
margin-top: 0;
padding: 0;
border: 1px solid #bbb;
border-bottom: 0;
border-left: 0;
border-right: 0;
background: #fff;
}
body#page-question-type-varnumeric div[id^=fitem_id_][id*=_variant_last] div {
display: none;
}
body#page-question-type-varnumeric #fitem_id_addvariants,
body#page-question-type-varnumeric div[id^=fitem_id_][id*=requirescinotation] + .fitem {
margin-bottom: 2em;
}
body#page-question-type-varnumeric #fitem_id_answer_0 {
margin-top: 1em;
}
body#page-question-type-varnumeric div[id^=fgroup_id_][id*=answeroptions_] label[for^='id_answer_'] {
position: absolute;
left: -10000px;
font-weight: normal;
font-size: 1em;
}
body#page-question-type-varnumeric div[id^=fgroup_id_][id*=autofirerow1_] label[for^='id_checknumerical_'],
body#page-question-type-varnumeric div[id^=fgroup_id_][id*=autofirerow2_] label[for^='id_checkpowerof10_'],
body#page-question-type-varnumeric div[id^=fgroup_id_][id*=autofirerow3_] label[for^='id_syserrorpenalty_'] {
margin-left: 0;
}