You are here

quiz.css in Quiz 7.4

/*
 * Definitions that apply while viewing questions
 */
.question_type_name {
  font-style: italic;
}

/*
 * Definitions that apply while taking the quiz.
 */
#quiz_progress {
  font-style: italic;
  font-size: 80%;
}

#quiz_score_possible, #quiz_score_percent {
  font-weight: bold;
}

td.quiz_summary_qcell {
  vertical-align: top;
  padding: 1em 1em 0em 0em;
}

td.quiz_summary_qcell table tr {
  background: transparent;
}

td.quiz_summary_qcell table td {
  vertical-align: top;
  padding: .5em;
}

.quiz_answer_feedback {
  font-style: italic;
}

.quiz_summary_text {

}

.feedback-icon {
  display: inline;
}

.add-questions {
  background: transparent url(images/add.png) no-repeat scroll 0% 10%;
  padding: 0 0 1em 2em;
}

.hidden-question {
  display: none;
}

.quiz-question-browser-row.odd {
  background-color: #e7e7e7;
}

.quiz-question-browser-row.even {
  background-color: #fbfbfb;
}

#quiz-question-browser-filters {
  /*background-color: black;*/
  /* Black bg in seven theme looks horrible. */
  background: none repeat scroll 0 0 #E1E2DC;
  border-color: #BEBFB9;
  border-style: solid;
  border-width: 1px;
  font-weight: normal;
  padding: 3px 10px;
  text-transform: uppercase;
}

#quiz-question-browser-filters td.active {
  background-color: #666;
}

.quiz-question-browser-row.odd td.active {
  background-color: #e2e2f9;
}

.quiz-question-browser-row.even td.active {
  background-color: #f8f8ff;
}

tr.selected.quiz-question-browser-row td, tr.selected.quiz-question-browser-row td.active {
  background: none repeat scroll 0 0 #505050;
  color: #FFF;
}

.browser-table th {
  border-bottom: 0px solid #666666;
}

.q-staying {
  display: inline;
  float: left;
  margin-right: 8px;
}


/*
 * Definitions that apply on the quiz report pages.
 */

div.quiz-report {
  margin: 0;
  padding: 0;
}

div.quiz-report .dt {
  background: #eee;
  border-top: solid 1px gray;
  padding-left: 5px;
}

div.quiz-report .dt div.quiz-report-score-container {
  border-right: solid 1px gray;
  border-left: solid 1px gray;
  border-bottom: solid 1px gray;
  float: right;
  padding: 4px 6px;
}

div.quiz-report .dt div.quiz-report-score-container span div.form-item {
  display: inline;
}

div.quiz-report .dd {
  margin: 10px 0 50px 0;
}

div.quiz-score-submit {
  float: right;
}

.quiz-report-skipped {
  float: right;
}

.q-correct {
  background-color: #DDFFDD;
}

.q-wrong {
  background-color: #FFCCCC;
}

.q-waiting {
  background-color: #FFFFDD;
}

input#edit-op, input#edit-back {
  background: 0 none;
  border: 0 none;
  color: #666699;
}

input.q-skip-button:hover, input#edit-back:hover {
  color: #6666ff;
  cursor: pointer;
  text-decoration: underline;
}

input#edit-submit-hidden {
  height: 0;
  width: 0;
  overflow: hidden;
  padding: 0;
  border: none;
}

.quiz-passed {
  color: #00dd00;
}

.quiz-failed {
  color: #dd0000;
}

#no-questions {
  font-style: italic;
}
#quiz-view-table {
  width: auto;
  border-collapse: separate;
  border: thin solid #555555;
  padding: 0px;
  margin: 0px;
  margin-bottom: 20px;
}
#quiz-start-quiz-button-form div {
  padding: 0px;
  margin: 0px;
}

#quiz-start-quiz-button-form input {
  margin: 0px;
}

#quiz-view-table td {
  padding: 0px 3px 0px 3px;
  margin: 0px;
  line-height: 110%;
}
.quiz-view-table-title {

}
.quiz-view-table-data {

}

#browser-pager .pager-last {
  display: none;
}
#browser-pager .pager-first {
  display: none;
}

