Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…ties.
  • Loading branch information...
commit 26b820a501df18d1a3625cec0f9d6f89bfc935dd 1 parent ce39b5f
urs_hunkler authored
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,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 {
Please sign in to comment.
Something went wrong with that request. Please try again.