merged from 1.5

This commit is contained in:
urs_hunkler
2005-07-14 16:36:08 +00:00
parent 80f8d28a83
commit be59cfc13d
40 changed files with 202 additions and 1935 deletions
+66 -8
View File
@@ -6,14 +6,14 @@
////////////////////////////////////////////////////////////////////////////////
$THEME->sheets = array('styles_layout', 'styles_font', 'styles_color');
$THEME->sheets = array('styles_pda');
/// 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 = false;
$THEME->standardsheets = array('styles_layout');
/// This variable can be set to an array containing
/// filenames from the *STANDARD* theme. If the
@@ -24,12 +24,11 @@ $THEME->standardsheets = false;
/// 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', 'styles_moz');
/// eg $THEME->standardsheets = array('styles_layout','styles_fonts','styles_color');
////////////////////////////////////////////////////////////////////////////////
$THEME->parent = '';
$THEME->parent = 'orangewhite';
/// This variable can be set to the name of a parent theme
/// which you want to have included before the current theme.
@@ -40,7 +39,7 @@ $THEME->parent = '';
////////////////////////////////////////////////////////////////////////////////
$THEME->parentsheets = false;
$THEME->parentsheets = array('styles_layout', 'styles_fonts', 'styles_color', 'styles_tabs');
/// This variable can be set to an array containing
/// filenames from a chosen *PARENT* theme. If the
@@ -51,11 +50,70 @@ $THEME->parentsheets = false;
/// 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', 'styles_moz');
/// 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"
-88
View File
@@ -1,88 +0,0 @@
<attach event="ondocumentready" handler="parseStylesheets" />
<script language="JScript">
/**
* PSUEDOS - V1.21.041022 - hover & active
* ---------------------------------------------
* Peterned - http://www.xs4all.nl/~peterned/
* (c) 2004 - Peter Nederlof
*
* Credits - Arnoud Berendsen
* - Martin Reurings
* for inspiring me and finding really sick bugs
*
* howto: body { behavior:url("csshover.htc"); }
* ---------------------------------------------
*/
var currentSheet, doc = window.document;
var activators = {
onhover:{on:'onmouseover', off:'onmouseout'},
onactive:{on:'onmousedown', off:'onmouseup'}
}
function parseStylesheets() {
var sheets = doc.styleSheets, l = sheets.length;
for(var i=0; i<l; i++)
parseStylesheet(sheets[i]);
}
function parseStylesheet(sheet) {
var l, rules, imports;
if(sheet.imports) {
imports = sheet.imports, l = imports.length;
for(var i=0; i<l; i++)
parseStylesheet(sheet.imports[i]);
}
rules = (currentSheet = sheet).rules, l = rules.length;
for(var j=0; j<l; j++) parseCSSRule(rules[j]);
}
function parseCSSRule(rule) {
var select = rule.selectorText, style = rule.style.cssText;
if(!(/(^|\s)(([^a]([^ ]+)?)|(a([^#.][^ ]+)+)):(hover|active)/i).test(select) || !style) return;
var pseudo = select.replace(/[^:]+:([a-z-]+).*/i, 'on$1');
var newSelect = select.replace(/(\.([a-z0-9_-]+):[a-z]+)|(:[a-z]+)/gi, '.$2' + pseudo);
var className = (/\.([a-z0-9_-]*on(hover|active))/i).exec(newSelect)[1];
var affected = select.replace(/:hover.*$/, '');
var elements = getElementsBySelect(affected);
currentSheet.addRule(newSelect, style);
for(var i=0; i<elements.length; i++)
new HoverElement(elements[i], className, activators[pseudo]);
}
function HoverElement(node, className, events) {
if(!node.hovers) node.hovers = {};
if(node.hovers[className]) return;
node.hovers[className] = true;
node.attachEvent(events.on,
function() { node.className += ' ' + className; });
node.attachEvent(events.off,
function() { node.className =
node.className.replace(new RegExp('\\s+'+className, 'g'),''); });
}
function getElementsBySelect(rule) {
var parts, nodes = [doc];
parts = rule.split(' ');
for(var i=0; i<parts.length; i++) {
nodes = getSelectedNodes(parts[i], nodes);
} return nodes;
}
function getSelectedNodes(select, elements) {
var result, node, nodes = [];
var classname = (/\.([a-z0-9_-]+)/i).exec(select);
var identify = (/\#([a-z0-9_-]+)/i).exec(select);
var tagName = (/^[a-z0-9]+/i).exec(select.toUpperCase()) || '*';
for(var i=0; i<elements.length; i++) {
result = elements[i].getElementsByTagName(tagName);
for(var j=0; j<result.length; j++) {
node = result[j];
if((identify && node.id != identify[1]) || (classname && !(new RegExp('\\b' +
classname[1] + '\\b').exec(node.className)))) continue;
nodes[nodes.length] = node;
}
} return nodes;
}
</script>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1005 B

+5 -3
View File
@@ -1,13 +1,15 @@
</div> <!-- end div containerContent -->
<!-- START OF FOOTER -->
<?php global $CFG, $course; ?>
<div id="footer">
<?php echo $loggedinas ?>
<p class="homelink"><?php echo $homelink ?></p>
<?php echo $homelink ?>
<!-- <p><div class="homelink"><a target="<?php echo $CFG->framename ?>" href="<?php $CFG->wwwroot ?>/course/view.php?id=<?php $course->id ?>"> <?php $course->shortname ?> </a></div></p> -->
<p>
<a href="http://validator.w3.org/check?verbose=1&amp;ss=1&amp;uri=<?php echo urlencode(qualified_me()) ?>"><img src="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/xhtml_1_0.gif" alt="XHTML Validator" /></a>
<!-- <<a href="http://validator.w3.org/check?verbose=1&amp;ss=1&amp;uri=<?php echo urlencode(qualified_me()) ?>"><img src="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/xhtml_1_0.gif" alt="XHTML Validator" /></a>
<a href="http://jigsaw.w3.org/css-validator/validator?uri=<?php echo urlencode(qualified_me()) ?>&amp;warning=1&amp;profile=css2&amp;usermedium=all"><img src="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/css.gif" alt="CSS Validator" /></a>
<a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&amp;url1=<?php echo urlencode(qualified_me()) ?>"><img src="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/section_508.gif" alt="Section 508 Validator" /></a>
<a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&amp;url1=<?php echo urlencode(qualified_me()) ?>"><img src="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/section_508.gif" alt="Section 508 Validator" /></a> -->
</p>
</div>
</div>
+5 -7
View File
@@ -23,23 +23,21 @@
<div class="headermain"><?php echo $heading ?></div>
<div class="headermenu"><?php echo $menu ?></div>
</div>
<div class="clearer"></div>
<div id="nav-bar">
<div class="navbar">
</div>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
?>
<div id="header">
<div class="headermain"><?php echo $heading ?></div>
<div class="headermenu"><?php echo $menu ?></div>
<!-- <div class="headermenu"><div id="new-menu"><?php echo $navmenulist ?></div></div> -->
</div>
<?php } ?>
<div class="clearer"></div>
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
<div id="nav-bar">
<div id="breadcrumb"><?php print_navigation("$navigation"); ?></div>
<div id="navbutton"><?php echo $button; ?></div>
<div class="navbar">
<div class="breadcrumb"><?php print_navigation("$navigation"); ?></div>
<div class="navbutton"><?php echo $button; ?></div>
</div>
<?php } ?>
<div class="clearer"></div>
<!-- END OF HEADER -->
<div id="content">
-9
View File
@@ -1,9 +0,0 @@
*, body, p, td,
h1, h2, h3, h4, h5, h6
{
font-style:inherit;
font-family:inherit;
font-size:100%;
background-color:#FFFFFF;
color:#000000;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Before

Width:  |  Height:  |  Size: 750 B

After

Width:  |  Height:  |  Size: 750 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 821 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 B

Before

Width:  |  Height:  |  Size: 731 B

After

Width:  |  Height:  |  Size: 731 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 393 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 400 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 389 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 B

Before

Width:  |  Height:  |  Size: 780 B

After

Width:  |  Height:  |  Size: 780 B

+10 -40
View File
@@ -1,48 +1,18 @@
<?PHP /* $Id$ */
/// This PHP script is used because it provides a place for setting
/// up any necessary variables, and lets us include raw CSS files.
/// Every theme should contain a copy of this script. It lets us
/// set up variables and so on before we include the raw CSS files.
/// The output of this script should be a completely standard CSS file.
/// There should be no need to modify this file!! Use config.php instead.
/// THERE SHOULD BE NO NEED TO MODIFY THIS FILE!! USE CONFIG.PHP INSTEAD.
$nomoodlecookie = true;
require_once("../../config.php");
$lastmodified = 0;
$lifetime = 600;
/// If we are a parent theme, then check for parent definitions
if (isset($parent)) {
if (!isset($THEME->parentsheets) or $THEME->parentsheets === true) { // Use all the sheets we have
$THEME->sheets = array('styles_layout', 'styles_fonts', 'styles_color', 'styles_moz');
} else if (empty($THEME->parentsheets)) { // We can stop right now!
exit;
} else { // Use the provided subset only
$THEME->sheets = $THEME->parentsheets;
}
}
/// Work out the last modified date for this theme
foreach ($THEME->sheets as $sheet) {
if (file_exists($sheet.'.css')) {
$sheetmodified = filemtime($sheet.'.css');
if ($sheetmodified > $lastmodified) {
$lastmodified = $sheetmodified;
}
}
}
/// Print out the entire style sheet
style_sheet_setup($lastmodified, $lifetime);
foreach ($THEME->sheets as $sheet) {
echo "/***** $sheet.css start *****/\n\n";
include_once($sheet.'.css');
echo "\n\n/***** $sheet.css end *****/\n\n";
}
$lifetime = 600; // Seconds to cache this stylesheet
$nomoodlecookie = true; // Cookies prevent caching, so don't use them
require_once("../../config.php"); // Load up the Moodle libraries
$themename = basename(dirname(__FILE__)); // Name of the folder we are in
$forceconfig = optional_param('forceconfig', '', PARAM_FILE); // Get config from this theme
style_sheet_setup(filemtime('styles.php'), $lifetime, $themename, $forceconfig);
?>
-639
View File
@@ -1,639 +0,0 @@
/* $Id$ */
/*************************************************
***
*** color
***
**************************************************/
/*************************************************
***
*** This CSS file contains all color definitions
*** like background-color, font-color,
*** border-color etc.
***
*** Shortindex:
*** basic and general styles
*** header and footer styles
*** content styles (alphabetically)
*** admin, course, activities, calendar, blocks
***
*** Please sort new styles for existing content
*** into the appropriate part of this CSS file.
*** Styles for new Blocks or Activities please
*** place at the end.
*** Wouldn't the alphabetical order be better?
***
**************************************************/
/* basic styles */
font {
background-color:transparent;
}
a:link {
color:#1246A3;
}
a:visited {
color:#AE1107;
}
a:hover {
border-bottom-color:#EC6E0A;
}
a.autolink:link {
background-color:transparent;
color:#000000;
border-bottom-color:#000000;
}
a.autolink:visited {
background-color:transparent;
color:#000000;
border-bottom-color:#000000;
}
a.autolink:hover {
background-color:transparent;
color:#000000;
border-bottom-color:#000000;
}
a.dimmed:link {
color:#AAAAAA;
}
a.dimmed:visited {
color:#AAAAAA;
}
a.dimmed:hover {
color:#990000;
}
/* general styles */
body {
/*margin:0px;
padding:0px;*/
background-color:#FFFFFF;
color:#000000;
}
.highlight {
background-color:#C0CAD4;
}
.highlight2 {
color:#AA0000; /* highlight missing terms in forum search */
}
.dimmed_text {
color:#AAAAAA;
}
/* header styles */
#nav-bar a:link {
color:#1246A3;
}
#nav-bar a:visited {
color:#AE1107;
}
#nav-bar,
#nav-bar td,
#nav-bar input {
color:#000000;
}
#nav-bar hr {
background-color:#0B4161;
color:#0B4161;
}
/* footer styles */
/*****************************
***
*** content styles
***
******************************/
#content {
background-color:#EEF0F2;
border-color:#FFFFFF;
}
#layout-table {
background-color:#FFFFFF;
}
/* many places */
.generalbox {
background-color:#FFFFFF;
border-color:#D1D7DC;
}
.generalboxcontent {
background-color:#FFFFFF;
border-color:#D1D7DC;
}
.noticebox {
border-color:#D1D7DC;
}
/* weblib.php table */
.tabledivider {
border-color:#C0CAD4;
}
/* entry page */
#site-index {
background-color:#FFFFFF;
}
#site-index #left-column {
background-color:#F9FAFA;
}
#site-index #middle-column .headingblock,
#site-index #middle-column .forumpostheadertopic,
#course-view #middle-column .headingblock,
#course-view #middle-column .forumpostheadertopic {
background-color:transparent;
border-color:#FFC86C;
}
/* entry-page index.php */
.sitetopic,
.siteinfo {
border-color:#D1D7DC;
}
.siteinfocontent {
background-color:#EEF0F2;
}
/* summary of a user in a nice little box - weblib.php */
.userinfobox {
border-color:#D1D7DC;
}
/*****************************
***
*** Admin
***
******************************/
/*****************************
***
*** Course
***
******************************/
.course .course-content {
background-color:#FFFFFF;
}
/* course, entry-page, login */
.headingblock {
background-color:#FFFFFF;
}
/* course */
#left-column {
background-color:#F9FAFA;
}
#right-column .sideblockheading {
background-color:#FFDA9D;
}
#left-column .sideblocklist {
background-color:#F9FAFA;
border-color:#FFFFFF;
}
#left-column td.sideblocklist:hover,
#left-column td.sideblocklist:active {
background-color:#FFB63B;
}
.outlineheadingblock {
background-color:#FFFFFF;
}
.topicsoutlinecontent,
.topicsoutlinecontenthighlight {
background-color:#FFFFFF;
border-color:#FFC86C;
}
.course-2 .topicsoutlinecontent,
.course-2 .topicsoutlinecontenthighlight {
background-color:#FFFFFF;
border-color:#F1F3C2;
}
.course-3 .topicsoutlinecontent,
.course-3 .topicsoutlinecontenthighlight {
background-color:#FFFFFF;
border-color:#C2F3C7;
}
.course-4 .topicsoutlinecontent,
.course-4 .topicsoutlinecontenthighlight {
background-color:#FFFFFF;
border-color:#C2D3F3;
}
.course-5 .topicsoutlinecontent,
.course-5 .topicsoutlinecontenthighlight {
background-color:#FFFFFF;
border-color:#F3C6C2;
}
.topicsoutlinecontenthidden {
background-color:#FFFFFF;
border-color:#EEF0F2;
}
.topicsoutlineside,
.topicsoutlinesidehighlight,
.topicsoutlinesidehidden {
background-color:#FFFFFF;
border-color:#FFFFFF;
}
.topicsoutlinecontent span.unread,
.topicsoutlinecontenthighlight span.unread,
.topicsoutlinecontenthidden span.unread {
border-bottom-color:#FFB63B;
}
.weeklyoutlineside {
border-color:#D1D7DC;
}
.weeklyoutlinesidehighlight {
border-color:#D1D7DC;
}
.weeklyoutlinesidehidden {
border-color:#D1D7DC;
}
.weeklyoutlinecontent {
border-color:#D1D7DC;
}
.weeklyoutlinecontenthighlight {
background-color:#FFFFFF;
border-color:#D1D7DC;
}
.weeklyoutlinecontenthidden {
background-color:#F7F6F1;
border-color:#D1D7DC;
}
.categorybox {
border-color:#D1D7DC;
}
.courseboxcontent {
border-color:#D1D7DC;
}
/*****************************
***
*** Activities
***
******************************/
/* assignment, forum, glossary */
.forumpost {
border-color:#D1D7DC;
}
.forumpostpicture {
background-color:#FFFFFF;
}
.forumpostside {
background-color:#EEF0F2;
}
/* forum */
.forum {
background-color:#FFFFFF;
border-color:#D1D7DC;
}
.forumpostheadertopic {
background-color:#FFC86C}
.forumpostheaderpicture {
background-color:#EEF0F2;
}
.forumpostheadername {
background-color:#EEF0F2;
}
.forumpostheaderdate {
background-color:#EEF0F2;
}
.forumheaderlist {
border-color:#D1D7DC;
}
.forumthread .unread {
background: #FFD991;
}
.unread {
border-color:#FFB63B;
color:#555555;
}
/* glossary */
.glossary {
/*background-color:#FFFFFF;*/
background-color:#EEF0F2;
border-color:#D1D7DC;
}
.glossary .forumpost td {
background-color:#FFFFFF;
}
.glossary td,
.glossary-edit td {
background-color:transparent;
}
.glossary center center td table td,
.glossary-edit center center td table td {
background-color:#FFFFFF;
}
.glossary center center td,
.glossary-edit center center td {
background-color:#EEF0F2;
}
.glossary table.generaltabselected td,
.glossary form table.generaltabselected td {
background-color:#FFC86C;
}
.glossary form table.forumpost td {
background-color:#F9FAFA;
}
.glossary .generaltab {
background-color:#D1D7DC !important;
}
.glossary .generaltabselected {
background-color:#FFD991 !important;
}
/* lang, forum */
.teacheronly {
color:#AE1107;
}
/* quiz */
.feedbacktext {
color:#C0CAD4;
}
/* wiki styles */
.mwiki {
border-color:#D1D7DC;
}
.mwiki .edit {
background-color:#FFFFFF;
}
.wiki {
border-color:#A7B1B7;
}
.wiki .title {
background-color:#EEF0F2;
border-color:#C6BDA8;
}
.mwiki .generaltab {
background-color:#D1D7DC !important;
}
.mwiki .generaltabselected {
background-color:#FFD991 !important;
}
/*****************************
***
*** Calendar
***
******************************/
TABLE.calendarmini {
border-color:#C0CAD4;
}
TABLE.calendarmonth {
border-color:#C0CAD4;
}
TABLE.calendarmini TBODY TD {
border-color:#C0CAD4;
}
TABLE.calendarmonth TBODY TD {
background-color:#EEF0F2;
border-color:#C0CAD4;
}
TABLE.calendarmonth THEAD TD {
background-color:#EEF0F2;
border-bottom-color:#666666;
}
.cal_event_global {
background-color:#009999 !important;
border-color:#009999 !important;
}
.cal_event_course {
background-color:#ff3333 !important;
border-color:#ff3333 !important;
}
.cal_event_group {
background-color:#ffcc33 !important;
border-color:#ffcc33 !important;
}
.cal_event_user {
background-color:#99ccff !important;
border-color:#99ccff !important;
}
.cal_duration_global {
border-top-color:#009999 !important;
border-bottom-color:#009999 !important;
}
.cal_duration_course {
border-top-color:#ff3333 !important;
border-bottom-color:#ff3333 !important;
}
.cal_duration_user {
border-top-color:#99ccff !important;
border-bottom-color:#99ccff !important;
}
.cal_duration_group {
border-top-color:#ffcc33 !important;
border-bottom-color:#ffcc33 !important;
}
.cal_weekend {
color:red;
}
.cal_today {
border-color:#666666 !important;
}
.mycalendar {
background-color:#EEF0F2;
}
.mycalendar TABLE.cal_filters {
border-color:#C0CAD4;
}
.mycalendar .cal_filters THEAD TD {
border-bottom-color:#666666;
}
.mycalendar .cal_event_table {
border-color:#C0CAD4;
}
.mycalendar .cal_event_table THEAD {
background-color:#EEF0F2;
}
.mycalendar HR {
border-top-color:#999;
}
.calendarexpired {
color:red;
}
TD.cal_event_description {
border-left-color:#C6BDA8;
}
.cal_popup_fg {
background-color:#EEF0F2;
}
.cal_popup_bg {
background-color:#FFFFFF;
border-top-color:#C6BDA8;
border-left-color:#C6BDA8;
border-right-color:#663300;
border-bottom-color:#663300;
}
.cal_popup_caption {
background-color:#FFFFFF;
}
.eventfull {
border-color:#D1D7DC;
}
/*****************************
***
*** Blocks
***
******************************/
/* sideblock */
.sideblock a:link {
color:#4B809E;
}
.sideblock a:visited {
color:#C16E28;
}
.sideblock,
.sideblockmain,
.sideblocklist {
background-color:#F9FAFA;
}
.sideblockheading {
background-color:#EEF0F2;
}
.sideblock,
.sideblockheading {
border-color:#D1D7DC;
}
.sideblockheading {
color:#666666;
}
.sideblockmain {
color:#666666;
}
.sideblockmain HR {
border-top-color:#999;
}
/* course summary */
#block_course_summary .sideblockmain {
background-color:#F9FAFA;
color:#000000;
}
/* glossary random */
#block_glossary_random .sideblockmain {
/*background-color:#FFDA9D;*/
}
-390
View File
@@ -1,390 +0,0 @@
/* $Id$ */
/*************************************************
***
*** fonts
***
**************************************************/
/*************************************************
***
*** This CSS file contains all font definitions
*** like family, size, weight,
*** text-align, letter-spacing
*** etc.
***
*** Shortindex:
*** basic and general styles
*** header and footer styles
*** content styles (alphabetically)
*** admin, course, activities, calendar, blocks
***
*** Please sort new styles for existing content
*** into the appropriate part of this CSS file.
*** Styles for new Blocks or Activities please
*** place at the end.
*** Wouldn't the alphabetical order be better?
***
**************************************************/
/* basic styles */
font {
font-size:100% !important;
}
.clearer {
font-size:1px;
}
.smallinfo {
font-size:100%;
}
.smallinfohead {
font-size:100%;
}
/* general styles */
body {
font-family:"Lucida Grande", Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif !important;
font-size:1em;
line-height:1.2em;
letter-spacing:0.02em;
}
/*td, th, p, a {
font-family:inherit;
font-family:inherit;
font-size:inherit;
}*/
th {
font-weight:bold;
}
a {
font-family:inherit;
font-size:inherit;
line-height:150%;
text-decoration:none;
}
a:hover {
text-decoration:underline;
}
a.dimmed:link,
a.dimmed:visited,
a.dimmed:hover,
a.autolink:link,
a.autolink:visited,
a.autolink:hover {
text-decoration:none;
}
h2 {
font-size:150%;
font-weight:bold;
}
h3 {
font-size:130%;
font-weight:bold;
}
h4 {
font-size:110%;
font-weight:bold;
}
/* header styles */
#header,
#header-home {
font-size:90%;
}
#nav-bar {
font-size:80%;
}
#header-home .headermain {
font-size:150%;
}
#header .headermain {
font-size:130%;
}
#breadcrumb {
font-size:80%;
}
.headermenu {
font-size:90%;
text-align:right;
}
.headermain,
.headerhomemain {
font-weight:bold;
}
.headerhomemenu,
.headerhomemenu a {
font-size:90%;
}
.logininfo {
font-size:90%;
}
/* footer styles */
#footer {
font-size:90%;
text-align:center;
}
.homelink {
font-size:90%;
}
/*****************************
***
*** content styles
***
******************************/
#content {
font-size:80%;
text-align:left;
}
/* many places */
.noticeboxcontent {
text-align:center;
}
/* entry page */
#site-index #layout-table { }
#site-index #layout-table .sideblock a { }
#site-index #block_course_summary {
line-height:1.5em;
}
/*****************************
***
*** Admin
***
******************************/
#admin-config .generalbox,
#admin-site .generalbox,
#admin-backup .generalbox,
#admin-calendar .generalbox,
#admin-editor .generalbox,
#admin-lang .generalbox {
font-size:90%;
text-align:left;
}
#admin-index .generaltable {
/*font-size:0.9em;*/
text-align:left;
}
#admin-lang FORM {
/*font-size:0.9em;*/
}
#admin-blocks #content p,
#admin-modules #content p {
margin:0;
padding:0;
}
/*****************************
***
*** Course
***
******************************/
.course {
text-align:left;
}
/* course, entry-page, login */
.headingblock {
font-weight:bold;
}
/* course */
#left-column,
#right-column {
text-align:left;
}
#middle-column{
text-align:left;
}
.outlineheadingblock {
font-weight:bold;
}
.weeklydatetext {
font-weight:bold;
}
.courseboxinfo {
font-weight:bold;
}
/*****************************
***
*** Activities
***
******************************/
/* index, admin, course, lang, adodb, quiz */
.categoryname,
.categorynumber {
font-weight:bold;
}
/* forum */
.forum {
text-align:left;
}
.forumpostheadertopic { }
.unread {
font-style:normal;
}
/* glossary */
.glossary .generaltab B,
.glossary .generaltabselected B {
font-weight:normal;
}
.glossary .generaltab,
.glossary .generaltabselected {
font-size:80%;
}
/* wiki */
.mwiki {
text-align:left;
}
.wiki .upload {
font-size:0.9em;
}
.mwiki .generaltab,
.mwiki .generaltabselected { }
#containerPageActions {
text-align:left;
}
/*****************************
***
*** Calendar
***
******************************/
TABLE.calendarmini {
letter-spacing:0.1em;
}
TABLE.calendarmini TBODY TD {
text-align:center;
letter-spacing:0em;
}
TABLE.calendarmonth TBODY TD TABLE {
line-height:1.2em;
}
TABLE.calendarmonth TBODY TD DIV {
line-height:1.2em;
}
TABLE.calendarmini THEAD TD,
TABLE.calendarmonth THEAD TD {
font-weight:bold;
text-align:center;
}
TABLE.cal_controls td {
line-height:1.2em;
}
.mycalendar .cal_event {
font-weight:bold;
}
.mycalendar .cal_event_date { }
.mycalendar .cal_event_table THEAD {
text-align:center;
font-weight:bold;
}
.calendarexpired {
font-weight:bold;
}
.calendarreferer {
font-weight:bold;
}
.cal_popup_caption {
font-weight:bold;
}
.cal_popup_close {
font-weight:bold;
}
.sideblock .cal_controls { }
/*****************************
***
*** Blocks
***
******************************/
/* sideblock */
.sideblock {
font-size:90%;
}
.sideblockheading {
font-weight:bold;
}
.sideblocklist { }
td.sideblockmain center, td.sideblockmain p, td.sideblockmain div {
text-align:left;
}
/* course summary */
#block_course_summary .sideblockmain { }
-751
View File
@@ -1,751 +0,0 @@
/* $Id$ */
/*************************************************
***
*** layout
***
**************************************************/
/*************************************************
***
*** This CSS file contains all layout definitions
*** like positioning, floats,
*** margins, padding,
*** borders etc.
***
*** Shortindex:
*** basic and general styles
*** header and footer styles
*** content styles (alphabetically)
*** admin, course, activities, calendar, blocks
***
*** Please sort new styles for existing content
*** into the appropriate part of this CSS file.
*** Styles for new Blocks or Activities please
*** place at the end.
*** Wouldn't the alphabetical order be better?
***
**************************************************/
/* basic styles */
.clearer {
clear:both;
margin:0px;
padding:0px;
height:1px;
border:none;
background:transparent;
}
a.autolink:link {
border-bottom:dashed 1px;
cursor:help;
}
a.autolink:visited {
border-bottom:dashed 1px;
cursor:help;
}
a.autolink:hover {
border-bottom:solid 1px;
cursor:help;
}
/* general styles */
body {
behavior:url(/htc/csshover.htc);
margin:10px;
}
ul {
margin-bottom:5px;
margin-top:0px;
}
form {
margin-bottom:0px;
}
a img {
border:none;
}
input {
background:transparent;
}
/* header styles */
#header-home {
padding:0.5em 0.5em;
height:2em;
}
#header,
#header-main,
#nav-bar {
margin:0px;
}
#header {
padding:0.1em 0.5em;
height:50px;
}
.headermain {
float:left;
}
#header .headermain {
margin:0.2em 0em;
}
.headermenu {
float:right;
padding:0px;
margin:0px,
}
#nav-bar {
background-image:url(farbstreifen_moodle.gif);
background-position:left;
background-repeat:no-repeat;
margin-bottom:0px;
padding:1px 0.5em;
height:3em;
}
#breadcrumb {
float:left;
padding-top:13px;
margin:0.2em 0em;
}
#navbutton {
float:right;
padding-top:13px;
margin:0.2em 0em;
}
#nav-bar hr {
height:1px;
}
/* footer styles */
#footer br {
display:none;
}
#footer HR {
display:none;
}
/*****************************
***
*** content styles
***
******************************/
#content {
margin-left:auto;
margin-right:auto;
padding:0px;
width:240px:
border:thin solid;
}
/* many places */
.generalbox {
margin-left:auto;
margin-right:auto;
border-width:1px;
border-style:solid;
}
.generalboxcontent {
background-image:none;
}
.noticebox {
border-width:1px;
border-style:solid;
}
/* weblib.php table */
.tabledivider {
border-width:1px;
border-style:solid;
border-left:0px;
border-right:0px;
border-top:0px;
}
/* entry page */
#layout-table {
width:240px;
}
#course-view #left-column,
#course-view #left-column .sideblock
{
width:100%;
}
#course-view #middle-column
{
width:100%;
padding:0em 0em;
}
#course-view #right-column{
width:100%;
}
#site-index #middle-column .forumpost,
#course-view #middle-column .forumpost {
border-width:0px;
border-style:none;
}
#site-index #middle-column .forumpostpicture,
#site-index #middle-column .forumpostside,
#course-view #middle-column .forumpostpicture,
#course-view #middle-column .forumpostside {
display:none;
}
#site-index #middle-column .headingblock,
#site-index #middle-column .forumpostheadertopic,
#course-view #middle-column .headingblock,
#course-view #middle-column .forumpostheadertopic {
padding:0.2em;
border-width:0px 0px 0px 5px;
border-style:solid;
}
/* entry-page index.php */
.sitetopic,
.siteinfo {
border-width:1px;
border-style:solid;
}
/* summary of a user in a nice little box - weblib.php */
.userinfobox {
margin-bottom:5px;
border-width:1px;
border-style:solid;
}
/*****************************
***
*** Admin
***
******************************/
/* admin, calendar */
table.formtable td {
padding:9px;
}
/* admin */
.admin #content,
.admin .generalboxcontent,
.admin .generalbox {
width:auto;
}
/*****************************
***
*** Course
***
******************************/
/* course, entry-page, login */
.headingblock {
background-image:none;
border-style:none;
}
.generaltableheader {
background-image:none;
}
/* course */
#left-column,
#right-column {
margin:0px;
padding:0px;
border:0px;
}
#middle-column {
padding:0px 0px;
}
.outlineheadingblock {
background-image:none;
display:none;
}
.topicsoutlineside,
.topicsoutlinesidehighlight,
.topicsoutlinesidehidden {
border-width:0px;
}
.topicsoutlineside p b,
.topicsoutlinesidehighlight p b,
.topicsoutlinesidehidden p b {
display:none;
}
.topicsoutlinecontent,
.topicsoutlinecontenthighlight,
.topicsoutlinecontenthidden {
margin:0em;
padding:0.5em 0.2em;
border-width:0px 0px 0px 5px;
border-style:solid;
}
.topicsoutlinecontent span.unread,
.topicsoutlinecontenthighlight span.unread,
.topicsoutlinecontenthidden span.unread {
padding:0em;
margin-left:0.8em;
}
.weeklyoutlineside {
border-width:1px;
border-style:solid;
}
.weeklyoutlinesidehighlight {
border-width:1px;
border-style:solid;
}
.weeklyoutlinesidehidden {
border-width:1px;
border-style:dashed;
}
.weeklyoutlinecontent {
border-width:0px;
border-top:1px;
border-bottom:1px;
border-style:solid;
}
.weeklyoutlinecontenthighlight {
border-width:0px;
border-top:1px;
border-bottom:1px;
border-style:solid;
}
.weeklyoutlinecontenthidden {
border-width:0px;
border-top:1px;
border-bottom:1px;
border-style:dashed;
}
.categorybox {
border-width:1px;
border-style:solid;
}
.courseboxcontent {
border-width:1px;
border-style:solid;
}
/*****************************
***
*** Activities
***
******************************/
/* assignment, forum, glossary */
.forumpost,
.forumheaderlist {
border-width:1px;
border-style:solid;
}
/* forum */
.forum {
position:relative;
width:240px;
margin-left:0px;
margin-right:auto;
border:1px solid;
}
#forum-post {
margin:0px;
width:auto;
}
.unread {
border-width:0px 0px 1px 3px;
border-style:solid;
}
/* glossary */
.glossary {
position:relative;
width:240px;
margin-left:0px;
margin-right:auto;
border:1px solid;
}
#glossary-edit {
margin:0px;
width:auto;
}
.glossary .generaltab,
.glossary .generaltabselected {
padding:0px 1px;
}
.glossary table {
width:auto;
margin-left:0px;
}
.glossary center,
.glossary center table,
.glossary center table tr {
width:240px;
}
/* quiz */
.mod-quiz #content {
position:relative;
width:240px;
margin-left:0px;
margin-right:auto;
border:1px solid;
}
.mod-quiz table {
width:auto;
}
table.quiz td {
padding-top:0.1em;
line-height:1.7em;
}
table.quiz input {
height:1.7em;
padding-top:0.1em;
vertical-align:top;
}
/* wiki */
.wiki {
border-width:1px;
border-style:solid;
}
.mwiki .view {
margin-left:auto;
margin-right:auto;
width:35em;
}
.mwiki .edit {
margin-right:auto;
margin-left:auto;
padding:0em;
}
.wiki .title {
padding:3px;
border:1px solid;
}
.wiki .upload {
padding-top:1em;
}
#wikiPageActions {
position:relative;
width:auto !important;
margin:auto;
}
#wikiPageActions td {
text-align:left !important;
}
#wikiPageActions INPUT {
padding:0px;
margin:0px;
}
.mwiki {
position:relative;
width:45em;
margin-left:auto;
margin-right:auto;
border:1px solid;
}
/*****************************
***
*** Calendar
***
******************************/
TABLE.calendarmini {
width:100%;
margin:0px;
padding:0px;
border-width:1px;
border-style:solid;
}
TABLE.calendarmonth {
width:100%;
margin:0px;
padding:0px;
border-width:1px;
border-style:solid;
}
TABLE.calendarmini TBODY TD {
width:14%;
border-width:1px 0px;
border-style:none;
vertical-align:center;
}
TABLE.calendarmonth TBODY TD {
width:14%;
border-width:1px;
border-style:solid;
vertical-align:top;
}
TABLE.calendarmonth TBODY TD TABLE {
margin-top:0px;
margin-left:0px;
}
TABLE.calendarmonth TBODY TD TABLE TD {
background:none;
border:none;
}
TABLE.calendarmonth TBODY TD DIV {
margin-top:0px;
margin-left:0px;
}
TABLE.calendarmini THEAD TD {
vertical-align:center;
}
TABLE.calendarmonth THEAD TD {
padding-bottom:3px;
border-bottom:2px solid;
vertical-align:center;
}
.cal_event_global {
border:2px solid !important;
}
.cal_event_course {
border:2px solid !important;
}
.cal_event_group {
border:2px solid !important;
}
.cal_event_user {
border:2px solid !important;
}
.cal_duration_global {
border-top:2px solid !important;
border-bottom:2px solid !important;
}
.cal_duration_course {
border-top:2px solid !important;
border-bottom:2px solid !important;
}
.cal_duration_user {
border-top:2px solid !important;
border-bottom:2px solid !important;
}
.cal_duration_group {
border-top:2px solid !important;
border-bottom:2px solid !important;
}
.cal_today {
border:2px solid !important;
}
.mycalendar TABLE.cal_filters {
margin:0px;
padding:2px;
width:100%;
border-width:1px;
border-style:solid;
}
.mycalendar .cal_filters THEAD TD {
margin:0px;
padding:2px;
border-bottom:2px solid;
}
.mycalendar .cal_event_table {
margin:0px;
padding:2px;
width:100%;
border-width:1px;
border-style:solid;
}
.mycalendar HR {
height:1px;
border:none;
border-top:1px solid;
margin-top:4px;
margin-bottom:4px;
}
TD.cal_event_description {
width:80%;
border-left:2px solid;
vertical-align:top;
padding:5px;
}
.cal_popup_bg {
padding:0px;
margin:0px;
border-top:2px solid;
border-left:2px solid;
border-right:2px solid;
border-bottom:2px solid;
}
.cal_popup_close {
margin-right:5px;
}
.eventfull {
border-width:1px;
border-style:solid;
}
.eventfullpicture {
padding:8px;
}
/*****************************
***
*** Blocks
***
******************************/
/* sideblock */
.sideblock {
width:100%;
border-width:1px 1px 1px 1px;
border-style:solid;
}
.sideblockheading {
background-image:none;
padding:0px 5px;
border-width:1px 0px 0px 1px;
border-style:solid;
}
.sideblockheading a {
cursor:pointer;
border-bottom:none;
}
.sideblockheading a img {
padding-top:0.5em;
}
.sideblockmain HR {
height:1px;
border:none;
border-top:1px solid;
margin-top:4px;
margin-bottom:4px;
}
#left-column .sideblock {
margin-bottom:0;
}
#left-column .sideblockmain {
padding:1px 0px;
}
#left-column .sideblockheading,
#left-column .sideblock {
border-width:0px 0px 0px 1px;
}
#left-column .sideblocklist {
padding-left:5px;
border-width:0px 0px 1px 0px;
border-style:solid;
}
#right-column .sideblock {
margin:1em 0em 0.5em;
}
/* glossary random */
#block_glossary_random .sideblockheading,
#block_glossary_random .sideblockmain br,
#block_glossary_random .sideblockmain b {
display:none;
}
#block_glossary_random .sideblockmain {
text-align:center;
}
/* course summary */
#block_course_summary .sideblockmain {
padding:10px;
}
+116
View File
@@ -0,0 +1,116 @@
/* $Id$ */
/*************************************************
***
*** pda
***
**************************************************/
/*************************************************
***
*** This CSS file contains all layout definitions
*** like positioning, floats,
*** margins, padding,
*** borders etc.
***
*** Shortindex:
*** basic and general styles
*** header and footer styles
*** content styles (alphabetically)
*** admin, course, activities, calendar, blocks
***
*** Please sort new styles for existing content
*** into the appropriate part of this CSS file.
*** Styles for new Blocks or Activities please
*** place at the end.
*** Wouldn't the alphabetical order be better?
***
**************************************************/
#page,
#content {
margin:0;
padding:0
}
p, a, li, dd, dt, pre, code, input, select {
font-size:1.5em !important
}
.content, .topic {
font-size:1.5em !important
}
#header {
height:auto;
}
.headermenu {
clear:left;
float:none;
text-align:left;
}
#layout-table #left-column,
#layout-table #middle-column,
#layout-table #right-column,
#layout-table #middle-column .topics,
#layout-table #middle-column .sections {
width:auto !important;
margin-left:0 !important;
margin-right:0 !important;
padding-left:0 !important;
padding-right:0 !important;
border:1px solid #AAA !important
}
#course-view .headingblock,
#course-view .topics {
margin-left:0 !important;
margin-right:0 !important;
border:1px solid #AAA !important;
}
#course-view .spacer {
height:1em !important;
}
#course-view .topics .left,
#course-view .topics .right {
width:1.5em;
border:1px solid #AAA !important;
vertical-align:top;
}
#course-view .topics .content {
border:1px solid #AAA !important;
}
.sideblock {
width:100% !important;
text-align:left !important;
font-size:1.3em !important;
line-height:1.3em !important;
}
#left-column .sideblock .header,
#right-column .sideblock .header {
width:100%;
margin:0;
padding:0;
background:#A00 url(pix/gray.gif) repeat !important;
height:1.3em !important;
border:1px solid #AAA !important;
font-weight:bold;
}
/** {
border:1px solid #A00 !important
}*/
.tabs tr,
.tabs td {
background-image:none !important
}
.tabs td {
border:1px solid #AAA !important;
padding:2px;
text-align:center;
}
.glossarydisplay {
width:100%
}
#course-log .r1 td {
border:1px solid #AAA;
text-align:left;
}
.generaltable th,
.generaltable td {
border:1px solid #AAA !important;
}