.matching-tbl {
  width: auto;
  border-collapse: separate;
  padding: 0px;
  margin: 0px;
  border: 0px;
  line-height: 100%;
}

.matching-tbl p, .matching-tbl select, .matching-tbl div {
  padding: 0px;
  margin: 0px;
  line-height: 100%;
}

.matching-tbl td {
  padding: 2px;
  margin: 2px;
  line-height: 100%;
}

.quiz-solution {
  border-left: solid 5px #00ff00;
  padding-left: 3px;
}

.quiz-answer-hidden {
  font-style: italic;
}

#quiz-jumper {
  display: none;
}

#quiz-categorized-form #autocomplete {
  overflow: auto;
  max-height: 300px;
}

.mark-doubtful .toggle {
  margin: auto;
  position: relative;
  width: 100px;
  overflow: hidden;
  height: 18px;
  line-height: 18px;
  font-size: 11px;
  text-align: center;
  cursor: pointer;
  border: 1px solid #ccc;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  -khtml-border-radius: 3px;
  border-radius: 3px;
  -moz-box-shadow: 0 0 10px rgba(0,0,0,0.50) inset;
  -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.50) inset;
  box-shadow: 0 0 10px rgba(0,0,0,0.50) inset;
}

.mark-doubtful .toggle.off {
  background-clip: padding-box;
  background-image: -webkit-gradient(linear, 0% 0%, 100% 0%, color-stop(50%, red), color-stop(50%, white), color-stop(100%, white));
  background-image: -moz-linear-gradient(left, red 50%, white 50%, white 100%);
  background-image: linear-gradient(left, red 50%, white 50%, white 100%);
}

.mark-doubtful .toggle {
  background-image: -webkit-gradient(linear, 0% 0%, 100% 0%, color-stop(50%, white), color-stop(50%, green), color-stop(100%, green));
  background-image: -moz-linear-gradient(left, white 50%, green 50%, green 100%);
  background-image: linear-gradient(left, white 50%, green 50%, green 100%);
}

