aboutsummaryrefslogtreecommitdiff
path: root/styles.css
diff options
context:
space:
mode:
authorJean-Michel Vedrine <vedrine@vedrine.org>2013-06-26 11:36:03 +0200
committerJean-Michel Vedrine <vedrine@vedrine.org>2013-06-26 11:36:03 +0200
commit76b2d58820fe59057049ce837272df1b93914897 (patch)
tree15175c91cac86b2f2394afe85e9682247571f544 /styles.css
parent7d8812ac27cace039096c49eb253933f44c10a23 (diff)
Upgrade algebra qtype for Moodle 2.5 short forms
Diffstat (limited to 'styles.css')
-rw-r--r--styles.css51
1 files changed, 51 insertions, 0 deletions
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;
+}