Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Styles for Assignment and Lesson Modules in Canvas theme

  • Loading branch information...
commit e1edeb40011b9a682c828979d7c50247df1c07e0 1 parent a82fb0b
Patrick Malley authored
View
16 theme/canvas/config.php
@@ -108,14 +108,24 @@
);
-///////////////////////////////////////////////////////////////
+/////////////////////////////////////////////////////////
// These are all of the possible layouts in Moodle. The
// simplest way to do this is to keep the theme and file
// variables the same for every layout. Including them
// all in this way allows some flexibility down the road
// if you want to add a different layout template to a
// specific page.
-///////////////////////////////////////////////////////////////
+/////////////////////////////////////////////////////////
+
+$THEME->hidefromselector = true;
+
+/////////////////////////////////////////////////////
+// We don't want the base theme to be shown on the
+// theme selection screen, by setting this to true
+// it will only be shown if theme designer mode is
+// switched on.
+/////////////////////////////////////////////////////
+
// $THEME->enable_dock = false;
@@ -125,7 +135,7 @@
////////////////////////////////////////////////////
-// $THEME->editor_sheets;
+// $THEME->editor_sheets
////////////////////////////////////////////////////
// An array of stylesheets to include within the
View
9 theme/canvas/style/core.css
@@ -1,6 +1,8 @@
.sitetopic { border: none; }
.headingblock { border-bottom: 1px solid #ddd;font-size: 1.3em;color: #333; }
+.expired,
+.notopenyet,
.notifysuccess,
.notifyproblem,
.errorbox,
@@ -10,11 +12,15 @@
.singleselect { text-align: center;margin: 1em 0; }
.generalbox { border-color:#ddd; }
+.expired,
+.notopenyet {border: none;color:#f00;}
+
.buttons .singlebutton input { margin:0; }
.initialbar { text-align:center; }
.side-pre-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main { padding-right:0; }
.side-post-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main { padding-left:0; }
+
/* Login
------------------------*/
@@ -32,6 +38,8 @@
.loginbox.twocolumns .loginpanel { border-color: #ddd;padding-right: 0.5%; }
.loginbox.twocolumns .signuppanel { padding-left: 1%;width: 48%; }
+.page-course-loginas #notice { border:none; }
+
#page-login-forgot_password .generalbox { margin:0 auto 1.5em;width:75%;padding:10px; }
#page-login-signup .mform { width:85%;margin:0 auto; }
@@ -133,6 +141,7 @@
/* Forms
-----------------------*/
+.mform .fsubmit { text-align:center;padding:2px; }
.form-label .form-shortname { font-size: 0.9em;color: #777;}
.form-description { font-size: 0.95em; color: #444; }
View
24 theme/canvas/style/mods.css
@@ -96,4 +96,26 @@
.path-mod-choice .header,
.path-mod-choice .data { border-right:1px solid #ddd; }
.path-mod-choice .col1 { border-left:1px solid #ddd; }
-.path-mod-choice .count { border-top:2px solid #ddd; background:#f5f5f5;border-bottom:1px solid #ddd;}
+.path-mod-choice .count { border-top:2px solid #ddd; background:#f5f5f5;border-bottom:1px solid #ddd;}
+
+/* Lesson
+--------------------------*/
+
+.path-mod-lesson .firstpageoptions { padding:10px; }
+.path-mod-lesson .centerpadded { text-align:center;display:block;padding:10px; }
+.path-mod-lesson .edit_pages_box .addlinks { text-align:center; }
+.path-mod-lesson .feedback { text-align:center;font-weight:bold; }
+.path-mod-lesson .password-form .generalbox { padding:10px;width:50%;text-align:center; }
+.path-mod-lesson .center { text-align:center; }
+.path-mod-lesson .ongoing { color:#00f;margin:0 0 1em; }
+.path-mod-lesson .clock .content { font-size:1.2em;padding-left:15px; }
+.path-mod-lesson .leftduring .generalbox { padding:10px;width:50%;margin:0 auto; }
+.path-mod-lesson .correctanswer { margin:1em auto;width:50%;padding:10px; }
+.path-mod-lesson .correctanswer .correct { color:#0fb337; }
+
+#page-mod-lesson-view #pageheader,
+#page-mod-lesson-view #pageheader legend { border:none; }
+#page-mod-lesson-continue .generalbox { padding:10px; }
+
+.branchbuttoncontainer { text-align:center; }
+.branchbuttoncontainer input { margin:10px; }
Please sign in to comment.
Something went wrong with that request. Please try again.