From 76b2d58820fe59057049ce837272df1b93914897 Mon Sep 17 00:00:00 2001 From: Jean-Michel Vedrine Date: Wed, 26 Jun 2013 11:36:03 +0200 Subject: Upgrade algebra qtype for Moodle 2.5 short forms --- styles.css | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 styles.css (limited to 'styles.css') diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..cb630d6 --- /dev/null +++ b/styles.css @@ -0,0 +1,51 @@ +.que.algebra .answer { + padding: 0.3em; + width: auto; + display: inline; +} +.que.algebra .answer input { + width: 80%; +} + +/* Editing form. */ +body#page-question-type-algebra div[id^=fgroup_id_][id*=answeroptions_] { + background: #EEE; + margin-top: 0; + margin-bottom: 0; + padding-bottom: 5px; + padding-top: 5px; + border: 1px solid #BBB; + border-bottom: 0; +} + +body#page-question-type-algebra div[id^=fgroup_id_][id*=answeroptions_] .fgrouplabel label{ + font-weight: bold; +} + +body#page-question-type-algebra div[id^=fgroup_id_][id*=answeroptions_] label[for^='id_answer_']{ + position: absolute; + left: -10000px; + font-weight: normal; + font-size: 1em; +} + +body#page-question-type-algebra div[id^=fitem_id_][id*=fraction_] { + background: #EEE; + margin-bottom: 0; + margin-top: 0; + padding-bottom: 5px; + padding-top: 5px; + border: 1px solid #BBB; + border-top: 0; + border-bottom: 0; +} + +body#page-question-type-algebra div[id^=fitem_id_][id*=feedback_] { + background: #EEE; + margin-bottom: 2em; + margin-top: 0; + padding-bottom: 5px; + padding-top: 5px; + border: 1px solid #BBB; + border-top: 0; +} -- cgit v1.2.3