diff --git a/theme/cornflower/README.html b/theme/cornflower/README.html index 6c52e593c02..8f80b20b036 100644 --- a/theme/cornflower/README.html +++ b/theme/cornflower/README.html @@ -1,18 +1,15 @@ -
CR-CornflowerToo is based on the color scheme of the original Cornflower Theme.
- -Created by Jeffery Watkins of ClassroomRevolution.com.
- -Support Moodle and Open Source Software
- -This theme is based on Moodle's Standard Theme. By default, the styles of the Standard theme -are automatically loaded before any other -themes, so that all custom themes need to do is to define their -own styles to augment or overwrite particular standard styles.
- -For CR-CornflowerToo to work properly, the Moodle Standard theme must be present and un altered in the Theme directory.
- -In this way custom themes are not "left behind" by Moodle upgrades.
-+
Created by Jeffery Watkins of ClassroomRevolution.com.
+ +Support Moodle and Open Source Software
+ + +This theme is based on Moodle's Standard Theme. By default, the styles of the Standard theme +are automatically loaded before any other themes, so that all custom themes need to do is to define their +own styles to augment or overwrite particular standard styles.
+ +For Cornflower to work properly, the Moodle Standard theme must be present and un altered in the Theme directory.
+ +In this way custom themes are not "left behind" by Moodle upgrades.
diff --git a/theme/cornflower/config.php b/theme/cornflower/config.php index 871981788de..7bbe53d10d7 100644 --- a/theme/cornflower/config.php +++ b/theme/cornflower/config.php @@ -1,142 +1,127 @@ -sheets = array('styles_layout', 'styles_fonts', 'styles_color'); - -/// This variable is an array containing the names of all the -/// stylesheet files you want included in this theme, and in what order -//////////////////////////////////////////////////////////////////////////////// - - -$THEME->standardsheets = true; - -/// This variable can be set to an array containing -/// filenames from the *STANDARD* theme. If the -/// array exists, it will be used to choose the -/// files to include in the standard style sheet. -/// When false, then no files are used. -/// When true or NON-EXISTENT, then ALL standard files are used. -/// This parameter can be used, for example, to prevent -/// having to override too many classes. -/// Note that the trailing .css should not be included -/// eg $THEME->standardsheets = array('styles_layout','styles_fonts','styles_color'); -//////////////////////////////////////////////////////////////////////////////// - - -$THEME->parent = ''; - -/// This variable can be set to the name of a parent theme -/// which you want to have included before the current theme. -/// This can make it easy to make modifications to another -/// theme without having to actually change the files -/// If this variable is empty or false then a parent theme -/// is not used. -//////////////////////////////////////////////////////////////////////////////// - - -$THEME->parentsheets = false; - -/// This variable can be set to an array containing -/// filenames from a chosen *PARENT* theme. If the -/// array exists, it will be used to choose the -/// files to include in the standard style sheet. -/// When false, then no files are used. -/// When true or NON-EXISTENT, then ALL standard files are used. -/// This parameter can be used, for example, to prevent -/// having to override too many classes. -/// Note that the trailing .css should not be included -/// eg $THEME->parentsheets = array('styles_layout','styles_fonts','styles_color'); -//////////////////////////////////////////////////////////////////////////////// - - -$THEME->modsheets = true; - -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Activity modules and -/// include them. This allows modules to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->blocksheets = true; - -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Block modules and -/// include them. This allows Blocks to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->langsheets = false; - -/// By setting this to true, then this theme will search for -/// a file named "styles.php" inside the current language -/// directory. This allows different languages to provide -/// different styles. - - -$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&'. - 'font=Arial&fontColour=3333FF&buffer=10&waitForPlay=no&autoPlay=yes'; - -/// With this you can control the colours of the "big" MP3 player -/// that is used for MP3 resources. - - -$THEME->filter_mediaplugin_colors = - 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'. - 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'. - 'waitForPlay=yes'; - -/// ...And this controls the small embedded player - - -$THEME->custompix = false; - -/// If true, then this theme must have a "pix" -/// subdirectory that contains copies of all -/// files from the moodle/pix directory, plus a -/// "pix/mod" directory containing all the icons -/// for all the activity modules. -//////////////////////////////////////////////////////////////////////////////// - - - -// 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) - -?> +sheets = array('cornflower'); + +/// This variable is an array containing the names of all the +/// stylesheet files you want included in this theme, and in what order +//////////////////////////////////////////////////////////////////////////////// + + +$THEME->standardsheets = true; + +/// This variable can be set to an array containing +/// filenames from the *STANDARD* theme. If the +/// array exists, it will be used to choose the +/// files to include in the standard style sheet. +/// When false, then no files are used. +/// When true or NON-EXISTENT, then ALL standard files are used. +/// This parameter can be used, for example, to prevent +/// having to override too many classes. +/// Note that the trailing .css should not be included +/// eg $THEME->standardsheets = array('styles_layout','styles_fonts','styles_color'); +//////////////////////////////////////////////////////////////////////////////// + + +$THEME->parent = ''; + +/// This variable can be set to the name of a parent theme +/// which you want to have included before the current theme. +/// This can make it easy to make modifications to another +/// theme without having to actually change the files +/// If this variable is empty or false then a parent theme +/// is not used. +//////////////////////////////////////////////////////////////////////////////// + + +$THEME->parentsheets = false; + +/// This variable can be set to an array containing +/// filenames from a chosen *PARENT* theme. If the +/// array exists, it will be used to choose the +/// files to include in the standard style sheet. +/// When false, then no files are used. +/// When true or NON-EXISTENT, then ALL standard files are used. +/// This parameter can be used, for example, to prevent +/// having to override too many classes. +/// Note that the trailing .css should not be included +/// eg $THEME->parentsheets = array('styles_layout','styles_fonts','styles_color'); +//////////////////////////////////////////////////////////////////////////////// + + +$THEME->modsheets = true; + +/// When this is enabled, then this theme will search for +/// files named "styles.php" inside all Activity modules and +/// include them. This allows modules to provide some basic +/// layouts so they work out of the box. +/// It is HIGHLY recommended to leave this enabled. + + +$THEME->blocksheets = true; + +/// When this is enabled, then this theme will search for +/// files named "styles.php" inside all Block modules and +/// include them. This allows Blocks to provide some basic +/// layouts so they work out of the box. +/// It is HIGHLY recommended to leave this enabled. + + +$THEME->langsheets = false; + +/// By setting this to true, then this theme will search for +/// a file named "styles.php" inside the current language +/// directory. This allows different languages to provide +/// different styles. + + +$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&'. + 'font=Arial&fontColour=3333FF&buffer=10&waitForPlay=no&autoPlay=yes'; + +/// With this you can control the colours of the "big" MP3 player +/// that is used for MP3 resources. + + +$THEME->filter_mediaplugin_colors = + 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'. + 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'. + 'waitForPlay=yes'; + +/// ...And this controls the small embedded player + + +$THEME->custompix = false; + +/// If true, then this theme must have a "pix" +/// subdirectory that contains copies of all +/// files from the moodle/pix directory, plus a +/// "pix/mod" directory containing all the icons +/// for all the activity modules. +//////////////////////////////////////////////////////////////////////////////// + + +?> \ No newline at end of file diff --git a/theme/cornflower/cornflower.css b/theme/cornflower/cornflower.css new file mode 100755 index 00000000000..f55c4ee4b9c --- /dev/null +++ b/theme/cornflower/cornflower.css @@ -0,0 +1,561 @@ +/******************************************************************* + Cornflower CSS + + This CSS file contains all color and layout definitions + for the Cornflower theme. + + This theme requires the Standard theme to be present. + +*******************************************************************/ + +/*** + *** Core + ***/ + +a:link, +a:visited { + color:#054377; +} + +a:hover { + color:#054377; + text-decoration:underline; + + } + +body { + background-color:#739FC4; + border-color:#F7F7F7; +} + +th.header, +td.header, +div.header { + background-color: #739FC4; +} + +.navbar { + background-color:#D0E2EE; + border-color:#D0E2EE; + +} + +.generalbox { + border-color:#739FC4; +} +.informationbox { + border-color:#739FC4; +} +.feedbackbox { + border-color: #739FC4; +} + +.noticebox { + border-color:#739FC4; +} + +.errorbox { + color:#ffffff; + border-color:#739FC4; + background-color:#990000; +} + +.tabledivider { + border-color:#739FC4; +} + +.sitetopic { +} + +.sitetopiccontent { + border-color:#739FC4; + background-color:#FFFFFF; +} + +.unread { + background: #78A2CD; +} + +/*** + *** Header + ***/ + +#header-home, #header { +background: #ececec url(images/hdbg.jpg) 1px 0 repeat-x; +height:112px; + +} + +.headermain { + background: transparent url(images/hdbgend.jpg) 100% 0 no-repeat; + float: none; + +} + + +/*** + *** Admin + ***/ + +.admin .generalboxcontent { + background-color:#EEEEEE; +} + +.admin .generalbox { + border-color:#739FC4; +} + +.admin .informationbox { + border-color:#739FC4; + background-color:#FFFFFF; +} + + +/*** + *** Blocks + ***/ + +.sideblock { + border-top: 1px solid #739FC4; + border-right: 1px solid #4A677F; + border-bottom: 2px groove #4A677F; + border-left: 1px solid #4A677F; +} + + + +.sideblock .header { + text-align: left; + padding:4px; + background-color: #739FC4; + border-bottom: 2px groove #739FC4; +} + +.sideblock .content { + background-color:#FFFFFF; +} + +.sideblock .header .commands { + float: right; + margin-top: 0.3em; +} + +/*** + *** Calendar + ***/ + +#calendar .maincalendar, +#calendar .sidecalendar { + border-color: #739FC4; +} + +#calendar .maincalendar table.calendarmonth th { + border-color: #000000; +} + +table.minicalendar { + border-color:#739FC4; +} + +#calendar .maincalendar .eventlist .event { + border-color:#739FC4; +} + +#calendar .maincalendar .eventlist .event .topic, +#calendar .maincalendar .eventlist .event .picture, +#calendar .maincalendar .eventlist .event .side { + background-color:#FFFFFF; +} + +#calendar .maincalendar table.calendarmonth ul.events-underway { + color:#739FC4; +} + +#calendar .event_global, +.minicalendar .event_global, +.block_calendar_month .event_global { + border-color:#2EBA0E !important; + background-color:#2EBA0E; +} + +#calendar .event_course, +.minicalendar .event_course, +.block_calendar_month .event_course { + border-color:#FF9966 !important; + background-color:#FF9966; +} + +#calendar .event_group, +.minicalendar .event_group, +.block_calendar_month .event_group { + border-color:#FBBB23 !important; + background-color:#FBBB23; +} + +#calendar .event_user, +.minicalendar .event_user, +.block_calendar_month .event_user { + border-color:#A1BECB !important; + background-color:#A1BECB; +} + +#calendar .duration_global, +.minicalendar .duration_global { + border-top-color:#2EBA0E !important; + border-bottom-color:#2EBA0E !important; +} + +#calendar .duration_course, +.minicalendar .duration_course { + border-top-color:#FF9966 !important; + border-bottom-color:#FF9966 !important; +} + +#calendar .duration_group, +.minicalendar .duration_group { + border-top-color:#FBBB23 !important; + border-bottom-color:#FBBB23 !important; +} + +#calendar .duration_user, +.minicalendar .duration_user { + border-top-color:#A1BECB !important; + border-bottom-color:#A1BECB !important; +} + +#calendar .weekend, +.minicalendar .weekend { + color:#FF0000; +} + +#calendar .today, +.minicalendar .today { + border-color:#000000 !important; +} + +.cal_popup_fg { + background-color:#FFFFFF; +} + +.cal_popup_bg { + border-color:#000000; + background-color:#FFFFFF; +} + +#calendar .maincalendar .filters table, +#calendar .sidecalendar .filters table, +.block_calendar_month .filters table { + background-color: #FFFFFF; +} + + + +/*** + *** Course + ***/ + +/* course, entry-page, login */ +.headingblock { + background-color: #739FC4; + border-top: 1px solid #739FC4; + border-right: 1px solid #4A677F; + border-bottom: 2px groove #4A677F; + border-left: 1px solid #4A677F; +} + +/* course */ +.headingblock .outline { + border-color:#739FC4; +} + +#course-view .weekscss .section, +#course-view .section td { + border-color:#DDDDDD; +} + +/* .content should match the body background, sides are white. */ +#course-view .content { + background: #FFFFFF; +} + +#course-view .weekscss .section, +#course-view .section td.side { + background: #739FC4; +} + +#course-view .section .side { +} + +#course-view .section .left { +} + +#course-view .section .right { +} + +#course-view .weekscss .current, +#course-view .current td.side { + background: #3b92dc; +} + +#course-view .weekscss .hidden, +#course-view .hidden td.side { + background: #DDDDDD; +} + +.categoryboxcontent, +.courseboxcontent { + border-top: 1px solid #739FC4; + border-right: 1px solid #4A677F; + border-bottom: 2px groove #4A677F; + border-left: 1px solid #4A677F; + background: #FFFFFF; +} +body#course-user .section { + border-color:#AAAAAA; +} + + + +/*** + *** Login + ***/ + +.loginbox, +.loginbox.twocolumns .loginpanel, +.loginbox .subcontent { + border-color:#739FC4; +} + + +/*** + *** Message + ***/ + +table.message_search_results td { + border-color:#739FC4; +} + +.message .author { + color: #739FC4; +} + +.message .time { + color: #739FC4; +} + +.message .content { +} + + + +/*** + *** User + ***/ + +.userpicture { + background:#EEEEEE; +} + +.userinfobox { + border-color: #739FC4; + background-color: #F7F7F7; +} +.groupinfobox { + border-color: #739FC4; + background-color: #FCFCFC; +} + + +/*** + *** Modules: Forum + ***/ + +.forumheaderlist, +.forumpost { + border-color:#1D5083; +} + +.forumpost .content { + background: #FFFFFF; +} + +.forumpost .left { + background:#739FC4; +} + +.forumpost .topic { + border-bottom-color: #739FC4; + background:#D0E2EE; + +} + +.forumpost .starter { + background:#739FC4; +} + +.forumheaderlist .discussion .starter { + background:#D0E2EE; +} + +.forumheaderlist td { + border-color: #739FC4; +} + +.sideblock .post .head { + color:#555555; +} + +.forumthread .unread { + background: #78A2CD; +} +#mod-forum-discuss .forumpost { + background: none; +} + +#mod-forum-discuss .unread .forumpost .message { + border-color: #78A2CD; +} +#mod-forum-discuss .forumthread .unread { +} + +#mod-forum-index .unread { +} + + +/*** + *** Modules: Glossary + ***/ + +.glossarypost { + border-color: #739FC4; +} + +.glossarypost .entryheader, +.glossarypost .entryapproval, +.glossarypost .picture, +.glossarypost .entryattachment, +.glossarypost .left { + background-color: #739fc4; +} + +.glossarycomment { + border-color: #739FC4; +} + +.glossarycomment .entryheader, +.glossarycomment .picture, +.glossarycomment .left { + background-color: #739fc4; + +} + +#mod-glossary-report .generalbox .teacher { + background: #739fc4; +} + +.categoryheader { + background-color: #efefef; +} + +.glossaryformatheader { + background-color: #739FC4; +} + + +/*** + *** Modules: Journal + ***/ + +#mod-journal-view .feedbackbox .left, +#mod-journal-view .feedbackbox .entryheader { + background-color: #739FC4; +} + +/*** + *** Modules: Quiz + ***/ + +body#mod-quiz-report table#attempts td { + border-color: #739FC4; +} +body#mod-quiz-report table#attempts .r1 { + background-color: #eeeeee; +} + + + +/*** + *** Misc Color + ***/ + +.headermenu a:link { + text-decoration: none; + color: #ffffff; +} +.headermenu a:visited { + text-decoration: none; + color: #ffffff; +} +.headermenu a:hover { + text-decoration: underline; + color: #ffffff; +} + + +.cornflowersurround { + background: #D0E2EE; + border-top: 1px solid #4A677F; + border-right: 1px solid #4A677F; + border-bottom: 2px groove #4A677F; + border-left: 1px solid #4A677F; +} + +.generalboxcontent { + background-color:#FFFFFF; + +} +/*** + *** Layout Core + ***/ + +h1.main, +h2.main, +h3.main, +h4.main, +h5.main, +h6.main { + text-align: center; +} + +#layout-table { + width:100%; + border-collapse:separate; + margin-top: 8px; +} + +#layout-table #left-column, +#layout-table #middle-column, +#layout-table #right-column +{ + vertical-align:top; +} + +#layout-table #middle-column { + padding-left:12px; + padding-right:12px; +} + +#layout-table #left-column { + padding-left:10px; +} + +#layout-table #right-column { + padding-right:10px; +} + +div.headermenu +{ + position: absolute; + top: 15px; + right: 10px; +} \ No newline at end of file diff --git a/theme/cornflower/docstyles.php b/theme/cornflower/docstyles.php index 5a4c4df2e56..95f088d3f13 100644 --- a/theme/cornflower/docstyles.php +++ b/theme/cornflower/docstyles.php @@ -1,100 +1,100 @@ - -body { - background-color:#FFFFFF; -} -p, a { - font-size:small; -} - -h1, h2, h3 { - padding-left:0px; - background-color:transparent; - color:#000000; -} - -h1 { - font-size:1.7em; - margin:0.5em 0 0; -} - -h2 { - font-size:1.4em; - margin:0.5em 0 0; -} - -h3 { - font-size:1.2em; - margin:0.5em 0 0; -} - - -li { - margin-bottom: 10px; -} - -ul { - margin-top: 10px; -} - -.question { - font-size: medium; - font-weight: bold; - border: 1px dotted; - padding: 10px; - background-color: #EEEEEE; -} - -.answer { - font-size: medium; - border: none; - padding-left: 40px; -} - -.normaltext { - font-size: medium; - border: none; - margin-left: 30px; -} - -.answercode { - font-family: "Courier New", Courier, mono; - font-size: small; - border: none; - padding-left: 60px; -} - -.questionlink { - font-size: medium; - border: none; - padding-left: 40px; -} - -.examplecode { - font-family: "Courier New", Courier, mono; - font-size: small; - border: thin dashed #999999; - background-color: #FBFBFB; - margin: auto; - margin-top: 0.5em; - padding: 30px; - height: auto; - width: auto; -} - -.spaced { - margin-bottom: 30px; -} + +body { + background-color:#FFFFFF; +} +p, a { + font-size:small; +} + +h1, h2, h3 { + padding-left:0px; + background-color:transparent; + color:#000000; +} + +h1 { + font-size:1.7em; + margin:0.5em 0 0; +} + +h2 { + font-size:1.4em; + margin:0.5em 0 0; +} + +h3 { + font-size:1.2em; + margin:0.5em 0 0; +} + + +li { + margin-bottom: 10px; +} + +ul { + margin-top: 10px; +} + +.question { + font-size: medium; + font-weight: bold; + border: 1px dotted; + padding: 10px; + background-color: #EEEEEE; +} + +.answer { + font-size: medium; + border: none; + padding-left: 40px; +} + +.normaltext { + font-size: medium; + border: none; + margin-left: 30px; +} + +.answercode { + font-family: "Courier New", Courier, mono; + font-size: small; + border: none; + padding-left: 60px; +} + +.questionlink { + font-size: medium; + border: none; + padding-left: 40px; +} + +.examplecode { + font-family: "Courier New", Courier, mono; + font-size: small; + border: thin dashed #999999; + background-color: #FBFBFB; + margin: auto; + margin-top: 0.5em; + padding: 30px; + height: auto; + width: auto; +} + +.spaced { + margin-bottom: 30px; +} diff --git a/theme/cornflower/footer.html b/theme/cornflower/footer.html index 0262c7fdbd4..eda03c1c02a 100644 --- a/theme/cornflower/footer.html +++ b/theme/cornflower/footer.html @@ -1,41 +1,41 @@ - - - - - -