.mark-doubtful .toggle div {
  position: relative;
  color: #777;
  width: 52px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  -khtml-border-radius: 2px;
  border-radius: 2px;
  background: white;
  text-shadow: 1px 1px 0 white;
  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #FEFEFE), color-stop(100%, #EAEAEA));
  background-image: -moz-linear-gradient(top, #FEFEFE 0%, #EAEAEA 100%);
  background-image: linear-gradient(top, #FEFEFE 0%, #EAEAEA 100%);
  -webkit-transition: left 0.2s;
  -mox-transition: left 0.2s;
  -o-transition: left 0.2s;
  transition: left 0.2s;
}


.mark-doubtful .toggle div:after,
.mark-doubtful .toggle div:before {
  color: white;
  text-shadow: none;
  width: 50px;
  position: absolute;
  top: 0;
  font-size: 9px;
  font-weight: bold;
}

.mark-doubtful .toggle div:before {
  content: "Doubtful";
  left: -48px;
}

.mark-doubtful .toggle div:after {
  content: "Clear";
  right: -48px;
}
.mark-doubtful .toggle.off div {
  left: 48px;
}

File

quiz.css
View source
  1. /*
  2. * Definitions that apply while viewing questions
  3. */
  4. .question_type_name {
  5. font-style: italic;
  6. }
  7. /*
  8. * Definitions that apply while taking the quiz.
  9. */
  10. #quiz_progress {
  11. font-style: italic;
  12. font-size: 80%;
  13. }
  14. #quiz_score_possible, #quiz_score_percent {
  15. font-weight: bold;
  16. }
  17. td.quiz_summary_qcell {
  18. vertical-align: top;
  19. padding: 1em 1em 0em 0em;
  20. }
  21. td.quiz_summary_qcell table tr {
  22. background: transparent;
  23. }
  24. td.quiz_summary_qcell table td {
  25. vertical-align: top;
  26. padding: .5em;
  27. }
  28. .quiz_answer_feedback {
  29. font-style: italic;
  30. }
  31. .quiz_summary_text {
  32. }
  33. .feedback-icon {
  34. display: inline;
  35. }
  36. .add-questions {
  37. background: transparent url(images/add.png) no-repeat scroll 0% 10%;
  38. padding: 0 0 1em 2em;
  39. }
  40. .hidden-question {
  41. display: none;
  42. }
  43. .quiz-question-browser-row.odd {
  44. background-color: #e7e7e7;
  45. }
  46. .quiz-question-browser-row.even {
  47. background-color: #fbfbfb;
  48. }
  49. #quiz-question-browser-filters {
  50. /*background-color: black;*/
  51. /* Black bg in seven theme looks horrible. */
  52. background: none repeat scroll 0 0 #E1E2DC;
  53. border-color: #BEBFB9;
  54. border-style: solid;
  55. border-width: 1px;
  56. font-weight: normal;
  57. padding: 3px 10px;
  58. text-transform: uppercase;
  59. }
  60. #quiz-question-browser-filters td.active {
  61. background-color: #666;
  62. }
  63. .quiz-question-browser-row.odd td.active {
  64. background-color: #e2e2f9;
  65. }
  66. .quiz-question-browser-row.even td.active {
  67. background-color: #f8f8ff;
  68. }
  69. tr.selected.quiz-question-browser-row td, tr.selected.quiz-question-browser-row td.active {
  70. background: none repeat scroll 0 0 #505050;
  71. color: #FFF;
  72. }
  73. .browser-table th {
  74. border-bottom: 0px solid #666666;
  75. }
  76. .q-staying {
  77. display: inline;
  78. float: left;
  79. margin-right: 8px;
  80. }
  81. /*
  82. * Definitions that apply on the quiz report pages.
  83. */
  84. div.quiz-report {
  85. margin: 0;
  86. padding: 0;
  87. }
  88. div.quiz-report .dt {
  89. background: #eee;
  90. border-top: solid 1px gray;
  91. padding-left: 5px;
  92. }
  93. div.quiz-report .dt div.quiz-report-score-container {
  94. border-right: solid 1px gray;
  95. border-left: solid 1px gray;
  96. border-bottom: solid 1px gray;
  97. float: right;
  98. padding: 4px 6px;
  99. }
  100. div.quiz-report .dt div.quiz-report-score-container span div.form-item {
  101. display: inline;
  102. }
  103. div.quiz-report .dd {
  104. margin: 10px 0 50px 0;
  105. }
  106. div.quiz-score-submit {
  107. float: right;
  108. }
  109. .quiz-report-skipped {
  110. float: right;
  111. }
  112. .q-correct {
  113. background-color: #DDFFDD;
  114. }
  115. .q-wrong {
  116. background-color: #FFCCCC;
  117. }
  118. .q-waiting {
  119. background-color: #FFFFDD;
  120. }
  121. input#edit-op, input#edit-back {
  122. background: 0 none;
  123. border: 0 none;
  124. color: #666699;
  125. }
  126. input.q-skip-button:hover, input#edit-back:hover {
  127. color: #6666ff;
  128. cursor: pointer;
  129. text-decoration: underline;
  130. }
  131. input#edit-submit-hidden {
  132. height: 0;
  133. width: 0;
  134. overflow: hidden;
  135. padding: 0;
  136. border: none;
  137. }
  138. .quiz-passed {
  139. color: #00dd00;
  140. }
  141. .quiz-failed {
  142. color: #dd0000;
  143. }
  144. #no-questions {
  145. font-style: italic;
  146. }
  147. #quiz-view-table {
  148. width: auto;
  149. border-collapse: separate;
  150. border: thin solid #555555;
  151. padding: 0px;
  152. margin: 0px;
  153. margin-bottom: 20px;
  154. }
  155. #quiz-start-quiz-button-form div {
  156. padding: 0px;
  157. margin: 0px;
  158. }
  159. #quiz-start-quiz-button-form input {
  160. margin: 0px;
  161. }
  162. #quiz-view-table td {
  163. padding: 0px 3px 0px 3px;
  164. margin: 0px;
  165. line-height: 110%;
  166. }
  167. .quiz-view-table-title {
  168. }
  169. .quiz-view-table-data {
  170. }
  171. #browser-pager .pager-last {
  172. display: none;
  173. }
  174. #browser-pager .pager-first {
  175. display: none;
  176. }
  177. .matching-tbl {
  178. width: auto;
  179. border-collapse: separate;
  180. padding: 0px;
  181. margin: 0px;
  182. border: 0px;
  183. line-height: 100%;
  184. }
  185. .matching-tbl p, .matching-tbl select, .matching-tbl div {
  186. padding: 0px;
  187. margin: 0px;
  188. line-height: 100%;
  189. }
  190. .matching-tbl td {
  191. padding: 2px;
  192. margin: 2px;
  193. line-height: 100%;
  194. }
  195. .quiz-solution {
  196. border-left: solid 5px #00ff00;
  197. padding-left: 3px;
  198. }
  199. .quiz-answer-hidden {
  200. font-style: italic;
  201. }
  202. #quiz-jumper {
  203. display: none;
  204. }
  205. #quiz-categorized-form #autocomplete {
  206. overflow: auto;
  207. max-height: 300px;
  208. }
  209. .mark-doubtful .toggle {
  210. margin: auto;
  211. position: relative;
  212. width: 100px;
  213. overflow: hidden;
  214. height: 18px;
  215. line-height: 18px;
  216. font-size: 11px;
  217. text-align: center;
  218. cursor: pointer;
  219. border: 1px solid #ccc;
  220. -moz-border-radius: 3px;
  221. -webkit-border-radius: 3px;
  222. -khtml-border-radius: 3px;
  223. border-radius: 3px;
  224. -moz-box-shadow: 0 0 10px rgba(0,0,0,0.50) inset;
  225. -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.50) inset;
  226. box-shadow: 0 0 10px rgba(0,0,0,0.50) inset;
  227. }
  228. .mark-doubtful .toggle.off {
  229. background-clip: padding-box;
  230. background-image: -webkit-gradient(linear, 0% 0%, 100% 0%, color-stop(50%, red), color-stop(50%, white), color-stop(100%, white));
  231. background-image: -moz-linear-gradient(left, red 50%, white 50%, white 100%);
  232. background-image: linear-gradient(left, red 50%, white 50%, white 100%);
  233. }
  234. .mark-doubtful .toggle {
  235. background-image: -webkit-gradient(linear, 0% 0%, 100% 0%, color-stop(50%, white), color-stop(50%, green), color-stop(100%, green));
  236. background-image: -moz-linear-gradient(left, white 50%, green 50%, green 100%);
  237. background-image: linear-gradient(left, white 50%, green 50%, green 100%);
  238. }
  239. .mark-doubtful .toggle div {
  240. position: relative;
  241. color: #777;
  242. width: 52px;
  243. -moz-border-radius: 2px;
  244. -webkit-border-radius: 2px;
  245. -khtml-border-radius: 2px;
  246. border-radius: 2px;
  247. background: white;
  248. text-shadow: 1px 1px 0 white;
  249. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #FEFEFE), color-stop(100%, #EAEAEA));
  250. background-image: -moz-linear-gradient(top, #FEFEFE 0%, #EAEAEA 100%);
  251. background-image: linear-gradient(top, #FEFEFE 0%, #EAEAEA 100%);
  252. -webkit-transition: left 0.2s;
  253. -mox-transition: left 0.2s;
  254. -o-transition: left 0.2s;
  255. transition: left 0.2s;
  256. }
  257. .mark-doubtful .toggle div:after,
  258. .mark-doubtful .toggle div:before {
  259. color: white;
  260. text-shadow: none;
  261. width: 50px;
  262. position: absolute;
  263. top: 0;
  264. font-size: 9px;
  265. font-weight: bold;
  266. }
  267. .mark-doubtful .toggle div:before {
  268. content: "Doubtful";
  269. left: -48px;
  270. }
  271. .mark-doubtful .toggle div:after {
  272. content: "Clear";
  273. right: -48px;
  274. }
  275. .mark-doubtful .toggle.off div {
  276. left: 48px;
  277. }