Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

this is a theme for Moodle for pdas. together with the course format …

…"pda" it can be used for small screens. I started to define width of the blocks and the content to 240px. I tested it on a sony th 55 - it looks quite promissing. It's just a start ...
  • Loading branch information...
commit 8cd1bc780447d48dc508b305aec6d6ef40c09b10 1 parent dcf1097
urs_hunkler authored
View
68 theme/orangewhitepda/config.php
@@ -0,0 +1,68 @@
+<?PHP // $Id$
+
+////////////////////////////////////////////////////////////////////////////////
+/// This file contains a few configuration variables that control
+/// how Moodle uses this theme.
+////////////////////////////////////////////////////////////////////////////////
+
+
+$THEME->sheets = array('styles_layout', 'styles_font', '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 = false;
+
+/// 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', 'styles_moz');
+////////////////////////////////////////////////////////////////////////////////
+
+
+$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->standardsheets = array('styles_layout', 'styles_fonts',
+/// 'styles_color', 'styles_moz');
+////////////////////////////////////////////////////////////////////////////////
+
+
+$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.
+////////////////////////////////////////////////////////////////////////////////
+
+?>
View
BIN  theme/orangewhitepda/css.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
88 theme/orangewhitepda/csshover.htc
@@ -0,0 +1,88 @@
+<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>
View
102 theme/orangewhitepda/docstyles.php
@@ -0,0 +1,102 @@
+<?PHP /* $Id$ */
+
+/// We use PHP so we can do value substitutions into the styles
+
+ if (!isset($themename)) {
+ $themename = NULL;
+ }
+
+ $nomoodlecookie = true;
+ require_once("../../config.php");
+ $themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
+
+///
+/// You can hardcode colours in this file if you
+/// don't care about this.
+
+?>
+body {
+ background-color:#FFFFFF;
+}
+p, a {
+ font-size:90%;
+}
+
+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;
+}
View
BIN  theme/orangewhitepda/farbstreifen_moodle.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  theme/orangewhitepda/favicon.ico
Binary file not shown
View
15 theme/orangewhitepda/footer.html
@@ -0,0 +1,15 @@
+
+</div> <!-- end div containerContent -->
+<!-- START OF FOOTER -->
+<div id="footer">
+<p class="logininfo"><?php echo $loggedinas ?></p>
+<p class="homelink"><?php echo $homelink ?></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://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>
+</p>
+</div>
+</div>
+</body>
+</html>
View
48 theme/orangewhitepda/header.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html<?php echo $direction ?>>
+<head>
+ <?php echo $meta ?>
+ <meta name="keywords" content="moodle, <?php echo $title ?> " />
+ <title><?php echo $title ?></title>
+ <link rel="stylesheet" type="text/css" href="<?php echo $styles ?>" />
+ <link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico" />
+ <?php include("$CFG->javascript"); ?>
+</head>
+
+<body<?php
+ echo " $bodytags";
+ if ($focus) {
+ echo " onload=\"setfocus()\"";
+ };
+ ?>
+
+<div id="page">
+
+<?php if ($home) { // This is what gets printed on the home page only
+?>
+ <div id="header-home">
+ <div class="headermain"><?php echo $heading ?></div>
+ <div class="headermenu"><?php echo $menu ?></div>
+ </div>
+ <div class="clearer"></div>
+ <div id="nav-bar">
+ <div id="breadcrumb">&nbsp;</div>
+ <div id="navbutton">&nbsp;</div>
+ </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>
+<?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>
+<?php } ?>
+ <div class="clearer"></div>
+ <!-- END OF HEADER -->
+<div id="content">
View
9 theme/orangewhitepda/nostyle.css
@@ -0,0 +1,9 @@
+*, body, p, td,
+h1, h2, h3, h4, h5, h6
+{
+ font-style:inherit;
+ font-family:inherit;
+ font-size:100%;
+ background-color:#FFFFFF;
+ color:#000000;
+}
View
BIN  theme/orangewhitepda/section_508.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
46 theme/orangewhitepda/styles.php
@@ -0,0 +1,46 @@
+<?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.
+/// 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.
+
+ $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) {
+ $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";
+ }
+
+?>
View
635 theme/orangewhitepda/styles_color.css
@@ -0,0 +1,635 @@
+/* $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;
+}
+
+.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 .sideblocklinks {
+ background-color:#F9FAFA;
+ border-color:#FFFFFF;
+}
+
+#left-column td.sideblocklinks:hover,
+#left-column td.sideblocklinks: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,
+.sideblocklinks {
+ 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;*/
+}
+
View
390 theme/orangewhitepda/styles_font.css
@@ -0,0 +1,390 @@
+/* $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;
+}
+
+.sideblocklinks { }
+
+td.sideblockmain center, td.sideblockmain p, td.sideblockmain div {
+ text-align:left;
+}
+
+
+/* course summary */
+#block_course_summary .sideblockmain { }
View
751 theme/orangewhitepda/styles_layout.css
@@ -0,0 +1,751 @@
+/* $Id$ */
+
+/*************************************************
+***
+*** layout
+***
+**************************************************/
+
+/*************************************************
+***
+*** This CSS file contains all layout definitions
+*** like positioning, floats,
+*** margins, paddding,
+*** 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 .sideblocklinks {
+ 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;
+}
View
BIN  theme/orangewhitepda/xhtml_1_0.gif
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.