Merge branch 'MDL-30274-master-1' of git://git.luns.net.uk/moodle
[moodle.git] / mod / quiz / styles.css
CommitLineData
a1eb3a44 1/** Attempt and review pages **/
90723839
SH
2#page-mod-quiz-attempt #page .controls,
3#page-mod-quiz-summary #page .controls,
4#page-mod-quiz-review #page .controls {text-align: center;margin: 8px auto;}
5
a1eb3a44
TH
6#page-mod-quiz-attempt .submitbtns,
7#page-mod-quiz-review .submitbtns {clear: left; text-align: left; padding-top: 1.5em;}
8
ff065f96
TH
9body.jsenabled .questionflagcheckbox {display: none;}
10
9b40c540
TH
11/** Mod quiz attempt **/
12.generalbox#passwordbox { /* Should probably match .generalbox#intro above */width:70%;margin-left:auto;margin-right:auto;}
13#passwordform {margin: 1em 0;}
14
a1eb3a44
TH
15/* Question navigation block. */
16#quiznojswarning {color: red;}
17#quiznojswarning {font-size: 0.7em;line-height: 1.1;}
18.jsenabled #quiznojswarning {display: none;}
19
20.path-mod-quiz #user-picture {margin: 0.5em 0;}
21.path-mod-quiz #user-picture img {width: auto;height: auto;float: left;}
22
23.path-mod-quiz .qnbutton {display: block; position: relative; float: left; width: 1.5em; height: 1.5em; overflow: hidden; margin: 0.3em 0.3em 0.3em 0; padding: 0; border: 1px solid #bbb; background: #ddd; text-align: center; vertical-align: middle;line-height: 1.5em !important; font-weight: bold; text-decoration: none;}
24.path-mod-quiz .qnbutton:hover {text-decoration: underline;}
25.path-mod-quiz .qnbutton span {cursor: pointer; cursor: hand;}
26
27.path-mod-quiz .qnbutton .trafficlight,
28.path-mod-quiz .qnbutton .thispageholder {display: block; position: absolute; top: 0; bottom: 0; left: 0; right: 0;}
29
30.path-mod-quiz .qnbutton.thispage {border-color: #666;}
31.path-mod-quiz .qnbutton.thispage .thispageholder {border: 1px solid #666;}
32
33.path-mod-quiz .qnbutton.flagged .trafficlight {background: url([[pix:quiz|navflagged]]) no-repeat top right;}
34
35.path-mod-quiz .qnbutton.notyetanswered,
36.path-mod-quiz .qnbutton.requiresgrading,
37.path-mod-quiz .qnbutton.invalidanswer {background-color: white;}
38.path-mod-quiz .qnbutton.correct {background-color: #cfc;}
39.path-mod-quiz .qnbutton.correct .trafficlight {border-bottom: 3px solid #080;}
40.path-mod-quiz .qnbutton.partiallycorrect {background-color: #ffa;}
41.path-mod-quiz .qnbutton.notanswered,
42.path-mod-quiz .qnbutton.incorrect {background-color: #fcc;}
43.path-mod-quiz .qnbutton.notanswered .trafficlight,
44.path-mod-quiz .qnbutton.incorrect .trafficlight {border-top: 3px solid #800;}
45
46.path-mod-quiz .othernav {clear: both; margin: 0.5em 0;}
47.path-mod-quiz .othernav a,
48.path-mod-quiz .othernav input {display: block;margin: 0.5em 0;}
49
50/* Countdown timer. */
51#quiz-timer {display: none; margin-top: 1em;}
52#quiz-time-left {font-weight: bold;}
53#quiz-timer.timeleft15 {background: #ffffff;}
54#quiz-timer.timeleft14 {background: #ffeeee;}
55#quiz-timer.timeleft13 {background: #ffdddd;}
56#quiz-timer.timeleft12 {background: #ffcccc;}
57#quiz-timer.timeleft11 {background: #ffbbbb;}
58#quiz-timer.timeleft10 {background: #ffaaaa;}
59#quiz-timer.timeleft9 {background: #ff9999;}
60#quiz-timer.timeleft8 {background: #ff8888;}
61#quiz-timer.timeleft7 {background: #ff7777;}
62#quiz-timer.timeleft6 {background: #ff6666;}
63#quiz-timer.timeleft5 {background: #ff5555;}
64#quiz-timer.timeleft4 {background: #ff4444;}
65#quiz-timer.timeleft3 {background: #ff3333;}
66#quiz-timer.timeleft2 {background: #ff2222;}
67#quiz-timer.timeleft1 {background: #ff1111;}
68#quiz-timer.timeleft0 {background: #ff0000;}
69
70/** mod quiz mod **/
71#page-mod-quiz-mod #reviewoptionshdr .fitem {width: 23%;margin-left: 10px;}
72#page-mod-quiz-mod #reviewoptionshdr fieldset.fgroup {width: 100%;text-align: left;margin-left: 0;}
73
90723839
SH
74#page-mod-quiz-edit div.question div.content .questiontext,
75#categoryquestions .questiontext {-o-text-overflow:ellipsis;text-overflow:ellipsis;position:relative;zoom:1;padding-left:0.3em;max-width:40%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
76
77#page-mod-quiz-edit div.question div.content .questionname,
78#categoryquestions .questionname {white-space:nowrap;overflow:hidden;zoom:1;position:relative;max-width:20%;}
79
80#page-mod-quiz-edit div.editq div.question div.content .singlequestion a .questionname,
81div.editq div.question div.content .singlequestion a .questiontext{text-decoration:underline;}
82
dc0373c8
WO
83#page-mod-quiz-edit.ie6 div.question div.content .questiontext {width:50%;}
84#page-mod-quiz-edit.ie6 div.question div.content .questionname {width:20%;}
90723839
SH
85
86#page-mod-quiz-mod #reviewoptionshdr .fitem,
87#adminquizreviewoptions .group {float: left;width: 33%;clear: none;}
88
89#page-mod-quiz-mod #reviewoptionshdr .fitemtitle,
90#adminquizreviewoptions .fitemtitle {width: 100%;font-weight: bold;text-align: left;height: 2.5em;margin-left: 0;}
91
3784454b
TH
92#page-mod-quiz-mod #reviewoptionshdr fieldset.fgroup,
93#adminquizreviewoptions {clear: left;}
90723839 94#page-mod-quiz-mod #reviewoptionshdr fieldset.fgroup span,
3784454b
TH
95#adminquizreviewoptions span {float: left;clear: left; margin: 0.1em 0;}
96#page-mod-quiz-mod #reviewoptionshdr fieldset.fgroup span label,
97#adminquizreviewoptions span label {margin-left: 0.4em;}
90723839 98
90723839
SH
99/** Mod quiz view **/
100#page-mod-quiz-view .quizinfo,
101#page-mod-quiz-view #page .quizgradefeedback,
102#page-mod-quiz-view #page .quizattempt {text-align: center;}
103#page-mod-quiz-view #page .quizattemptsummary td p {margin-top: 0;}
9b40c540
TH
104table.quizattemptsummary .bestrow td {background-color: #e8e8e8;}
105table.quizattemptsummary .noreviewmessage {color: gray;}
8c448e1c 106#page-mod-quiz-view .generaltable.quizattemptsummary {margin-left:auto;margin-right:auto;}
90723839
SH
107#page-mod-quiz-view .generalbox#feedback {width:70%;margin-left:auto;margin-right:auto;padding-bottom:15px;}
108#page-mod-quiz-view .generalbox#feedback h2 {margin: 0;}
109#page-mod-quiz-view .generalbox#feedback h3 {text-align: left;}
110#page-mod-quiz-view .generalbox#feedback .overriddennotice {text-align: center;font-size: 0.7em;}
ff065f96
TH
111.quizstartbuttondiv.quizsecuremoderequired input { display: none; }
112.jsenabled .quizstartbuttondiv.quizsecuremoderequired input { display: inline; }
90723839 113
a1eb3a44
TH
114.mod-quiz .gradedattempt,
115.mod-quiz tr.gradedattempt td { background-color: #e8e8e8; }
116
9b40c540 117.quizattemptcounts {clear: left; text-align: center;}
ff065f96 118
9b40c540 119/** Mod quiz summary **/
90723839
SH
120#page-mod-quiz-summary #content {text-align: center;}
121#page-mod-quiz-summary .questionflag {width: 16px;height: 16px;vertical-align: middle;}
a1eb3a44
TH
122#page-mod-quiz-summary #quiz-timer {text-align: center; margin-top: 1em;}
123#page-mod-quiz-summary .submitbtns {margin-top: 1.5em;}
ff065f96
TH
124@media print {
125 .quiz-secure-window * { display: none !important; }
126}
127
90723839 128/** Mod quiz review **/
a1eb3a44
TH
129table.quizreviewsummary {width: 100%;}
130table.quizreviewsummary th.cell {padding: 1px 0.5em 1px 1em;font-weight: bold;text-align: right;width: 10em;background: #f0f0f0;}
131table.quizreviewsummary td.cell {padding: 1px 1em 1px 0.5em;text-align: left;background: #fafafa;}
132
133/** Mod quiz make comment or override grade popup. **/
134#page-mod-quiz-comment .mform {width: 100%;}
135#page-mod-quiz-comment .mform fieldset {margin: 0;}
136#page-mod-quiz-comment .que {margin: 0;}
90723839
SH
137
138/** Mod quiz report **/
139#page-mod-quiz-report h2.main {clear: both;}
140#page-mod-quiz-report div#commands,
141#page-mod-quiz-report .controls {text-align: center;}
142#page-mod-quiz-report .dubious{background-color: #fcc;}
143#page-mod-quiz-report .highlight{border :medium solid yellow;background-color:lightYellow;}
144#page-mod-quiz-report .negcovar{border :medium solid pink;}
a1eb3a44
TH
145#page-mod-quiz-report .toggleincludeauto {text-align: center;}
146#page-mod-quiz-report .gradetheselink {font-size: 0.8em;}
a1eb3a44
TH
147#page-mod-quiz-report .mform fieldset {margin: 0;}
148#page-mod-quiz-report fieldset.felement.fgroup {margin: 0;}
149#page-mod-quiz-report table.titlesleft td.c0 {font-weight: bold;}
90723839 150#page-mod-quiz-report table .numcol {text-align: center;vertical-align : middle !important;}
a1eb3a44 151
f6c7f158 152#page-mod-quiz-report table#attempts {clear: both;width: 80%; margin: 0.2em auto;}
90723839
SH
153#page-mod-quiz-report table#attempts .header,
154#page-mod-quiz-report table#attempts .cell{padding: 4px;}
155#page-mod-quiz-report table#attempts .header .commands {display: inline;}
156#page-mod-quiz-report table#attempts .picture {width: 40px;}
157#page-mod-quiz-report table#attempts td {border-left-width: 1px;border-right-width: 1px;border-left-style: solid;border-right-style: solid;vertical-align: middle;}
158#page-mod-quiz-report table#attempts .header {text-align: left;}
159#page-mod-quiz-report table#attempts .picture {text-align: center !important;}
a1eb3a44
TH
160#page-mod-quiz-report table#attempts.grades span.que,
161#page-mod-quiz-report table#attempts span.avgcell {white-space: nowrap;}
162#page-mod-quiz-report table#attempts span.que .requiresgrading {white-space: normal;}
163#page-mod-quiz-report table#attempts .questionflag {width: 16px; height: 16px; vertical-align: middle;}
164
165#page-mod-quiz-report .graph.flexible-wrap {text-align:center; overflow:auto;}
166
f6c7f158
TH
167#page-mod-quiz-report #cachingnotice {margin-bottom: 1em; padding: 0.2em; }
168#page-mod-quiz-report #cachingnotice .singlebutton {margin: 0.5em 0 0;}
65778323 169#page-mod-quiz-report .bold .reviewlink {font-weight: normal;}
90723839 170
90723839
SH
171/** Mod quiz edit **/
172#page-mod-quiz-edit h2.main{display:inline;padding-right:1em;clear:left;}
173
a1eb3a44
TH
174#categoryquestions .r1 {background: #e4e4e4;}
175#categoryquestions .header {text-align: center;padding: 0 2px;border: 0 none;}
176#categoryquestions th.modifiername .sorters,
177#categoryquestions th.creatorname .sorters {font-weight: normal;font-size: 0.8em;}
178table#categoryquestions {width: 100%;overflow: hidden;table-layout: fixed;}
179#categoryquestions .iconcol {width: 15px;text-align: center;padding: 0;}
180#categoryquestions .checkbox {width: 19px;text-align: center;padding: 0;}
181#categoryquestions .qtype {text-align: center;}
182#categoryquestions .qtype {width: 24px;padding: 0;}
183#categoryquestions .questiontext p {margin: 0;}
56ed242b 184
90723839
SH
185#page-mod-quiz-edit div.quizcontents {float:left;width:70%;display:block;clear:left;}
186#page-mod-quiz-edit div.quizwhenbankcollapsed {width:100%;}
187#page-mod-quiz-edit div.quizpage {display:block;clear:both;width:100%;}
188#page-mod-quiz-edit div.quizpage span.pagetitle {margin-top:0.3em;float:left;display:block;color:#006;}
189#page-mod-quiz-edit div.quizpage .pagecontent {margin-top:0.3em;display:block;float:left;position:relative;margin-left:0.3em;margin-bottom:0.2em;border-left:solid #777 thin;line-height:1.3em;-webkit-border-radius:0.6em;-webkit-border-radius-bottomleft:0;-webkit-border-radius-topleft:0;border-radius:0.6em;border-radius-bottomleft:0;border-radius-topleft:0;width:88%;padding:0.15em 0 0.3em;background-color:#d6d6d6;}
190#page-mod-quiz-edit div.quizpage .pagecontent .pagestatus {-webkit-border-radius-bottomright:0.3em;-webkit-border-radius-topright:0.3em;border-radius-bottomright:0.3em;border-radius-topright:0.3em;margin:0.3em;padding:0.1em 0.1em 0.1em 0.3em;background-color:#eee;font-weight:bold;}
191#page-mod-quiz-edit div.quizpage .pagecontent form#addquestion{background-color:#fff;}
192#page-mod-quiz-edit div.quizpage .pagecontent form.randomquestionform div {/* it is a mystery why this has to be inline-table but otherwise the layout gets screwed, even if it is "inline" */display: inline-table;}
193#page-mod-quiz-edit div.quizpage .pagecontent form.randomquestionform div input {display: inline;}
194
195#page-mod-quiz-edit .addpage{clear:both;padding-top:0.3em;float:right;margin-right:2em;}
196#page-mod-quiz-edit .statusdisplay {background-color: #ffc;clear: both;margin: 0.3em 1em 0.3em 0;padding: 1px ; /* Stop margin collapse. */}
197#page-mod-quiz-edit .statusdisplay p {margin: 0.4em;}
198
199#page-mod-quiz-edit div.reorder .reordercontrols{clear:both;padding-right:1em;margin-top:0.5em;padding-top:0.5em;padding-bottom:0.5em}
200#page-mod-quiz-edit div.reorder .reordercontrols .moveselectedonpage{clear:right;float:right;padding:0.5em 0.3em;text-align:right;}
201#page-mod-quiz-edit div.reorder .reordercontrols .addnewpagesafterselected,
202#page-mod-quiz-edit .repaginatecommand {float:right;clear:right;padding-right:1em;}
203#page-mod-quiz-edit div.reorder .reordercontrols .deleteselected{float:right;margin-right:1em;}
204#page-mod-quiz-edit div.reorder div.question{padding-top:0.2em;}
205#page-mod-quiz-edit div.reorder div.question div.qnum {width:2.9em;padding-top:0.1em;}
206#page-mod-quiz-edit .reorder div.question div.content {width:87%;float:left;position:relative;-webkit-border-radius:0.3em;-webkit-border-radius-bottomleft:0;-webkit-border-radius-topleft:0;border-radius:0.3em;border-radius-bottomleft:0;border-radius-topleft:0;line-height:1.2em;padding:0.1em;background-color:#F9F9F9;}
207#page-mod-quiz-edit .reorder .questioncontentcontainer .quiz_randomquestion {position:relative;}
208#page-mod-quiz-edit .reorder div.question div.content div.quiz_randomquestion {line-height:1em;}
209
210#page-mod-quiz-edit .reorder .questioncontentcontainer {position:relative;overflow:hidden;white-space:nowrap;}
211#page-mod-quiz-edit .reorder .questioncontentcontainer .randomquestioncategory {overflow:hidden;white-space:nowrap;display:inline;float:none;}
212#page-mod-quiz-edit .reorder .questioncontentcontainer .randomquestioncategory label {max-width: 25%;overflow:hidden;padding-left:0.3em;white-space:nowrap;display:inline-block;}
213#page-mod-quiz-edit .reorder .questioncontentcontainer .randomquestionfromcategory label {overflow:hidden;white-space:nowrap;display:inline-block;}
214#page-mod-quiz-edit .reorder .questioncontentcontainer .randomquestionfromcategory,
215#page-mod-quiz-edit .reorder div.question div.content .questionpreview {display:inline;float:none;}
216
217#page-mod-quiz-edit .reorder fieldset{display:inline;}
218#page-mod-quiz-edit div.reorder div.question div.qnum{text-align:right;font-size:1em;}
219
220#page-mod-quiz-edit .questioncontentcontainer div.randomquestionqlist {padding-left:0.2em;padding-right:0.2em;clear:both;margin:0.5em;margin-top:0.8em;}
221#page-mod-quiz-edit .questioncontentcontainer div.randomquestionqlist .totalquestionsinrandomqcategory{overflow:auto;white-space:normal;}
222#page-mod-quiz-edit .questioncontentcontainer div.randomquestionqlist ul{list-style-type:none;margin:0;padding:0;}
223#page-mod-quiz-edit .questioncontentcontainer div.randomquestionqlist ul li {clear:left;width:100%;overflow:hidden;white-space:nowrap;}
224#page-mod-quiz-edit .questioncontentcontainer div.randomquestionqlist ul li img{padding-right:0.3em;}
225#page-mod-quiz-edit .questioncontentcontainer div.randomquestionqlist ul li span{display:inline;}
226#page-mod-quiz-edit .questioncontentcontainer a {text-decoration:underline;}
227#page-mod-quiz-edit .questioncontentcontainer div.singlequestion a{text-decoration:underline;}
228#page-mod-quiz-edit .questioncontentcontainer .randomquestioncategory{font-weight:bold;}
229
230#page-mod-quiz-edit div.question {clear:left;width:100%;}
231#page-mod-quiz-edit div.question div.qnum {display:block;float:left;width:1.4em;padding-right:0.3em;padding-left:0;z-index:99;text-align:right;color:#333;}
232#page-mod-quiz-edit div.question div.questioncontainer{background-color:#ffc;}
233#page-mod-quiz-edit div.editq div.question div.content{width:87%;float:left;position:relative;-webkit-border-radius:0.6em;-webkit-border-radius-bottomleft:0;-webkit-border-radius-topleft:0;border-radius:0.6em;border-radius-bottomleft:0;border-radius-topleft:0;line-height:1.4em;padding:0.5em;}
234#page-mod-quiz-edit div.question div.content div.points{top:0.5em;border-left:#FFF solid 0.4em;width:8.5em;padding:0.2em;line-height:1em;max-width:30%;position:absolute;right:50px;-webkit-border-radius:0.2em;-webkit-border-radius-bottomleft:0;-webkit-border-radius-topleft:0;border-radius:0.2em;border-radius-bottomleft:0;border-radius-topleft:0;z-index:900;display:block;margin:0;background-color:#ddf;}
235#page-mod-quiz-edit div.question div.content div.points input{width:2em;padding:0;}
236#page-mod-quiz-edit div.question div.content div.points input.pointssubmitbutton{width:auto;}
237#page-mod-quiz-edit div.question div.content div.qorder {line-height:1em;max-width:30%;position:absolute;right:50px;-webkit-border-radius:0.2em;-webkit-border-radius-bottomleft:0;-webkit-border-radius-topleft:0;border-radius:0.2em;border-radius-bottomleft:0;border-radius-topleft:0;z-index:900;display:block;margin:0;background-color:#ddf;}
238#page-mod-quiz-edit div.question div.content .editicon {width:15px;}
239#page-mod-quiz-edit div.question div.content .singlequestion .questionname,
240#page-mod-quiz-edit div.question div.content .singlequestion .questiontext{display:inline-block;}
241#page-mod-quiz-edit div.question div.content .singlequestion .questionpreview{background-color:#eee;}
242#page-mod-quiz-edit div.question div.content .questiontype{display:block;clear:left;float:left;}
243#page-mod-quiz-edit div.question div.content .questionpreview {display:block;float:left;margin-left:0.3em;padding-left:0.2em;padding-right:0.2em;}
244#page-mod-quiz-edit div.question div.content .questionpreview a{background-color:#eee;}
245#page-mod-quiz-edit div.question div.content div.quiz_randomquestion .questionpreview{display:inline;float:none;}
246#page-mod-quiz-edit div.question div.content div.questioncontrols{float:right;width:45px;position:absolute;right:0.3em;top:0;z-index:900;display:block;padding:0.2em;background-color:#F9F9F9;text-align:right;}
247#page-mod-quiz-edit div.question div.content div.questioncontrols img.upwithoutdown{padding-right:12px;display:inline;}
248#page-mod-quiz-edit div.question div.content .questiontext {font-weight:bold;}
249#page-mod-quiz-edit div.question div.content .questiontype{font-style:italic;}
250
251#page-mod-quiz-edit .editq div.question div.qnum {padding-top:0.2em;}
252#page-mod-quiz-edit .editq div.question {padding-top:0.3em;}
253#page-mod-quiz-edit .editq div.questioncontentcontainer div.singlequestion img {float:left;padding-top:0.3em;padding-right:0.3em;}
254#page-mod-quiz-edit .editq div.question div.content {background-color:#F9F9F9;}
255#page-mod-quiz-edit .editq div.question div.content .randomquestioncategory{margin-top:0.4em;position:relative;display:inline-block;}
256#page-mod-quiz-edit .editq div.question div.content .randomquestioncategory a{display:block;max-width:15em;overflow: hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;white-space: nowrap;float:left;position:relative;}
257#page-mod-quiz-edit .editq div.question div.content .questionpreview {float:left;}
258#page-mod-quiz-edit .editq div.question div.content .questionpreview a{font-weight:normal;margin-left:0em;display:inline;float:none;}
259#page-mod-quiz-edit .editq div.question div.content .randomquestioncategory .questionpreview img{padding-right:0.3em;}
260#page-mod-quiz-edit .editq div.question div.content .singlequestion a .questionname,
261#page-mod-quiz-edit .editq div.question div.content .singlequestion a .questiontext{float:left;}
262#page-mod-quiz-edit .editq div.question div.description div.content .questiontext {max-width: 75%;}
263#page-mod-quiz-edit .editq div.question div.qnum{font-size:1.5em;}
264
a1eb3a44
TH
265table#categoryquestions td,
266#page-mod-quiz-edit table#categoryquestions th{overflow:hidden;white-space:nowrap;}
267
268.questionbankwindow.block {float:right;width:30%;right:0.3em;padding-bottom:0.5em;display:block;border-width:0;}
269.questionbankwindow.block .content {padding:0;}
270.questionbankwindow .choosecategory,
271.questionbankwindow .createnewquestion {padding: 0.3em;}
272.questionbankwindow .createnewquestion .singlebutton {display: inline;}
273.questionbankwindow #catmenu_jump {display: block;}
274
275.questionbank div.categoryquestionscontainer,
276.questionbank .categorysortopotionscontainer,
277.questionbank .categorypagingbarcontainer,
278.questionbank .categoryselectallcontainer{padding-left:0.3em;padding-right:0.3em;}
279
280.noquestionsincategory{clear:both;padding-top:1em;padding-bottom:1em;}
281.modulespecificbuttonscontainer{padding-left:0.3em;padding-right:0.3em;}
282
283.quizquestionlistcontrols {text-align: center;}
284
285.categoryinfo {padding: 0.3em;}
286
287.path-mod-quiz .gradingdetails {font-size: small;}
288
8b7d4fb7
TH
289body #quizcontentsblock #repaginatedialog {display: none;}
290body.jsenabled #quizcontentsblock #repaginatedialog .hd {display:block;}
291body.jsenabled #quizcontentsblock #repaginatedialog .bd {padding:1em;}
292body.jsenabled #quizcontentsblock .repaginatecommand #repaginatecommand {display:block;}
3784454b 293
9f87e6aa 294#page-mod-quiz-edit #randomquestiondialog {display: none;}
8b7d4fb7 295#page-mod-quiz-edit #qtypechoicecontainer {display: none;}
3784454b 296
90723839
SH
297#page-mod-quiz-edit .questionbankwindow select#catmenu_jump{
298/* In Opera9, IE6 the width of the
299select obeys the width of its content
300by default. This prevents that. */width:100%;}
301
302/*this color might need to be theme-specific,
303but in terms of usability, as testing showed,
728ebac7 304http://docs.moodle.org/dev/Quiz_UI_redesign/usability_testing_of_August_2008/Issues#Question_bank_.2F_question_adding_controls_visibility
90723839
SH
305it must be ensured that the question
306bank window's title is prominent enough*/
307#page-mod-quiz-edit .questionbankwindow div.header {background-color:#009;color:#fff;background-image:none;padding-top:0.2em;font-weight:bold;}
308#page-mod-quiz-edit .questionbankwindow div.header a{text-decoration:underline;color:#FFF;}
309#page-mod-quiz-edit .collapsed .container{display: none;}
310#page-mod-quiz-edit .questionbankwindow #showbankcmd{display:none;}
311#page-mod-quiz-edit .collapsed #showbankcmd{display:inline;}
312#page-mod-quiz-edit .questionbankwindow #hidebankcmd{display:inline;}
313#page-mod-quiz-edit .collapsed #hidebankcmd{display:none;}
314
315#page-mod-quiz-edit .quizquestionlistcontrols {display:inline;}
316
317#page-mod-quiz-edit .quizpagedelete{position:absolute;top:0.2em;right:0.2em;display:inline;z-index:900;}
318#page-mod-quiz-edit .quizpagedelete img {background-color:#d6d6d6;padding:0.6em;}
319#page-mod-quiz-edit .pagecontrols {clear:both;margin-left:0.5em;padding-top:0.5em;}
320#page-mod-quiz-edit .pagecontrols .singlebutton {float:left;margin-left: 1em;}
321#page-mod-quiz-edit .pagecontrols .helplink {float:left;}
322
323#page-mod-quiz-edit div#randomquestiondialog_c{width:90%;}
324#page-mod-quiz-edit div#randomquestiondialog_c .mform,
3784454b
TH
325#randomquestiondialog_c select{width:100%;}
326
90723839
SH
327#page-mod-quiz-edit div#repaginatedialog .mform{margin-left:auto;margin-right:auto;}
328#page-mod-quiz-edit div.container div.generalbox{position:relative;display:block;border:0 none;margin:0;padding:0;}
329
330#page-mod-quiz-edit .questionbankwindow .createnewquestion select,
331#page-mod-quiz-edit .questionbankwindow #catmenu select,
332#page-mod-quiz-edit .questionbankwindow #menucategory {width: 100%;}
333
334#page-mod-quiz-edit .paging {margin-top:0;margin-bottom:0;display:block;background-color:#ddd;}
335#page-mod-quiz-edit .pagingbottom {padding-bottom:0.3em;}
336#page-mod-quiz-edit .paging a:hover{background-color:#eef;}
337
338#page-mod-quiz-edit #page-footer {clear:both;padding-top:1em;}
339
340.ie6#page-mod-quiz-edit div.question div.content .questiontext,
341.ie6#page-mod-quiz-edit #categoryquestions .questionname{/*ie6 shows this as an arrow if this is not specified*/cursor: pointer;}
342.ie6#page-mod-quiz-edit div.question div.content .questionname,
343.ie6#page-mod-quiz-edit #categoryquestions .questiontext{/*ie6 shows this as an arrow if this is not specified*/cursor: pointer;}
344.ie6#page-mod-quiz-edit .reorder .questioncontentcontainer .randomquestioncategory label{width: 35%;}
345.ie6#page-mod-quiz-edit .editq div.question div.content .randomquestioncategory a{width:40%;}
346
347#page-mod-quiz-edit #categoryquestions .questiontext {font-weight:bold;}
348#page-mod-quiz-edit .categoryinfofield{font-style:italic;}
349#page-mod-quiz-edit .categorynamefield{font-weight:bold;}
350#page-mod-quiz-edit a.configurerandomquestion{font-size:small;text-decoration:underline;}
351#page-mod-quiz-edit .questioncontentcontainer div.randomquestionqlist{background-color:#eee;}
352#page-mod-quiz-edit .questioncontentcontainer div.randomquestionqlist ul{color:#555;}
353#page-mod-quiz-edit .questioncontentcontainer div.randomquestionqlist .totalquestionsinrandomqcategory{color:#000;}
354#page-mod-quiz-edit .categoryinfo {background-color:#eee;border-bottom:1px solid #bbb;}
355#page-mod-quiz-edit .questionsortoptions {background-color:#ddd;}
356
357#page-mod-quiz-edit div.questionbank{background-color:#e6e6ff;}
358#page-mod-quiz-edit div.questionbank form .invisiblefieldset{clear:both;}
359#page-mod-quiz-edit div.questionbank .categorysortopotionscontainer{padding-top:0.5em;margin-top:0.3em;}
360#page-mod-quiz-edit div.questionbank .categoryquestionscontainer,
361.questionbank .categorysortopotionscontainer,
362.questionbank .categorypagingbarcontainer,
363.questionbank .categoryselectallcontainer{background-color:#FFF;}
364
365#categoryquestions .questiontext {width:50%;}
dc0373c8 366#categoryquestions .questionname {width:50%;}
90723839
SH
367
368.ie6#page-mod-quiz-edit div.question div.content .questiontext,
369.ie6#page-mod-quiz-edit #categoryquestions .questionname{/*ie6 shows this as an arrow if this is not specified*/cursor: pointer;}
370.ie6#page-mod-quiz-edit div.question div.content .questionname,
371.ie6#page-mod-quiz-edit #categoryquestions .questiontext{/*ie6 shows this as an arrow if this is not specified*/cursor: pointer;}
372.ie6.path-mod-quiz div.tabtree a span img.iconsmall {margin: 0;vertical-align: baseline;position: relative;top: 1px;}
373.ie6#page-mod-quiz-edit div.question div.content .questiontext {width:50%;}
374.ie6#page-mod-quiz-edit div.question div.content .questionname {width:20%;}
375.ie6#page-mod-quiz-edit .editq div.question div.content .randomquestioncategory a{width:40%;}
a1eb3a44 376.ie6#page-mod-quiz-edit .reorder .questioncontentcontainer .randomquestioncategory label{width: 35%;}
8418e5b7 377.qnum label {padding-right: 0.25em;}
a1eb3a44
TH
378
379/** settings.php */
380#adminquizreviewoptions {margin-bottom: 0.5em;}