]> git.mjollnir.org Git - moodle.git/commitdiff
Fixes for Theme preview
authormoodler <moodler>
Mon, 31 Jan 2005 05:58:03 +0000 (05:58 +0000)
committermoodler <moodler>
Mon, 31 Jan 2005 05:58:03 +0000 (05:58 +0000)
28 files changed:
theme/brightretro/styles.php
theme/cordoroyblue/styles.php
theme/cornflower/styles.php
theme/formal_white/styles.php
theme/garden/styles.php
theme/index.php
theme/metal/styles.php
theme/oceanblue/styles.php
theme/orangewhite/styles.php
theme/preview.php
theme/standard/styles.php
theme/standardblue/styles.php
theme/standardgreen/styles.php
theme/standardlogo/styles.php
theme/standardred/styles.php
theme/standardwhite/styles.php
theme/standardxhtml/config.php [deleted file]
theme/standardxhtml/docstyles.php [deleted file]
theme/standardxhtml/favicon.ico [deleted file]
theme/standardxhtml/footer.html [deleted file]
theme/standardxhtml/gradient.jpg [deleted file]
theme/standardxhtml/header.html [deleted file]
theme/standardxhtml/styles.css [deleted file]
theme/standardxhtml/styles.php [deleted file]
theme/standardxhtml/styles_color.css [deleted file]
theme/standardxhtml/styles_fonts.css [deleted file]
theme/standardxhtml/styles_layout.css [deleted file]
theme/standardxhtml/styles_moz.css [deleted file]

index ab56b328f4f2e24d9e0c362126498e3db10bead0..c75f327769bd50fe376aab7af587a99a6ff327bb 100644 (file)
@@ -2,12 +2,18 @@
 
 /// We use PHP so we can do value substitutions into the styles
 
+    $nomoodlecookie = true;
+    require_once("../../config.php");
+
     if (!isset($themename)) {
         $themename = NULL;
     }
 
-    $nomoodlecookie = true;
-    require_once("../../config.php");
+    if (isset($localconfig)) {
+        unset($THEME);
+        include('config.php');
+    }
+
     $themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
 
 /// From here on it's nearly a normal stylesheet.
index 7e7d57481f3261c811b0968f98a50ce5c39bda7f..37abc5688c1144fb4818345860477560f6de91b1 100644 (file)
@@ -4,6 +4,16 @@
 
     $nomoodlecookie = true;
     require_once("../../config.php");
+
+    if (!isset($themename)) {
+        $themename = NULL;
+    }
+
+    if (isset($localconfig)) {
+        unset($THEME);
+        include('config.php');
+    }
+
     $themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
 
 
index ef6e77c5568383fcd3254e518b450bd1b80ced5d..e9b84d1844333f5a25188d8ae2196583d1f76db0 100644 (file)
@@ -4,6 +4,14 @@
 
     $nomoodlecookie = true;
     require_once("../../config.php");
+    if (!isset($themename)) {
+        $themename = NULL;
+    }
+
+    if (isset($localconfig)) {
+        unset($THEME);
+        include('config.php');
+    }
     $themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
 
 /// From here on it's nearly a normal stylesheet.
index 5a9e3845d7509f6e4f8d6d6cbce8690b4e59155a..651b22f91d0229e64bcd83a1f342aa2949e98234 100644 (file)
@@ -2,12 +2,16 @@
 
 /// We use PHP so we can do value substitutions into the styles
 
+    $nomoodlecookie = true;
+    require_once("../../config.php");
     if (!isset($themename)) {
         $themename = NULL;
     }
 
-    $nomoodlecookie = true;
-    require_once("../../config.php");
+    if (isset($localconfig)) {
+        unset($THEME);
+        include('config.php');
+    }
     $themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
 
 /// From here on it's nearly a normal stylesheet.
index c167b8c747b531d6e62efad978b49acbaee26169..f8de1c0f2461428a2c85d00c05c8531281c901ca 100755 (executable)
@@ -4,6 +4,14 @@
 
     $nomoodlecookie = true;
     require_once("../../config.php");
+    if (!isset($themename)) {
+        $themename = NULL;
+    }
+
+    if (isset($localconfig)) {
+        unset($THEME);
+        include('config.php');
+    }
     $themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
 
 /// From here on it's nearly a normal stylesheet.
