Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updates and fix for Moodle 1.9

  • Loading branch information...
commit 3fb558da2f3ecec9f5e2a2a1b79f1c0fcae15819 1 parent 5c32a46
andreabix authored
View
73 theme/formal_white/config.php
@@ -79,6 +79,52 @@
/// different styles.
+$THEME->courseformatsheets = true;
+
+/// When this is enabled, this theme will search for files
+/// named "styles.php" inside all course formats and
+/// include them. This allows course formats to provide
+/// their own default styles.
+
+
+$THEME->metainclude = false;
+
+/// When this is enabled (or not set!) then Moodle will try
+/// to include a file meta.php from this theme into the
+/// <head></head> part of the page.
+
+
+$THEME->standardmetainclude = true;
+
+
+/// When this is enabled (or not set!) then Moodle will try
+/// to include a file meta.php from the standard theme into the
+/// <head></head> part of the page.
+
+
+$THEME->parentmetainclude = false;
+
+/// When this is enabled (or not set!) then Moodle will try
+/// to include a file meta.php from the parent theme into the
+/// <head></head> part of the page.
+
+
+$THEME->navmenuwidth = 50;
+
+/// You can use this to control the cutoff point for strings
+/// in the navmenus (list of activities in popup menu etc)
+/// Default is 50 characters wide.
+
+
+$THEME->makenavmenulist = false;
+
+/// By setting this to true, then you will have access to a
+/// new variable in your header.html and footer.html called
+/// $navmenulist ... this contains a simple XHTML menu of
+/// all activities in the current course, mostly useful for
+/// creating popup navigation menus and so on.
+
+
$THEME->resource_mp3player_colors =
'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'.
'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'.
@@ -106,19 +152,18 @@
////////////////////////////////////////////////////////////////////////////////
-
-// These colours are not used anymore, so I've set them to
-// bright green to help identify where they should be removed
-// These lines will be deleted soon
-
-$THEME->body = "#22FF22"; // Main page color
-$THEME->cellheading = "#22FF22"; // Standard headings of big tables
-$THEME->cellheading2 = "#22FF22"; // Highlight headings of tables
-$THEME->cellcontent = "#22FF22"; // For areas with text
-$THEME->cellcontent2 = "#22FF22"; // Alternate colour
-$THEME->borders = "#22FF22"; // Table borders
-$THEME->highlight = "#22FF22"; // Highlighted text (eg after a search)
-$THEME->hidden = "#22FF22"; // To color things that are hidden
-$THEME->autolink = "#22FF22"; // To color auto-generated links (eg glossary)
+///$THEME->rarrow = '&#x25BA;' //OR '&rarr;';
+///$THEME->larrow = '&#x25C4;' //OR '&larr;';
+///$CFG->block_search_button = link_arrow_right(get_string('search'), $url='', $accesshide=true);
+///
+/// Accessibility: Right and left arrow-like characters are
+/// used in the breadcrumb trail, course navigation menu
+/// (previous/next activity), calendar, and search forum block.
+///
+/// If the theme does not set characters, appropriate defaults
+/// are set by (lib/weblib.php:check_theme_arrows). The suggestions
+/// above are 'silent' in a screen-reader like JAWS. Please DO NOT
+/// use &lt; &gt; &raquo; - these are confusing for blind users.
+////////////////////////////////////////////////////////////////////////////////
?>
View
78 theme/formal_white/fw_color.css
@@ -31,6 +31,12 @@ h2 {
background-color: #E3DFD4;
border-color:#C6BDA8;
}
+
+h2.headingblock.header {
+ background: url(pix/grad/gradient_h.jpg);
+}
+
+
h3 {
border-color:#C6BDA8;
}
@@ -51,8 +57,18 @@ div.header {
}
-#layout-table #left-column {
- /* background-color: yellow; */
+th.header {
+ border-color: #C6BDA8;
+}
+
+#left-column .hidden .header, #right-column .hidden .header {
+ border-color:#C6BDA8;
+}
+
+
+#layout-table #left-column, #layout-table #right-column {
+ background-color: #FEF9F6;
+ border-color:#C6BDA8;
}
.generalbox {
@@ -66,20 +82,27 @@ div.header {
/* background-color:#FFFFFF; */
}
-.generaltable .r0 td.cell.c0 {
+/* .generaltable .r0 td.cell.c0 {
background-color:#C6BDA8;
+} */
+
+.generaltable .r0 {
+ background-color:#FEF9F6;
+}
+
+.generaltable .r1 {
+ background-color:#F1EFEB;
}
.generaltable .r1 td.cell.c0 {
border-color:#C6BDA8;
-background-color:#E3DFD4;
+/* background-color:#E3DFD4; */
}
-
.navbar {
background-color:#C6BDA8;
- border-color:#666666;
- /* height: 20px; */
+/* border-color:#666666;
+ height: 20px; */
background: url(pix/grad/bg_bread.jpg) repeat-x;
}
@@ -136,22 +159,17 @@ h1.headermain {
border-color:#C6BDA8;
}
-
/***
*** Blocks
***/
-
-.sideblock .header {
- border-color: #C6BDA8;
-}
-.sideblock {
- border-color:#C6BDA8;
+.sideblock .content {
+ background-color:#FEF9F6;
}
-.sideblock .content {
- border-color:#C6BDA8;
- background-color:#FEF9F6;
+.sideblock .header, .sideblock .header h2 {
+ background: url(pix/grad/gradient_h.jpg) repeat-x;
+ background-color:#E3DFD4;
}
.sideblock hr {
@@ -257,6 +275,15 @@ table.minicalendar tr td.weekend {
border-color:#C6BDA8;
}
+.coursebox {
+ border-color:#C6BDA8;
+ background: #FEF9F6;
+}
+
+.coursebox .info {
+ background: #EDEAE4;
+}
+
.categoryboxcontent,
.courseboxcontent {
border-color:#C6BDA8;
@@ -379,3 +406,20 @@ table.minicalendar tr td.weekend {
#mod-forum-index .unread {
}
+
+/***
+ *** User
+ ***/
+
+.userinfobox {
+ border-color: #C6BDA8;
+}
+
+.userinfobox .side {
+ background-color: #EDEAE4;
+}
+
+.userinfobox .content {
+ background-color: #FEF9F6;
+}
+
View
7 theme/formal_white/fw_fonts.css
@@ -4,7 +4,7 @@
font-size:1px;
}
-body, td, li {
+body, td, li, input, select {
font-family: Arial, Helvetica, sans-serif;
font-size : 13px;
}
@@ -128,6 +128,11 @@ table.minicalendar tr td {
font-size: 1.2em;
}
+.coursebox .info .name {
+ font-weight: bold;
+ font-size: 1.2em;
+}
+
/*Accessibility: resizable icons. */
img.resize {
width: 1em;
View
37 theme/formal_white/fw_layout.css
@@ -33,11 +33,22 @@ h3 {
}
+#layout-table #left-column, #layout-table #right-column {
+ border: 1px solid;
+ padding: 0px;
+}
+
+#left-column .hidden .header, #right-column .hidden .header {
+border-bottom-style:dashed;
+border-bottom-width:1px;
+}
+
+
#content {
clear:both;
}
-h1, h2, h3 {
+h1, h2, h3, th.header {
border-width: 1px;
border-style: solid;
}
@@ -125,8 +136,8 @@ input, select {
.navbar {
width:100%;
padding:3px 0.5em;
- border-width:1px;
- border-style:solid;
+ border-width:0px;
+/* border-style:solid; */
}
div.navbar {
@@ -208,10 +219,19 @@ TABLE.loginbox {
/***
*** Blocks
***/
-
- .sideblock .header h2 {
+.sideblock, .sideblock .header, .sideblock .content {
border-width: 0px;
}
+
+
+.sideblock .header h2 {
+ border-width: 0px;
+ padding-top: 4px;
+ }
+
+.sideblock .header .hide-show-image {
+ padding-top: 4px;
+}
.sideblock .footer {
border-top-width:1px;
@@ -292,6 +312,13 @@ table.calendarmonth tr td {
border-style: dashed;
}
+#course-view .section td.content ul.section.img-text {
+ line-height: 22px;
+}
+
+.coursebox .info .name {
+ padding-bottom: 5px;
+ }
.tabrow0 {
padding-top: 4px;
View
BIN  theme/formal_white/pix/grad/gradient_h.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Please sign in to comment.
Something went wrong with that request. Please try again.