]> git.mjollnir.org Git - moodle.git/commitdiff
splitted CSS for questions in layout, fonts and color specific properties.
authorurs_hunkler <urs_hunkler>
Sun, 12 Mar 2006 13:36:18 +0000 (13:36 +0000)
committerurs_hunkler <urs_hunkler>
Sun, 12 Mar 2006 13:36:18 +0000 (13:36 +0000)
theme/standard/styles_color.css
theme/standard/styles_fonts.css
theme/standard/styles_layout.css

index ce25a3ad11aabb2c1847d02b9b60cbe70fd42c4e..e009288d4d2bb342999de215711fbe79e4125cad 100644 (file)
@@ -17,6 +17,7 @@
   doc
   login
   message
+  question
   tabs
   user
 
@@ -527,6 +528,32 @@ table.message_search_results td {
 .message .content {
 }
 
+/***
+ *** Question
+ ***/
+
+.question {
+       border-color: #DDD;
+}
+.question .r0 {
+       background-color: #F5F5F5;
+}
+.question .r1 {
+       background-color: #EEE;
+}
+.calculated .answer,
+.numerical .answer,
+.shortanswer .answer,
+.truefalse .answer {
+       background-color: #EEE;
+}
+.calculated .feedback,
+.numerical .feedback,
+.shortanswer .feedback,
+.truefalse .feedback {
+  border-color: #DDD;
+}      
+
 /***
  *** Logs
  ***/
index 64230554a2e99ccc29f976532955e5083930aaf2..d216e6bb4c5b9361d1889bcff02cf0a72435d0d4 100644 (file)
@@ -17,6 +17,7 @@
   grades
   login
   message
+  question
   tabs
   user
 
@@ -484,6 +485,17 @@ body#grade-index .grades .header {
   font-size:1.1em;
 }
 
+/***
+ *** Question
+ ***/
+
+.question .no {
+       font-size: 1.2em;
+       font-weight: bold;
+}
+.question .grade {
+       font-size: 0.8em;
+}
 
 /***
  *** Tabs
index 7d2c88459632c2d0ac49198ea04cd89d25fae4ac..b7c257d0c5df6ab13a2a6a4bbe6ecbb9141fa705 100644 (file)
@@ -1037,11 +1037,6 @@ body#message-messages {
  *** Question
  ***/
 
-/* NOTE: new for all questions
-I will separate the properties
-when the work on questions is
-finished --Urs */
-
 #mod-quiz-attempt #page {
        text-align: center;
 }
@@ -1049,7 +1044,7 @@ finished --Urs */
        width: 90%;
        text-align: left;
        margin: 10px auto 15px auto;
-       border: 1px solid #DDD;
+       border: 1px solid;
        clear: both;
 }
 .question .info {
@@ -1057,13 +1052,8 @@ finished --Urs */
        margin: 5px;
        width: 8%;
 }
-.question .no {
-       font-size: 1.2em;
-       font-weight: bold;
-}
 .question .grade {
        margin-top: 0.5em;
-       font-size: 0.8em;
 }
 .question .content {
        float: right;
@@ -1101,12 +1091,6 @@ finished --Urs */
        padding: 0.3em 0 0.3em 0.3em;
        vertical-align: top;
 }
-.question .r0 {
-       background-color: #F5F5F5;
-}
-.question .r1 {
-       background-color: #EEE;
-}
 .multichoice .c0 {
   width: 5%;
        vertical-align: top;
@@ -1116,7 +1100,6 @@ finished --Urs */
 .numerical .answer,
 .shortanswer .answer,
 .truefalse .answer {
-       background-color: #EEE;
        padding: 0.3em 0 0.3em 0.3em;
 }
 .shortanswer .answer input {
@@ -1130,7 +1113,7 @@ finished --Urs */
        float: right;
        width: 83%;
        padding: 0 0 0.3em 0.3em;
-  border: 1px solid #DDD;
+  border: 1px solid;
 }      
 .question .grading, 
 .question .history {