Skip to content
Browse files

splitted CSS for questions in layout, fonts and color specific proper…

…ties.
  • Loading branch information...
1 parent ce39b5f commit 26b820a501df18d1a3625cec0f9d6f89bfc935dd urs_hunkler committed Mar 12, 2006
Showing with 41 additions and 19 deletions.
  1. +27 −0 theme/standard/styles_color.css
  2. +12 −0 theme/standard/styles_fonts.css
  3. +2 −19 theme/standard/styles_layout.css
View
27 theme/standard/styles_color.css
@@ -17,6 +17,7 @@
doc
login
message
+ question
tabs
user
@@ -528,6 +529,32 @@ table.message_search_results td {
}
/***
+ *** 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
***/
View
12 theme/standard/styles_fonts.css
@@ -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
View
21 theme/standard/styles_layout.css
@@ -1037,33 +1037,23 @@ 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;
}
.question {
width: 90%;
text-align: left;
margin: 10px auto 15px auto;
- border: 1px solid #DDD;
+ border: 1px solid;
clear: both;
}
.question .info {
float: left;
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 {

0 comments on commit 26b820a

Please sign in to comment.
Something went wrong with that request. Please try again.