MDL-42711 theme port from LM: survey module styling
authorDavid Mudrák <david@moodle.com>
Wed, 13 Nov 2013 00:26:21 +0000 (01:26 +0100)
committerDavid Mudrák <david@moodle.com>
Wed, 13 Nov 2013 00:26:21 +0000 (01:26 +0100)
Backport some Survey module styling from the standard theme to improve the
usability of the interface. The style is originally defined in
theme/standard/styles/modules.css

theme/bootstrapbase/less/moodle/modules.less

index 8f059c1..e8fa26a 100644 (file)
@@ -167,3 +167,16 @@ div#dock {
 .path-mod-wiki .wiki_contentbox {
     width: 100%;
 }
+
+// Survey module
+
+.path-mod-survey {
+    .surveytable {
+        .r0 {background-color: #eee;}
+        .r1 {background-color: #ddd;}
+        .rblock label {text-align: center;}
+    }
+    .resultgraph, .reportsummary, .studentreport, .reportbuttons, .centerpara {
+        text-align:center;
+    }
+}