forked from moodleou/moodle-qtype_pmatch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
180 lines (157 loc) · 5.4 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
.que.patternessay .answer {
padding: 0.3em;
width: auto;
display: inline;
}
.que.patternessay .qtext textarea,
.que.patternessay .ablock textarea {
max-width: 100%;
}
/* Editing form. Style repeated elements*/
#page-question-type-patternessay .mform .textareamonospace {
white-space: pre;
font-family: Andale Mono, Monaco, Courier New, DejaVu Sans Mono, monospace;
}
/* Top */
body#page-question-type-patternessay #id_answerhdr div.fitem.femptylabel,
body#page-question-type-patternessay #fitem_id_addanswers + .fitem {
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-patternessay div[id^=fitem_id_][id*=_answer_] .fitemtitle,
body#page-question-type-patternessay div.fitem.fitem_accuracy .fitemtitle,
body#page-question-type-patternessay #fitem_id_addanswers + .fitem .fitemtitle {
font-weight: bold;
}
body#page-question-type-patternessay #region-main div.fitem.femptylabel {
padding: 0;
}
body#page-question-type-patternessay #region-main div.fitem.femptylabel .fitemtitle {
padding: 0;
margin: 0;
}
body#page-question-type-patternessay #region-main div.fitem.femptylabel .fstatic {
margin: 0;
}
body#page-question-type-patternessay #region-main #fgroup_id_updatebuttonar {
background: none;
border: none;
}
/* Middle */
body#page-question-type-patternessay div[id^=fitem_id_][id*=answer_],
body#page-question-type-patternessay div[id^=fitem_id_][id*=fraction_],
body#page-question-type-patternessay div.fitem.fitem_matchedresponses,
body#page-question-type-patternessay div.fitem.fitem_accuracy,
body#page-question-type-patternessay div.fitem.rcw,
body#page-question-type-patternessay div.fitem.try-rule,
body#page-question-type-patternessay #fitem_id_addanswers + .fitem + .fitem {
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-patternessay div[id^=fitem_id_][id*=feedback_],
body#page-question-type-patternessay div[id^=fitem_id_][id*=otherfeedback] {
background: #eee;
margin-bottom: 2em;
margin-top: 0;
padding-bottom: 5px;
padding-top: 5px;
border: 1px solid #bbb;
border-top: 0;
}
body#page-question-type-patternessay #fitem_id_addanswers {
margin-bottom: 2em;
}
/* Styles for the question-testing interface. */
.qtype_patternessay-selftest-missed-negative {
font-weight: bold;
color: #f00;
}
.qtype_patternessay-selftest-null {
font-weight: bold;
color: #b38686;
}
.qtype_patternessay-selftest-missed-positive {
font-weight: bold;
color: #00f;
}
body.pagelayout-embedded .que.patternessay .formulation .questiontestslink {
display: none;
}
.que.patternessay .formulation .questiontestslink {
float: right;
font-size: 0.7em;
}
#page-question-type-patternessay .rcw input[type=submit] {
margin: 0 0 10px 5px;
}
#page-question-type-patternessay .rc-hidden {
display: none;
}
/* The missing style for the successful progress bar colour.
This is due to theme/base/style/core.css not having this rule (though it has
.progress-stripped etc.) Note theme/bootstrapbase/ has the full css, but our
themes (ou, osep) are not based on it. */
body#page-question-type-patternessay-testquestion .progress-success .bar,
body#page-question-type-patternessay-testquestion .progress .bar-success {
background-color: #5eb95e;
background-image: linear-gradient(to bottom, #62c462, #57a957);
background-repeat: repeat-x;
}
/* Align reset table preferences button */
body#page-question-type-patternessay-testquestion .resettable {
text-align: left;
}
#page-question-type-patternessay-testquestion #attemptsform .error {
display: block;
}
#page-question-type-patternessay-testquestion #attemptsform table input,
#page-question-type-patternessay-testquestion #attemptsform #commands input[type=submit] {
margin-bottom: 3px;
}
#page-question-type-patternessay-testquestion #attemptsform table .section-input {
margin-top: 7px;
}
#page-question-type-patternessay-testquestion #attemptsform table .section-checkbox {
margin-top: 13px;
}
#page-question-type-patternessay-testquestion #attemptsform table .section-checkbox input[type=checkbox] {
margin-top: 1px;
}
#page-question-type-patternessay-testquestion #attemptsform table .section-input .new-response {
width: 300px;
}
#page-question-type-patternessay-testquestion #attemptsform table .section-input,
#page-question-type-patternessay-testquestion #attemptsform table .section-button {
display: inline-block;
}
#page-question-type-patternessay-testquestion #attemptsform table .generaterow td {
vertical-align: top;
}
@media screen and (max-width: 768px) {
#page-question-type-patternessay-testquestion #attemptsform table .section-input,
#page-question-type-patternessay-testquestion #attemptsform table .section-button {
display: block;
}
#page-question-type-patternessay-testquestion #attemptsform table input[type=text] {
width: 100%;
}
}
#page-question-type-patternessay-testquestion #newresponsebutton {
margin-top: 20px;
}
/* Fix for The Exemplar table is broken when table is empty because min-height is set to 10em by MDL-62884 */
#page-question-type-patternessay-testquestion .no-overflow > .generaltable {
min-height: 40px;
}