From: urs_hunkler Date: Sun, 12 Mar 2006 13:36:18 +0000 (+0000) Subject: splitted CSS for questions in layout, fonts and color specific properties. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=26b820a501df18d1a3625cec0f9d6f89bfc935dd;p=moodle.git splitted CSS for questions in layout, fonts and color specific properties. --- diff --git a/theme/standard/styles_color.css b/theme/standard/styles_color.css index ce25a3ad11..e009288d4d 100644 --- a/theme/standard/styles_color.css +++ b/theme/standard/styles_color.css @@ -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 ***/ diff --git a/theme/standard/styles_fonts.css b/theme/standard/styles_fonts.css index 64230554a2..d216e6bb4c 100644 --- a/theme/standard/styles_fonts.css +++ b/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 diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index 7d2c884596..b7c257d0c5 100644 --- a/theme/standard/styles_layout.css +++ b/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 {