index c1b3102ff62b6dc02363f9df23163667969fc254..feb1571722b57250ae5748045302e1dbf67578e4 100644 (file)
@@ -31,6 +31,8 @@
             error("This theme is not installed!");
         }
         if (set_config("theme", $choose)) {
+            theme_setup($choose);
+
             print_header("$site->shortname: $strthemes", $site->fullname, 
                  "<a href=\"$CFG->wwwroot/$CFG->admin/index.php\">$stradministration</a> -> ".
                  "<a href=\"$CFG->wwwroot/$CFG->admin/configure.php\">$strconfiguration</a> -> $strthemes");
index f5843c0c6f242fb61538084724649ffc48f06ab2..aa903b6e0f70984cdf41e5e032464cd3a22bf553 100644 (file)
@@ -2,12 +2,16 @@
 
 /// We use PHP so we can do value substitutions into the styles
 
+    $nomoodlecookie = true;
+    require_once("../../config.php");
     if (!isset($themename)) {
         $themename = NULL;
     }
 
-    $nomoodlecookie = true;
-    require_once("../../config.php");
+    if (isset($localconfig)) {
+        unset($THEME);
+        include('config.php');
+    }
     $themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
 
 /// From here on it's nearly a normal stylesheet.
index bb72ee5d9ef45c663d97183cf6309bc72808ce01..42accbf5407904cd73ec8ebc08f02a0f05eb1f81 100644 (file)
@@ -4,6 +4,14 @@
 
     $nomoodlecookie = true;
     require_once("../../config.php");
+    if (!isset($themename)) {
+        $themename = NULL;
+    }
+
+    if (isset($localconfig)) {
+        unset($THEME);
+        include('config.php');
+    }
     $themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
 
 /// From here on it's nearly a normal stylesheet.
index fc007906b1eb4569ef935d1724db6349ddb27d4f..edc045f605455cf7dab1fc3ebc23780943a26e4b 100644 (file)
@@ -9,6 +9,11 @@
     $nomoodlecookie = true;
     require_once("../../config.php");
 
+    if (isset($localconfig)) {
+        unset($THEME);
+        include('config.php');
+    }
+
     $lastmodified = 0;
     $lifetime = 600;
 
index 08b7bd1a62a609944d65cfba48eb985f45610102..41e230da47bc54b61c7bf06d63fabf3c1a8003e0 100644 (file)
         error("You must be an administrator to change themes.");
     }
 
-    $CFG->theme       = $preview;
-    $CFG->header      = "$CFG->dirroot/theme/$CFG->theme/header.html";
-    $CFG->footer      = "$CFG->dirroot/theme/$CFG->theme/footer.html";
+    $CFG->theme = $preview;
+
+    theme_setup($CFG->theme, 'localconfig=true&amp;themename='.$CFG->theme);
 
-    print_header();
     $stradministration = get_string("administration");
     $strconfiguration = get_string("configuration");
     $strthemes = get_string("themes");
index a7295c8dc627f218f379e3ea680a7766fa773f9d..ab7d9da25927cc67168cca93e53dff89d07c23db 100644 (file)
@@ -9,6 +9,11 @@
     $nomoodlecookie = true;
     require_once("../../config.php");
 
+    if (isset($localconfig)) {
+        unset($THEME);
+        include('config.php');
+    }
+
     $lastmodified = 0;
     $lifetime = 600;
 
index ab56b328f4f2e24d9e0c362126498e3db10bead0..c75f327769bd50fe376aab7af587a99a6ff327bb 100644 (file)
@@ -2,12 +2,18 @@
 
 /// We use PHP so we can do value substitutions into the styles
 
+    $nomoodlecookie = true;
+    require_once("../../config.php");
+
     if (!isset($themename)) {
         $themename = NULL;
     }
 
-    $nomoodlecookie = true;
-    require_once("../../config.php");
+    if (isset($localconfig)) {
+        unset($THEME);
+        include('config.php');
+    }
+
     $themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
 
 /// From here on it's nearly a normal stylesheet.
index ab56b328f4f2e24d9e0c362126498e3db10bead0..c75f327769bd50fe376aab7af587a99a6ff327bb 100644 (file)
@@ -2,12 +2,18 @@
 
 /// We use PHP so we can do value substitutions into the styles
 
+    $nomoodlecookie = true;
+    require_once("../../config.php");
+
     if (!isset($themename)) {
         $themename = NULL;
     }
 
-    $nomoodlecookie = true;
-    require_once("../../config.php");
+    if (isset($localconfig)) {
+        unset($THEME);
+        include('config.php');
+    }
+
     $themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
 
 /// From here on it's nearly a normal stylesheet.
index f87db18970543085f36e4398c4a325cd75434ee0..c75f327769bd50fe376aab7af587a99a6ff327bb 100644 (file)
@@ -2,12 +2,18 @@
 
 /// We use PHP so we can do value substitutions into the styles
 
