Permalink
Browse files

started to build the CSS for the new quizzes. While working on it I w…

…ill write all into styles.php. When finished I will put the CSS into the standard themes. The quiz part in the standard theme is deactivated.
  • Loading branch information...
1 parent 7fddf77 commit c02131ec3791a136eb1da7d58da06ce47aa6f851 urs_hunkler committed Feb 21, 2006
Showing with 69 additions and 161 deletions.
  1. +63 −155 mod/quiz/styles.php
  2. +2 −2 theme/standard/styles_color.css
  3. +2 −2 theme/standard/styles_fonts.css
  4. +2 −2 theme/standard/styles_layout.css
View
@@ -1,156 +1,64 @@
-
-
-.mod-quiz .quiz-report-title {
- text-align: center;
- font-weight : bold;
-}
-.mod-quiz .grade {
- font-size: small;
- margin-top: 10pt
-}
-.mod-quiz .gradingdetails {
- font-size: small;
-}
-
-
-body#mod-quiz-report table#itemanalysis {
- margin: 20px auto;
-}
-body#mod-quiz-report table#itemanalysis .header,
-body#mod-quiz-report table#itemanalysis .cell
-{
- padding: 4px;
-}
-body#mod-quiz-report table#itemanalysis .header .commands {
- display: inline;
-}
-body#mod-quiz-report table#itemanalysis td {
- border-width: 1px;
- border-style: solid;
-}
-body#mod-quiz-report table#itemanalysis .header {
- text-align: left;
-}
-body#mod-quiz-report table#itemanalysis .numcol {
- text-align: center;
- vertical-align : middle !important;
-}
-
-body#mod-quiz-report table#itemanalysis .uncorrect {
- color: red;
-}
-
-body#mod-quiz-report table#itemanalysis .correct {
- color: blue;
- font-weight : bold;
-}
-
-body#mod-quiz-report table#itemanalysis .partialcorrect {
- color: green !important;
-}
-
-body#mod-quiz-report table#itemanalysis .qname {
- color: green !important;
-}
-
-/* manual grading */
-body#mod-quiz-grading table#grading
-{
- width: 80%;
- margin: auto;
-}
-body#mod-quiz-grading table#grading
-{
- margin: 20px auto;
-}
-body#mod-quiz-grading table#grading .header,
-body#mod-quiz-grading table#grading .cell
-{
- padding: 4px;
-}
-body#mod-quiz-grading table#grading .header .commands
-{
- display: inline;
-}
-body#mod-quiz-grading table#grading .picture
-{
- width: 40px;
-}
-body#mod-quiz-grading table#grading td
-{
- border-left-width: 1px;
- border-right-width: 1px;
- border-left-style: solid;
- border-right-style: solid;
- vertical-align: bottom;
-}
-
-
-body#mod-quiz-grading table#grading .header {
- text-align: left;
-}
-body#mod-quiz-grading table#grading .picture {
- text-align: center !important;
-}
-body#mod-quiz-grading .controls {
- text-align: center;
-}
-
-body#mod-quiz-grading table#grading td {
- border-color: #dddddd;
-}
-body#mod-quiz-grading table#grading .r1 {
- background-color: #eeeeee;
-}
-/* grading */
-
-
-
-body#mod-quiz-report table#responses {
- margin: 20px auto;
-}
-body#mod-quiz-report table#responses .header,
-body#mod-quiz-report table#responses .cell
-{
- padding: 4px;
-}
-body#mod-quiz-report table#responses .header .commands {
- display: inline;
-}
-body#mod-quiz-report table#responses td {
- border-width: 1px;
- border-style: solid;
-}
-body#mod-quiz-report table#responses .header {
- text-align: left;
-}
-body#mod-quiz-report table#responses .numcol {
- text-align: center;
- vertical-align : middle !important;
-}
-
-body#mod-quiz-report table#responses .uncorrect {
- color: red;
-}
-
-body#mod-quiz-report table#responses .correct {
- color: green;
-}
-
-body#mod-quiz-report table#responses .partialcorrect {
- color: orange;
-}
-
-#mod-quiz-attempt #timer .generalbox {
- width:150px
-}
-
-#mod-quiz-attempt #timer {
- position:absolute;
- /*top:100px; is set by js*/
- left:10px
-}
-
-.mod-quiz #categoryquestions td {
- white-space:nowrap;
+#mod-quiz-attempt #page {
+ text-align: center;
+}
+#mod-quiz-attempt .question {
+ width: 90%;
+ text-align: left;
+ margin: 10px auto 15px auto;
+ border: 1px solid #DDD;
+ clear: both;
+}
+#mod-quiz-attempt .question .info {
+ float: left;
+ margin: 5px;
+ width: 8%;
+}
+#mod-quiz-attempt .question .no {
+ font-size: 1.2em;
+ font-weight: bold;
+}
+#mod-quiz-attempt .question .grade {
+ margin-top: 0.5em;
+ font-size: 0.8em;
+}
+#mod-quiz-attempt .question .content {
+ float: right;
+ margin: 5px;
+ width: 88%;
+}
+#mod-quiz-attempt .question .qtext {
+ margin-bottom: 1.5em;
+}
+#mod-quiz-attempt .question .answer {
+ margin: 0.7em 0 0.3em 0;
+}
+#mod-quiz-attempt .question .answer .prompt {
+ float: left;
+ width: 15%;
+ height: 2em;
+}
+#mod-quiz-attempt .question .answer .shortanswer {
+ float: left;
+ width: 80%;
+ padding-bottom: 0.5em;
+}
+#mod-quiz-attempt .question .answer .multichoice {
+ float: left;
+ width: 80%;
+ padding-bottom: 0.5em;
+}
+#mod-quiz-attempt .question .answer .multichoice .c0 {
+ width: 5%;
+ vertical-align: top;
+ padding: 0;
+}
+#mod-quiz-attempt .question .answer input {
+ margin: 0.5em 0 0 0;
+}
+#mod-quiz-attempt .question .answer .shortanswer input {
+ margin: 0;
+}
+#mod-quiz-attempt .question .grading {
+ float: right;
+ width: 88%;
}
@@ -726,13 +726,13 @@ table.message_search_results td {
*** Modules: Quiz
***/
-body#mod-quiz-report table#attempts td {
+/* body#mod-quiz-report table#attempts td {
border-color: #dddddd;
}
body#mod-quiz-report table#attempts .r1 {
background-color: #eeeeee;
}
-
+ */
/***
*** Modules: Resource
@@ -616,14 +616,14 @@ body#mod-forum-index .generalbox .cell {
*** Modules: Quiz
***/
-.editorhelptext {
+/* .editorhelptext {
font-size:0.7em;
}
#mod-quiz-index .cell {
font-size:0.8em;
}
-
+ */
/***
*** Modules: Resource
@@ -1459,7 +1459,7 @@ body#mod-forum-search .introcontent {
*** Modules: Quiz
***/
-.feedbacktext {
+/* .feedbacktext {
display:block;
text-align:right;
}
@@ -1505,7 +1505,7 @@ body#mod-quiz-report .controls {
.navbutton form {
display: inline;
}
-
+ */
/***
*** Modules: Resource
***/

0 comments on commit c02131e

Please sign in to comment.