Skip to content

Commit

Permalink
Updates and fix for Moodle 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
andreabix committed Feb 27, 2008
1 parent 5c32a46 commit 3fb558d
Show file tree
Hide file tree
Showing 5 changed files with 158 additions and 37 deletions.
73 changes: 59 additions & 14 deletions theme/formal_white/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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&'.
Expand Down Expand Up @@ -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.
////////////////////////////////////////////////////////////////////////////////

?>
78 changes: 61 additions & 17 deletions theme/formal_white/fw_color.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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 {
Expand All @@ -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;
}

Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}

7 changes: 6 additions & 1 deletion theme/formal_white/fw_fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
font-size:1px;
}

body, td, li {
body, td, li, input, select {
font-family: Arial, Helvetica, sans-serif;
font-size : 13px;
}
Expand Down Expand Up @@ -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;
Expand Down
37 changes: 32 additions & 5 deletions theme/formal_white/fw_layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
Binary file added theme/formal_white/pix/grad/gradient_h.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3fb558d

Please sign in to comment.