+    $nomoodlecookie = true;
+    require_once("../../config.php");
+
     if (!isset($themename)) {
         $themename = NULL;
     }
 
-    $nomoodlecookie = true;
-    require_once("../../config.php");
+    if (isset($localconfig)) {
+        unset($THEME);
+        include('config.php');
+    }
+
     $themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
 
 /// From here on it's nearly a normal stylesheet.
@@ -681,7 +687,7 @@ TD.cal_event_description {
 .cal_popup_close {
        font-size: 75%;
        font-weight: bold;
-    font-family: sans-serif;
+       font-family: Tahoma, Helvetica, sans-serif;
        margin-right: 5px;
 }
 
index ab56b328f4f2e24d9e0c362126498e3db10bead0..c75f327769bd50fe376aab7af587a99a6ff327bb 100644 (file)
@@ -2,12 +2,18 @@
 
 /// We use PHP so we can do value substitutions into the styles
 
+    $nomoodlecookie = true;
+    require_once("../../config.php");
+
     if (!isset($themename)) {
         $themename = NULL;
     }
 
-    $nomoodlecookie = true;
-    require_once("../../config.php");
+    if (isset($localconfig)) {
+        unset($THEME);
+        include('config.php');
+    }
+
     $themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
 
 /// From here on it's nearly a normal stylesheet.
index ab56b328f4f2e24d9e0c362126498e3db10bead0..c75f327769bd50fe376aab7af587a99a6ff327bb 100644 (file)
@@ -2,12 +2,18 @@
 
 /// We use PHP so we can do value substitutions into the styles
 
+    $nomoodlecookie = true;
+    require_once("../../config.php");
+
     if (!isset($themename)) {
         $themename = NULL;
     }
 
-    $nomoodlecookie = true;
-    require_once("../../config.php");
+    if (isset($localconfig)) {
+        unset($THEME);
+        include('config.php');
+    }
+
     $themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
 
 /// From here on it's nearly a normal stylesheet.
diff --git a/theme/standardxhtml/config.php b/theme/standardxhtml/config.php
deleted file mode 100644 (file)
index 33fd176..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<?PHP // $Id$
-
-$THEME->body         = "#FFEECE";  // Main page color
-$THEME->cellheading  = "#FFD991";  // Standard headings of big tables
-$THEME->cellheading2 = "#FFC85F";  // Highlight headings of tables
-$THEME->cellcontent  = "#FFFFFF";  // For areas with text
-$THEME->cellcontent2 = "#FEE6B9";  // Alternate colour
-$THEME->borders      = "#FFC85F";  // Table borders
-$THEME->highlight    = "#AAFFAA";  // Highlighted text (eg after a search)
-$THEME->hidden       = "#AAAAAA";  // To color things that are hidden
-$THEME->autolink     = "#DDDDDD";  // To color auto-generated links (eg glossary)
-
-$THEME->custompix    = false;      // If true, then this theme must have a "pix" 
-                                   // subdirectory that contains copies of all 
-                                   // files from the moodle/pix directory
-                                   // See "cordoroyblue" for an up-to-date example.
-?>
diff --git a/theme/standardxhtml/docstyles.php b/theme/standardxhtml/docstyles.php
deleted file mode 100644 (file)
index ff753db..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-<?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: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/standardxhtml/favicon.ico b/theme/standardxhtml/favicon.ico
deleted file mode 100644 (file)
index 5a7a36a..0000000
Binary files a/theme/standardxhtml/favicon.ico and /dev/null differ
diff --git a/theme/standardxhtml/footer.html b/theme/standardxhtml/footer.html
deleted file mode 100644 (file)
index 1dee2be..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-
-</div> <!-- end div containerContent -->
-<!-- START OF FOOTER -->
-<div id="footer">
-<center>
-<hr size="1" noshade="noshade" />
-<p class="logininfo"><?php echo $loggedinas ?></p>
-<p class="homelink"><?php echo $homelink ?></p>
-<hr size="1" noshade="noshade" />
-<p>
-<a href="http://validator.w3.org/check?verbose=1&amp;ss=1&amp;uri=<?php echo urlencode(qualified_me()) ?>">Validate HTML</a> |
-<a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&amp;url1=<?php echo urlencode(qualified_me()) ?>">Section 508 Check</a>
-</p>
-</center>
-</div>
-</div>
-</body>
-</html>
diff --git a/theme/standardxhtml/gradient.jpg b/theme/standardxhtml/gradient.jpg
deleted file mode 100755 (executable)
index a122ff2..0000000
Binary files a/theme/standardxhtml/gradient.jpg and /dev/null differ
diff --git a/theme/standardxhtml/header.html b/theme/standardxhtml/header.html
deleted file mode 100644 (file)
index ff68915..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-<!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()\"";
-    }
-    echo " bgcolor=\"$THEME->body\">";
-    ?>
-
-    <center><h1>Switch to <a href="<?php echo "$CFG->wwwroot/theme/" ?>">standard theme</a>!  This one is going away.</H1></center>
-    
-<div id="wrapper">
-
-<?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>
-<?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">&nbsp;</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 } else if ($heading) { // If no navigation, but a heading, then print a line  
-?>
-        <hr size="1" noshade="noshade" />
-<?php } ?>
-    <div class="clearer">&nbsp;</div>
-    <!-- END OF HEADER -->
-    <div id="containerContent">
diff --git a/theme/standardxhtml/styles.css b/theme/standardxhtml/styles.css
deleted file mode 100644 (file)
index 81d3e4c..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/*  $Id$ */
-
-.siteinfocontent { }
-
-.generaltable { }
-
-.generaltablecell { }
-
-.sideblocklinks { }
-
-.forumpostpicture { }
-
-.weeklyoutline { }
-
-.weeklyoutlineside { }
-
-.weeklyoutlinesidehighlight { }
-
-.topicsoutline { }
-
-.topicsoutlineside { }
-
-.topicsoutlinesidehighlight { }
-
-.siteinfo { }
-
-.forumpostheader { }
-
-.forumpostheadertopic { }
-
-.forumpostheaderpicture { }
-
-.header { }
-
-.headerhome { }
-
-.headerhomemenu { }
-
-.categorybox { }
-
-.coursename { }
-
-.coursebox { }
-
-.userinfoboxsummary { }
-
-.smallinfo { }
-
-.headingblockcontent { }
-
-.eventfullheader { }
-
-.rssclientitem { }
diff --git a/theme/standardxhtml/styles.php b/theme/standardxhtml/styles.php
deleted file mode 100644 (file)
index 09c6b8b..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<?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.
-
-    if (!isset($themename)) {
-        $themename = NULL;
-    }
-
-    $nomoodlecookie = true;
-    require_once("../../config.php");
-
-    $themeurl = style_sheet_setup(filemtime("styles.php"), 600, $themename);
-
-    include('styles_layout.css');
-    include('styles_fonts.css');
-    include('styles_color.css');
-    include('styles_moz.css');
-
-?>
diff --git a/theme/standardxhtml/styles_color.css b/theme/standardxhtml/styles_color.css
deleted file mode 100644 (file)
index 52e4139..0000000
+++ /dev/null
@@ -1,265 +0,0 @@
-/*  $Id$ */
-
-/*
-** color
-*/
-
-
-/* basic styles */
-a:link,
-a:visited {
-    color:#0000FF;
-}
-
-a.dimmed:link,
-a.dimmed:visited {
-    color:#AAAAAA; /* hidden */
-}
-
-a.autolink:link,
-a.autolink:visited {
-    color:#000000;
-    background-color:#DDDDDD; /* autolink */
-}
-
-a.autolink:hover,
-a:hover,
-a.dimmed:hover {
-    color:#FF0000;
-}
-
-/* general styles */
-th {
-    background-color:#FFD991;
-}
-
-
-/* header styles */
-
-
-/* footer styles */
-
-
-/* content styles */
-.generalbox {
-    border-color:#FFC85F; /* borders */
-}
-
-/* many */
-.noticebox {
-    border-color:#FFC85F; /* borders */
-}
-
-.highlight {
-    background-color:#AAFFAA; /* highlight */
-}
-
-/* entry-page index.php */ 
-.sitetopic {
-    border-color:#FFC85F; /* borders */
-}
-
-/* summary of a user in a nice little box - weblib.php */
-.userinfobox {
-    border-color:#FFC85F; /* borders */
-}
-
-/* glossary, wiki */
-.generaltab {
-    background-color:#FFD991; /* cellheading */
-}
-
-.generaltabselected {
-    background-color:#FFC85F; /* cellheading2 */
-}
-
-/* assignment, forum, glossary */
-.forumheaderlist,
-.forumpost {
-    border-color:#FFC85F; /* borders */
-}
-
-/* weblib.php table */
-.tabledivider {
-    border-color:#FFC85F; /* borders */
-}
-
-/* calendar */
-table.calendarmini {
-    border-color:#FFC85F; /* borders */
-}
-
-table.calendarmini tbody td {
-    border-color:#FEE6B9; /* cellcontent2 */
-}
-
-table.calendarmonth tbody td {
-    border-color:#FEE6B9; /* cellcontent2 */
-}
-
-.cal_event_global {
-    border-color:#2EBA0E !important;
-    background-color:#2EBA0E;
-}
-
-.cal_event_course {
-    border-color:#FF9966 !important;
-    background-color:#FF9966;
-}
-
-.cal_event_group {
-    border-color:#FBBB23 !important;
-    background-color:#FBBB23;
-}
-
-.cal_event_user {
-    border-color:#A1BECB !important;
-    background-color:#A1BECB;
-}
-
-.cal_duration_global {
-    border-top-color:#2EBA0E !important;
-    border-bottom-color:#2EBA0E !important;
-}
-
-.cal_duration_course {
-    border-top-color:#FF9966 !important;
-    border-bottom-color:#FF9966 !important;
-}
-
-.cal_duration_user {
-    border-top-color:#A1BECB !important;
-    border-bottom-color:#A1BECB !important;
-}
-
-.cal_duration_group {
-    border-top-color:#FBBB23 !important;
-    border-bottom-color:#FBBB23 !important;
-}
-
-.cal_weekend {
-    color:#FF0000;
-}
-
-.cal_today {
-    border-color:#000000 !important;
-}
-
-table.calendarmonth thead td {
-    border-bottom-color:#FFC85F;
-}
-
-.mycalendar .cal_filters thead td {
-    border-bottom-color:#FFC85F;
-}
-
-.mycalendar .cal_event_table thead {
-    background-color:#FFFFFF; /* cellcontent */
-}
-
-td.cal_event_description {
-    border-left-color:#FFC85F;
-}
-
-.cal_popup_fg {
-    background-color:#FFFFFF; /* cellcontent */
-}
-
-.cal_popup_bg {
-    border-color:#FEE6B9;
-}
-
-.mycalendar .cal_event_table, 
-table.calendarmonth, 
-.mycalendar table.cal_filters {
-    border-color:#FFC85F; /* borders */
-}
-
-.sideblockmain hr,
-.mycalendar hr {
-    border-top-color:#999999;
-}
-
-.eventfull {
-    border-color:#FFC85F; /* borders */
-}
-
-/* block_rss_client.php */
-.rssclientlink {
-    border-top-color:#FFC85F;
-}
-
-.rssclientdescription {
-    color:#555555;
-}
-
-/* message */
-table.message_search_results td {
-    border-color:#FFC85F; /* borders */
-}
-
-/* course, entry-page, login */
-.headingblock {
-    border-color:#FFC85F; /* borders */
-}
-
-/* course */
-.outlineheadingblock {
-    border-color:#FFC85F; /* borders */
-}
-
-
-/* sideblock */
-/* calendar, weblib.php, wiki */
-.sideblock {
-    border-color:#FFC85F; /* borders */
-}
-
-/* weblib.php, wiki */
-.sideblockmain hr {
-    border-top-color:#999999;
-}
-
-
-/* course */
-.weeklyoutlinesidehidden,
-.topicsoutlinesidehidden {
-    background-color:#AAAAAA; /* hidden */
-}
-
-.weeklyoutlinecontent,
-.topicsoutlinecontent {
-    border-color:#FFD991; /* cellheading */
-}
-
-.weeklyoutlinecontenthighlight, .topicsoutlinecontenthighlight {
-    border-color:#FFC85F; /* cellheading2 */
-}
-
-.weeklyoutlinecontenthidden,
-.topicsoutlinecontenthidden {
-    border-color:#AAAAAA; /* hidden */
-}
-
-.categoryboxcontent,
-.courseboxcontent {
-    border-color:#FFC85F; /* borders */
-}
-.weeklydatetext {
-    color:#FFC85F; /* cellheading2 */
-}
-
-
-/* admin, calednder, course */
-.dimmed_text {
-    color:#AAAAAA;
-}
-
-/* lang, forum */
-.teacheronly {
-    color:#990000;
-}
-
-.forumheadminimal {
-    color:#555555;
-}
\ No newline at end of file
diff --git a/theme/standardxhtml/styles_fonts.css b/theme/standardxhtml/styles_fonts.css
deleted file mode 100644 (file)
index 65bdd32..0000000
+++ /dev/null
@@ -1,234 +0,0 @@
-/*  $Id$ */
-
-/*
-** typography
-*/
-
-
-/* basic styles */
-font {
-    font-size:100%;
-}
-
-.clearer {
-    font-size:1px;
-}
-
-
-/* general styles */
-body, td, th, li {
-    font-family:"Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
-    font-size:0.95em;
-}
-
-th {
-    font-weight:bold;
-}
-
-
-/* header styles */
-.headermain {
-    font-weight:bold;
-}
-
-#header-home .headermain {
-    font-size:1.5em;
-}
-
-#header .headermain {
-    font-size:1.3em;
-}
-
-#breadcrumb {
-    font-size:0.9em;
-    font-weight:bold;
-}
-
-
-/* footer styles */
-
-
-/* content styles */
-.activitydate, .activityhead {
-    font-size:x-small;
-    text-align:center;
-}
-
-.forumolddiscuss {
-    text-align:right;
-}
-
-.weeklydatetext {
-    font-size:medium;
-    font-weight:bold;
-}
-
-.feedbacktext {
-    text-align:right;
-}
-
-.headerhomemain {
-    font-size:x-large;
-    font-weight:bold;
-}
-
-.courseboxinfo {
-    font-size:normal;
-}
-
-table.calendarmini {
-    font-size:85%;
-}
-
-table.calendarmini tbody td {
-    text-align:center;
-}
-
-table.calendarmini thead td {
-    font-size:.95em;
-    text-align:center;
-}
-
-table.calendarmonth thead td {
-    text-align:center;
-}
-
-.sideblockmain .cal_event {
-    font-size:0.8em;
-    font-weight:bold;
-}
-
-.sideblockmain .cal_event_date {
-    font-size:0.6em;
-}
-
-.mycalendar .cal_event_date {
-    font-size:0.8em;
-}
-
-.mycalendar .cal_event_table thead {
-    font-weight:bold;
-    text-align:center;
-}
-
-.cal_popup_caption {
-    font-family:sans-serif;
-    font-size:75%;
-    font-weight:bold;
-}
-
-.cal_popup_close {
-    font-family:sans-serif;
-    font-size:75%;
-    font-weight:bold;
-}
-
-.sideblock .cal_controls {
-    font-size:9px;
-    text-align:center;
-}
-
-.rssclientlink {
-    font-size:x-small;
-}
-
-.rssclientdescription {
-    font-size:x-small;
-}
-
-.message_summary_link {
-    font-size:small;
-    text-align:right;
-}
-
-.message_link {
-    font-size:x-small;
-}
-
-.message_form {
-    font-size:0.78em;
-}
-
-.message_heading {
-    font-size:medium;
-    font-weight:bold;
-    text-align:center;
-}
-
-a:link,
-a:visited {
-    text-decoration:none;
-}
-
-.forumaddnew,
-.forumaddnewminimal,
-.forumnodiscuss,
-.forumnodiscussminimal,
-.forumolddiscussminimal,
-.noticeboxcontent {
-    text-align:center;
-}
-
-a.dimmed:link,
-a.dimmed:visited {
-    text-decoration:none;
-}
-
-.categoryname,
-.categorynumber {
-    font-size:larger;
-    font-weight:bold;
-}
-
-.courseboxteachers,
-.courseboxcost {
-    font-size:smaller;
-}
-
-a.autolink:link,
-a.autolink:visited {
-    text-decoration:none;
-}
-
-a.autolink:hover,
-a:hover,
-a.dimmed:hover {
-    text-decoration:underline;
-}
-
-table.calendarmonth tbody td table,
-table.calendarmonth tbody td div {
-    font-size:0.75em;
-    line-height:1.2em;
-}
-
-.calendarreferer,
-.forumnodiscuss,
-.forumnodiscussminimal, 
-.mycalendar .cal_event {
-    font-weight:bold;
-}
-
-.message_date,
-.forumpostheadername,
-.forumpostheaderreplies,
-.forumpostheaderdate,
-.courseboxsummary,
-.message_contact,
-.message_summary {
-    font-size:small;
-}
-
-.message_small_note, 
-.message_pix, 
-.editorhelptext, 
-.forumaddnewminimal, 
-.forumnodiscussminimal,
-.forumheadminimal, 
-.foruminfominimal,
-.forumolddiscussminimal, 
-.logininfo,
-#header-home .headermenu font,
-.homelink {
-    font-size:x-small;
-}
diff --git a/theme/standardxhtml/styles_layout.css b/theme/standardxhtml/styles_layout.css
deleted file mode 100644 (file)
index ea35395..0000000
+++ /dev/null
@@ -1,378 +0,0 @@
-/*  $Id$ */
-
-/*
-** layout
-*/
-
-
-/* basic styles */
-.clearer {
-    clear:both;
-    margin:0px;
-    padding:0px;
-    height:1px;
-    border:none;
-    background:transparent;
-}
-
-
-/* general styles */
-th {
-    background-image:url(gradient.jpg);
-    background-position:top;
-    background-repeat:repeat-x;
-}
-
-form {
-    margin-bottom:0px;
-}
-
-
-/* header styles */
-#header-home {
-    padding:1em 0.5em;
-    height:2em;
-}
-
-#header {
-    padding:0.1em 0.5em;
-}
-
-.headermain {
-    float:left;
-}
-
-#header .headermain {
-    margin:0.2em 0em;
-}
-
-.headermenu {
-    float:right;
-}
-
-#nav-bar {
-    padding:3px 0.5em;
-    height:1.3em;
-    background-image:url(gradient.jpg);
-    background-position:top;
-    background-repeat:repeat-x;
-}
-
-#breadcrumb {
-    float:left;
-    margin:0.2em 0em;
-}
-
-#navbutton {
-    float:right;
-}
-
-
-/* footer styles */
-
-
-/* content styles */
-.generalbox {
-    border-width:1px;
-    border-style:solid;
-}
-
-/* many places */
-.noticebox {
-    border-width:1px;
-    border-style:solid;
-}
-
-/* entry-page index.php */ 
-.sitetopic {
-    border-width:1px;
-    border-style:solid;
-}
-
-/* quiz styles */
-.feedbacktext {
-    display:block;
-}
-
-/* summary of a user in a nice little box - weblib.php */
-.userinfobox {
-    border-width:1px;
-    border-style:solid;
-    margin-bottom:5px;
-}
-
-.userinfoboxside,
-.userinfoboxsummary,
-.userinfoboxlinkcontent { }
-
-/* glossary, wiki */
-.generaltab,
-.generaltabselected {
-    background:none;
-}
-
-/* assignment, forum, glossary */
-.forumheaderlist,
-.forumpost {
-    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;
-}
-
-/* calendar */
-table.calendarmini {
-    width:100%;
-    margin:0px;
-    padding:2px;
-    border-width:1px;
-    border-style:solid;
-}
-
-table.calendarmini thead td {
-    vertical-align:center;
-}
-
-table.calendarmini tbody td {
-    border-width:2px;
-    border-style:solid;
-    vertical-align:center;
-}
-
-table.calendarmonth thead td {
-    padding-bottom:3px;
-    border-bottom:2px solid;
-    vertical-align:center;
-}
-
-table.calendarmonth tbody td {
-    width:14%;
-    border-width:2px;
-    border-style:solid;
-    vertical-align:top;
-}
-
-.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 .cal_filters thead td {
-    margin:0px;
-    padding:2px;
-    border-bottom:2px solid;
-}
-
-table.calendarmonth tbody td table,
-table.calendarmonth tbody td div {
-    margin-top:0px;
-    margin-left:0px;
-}
-
-table.calendarmonth tbody td table td, 
-a img {
-    border:none;
-}
-
-.mycalendar .cal_event_table, 
-table.calendarmonth, 
-.mycalendar table.cal_filters {
-    width:100%;
-    margin:0px;
-    padding:2px;
-    border-width:1px;
-    border-style:solid;
-}
-
-.mycalendar hr {
-    height:1px;
-    margin-top:4px;
-    margin-bottom:4px;
-    border:none;
-    border-top:1px solid;
-}
-
-td.cal_event_description {
-    width:80%;
-    padding:5px;
-    vertical-align:top;
-    border-left:2px solid;
-}
-
-.cal_popup_bg {
-    padding:0px;
-    margin:0px;
-    background-image:url(gradient.jpg);
-    background-position:top;
-    background-repeat:repeat-x;
-    border:2px solid;
-}
-
-.cal_popup_close {
-    margin-right:5px;
-}
-
-.eventfull {
-    border-width:1px;
-    border-style:solid;
-}
-
-.eventfullpicture {
-    padding:8px;
-}
-
-/* admin, calendar */
-table.formtable td {
-    padding:9px;
-}
-
-/* block_rss_client.php */
-.rssclientlink {
-    padding-bottom:5px;
-    border-top:1px solid;
-}
-
-.rssclientdescription {
-    padding-left:10px;
-    padding-bottom:8px;
-}
-
-/* message */
-.message_link {
-    vertical-align:center;
-}
-
-.message_search_results {
-    border-collapse:collapse;
-    border-spacing:0px;
-}
-
-table.message_search_results td {
-    padding:5px;
-    border-width:1px;
-    border-style:solid;
-}
-
-/* course, entry-page, login */
-.headingblock {
-    background-image:url(gradient.jpg);
-    background-position:top;
-    background-repeat:repeat-x;
-    border-width:1px;
-    border-style:solid;
-}
-
-/* course */
-.outlineheadingblock {
-    background-image:url(gradient.jpg);
-    background-position:top;
-    background-repeat:repeat-x;
-    border-width:1px;
-    border-style:solid;
-}
-.weeklyoutlinecontent,
-.topicsoutlinecontent {
-    border-width:1px;
-    border-left:0px;
-    border-right:0px;
-    border-style:solid;
-}
-
-.weeklyoutlinecontenthighlight,
-.topicsoutlinecontenthighlight {
-    border-width:1px;
-    border-left:0px;
-    border-right:0px;
-    border-style:solid;
-}
-
-.weeklyoutlinecontenthidden,
-.topicsoutlinecontenthidden {
-    border-width:1px;
-    border-left:0px;
-    border-right:0px;
-    border-style:solid;
-}
-
-.categoryboxcontent,
-.courseboxcontent {
-    border-width:1px;
-    border-style:solid;
-}
-
-/* sideblock */
-/* sideblock weblib.php */
-#block_course_summary .sideblockmain {
-    padding:10px;
-}
-
-/* calendar, weblib.php, wiki */
-.sideblock {
-    border-width:1px;
-    border-style:solid;
-}
-
-/* weblib.php, wiki */
-.sideblockheading {
-    background-image:url(gradient.jpg);
-    background-position:top;
-    background-repeat:repeat-x;
-}
-
-.sideblockmain hr {
-    height:1px;
-    margin-top:4px;
-    margin-bottom:4px;
-    border:none;
-    border-top:1px solid;
-}
-
-/* calendar, course, weblib,php, attandance
-dialouge, exercise, forum, lesson, quiz */
-.generaltableheader {
-    background-image:url(gradient.jpg);
-    background-position:top;
-    background-repeat:repeat-x;
-}
\ No newline at end of file
diff --git a/theme/standardxhtml/styles_moz.css b/theme/standardxhtml/styles_moz.css
deleted file mode 100644 (file)
index a58b313..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-
-.headingblock {
-    -moz-border-radius:3px;
-}
-
-.sideblock {
-    -moz-border-radius-bottomleft:20px;
-    -moz-border-radius-bottomright:20px;
-}
-
-.generalbox {
-    -moz-border-radius-topleft:3px;
-    -moz-border-radius-topright:3px;
-    -moz-border-radius-bottomleft:15px;
-    -moz-border-radius-bottomright:15px;
-}
-
-.generalboxcontent {
-    -moz-border-radius-topleft:3px;
-    -moz-border-radius-topright:3px;
-    -moz-border-radius-bottomleft:15px;
-    -moz-border-radius-bottomright:15px;
-}
-
-.noticebox {
-    -moz-border-radius:3px;
-}
-
-.userinfobox {
-    -moz-border-radius-bottomleft:20px;
-    -moz-border-radius-bottomright:20px;
-}
-
-.userinfoboxsummary {
-}
-
-.generaltab {
-    -moz-border-radius-topleft:15px;
-    -moz-border-radius-topright:15px;
-}
-
-.generaltabselected {
-    -moz-border-radius-topleft:15px;
-    -moz-border-radius-topright:15px;
-}
-
-table.calendarmini {
-    -moz-border-radius:10px;
-}
-
-table.calendarmini tbody td {
-    -moz-border-radius:4px;
-}
-
-.eventfull {
-    -moz-border-radius-bottomleft:15px;
-    -moz-border-radius-bottomright:15px;
-}
-
-.eventfullside {
-    -moz-border-radius-bottomleft:15px;
-}
-
-.eventfullmessage {
-    -moz-border-radius-bottomright:15px;
-}
-
-#block_course_summary, #block_course_summary .sideblockmain {
-    -moz-border-radius:20px;
-}
-
-.sitetopic {
-    -moz-border-radius:15px;
-}
-
-.sitetopiccontent {
-    -moz-border-radius:15px;
-}
-
-.headingblock, .outlineheadingblock {
-    -moz-border-radius:3px;
-}
-
-.sideblock, .forumpost {
-    -moz-border-radius-bottomleft:20px;
-    -moz-border-radius-bottomright:20px;
-}
-
-.forumpostside, .userinfoboxside {
-    -moz-border-radius-bottomleft:20px;
-}
-
-.categoryboxcontent, .courseboxcontent {
-    -moz-border-radius:20px;
-}
-
-.userinfoboxlinkcontent, .forumpostmessage, .userinfoboxcontent {
-    -moz-border-radius-bottomright:20px;
-}
-
-.mycalendar .cal_event_table, table.calendarmonth, .mycalendar table.cal_filters {
-    -moz-border-radius:10px;
-}
-
-.sideblockmain, .sideblocklatestnews, .sideblockrecentactivity, .mycalendar {
-    -moz-border-radius-bottomleft:20px;
-    -moz-border-radius-bottomright:20px;
-}
\ No newline at end of file