]> git.mjollnir.org Git - moodle.git/commitdiff
Added lines theme (beta) from Urs
authormoodler <moodler>
Sun, 20 Jul 2008 08:22:52 +0000 (08:22 +0000)
committermoodler <moodler>
Sun, 20 Jul 2008 08:22:52 +0000 (08:22 +0000)
14 files changed:
theme/lines/README.html [new file with mode: 0755]
theme/lines/config.php [new file with mode: 0755]
theme/lines/favicon.ico [new file with mode: 0755]
theme/lines/footer.html [new file with mode: 0755]
theme/lines/header.html [new file with mode: 0755]
theme/lines/js/CSSClass.js [new file with mode: 0755]
theme/lines/js/js.php [new file with mode: 0755]
theme/lines/js/yui.php [new file with mode: 0755]
theme/lines/lines.css [new file with mode: 0755]
theme/lines/meta.php [new file with mode: 0755]
theme/lines/reset.css [new file with mode: 0755]
theme/lines/styles.php [new file with mode: 0755]
theme/lines/styles_ie6.css [new file with mode: 0755]
theme/lines/styles_ie7.css [new file with mode: 0755]

diff --git a/theme/lines/README.html b/theme/lines/README.html
new file mode 100755 (executable)
index 0000000..00e3222
--- /dev/null
@@ -0,0 +1,3 @@
+<h3>Lines Moodle theme.</h3>
+
+<p>A Moodle Theme from <strong>Urs Hunkler, <a href="http://www.unodo.de" target="_blank">unodo</a></strong>.</p>
\ No newline at end of file
diff --git a/theme/lines/config.php b/theme/lines/config.php
new file mode 100755 (executable)
index 0000000..47bfda6
--- /dev/null
@@ -0,0 +1,154 @@
+<?PHP // $Id$
+
+////////////////////////////////////////////////////////////////////////////////
+/// This file contains a few configuration variables that control 
+/// how Moodle uses this theme.
+////////////////////////////////////////////////////////////////////////////////
+
+
+$THEME->sheets = array('reset', 'lines');
+
+/// 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 = array('styles_layout','styles_color');
+
+/// This variable can be set to an array containing
+/// filenames from the *STANDARD* theme.  If the 
+/// array exists, it will be used to choose the 
+/// files to include in the standard style sheet.
+/// When false, then no files are used.
+/// When true or NON-EXISTENT, then ALL standard files are used.
+/// This parameter can be used, for example, to prevent 
+/// having to override too many classes.
+/// Note that the trailing .css should not be included
+/// eg $THEME->standardsheets = array('styles_layout','styles_fonts','styles_color');
+////////////////////////////////////////////////////////////////////////////////
+
+
+$THEME->parent = '';  
+
+/// This variable can be set to the name of a parent theme
+/// which you want to have included before the current theme.
+/// This can make it easy to make modifications to another 
+/// theme without having to actually change the files
+/// If this variable is empty or false then a parent theme 
+/// is not used.
+////////////////////////////////////////////////////////////////////////////////
+
+
+$THEME->parentsheets = false;  
+
+/// This variable can be set to an array containing
+/// filenames from a chosen *PARENT* theme.  If the 
+/// array exists, it will be used to choose the 
+/// files to include in the standard style sheet.
+/// When false, then no files are used.
+/// When true or NON-EXISTENT, then ALL standard files are used.
+/// This parameter can be used, for example, to prevent 
+/// having to override too many classes.
+/// Note that the trailing .css should not be included
+/// eg $THEME->parentsheets = array('styles_layout','styles_fonts','styles_color');
+////////////////////////////////////////////////////////////////////////////////
+
+
+$THEME->modsheets = true;  
+
+/// When this is enabled, then this theme will search for 
+/// files named "styles.php" inside all Activity modules and 
+/// include them.   This allows modules to provide some basic 
+/// layouts so they work out of the box.
+/// It is HIGHLY recommended to leave this enabled.
+
+
+$THEME->blocksheets = true;  
+
+/// When this is enabled, then this theme will search for 
+/// files named "styles.php" inside all Block modules and 
+/// include them.   This allows Blocks to provide some basic 
+/// layouts so they work out of the box.
+/// It is HIGHLY recommended to leave this enabled.
+
+
+$THEME->langsheets = false;  
+
+/// By setting this to true, then this theme will search for 
+/// a file named "styles.php" inside the current language
+/// directory.  This allows different languages to provide 
+/// different styles.
+
+
+$THEME->courseformatsheets = true;
+
+/// When this is enabled, this theme will search for files 
+/// named "styles.php" inside all course formats and 
+/// include them.  This allows course formats to provide 
+/// their own default styles.
+
+
+$THEME->metainclude = true;
+
+/// When this is enabled (or not set!) then Moodle will try 
+/// to include a file meta.php from this theme into the 
+/// <head></head> part of the page.
+
+
+$THEME->standardmetainclude = true;
+
+/// When this is enabled (or not set!) then Moodle will try 
+/// to include a file meta.php from the standard theme into the 
+/// <head></head> part of the page.
+
+
+$THEME->parentmetainclude = false;
+
+/// When this is enabled (or not set!) then Moodle will try 
+/// to include a file meta.php from the parent theme into the 
+/// <head></head> part of the page.
+
+
+$THEME->navmenuwidth = 50;
+
+/// You can use this to control the cutoff point for strings 
+/// in the navmenus (list of activities in popup menu etc)
+/// Default is 50 characters wide.
+
+
+$THEME->makenavmenulist = false;
+
+/// By setting this to true, then you will have access to a
+/// new variable in your header.html and footer.html called
+/// $navmenulist ... this contains a simple XHTML menu of 
+/// all activities in the current course, mostly useful for 
+/// creating popup navigation menus and so on.
+
+
+$THEME->resource_mp3player_colors = 
+ 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'.
+ 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'.
+ 'font=Arial&fontColour=3333FF&buffer=10&waitForPlay=no&autoPlay=yes';
+
+/// With this you can control the colours of the "big" MP3 player 
+/// that is used for MP3 resources.
+
+
+$THEME->filter_mediaplugin_colors = 
+ 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'.
+ 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'.
+ 'waitForPlay=yes';
+
+/// ...And this controls the small embedded player
+
+
+$THEME->custompix = false;
+
+/// If true, then this theme must have a "pix" 
+/// subdirectory that contains copies of all 
+/// files from the moodle/pix directory, plus a
+/// "pix/mod" directory containing all the icons 
+/// for all the activity modules.
+////////////////////////////////////////////////////////////////////////////////
+
+?>
diff --git a/theme/lines/favicon.ico b/theme/lines/favicon.ico
new file mode 100755 (executable)
index 0000000..5a7a36a
Binary files /dev/null and b/theme/lines/favicon.ico differ
diff --git a/theme/lines/footer.html b/theme/lines/footer.html
new file mode 100755 (executable)
index 0000000..63fe839
--- /dev/null
@@ -0,0 +1,29 @@
+
+<?php    
+    print_container_end(); // content container
+
+    print_container_start(true, '', 'footer');
+
+    echo '<p class="helplink">';
+    echo page_doc_link(get_string('moodledocslink'));
+    echo '</p>';
+
+    echo $loggedinas;
+    echo $homelink;
+
+    $useridarray = array(2, 3 // MD
+                          );
+    
+    if (!empty($performanceinfo) && isloggedin() && in_array($USER->id, $useridarray)) {
+        echo $performanceinfo;
+    }
+    
+    print_container_end();
+?>
+</div>
+<?php
+    include($CFG->themedir.'/lines/js/js.php');
+?>
+<?php // include('lib/clickheat_lib.php'); ?>
+</body>
+</html>
diff --git a/theme/lines/header.html b/theme/lines/header.html
new file mode 100755 (executable)
index 0000000..a730b60
--- /dev/null
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html<?php echo $direction ?>>
+<head>
+    <?php echo $meta ?>
+    <meta name="keywords" content="moodle, <?php echo $title ?> " />
+    <title><?php echo $title ?></title>
+     <link rel="shortcut icon" href="<?php echo $CFG->httpsthemewww .'/'. current_theme() ?>/favicon.ico" />
+    <?php include("$CFG->javascript"); ?>
+    <?php include('js/yui.php'); ?>
+</head>
+
+<body<?php echo " $bodytags"; ?>>
+    
+<div id="page">
+    
+<?php if ($home) {  // This is what gets printed on the home page only  
+?>
+    <?php print_container_start(true, '', 'header-home'); ?>
+        <h1 class="headermain"><?php echo $heading ?></h1>
+        <div class="headermenu"><?php echo $menu ?></div>
+    <?php print_container_end(); ?>
+       <div class="navbar clearfix">
+               &nbsp;      
+    </div>
+<?php } else if ($heading) {  // This is what gets printed on any other page with a heading 
+?>
+    <?php print_container_start(true, '', 'header'); ?>
+        <h1 class="headermain"><?php echo $heading ?></h1>
+        <div class="headermenu"><?php echo $menu ?></div>
+    <?php print_container_end(); ?>
+    <div class="navbar clearfix">
+    <?php if ($navigation) { // This is the navigation table with breadcrumbs
+    ?>
+        <div class="breadcrumb"><?php print_navigation($navigation); ?></div>
+        <div class="navbutton"><?php echo $button; ?></div>
+    <?php } ?>
+    </div>
+<?php } ?>
+    <!-- END OF HEADER -->
+    <?php print_container_start(false, '', 'content'); ?>
diff --git a/theme/lines/js/CSSClass.js b/theme/lines/js/CSSClass.js
new file mode 100755 (executable)
index 0000000..1f60ad8
--- /dev/null
@@ -0,0 +1,42 @@
+/**
+ * CSSClass.js: utilities for manipulating the CSS class of an HTML element.
+ * 
+ * This module defines a single global symbol named CSSClass.  This object
+ * contains utility functions for working with the class attribute (className
+ * property) of HTML elements.  All functions take two arguments: the element
+ * e being tested or manipulated and the CSS class c that is to be tested,
+ * added, or removed.  If element e is a string, it is taken as an element
+ * id and passed to document.getElementById().
+ */
+var CSSClass = {};  // Create our namespace object
+
+// Return true if element e is a member of the class c; false otherwise
+CSSClass.is = function(e, c) {
+    if (typeof e == "string") e = document.getElementById(e); // element id
+
+    // Before doing a regexp search, optimize for a couple of common cases.
+    var classes = e.className;
+    if (!classes) return false;    // Not a member of any classes
+    if (classes == c) return true; // Member of just this one class
+
+    // Otherwise, use a regular expression to search for c as a word by itself
+    // \b in a regular expression requires a match at a word boundary.
+    return e.className.search("\\b" + c + "\\b") != -1;
+};
+
+// Add class c to the className of element e if it is not already there.
+CSSClass.add = function(e, c) {
+    if (typeof e == "string") e = document.getElementById(e); // element id
+    if (CSSClass.is(e, c)) return; // If already a member, do nothing
+    if (e.className) c = " " + c;  // Whitespace separator, if needed
+    e.className += c;              // Append the new class to the end
+};
+
+// Remove all occurrences (if any) of class c from the className of element e
+CSSClass.remove = function(e, c) {
+    if (typeof e == "string") e = document.getElementById(e); // element id
+    // Search the className for all occurrences of c and replace with "".
+    // \s* matches any number of whitespace characters.
+    // "g" makes the regular expression match any number of occurrences
+    e.className = e.className.replace(new RegExp("\\b"+ c+"\\b\\s*", "g"), "");
+};
\ No newline at end of file
diff --git a/theme/lines/js/js.php b/theme/lines/js/js.php
new file mode 100755 (executable)
index 0000000..5b16d50
--- /dev/null
@@ -0,0 +1,47 @@
+<script type="text/javascript" charset="utf-8">
+/* <![CDATA[ */
+    var CSSClass={};CSSClass.is=function(e,c){if(typeof e=="string")e=document.getElementById(e);var classes=e.className;if(!classes)return false;if(classes==c)return true;return e.className.search("\\b"+c+"\\b")!=-1;};CSSClass.add=function(e,c){if(typeof e=="string")e=document.getElementById(e);if(CSSClass.is(e,c))return;if(e.className)c=" "+c;e.className+=c;};CSSClass.remove=function(e,c){if(typeof e=="string")e=document.getElementById(e);e.className=e.className.replace(new RegExp("\\b"+c+"\\b\\s*","g"),"");};
+    
+    var jsscript = {
+        
+        corrections: function () {
+            if (top.user) {
+                top.document.getElementsByTagName('frameset')[0].rows = "117,30%,0,200";
+            }
+            
+            // check for layouttabel and add haslayouttable class to body
+            function setbodytag () {
+                var bd = document.getElementsByTagName('body')[0];
+                if (bd) {
+                    var tagname = 'nolayouttable';
+                    if (document.getElementById('middle-column')) {
+                        var lc = document.getElementById('left-column');
+                        var rc = document.getElementById('right-column');
+                        if ( lc && rc ) {
+                            tagname = 'haslayouttable rightandleftcolumn';
+                        } else if (lc) {
+                            tagname = 'haslayouttable onlyleftcolumn';
+                        } else if (rc) {
+                            tagname = 'haslayouttable onlyrightcolumn';
+                        } else {
+                            tagname = 'haslayouttable onlymiddlecolumn';
+                        }
+                    }
+                    CSSClass.add(bd, tagname);
+                } else {
+                    setTimeout(function() { setbodytag() }, 10);
+                }
+            };
+            
+            setbodytag();
+        },
+        
+        init: function() {
+            jsscript.corrections();
+        }
+    };
+    
+    jsscript.init();
+//    setTimeout(function() { jsscript.init() }, 10);
+/* ]]> */
+</script>
\ No newline at end of file
diff --git a/theme/lines/js/yui.php b/theme/lines/js/yui.php
new file mode 100755 (executable)
index 0000000..b38fc9f
--- /dev/null
@@ -0,0 +1,62 @@
+<script type="text/javascript">
+     function TestObj(id) {
+         YAHOO.util.Event.onAvailable(id, colourLabel, this);
+     }
+
+    function colourLabel() {
+        var i, j;
+        var forms = YAHOO.util.Dom.getElementsByClassName ('mform', 'form');
+        for (i = 0; i < forms.length; i++) {
+            var formsets = forms[i].getElementsByTagName ('fieldset');
+            for (j = 0; j < formsets.length; j++) {
+                var col = colbuilder();
+                // console.log("col " + col);
+                YAHOO.util.Dom.setStyle(formsets[j], 'border-top-color', col);
+                YAHOO.util.Dom.setStyle(formsets[j], 'border-bottom-color', col);
+            }
+        }
+        
+        // var check = document.getElementById('admin-settings');
+        if (document.getElementById('admin-settings') || document.getElementById('admin-search')) {
+            var check = 1;
+        } 
+        // console.log("page: " + check);
+        if (!check) return;
+
+        var mc = document.getElementById("middle-column");
+        var labels = YAHOO.util.Dom.getElementsByClassName ('form-label', 'div', mc);
+        var formitems = YAHOO.util.Dom.getElementsByClassName ('form-item', 'div', mc);
+        for (i = 0; i < formitems.length; i++) {
+            var col = colbuilder();
+            // console.log("col " + col);
+            YAHOO.util.Dom.setStyle(formitems[i], 'border-top-color', col);
+            YAHOO.util.Dom.setStyle(labels[i], 'border-bottom-color', col);
+        }
+    }
+
+    function randomno()  {
+        var ranno = -1;
+        while (ranno < 0 || ranno > 255) {
+            ranno = (Math.round(Math.random() * 1000));
+        }
+        return ranno;
+    }
+
+    function colbuilder() {
+        var r = randomno().toString(16);
+        if (r.length < 2) {
+            r = ("0" + r);
+        }
+        var b = randomno().toString(16);
+        if (b.length < 2) {
+            b = ("0" + b);
+        }
+        var g = randomno().toString(16);
+        if (g.length < 2) {
+            g = ("0" + g);
+        }
+        return ("#" + r + b + g);
+    }
+
+     var obj = new TestObj("footer");
+</script>
diff --git a/theme/lines/lines.css b/theme/lines/lines.css
new file mode 100755 (executable)
index 0000000..214d63a
--- /dev/null
@@ -0,0 +1,1157 @@
+/* @override http://ubuntu.userver.lan/moodle_19_test/theme/lines/lines.css */
+/* @group core */
+body {
+  background-color: #eaebd3;
+}
+#page {
+  width:  960px;
+  margin: 0 auto 10px;
+  padding: 0;
+  color: #444;
+  background-color: #fff;
+  border-left: 3px solid #dcddc7;
+  border-right: 3px solid #dcddc7;
+}
+p, ul {
+  margin: 0 0 1em 0;
+}
+ol, ul {
+  list-style-type: disc;
+  list-style-position: outside;
+  padding-left: 1.3em;
+}
+li {
+  margin: 0 0 0.25em 0;
+}
+strong, b {
+  font-weight: bold;
+}
+em, i {
+  font-style: italic;
+}
+a:link {
+  color: #129;
+}
+a:visited {
+  color: #C01;
+}
+a:hover {
+  color: #391;
+}
+a.dimmed:link,
+a.dimmed:visited {
+  color: #AAA;
+}
+a.autolink:link,
+a.autolink:visited {
+  color: #000000;
+  background: #FAFAFA;
+}
+a.autolink.glossary:hover {
+  cursor: help;
+}
+.dimmed_text,
+.dimmed_text a {
+  color: #AAA;
+}
+h1, h2, h3, h4, h5, h6 {
+  margin: 0 0 0.5em 0;
+  font-weight: bold;
+  line-height: normal;
+}
+h1.main,
+h2.main,
+h3.main,
+h4.main,
+h5.main,
+h6.main {
+  text-align: left;
+  margin-left: 0;
+  color: #444;
+  background-color: #FFF;
+  font-size: 100%;
+}
+h1 {
+  font-size: 167%;
+}
+h2 {
+  font-size: 138.5%;
+}
+h3 {
+  font-size: 123.1%;
+}
+h4 {
+  font-size: 100%;
+}
+img.resize {
+  width: 1em;
+  height: 1em;
+}
+hr {
+  color: #EEE;
+  background-color: #EEE;
+  height: 1px;
+  border-style: none;
+}
+.cell {
+  padding: 2px;
+}
+tr.r1 {
+  background-color: #FAFAFA;
+}
+.highlight {
+  background-color: #aaffaa;
+}
+.highlight2 {
+  color: #AA0000;
+}
+h2.headingblock {
+  border-style: none;
+  margin: 10px 0 0 0;
+  padding-top: 0;
+  font-size: 100%;
+}
+#site-index .headingblock, 
+#course-view .headingblock {
+  margin-bottom: 0;
+}
+.tabledivider {
+  border-style: none;
+}
+.generalbox {
+  margin-top: 5px;
+  border-color: #EEE;
+}
+table.generalbox {
+  border-style: none;
+}
+th.header, 
+td.cell {
+  border-bottom: 1px solid #EEE;
+  text-align: left;
+}
+.generalbox th, 
+.generalbox td {
+  border-bottom: 1px solid #EEE;
+  text-align: left;
+}
+.generalboxcontent .formtable th {
+  text-align: right;
+}
+.generaltable {
+  border-style: none;
+}
+.generaltable th.header {
+  text-align: left;
+  border-bottom: 1px solid #CCC;
+  text-align: left;
+  padding: 2px;
+}
+th.header,
+.admin th.header.c0,
+.generalbox th,
+.generaltable th.header {
+  background-color: #FAFAFA;
+}
+.generaltable .cell {
+  border-style: none;
+  border-bottom: 1px solid #EEE;
+  text-align: left;
+  padding: 2px;
+}
+.informationbox {
+  border-style: none;
+}
+.userinfobox {
+  border-style: none;
+  margin: 0 auto 5px;
+}
+.errorbox {
+  border: 2px solid #913;
+}
+/* notification messages (can be good or bad) */
+.notifysuccess {
+  color: #006600;
+}
+.notifytiny {
+  color: #000044;
+}
+#admin-auth_config .required {
+  background-color: #DDDDDD;
+}
+.informationbox {
+  border-color: #DDDDDD;
+}
+.feedbackbox {
+  border-color: #888888;
+}
+.feedbackby {
+  background-color: #BBBBBB;
+}
+.errorbox {
+  color: #ffffff;
+  border-color: #660000;
+  background-color: #990000;
+}
+.errorboxcontent {
+  background-color: #FFBBBB;
+}
+.notifyproblem {
+  text-align: left;
+  padding: 10px;
+  border: 2px solid #913;
+}
+.noticebox {
+  background-color: #FFF;
+  border: 2px solid #FC1;
+}
+#notice.generalbox {
+  margin: 0 0 1.5em 0;
+  padding: 10px;
+  background-color: #FFF;
+  border: 2px solid #FC1;
+}
+.teacheronly {
+  color: #990000;
+}
+.unread {
+  background: #FFD991;
+}
+.censoredtext {
+  color: #000000;
+  background: #000000;
+}
+.boxwidthwide {
+  width: 95%;
+  margin-left: 12px;
+}
+.htmlarea .toolbar th,
+.htmlarea .toolbar td {
+  vertical-align: top;
+}
+#help,\r#help #content,\r#message-index,\r#message-index #content,\r#message-user #content,\r#message-user,\r#message-send,\r#message-messages,\r#message-discussion,\r#message-discussion #content,\r#message-history #content,\r#message-history,\r#mod-glossary-showentry,\r#mod-glossary-showentry #content {
+  background: none;
+}
+.categorylist {
+  margin-top: 10px;
+}
+/* @end */
+/* @group tabs */
+.tabrow0 {
+  font-size: 100%;
+}
+.tabrow0 div,
+.tabrow0 ul {
+  top: 1.7em;
+  font-size: 100%;
+}
+ul.tabrow1 li a,
+ul.tabrow1 li a:link,
+ul.tabrow1 li a:visited {
+  font-size: 100%;
+}
+/* @end */
+/* @group forms */
+.mform {
+  margin: 0 0;
+  width: 100%;
+}
+.mform fieldset {
+  border-color: #EEE;
+  border-top-style: solid;
+  border-top-width: 5px;
+  border-bottom-width: 1px;
+  border-bottom-style: dotted;
+}
+#adminsettings .form-shortname {
+  color: #888;
+}
+.mform .required label {
+  color: #a00;
+}
+.mform .fdescription.required {
+  color: #a00;
+}
+.mform .required .fgroup span label {
+  color: #000;
+}
+/* @end */
+/* @group header */
+#header,
+#header-home {
+  height: 68px;
+}
+#header-home .headermain {
+  margin: 20px 0 0 10px;
+  font-size: 246.2%;
+  color: #444;
+}
+#header .headermain {
+  margin: 20px 0 0 10px;
+  font-size: 200%;
+  color: #444;
+}
+.headermenu {
+  margin: 10px 10px 0 0;
+  color: #888;
+}
+.headermenu .logininfo {
+  margin: 0 0 2px 0;
+}
+.headermenu select,
+.headermenu option {
+  color: #888;
+}
+.navbar {
+  clear: both;
+  padding: 1px 12px;
+  margin: 0;
+  height: 25px;
+  border-style: none;
+  background-color: #FFF;
+  border-top: 5px solid #EEE;
+  border-bottom: 1px dotted #EEE;
+}
+.navbar .breadcrumb {
+  margin: 0.3em 0 0.1em;
+}
+.navbar .breadcrumb a {
+  text-decoration: none;
+}
+span.arrow.sep {
+  color: #444;
+}
+span.arrow {
+  font-family: Arial,Helvetica,Courier,sans-serif;
+}
+.navigation select {
+  background-color: #FFFFFF;
+}
+.navigation optgroup {
+  background-color: #EEEEEE;
+}
+.navigation optgroup option {
+  background-color: #FFFFFF;
+}
+/* @end */
+/* @group footer */
+#footer {
+  margin-top: 0;
+  padding: 4px 12px 20px 12px;
+  border-top: 1px dotted #EEE;
+  background: #eaebd3 url(pix/footer_grad.png) repeat-x left top;
+}
+#footer div {
+  margin: 0;
+}
+#footer #company-stuff {
+  display: none;
+}
+/*div#footer div#company-stuff {
+  float: left;
+  text-align: left;
+}
+div#footer div#company-stuff p {
+  margin: 0;
+  padding: 0;
+}*/
+#footer #moodle-stuff {
+  text-align: center;
+}
+#footer .helplink {
+  margin: 0;
+}
+.homelink a {
+  padding: 0;
+}
+/* @end */
+/* @group admin */
+#adminsettings .form-item {
+  padding-top: 5px;
+  border-top: 5px solid #EEE;
+}
+#adminsettings fieldset {
+  border-style: none;
+  background-color: inherit;
+}
+#adminsettings fieldset.error {
+  border: 1px solid #660000;
+}
+#adminsettings fieldset.error legend {
+  border-color: #660000;
+}
+#adminsettings .form-overridden {
+  background-color: #ff6;
+}
+#adminsettings .form-warning {
+  background-color: #f88;
+}
+#adminsettings .form-defaultinfo {
+  color: #888;
+}
+#adminsettings .form-item .pathok {
+  color: green;
+}
+#adminsettings .form-item .patherror {
+  color: red;
+}
+#admin-index .adminwarning {
+  border-style: none;
+}
+#admin-lang .generalbox {
+  border-style: none;
+}
+#admin-langimport .generalbox {
+  border-style: none;
+}
+#course-user .section h2 {
+  color: #006EA2;
+}
+#admin-roles-override .cell.c1,
+#admin-roles-assign .cell.c1 {
+  padding-top: 2px;
+}
+link
+#adminsettings .form-item {
+  margin: 0;
+  padding-top: 5px;
+  border-top: 1px solid #EEE;
+}
+#theme-index.course-1 #content {
+  margin: 0;
+}
+.admin #layout-table #middle-column {
+  padding-top: 10px;
+}
+.admin h2.main {
+  margin-top: 0;
+}
+.admin .generalboxcontent {
+  background-color: inherit;
+}
+.admin .generalbox {
+  background-color: inherit;
+  border-color: #eee;
+}
+#user-profile-index h2.main,
+#theme-index h2.main {
+  margin-top: 10px;
+}
+.admin .header.c0 {
+  
+}
+.rolecap .rolecapheading {
+  background-color: #FAFAFA;
+  border-bottom: 1px solid #ccc;
+}
+.rolecap .inherit,
+.rolecap .allow,
+.rolecap .prevent,
+.rolecap .prohibit {
+  padding: 2px;
+  border-bottom: 1px solid #ccc;
+}
+.rolecap .capdefault {
+  background-color: #FAFAFA;
+}
+#admin-roles-override .capcurrent {
+  background-color: #FAFAFA;
+  border: 1px solid #cecece;
+}
+#admin-roles-manage .capdefault {
+  background-color: #FAFAFA;
+  border: 1px solid #cecece;
+}
+#admin-roles-manage .rolecap,
+#admin-roles-override .rolecap {
+  border-style: none;
+  border-bottom: 1px solid #cecece;
+}
+#admin-roles-manage .rolecap .cap-desc .cap-name,
+#admin-roles-override .rolecap .cap-desc .cap-name {
+  color: #888;
+}
+#theme-index #middle-column tr {
+  border-top: 1px solid #eeeeee;
+}
+#theme-index #middle-column td {
+  vertical-align: top;
+  padding: 10px;
+  border-color: #eeeeee;
+}
+.block_admin_tree.sideblock .link.hidden {
+  color: #999999;
+}
+#admin-lang .translator .strkey {
+  color: #666666;
+}
+#admin-lang .translator .bothmissing {
+  background-color: #ef6868;
+}
+#admin-lang .translator .mastermissing {
+  background-color: #feff7f;
+}
+#admin-lang .translator .localdifferent {
+  background-color: #aaffaa;
+}
+.environmenttable .error {
+  background-color: #ef6868;
+  color: inherit;
+}
+.environmenttable .warn {
+  background-color: #feff7f;
+}
+.environmenttable .ok {
+  background-color: #aaffaa;
+}
+#admin-uploaduser .uuinfo {
+  background-color: #aaffaa;
+}
+#admin-uploaduser .uuwarning {
+  background-color: #feff7f;
+}
+#admin-uploaduser .uuerror {
+  background-color: #ef6868;
+}
+.plugincompattable td.ok {
+  color: #080;
+}
+.plugincompattable td.warning {
+  color: #d80;
+}
+.plugincompattable td.error {
+  color: #d00;
+}
+.admin .form-label {
+  border-bottom: 1px dotted #ccc;
+}
+/*
+@end */
+/* @group grade */
+.grade-edit-tree .moving {
+  background-color: #E8EEF7;
+}
+#grade-aggregation-help dt {
+  font-weight: bold;
+}
+#grade-aggregation-help dd.example {
+  font-style: italic;
+}
+#grade-aggregation-help code {
+  font-style: normal;
+}
+/* @end */
+/* @group sideblock */
+.sideblock input {
+  font-size: inherit;
+}
+.sideblock input.styledbtn {
+  font-size: 93%;
+}
+.sideblock a {
+  text-decoration: none;
+}
+.sideblock a.current {
+  background-color: #FAFAFA;
+}
+#left-column .hidden .header {
+  border-style: none;
+}
+#right-column .hidden .header {
+  border-style: none;
+}
+.sideblock {
+  margin-bottom: 18px;
+  padding-bottom: 12px;
+  background-color: inherit;
+  border-bottom: 1px dotted #EEE;
+}
+.sideblock .header {
+  border-style: none;
+  padding: 3px 4px 3px 12px;
+  background-color: inherit;
+  border-bottom: 5px solid #eee;
+}
+.sideblock .header h2 {
+  font-size: 100%;
+  color: #444;
+  background-color: transparent;
+  font-size: 100%;
+}
+#course-view div.sideblock.hidden .header h2 {
+  color: #444;
+}
+.sideblock .content {
+  border-style: none;
+  padding: 4px 12px;
+  background-color: inherit;
+}
+.sideblock .list li {
+  margin: 0;
+  padding-bottom: 5px;
+  line-height: normal;
+}
+.sideblock .content .icon {
+  display: none;
+}
+.sideblock .content .info {
+  text-align: left;
+}
+.sideblock .footer {
+  text-align: left;
+}
+.calendar-controls .previous,
+.calendar-controls .next,
+.calendar-controls .current {
+  text-decoration: none;
+}
+.block_messages .content {
+  font-size: 100%;
+}
+.sideblock .header .commands {
+  background-color: #EEE;
+  padding: 1px;
+}
+.block_search_forums .searchform {
+  text-align: left;
+}
+.activitydate, .activityhead {
+  text-align: left;
+}
+.block_login .loginform .c1 {
+  margin: 0.3em 0;
+  color: #fff;
+}
+/* @end */
+/* @group login */
+.loginbox {
+  border-color: #EEE;
+}
+.loginbox.twocolumns .loginpanel {
+  border-color: #EEE;
+}
+.loginbox h2 {
+  color: #444;
+  font-weight: normal;
+  font-style: normal;
+}
+/* @end */
+/* @group content */
+#content {
+  clear: both;
+  margin: 10px;
+}
+#site-index div#content,
+#course-view div#content,
+.haslayouttable div#content {
+  margin: 0;
+}
+#layout-table {
+  border-collapse: collapse;
+  margin-top: 0;
+}
+#layout-table #left-column,
+#layout-table #right-column {
+  padding: 10px 0 0;
+  background: #f8f9ef url(pix/sideblock_grad.png) repeat-x left top;
+}
+#layout-table #middle-column {
+  padding: 0 14px;
+  background: url(pix/content_bottom_right.png) no-repeat right bottom;
+}
+.headingblock {
+  border-style: none;
+}
+#content .section {
+  border-style: none;
+}
+.section {
+  border-style: none;
+}
+.onlymiddlecolumn #content {
+  margin: 10px;
+}
+/* @end */
+/* @group startpage */
+.sitetopiccontent {
+  border-style: none;
+}
+.categoryboxcontent {
+  border-style: none;
+}
+.courseboxcontent {
+  border-style: none;
+}
+.coursebox {
+  border-style: none;
+  border-top: 1px solid #EEE;
+}
+.categorybox {
+  border-top: 1px solid #EEE;
+}
+#site-index .sitetopic {
+  margin-top: 10px;
+}
+/*#site-index .sitetopic {
+  background: url(pix/pix/vinn_hi_splash.jpg) no-repeat center top;
+  padding-top: 180px;
+  margin-top: 10px;
+}*/
+/* @end */
+/* @group course */
+#course-view .section td.side {
+  border-top: 5px #EEE;
+  border-style: solid none dotted;
+}
+#course-view .section .left {
+  color: #444;
+  font-weight: bold;
+  padding: 8px 0 0;
+}
+#course-view .current .left,
+#course-view .current .right {
+  background-color: #FFC;
+}
+#course-view .section td.content {
+  padding-top: 0;
+  border-top: 5px #EEE;
+  border-style: solid none dotted;
+}
+#course-view .section .spacer {
+  height: 3em;
+}
+.section .summary {
+  color: #444;
+  padding: 0 2px 3px;
+}
+.section .summary > br {
+  display: none;
+}
+ul.section li.activity {
+  background-color: inherit;
+  padding: 2px;
+}
+ul.section li.label {
+  background-color: #FFF;
+}
+#course-report p {
+  text-align: left;
+}
+.block_news_items .newlink {
+  text-align: left;
+}
+#course-view .hidden *,
+#course-view .section.hidden .left {
+  color: #CCC;
+}
+/* @end */
+/* @group calendar */
+#calendar .event_global {
+  background-color: #D6F8CD;
+  border-color: #D6F8CD;
+  border-bottom-style: none !important;
+  border-top-style: none !important;
+  border-right-style: none !important;
+  border-left-style: none !important;
+}
+#calendar .event_group {
+  background-color: #FEE7AE;
+  border-color: #FEE7AE;
+  border-left-style: none !important;
+  border-right-style: none !important;
+  border-top-style: none !important;
+  border-bottom-style: none !important;
+}
+#calendar .event_course {
+  background-color: #FFD3BD;
+  border-color: #FFD3BD;
+  border-left-style: none !important;
+  border-right-style: none !important;
+  border-top-style: none !important;
+  border-bottom-style: none !important;
+}
+#calendar .event_user {
+  background-color: #DCE7EC;
+  border-color: #DCE7EC;
+  border-left-style: none !important;
+  border-right-style: none !important;
+  border-top-style: none !important;
+  border-bottom-style: none !important;
+}
+.minicalendar .event_global {
+  background-color: #D6F8CD;
+  border-color: #D6F8CD;
+}
+.block_calendar_month .event_global {
+  background-color: #D6F8CD;
+  border-color: #D6F8CD;
+}
+.minicalendar .event_course {
+  background-color: #FFD3BD;
+  border-color: #FFD3BD;
+}
+.block_calendar_month .event_course {
+  background-color: #FFD3BD;
+  border-color: #FFD3BD;
+}
+.minicalendar .event_group {
+  background-color: #FEE7AE;
+  border-color: #FEE7AE;
+}
+.block_calendar_month .event_group {
+  background-color: #FEE7AE;
+  border-color: #FEE7AE;
+}
+.minicalendar .event_user {
+  background-color: #DCE7EC;
+  border-color: #DCE7EC;
+}
+.block_calendar_month .event_user {
+  background-color: #DCE7EC;
+  border-color: #DCE7EC;
+}
+#calendar .duration_global,
+.minicalendar .duration_global {
+  border-top-color: #66D14D !important;
+  border-bottom-color: #66D14D !important;
+}
+#calendar .duration_course,
+.minicalendar .duration_course {
+  border-top-color: #FF9966 !important;
+  border-bottom-color: #FF9966 !important;
+}
+#calendar .duration_group,
+.minicalendar .duration_group {
+  border-top-color: #FBBB23 !important;
+  border-bottom-color: #FBBB23 !important;
+}
+#calendar .duration_user,
+.minicalendar .duration_user {
+  border-top-color: #A1BECB !important;
+  border-bottom-color: #A1BECB !important;
+}
+#calendar .duration_course0,
+.minicalendar .duration_course0 {
+  border-top-color: #FF9966 !important;
+  border-bottom-color: #FF9966 !important;
+}
+#calendar .duration_course1,
+.minicalendar .duration_course1 {
+  border-top-color: #0099FF !important;
+  border-bottom-color: #0099FF !important;
+}
+#calendar .duration_course2,
+.minicalendar .duration_course2 {
+  border-top-color: #FFFF00 !important;
+  border-bottom-color: #FFFF00 !important;
+}
+#calendar .nottoday,
+.minicalendar .nottoday {
+  border-color: #eeeeee;
+}
+table.minicalendar {
+  border-style: none;
+}
+.weekend.day.event_course a {
+  text-decoration: none;
+}
+.cal_popup_bg {
+  background-color: #FFF;
+  border-color: #CCC;
+}
+#calendar .maincalendar {
+  border-style: none;
+}
+#calendar .sidecalendar {
+  border-style: none;
+}
+.minicalendar .today {
+  border: 1px solid #CCC;
+}
+.minicalendar .today a {
+  text-decoration: none;
+}
+.minicalendar .weekdays abbr {
+  border-style: none;
+}
+.block_calendar_month .filters {
+  padding: 0 4px;
+  font-size: 100%;
+}
+.block_calendar_month .filters table {
+  background-color: inherit;
+}
+.minicalendar th {
+  padding: 0;
+}
+.minicalendar td {
+  padding: 0;
+}
+.minicalendar .day {
+  line-height: 1.1em;
+  padding: 3px 0 1px;
+  border: 1px solid #FFF;
+}
+.minicalendar .weekdays th {
+  font-weight: normal;
+}
+.minicalendar .today {
+  border: 1px solid #CCCccc;
+}
+.cal_popup_bg {
+  background-color: #FFF;
+  border-color: #CCC;
+}
+.cal_popup_cg {
+  background-color: #FFF;
+  border-color: #CCC;
+}
+.cal_popup_fg {
+  background-color: #FFF;
+  border-color: #CCC;
+}
+.cal_popup_fg div a {
+  font-size: 100% !important;
+}
+.block_calendar_month .cal_popup_caption, 
+.block_calendar_month .cal_popup_fg div {
+  border-color: #9B9984;
+  font-size: 100% !important;
+  color: #999;
+}
+#calendar .event_global,
+#calendar .event_course,
+#calendar .event_group,
+#calendar .event_user,
+.minicalendar .event_global,
+.minicalendar .event_course,
+.minicalendar .event_group,
+.minicalendar .event_user {
+  border: 1px solid  #9b9984 !important;
+}
+#calendar {
+  width: 100%;
+  border-spacing: 0;
+  border-collapse: collapse;
+}
+#calendar .today,
+.minicalendar .today {
+  border: 1px solid #CCC;
+}
+#calendar .maincalendar .calendarmonth th {
+  border-bottom: 1px solid #CCC;
+}
+/* @end */
+/* @group modules */
+.entrybox {
+  border-style: none;
+}
+.entryboxheader {
+  border-style: none;
+}
+#scormpage #tocbox {
+  border-style: none;
+}
+#grade-index .grades {
+  border-style: none;
+}
+#mod-data-edit .generalbox fieldset {
+  border-style: none;
+}
+.files td {
+  text-align: left;
+  border-bottom: 1px solid #EEE;
+}
+p.book_chapter_title {
+  font-family: inherit;
+  color: #006EA2;
+  font-size: 138.5%;
+  font-weight: normal;
+  font-style: normal;
+  line-height: 140%;
+}
+.book_toc_numbered {
+  border-left: 1px solid #A10A37;
+}
+#resource {
+  border-top: 1px solid #FFF;
+}
+/* @end */
+/* @group forum */
+.forumpost {
+  border-style: none;
+}
+.forumheaderlist {
+  border-style: none;
+  margin-left: 12px;
+  margin-bottom: 24px;
+  width: 98%;
+}
+.forumheaderlist .header {
+  text-align: left;
+}
+.forumheaderlist .discussion .starter {
+  background: inherit;
+}
+.forumpost .topic {
+  border-bottom-style: none;
+  background-color: #f8f9ef;
+}
+.forumpost .left {
+  background: inherit;
+}
+.forumpost .commands {
+  border-top: 1px solid #EEE;
+}
+.discussion td {
+  border-style: none;
+  border-bottom: 1px solid #EEE;
+}
+.forumthread .unread {
+  background: #FFD991;
+}
+#mod-forum-discuss .forumpost.unread .content {
+  border-color: #FFD991;
+}
+/* @end */
+/* @group glossary */
+.glossarypost {
+  margin-top: 12px;
+  border-style: none;
+  border-top: 1px solid #EEE;
+}
+.glossarypost .concept h3, 
+.glossarypost.continuous .concept {
+  display: inline;
+}
+.glossarycategoryheader h2,
+.glossarypost .concept h3 {
+  font-size: 100%;
+  margin: 0;
+}
+.glossarypost .entryheader {
+  background: url(pix/pix/list_bg.jpg) repeat-x scroll left top;
+}
+#mod-glossary-showentry #page {
+  width: auto;
+}
+#mod-glossary-showentry #footer,\r#mod-glossary-showentry #header,\r#mod-glossary-showentry .navbar {
+  display: none;
+}
+/* @end */
+/* @group quiz */
+#mod-lesson-edit .addlinks {
+  margin-bottom: 24px;
+}
+#mod-quiz-report #attempts td {
+  border-style: none;
+}
+.que {
+  border-color: #EEE;
+}
+.que .feedback {
+  border-color: #DDD;
+}
+.que .incorrect {
+  
+}
+.que.multianswer .incorrect {
+  background-color: #faa;
+}
+.que .partiallycorrect {
+  background-color: #ff9;
+}
+.que .correct {
+  background-color: #afa;
+}
+.quizattemptsummary .bestrow td {
+  background-color: #e8e8e8;
+}
+.quizreviewsummary th.cell {
+  background: #f0f0f0;
+}
+.quizreviewsummary td.cell {
+  background: #fafafa;
+}
+/* @end */
+/* @group wiki */
+.mwiki .boxwidthwide {
+  width: 95%;
+}
+.mwiki .tabtree {
+  margin-top: 12px;
+}
+/* @end */
+/* @group blog */
+.block_blog_tags .official {
+  color: #0000cc;
+}
+.block_blog_tags .personal {
+  color: #666699;
+}
+/* @end */
+/* @group chat */
+#mod-chat-view #middle-column {
+  padding: 0;
+}
+#mod-chat-view #enterlink {
+  text-align: left;
+  margin-left: 0;
+  margin-right: auto;
+}
+#mod-chat-gui_header_js-jsupdate .chat-message {
+  font-size: 81.25%;
+}
+#mod-chat-gui_header_js-chatinput #header {
+  display: none;
+}
+#mod-chat-gui_header_js-chatinput #page {
+  background-image: none;
+}
+#mod-chat-gui_header_js-chatinput #content {
+  margin-left: 5px;
+}
+#mod-chat-gui_header_js-chatinput .navbar {
+  display: none;
+}
+#mod-chat-gui_header_js-chatinput {
+  background-image: none;
+}
+#mod-chat-gui_header_js-users #header {
+  display: none;
+}
+#mod-chat-gui_header_js-users #page {
+  background-image: none;
+}
+#mod-chat-gui_header_js-users #content {
+  margin-left: 5px;
+}
+#mod-chat-gui_header_js-users {
+  background-image: none;
+}
+#input_chat_message {
+  width: 20em;
+}
+/* @end */
+/* @group message */
+#message-index #footer,\r#message-discussion #footer,\r#message-history #footer {
+  display: none;
+}
+#message-index #page,\r#message-user #page,\r#message-history #page {
+  width: auto;
+}
+#message-user #page {
+  margin: 0;
+}
+#message-user #content {
+  padding: 0;
+}
+/* @end */
+/* @group help */
+#help #footer {
+  display: none;
+}
+#help #page {
+  width: auto;
+}
+/* @end */
\ No newline at end of file
diff --git a/theme/lines/meta.php b/theme/lines/meta.php
new file mode 100755 (executable)
index 0000000..b94d59a
--- /dev/null
@@ -0,0 +1,8 @@
+<?php require_js(array('yui_yahoo','yui_dom','yui_event','yui_animation')); ?>
+
+<!--[if IE 7]>
+    <link rel="stylesheet" type="text/css" href="<?php echo $CFG->httpsthemewww ?>/lines/styles_ie7.css" />
+<![endif]-->
+<!--[if IE 6]>
+    <link rel="stylesheet" type="text/css" href="<?php echo $CFG->httpsthemewww ?>/lines/styles_ie6.css" />
+<![endif]-->
diff --git a/theme/lines/reset.css b/theme/lines/reset.css
new file mode 100755 (executable)
index 0000000..61ce2cf
--- /dev/null
@@ -0,0 +1,49 @@
+html, body, div, span, applet, object, iframe,\rh1, h2, h3, h4, h5, h6, p, blockquote, pre,\ra, abbr, acronym, address, big, cite, code,\rdel, dfn, em, font, img, ins, kbd, q, s, samp,\rsmall, strike, strong, sub, sup, tt, var,\rdl, dt, dd, ol, ul, li,\rfieldset, form, label, legend,\rtable, caption, tbody, tfoot, thead, tr, th, td {
+  margin: 0;
+  padding: 0;
+  border: 0;
+  outline: 0;
+  font-weight: inherit;
+  font-style: inherit;
+  font-size: 100%;
+  font-family: inherit;
+  vertical-align: baseline;
+  background-image: none;
+}
+/* remember to define focus styles! */
+:focus {
+  outline: 0;
+}
+body {
+  line-height: 1;
+  color: black;
+  background: white;
+}
+ol, ul {
+  list-style: none;
+}
+/* tables still need 'cellspacing="0"' in the markup */
+table {
+  border-collapse: collapse;
+  border-spacing: 0;
+}
+caption, th, td {
+  text-align: left;
+  font-weight: normal;
+}
+blockquote:before, blockquote:after,\rq:before, q:after {
+  content: "";
+}
+blockquote, q {
+  quotes: "" "";
+}
+body {
+  font: 13px/1.385 "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, Helvetica, sans-serif;
+}
+table {
+  font-size: inherit;
+  font: 100%;
+}
+pre,code,kbd,samp,tt {
+  font-family: monospace;
+}
\ No newline at end of file
diff --git a/theme/lines/styles.php b/theme/lines/styles.php
new file mode 100755 (executable)
index 0000000..fd3271b
--- /dev/null
@@ -0,0 +1,19 @@
+<?PHP /*  $Id$ */
+
+/// 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.
+
+
+    $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
+    $lang        = optional_param('lang', '', PARAM_FILE);          // Look for styles in this language
+
+    style_sheet_setup(time(), $lifetime, $themename, $forceconfig, $lang);
+   
+?>
diff --git a/theme/lines/styles_ie6.css b/theme/lines/styles_ie6.css
new file mode 100755 (executable)
index 0000000..48bd3f8
--- /dev/null
@@ -0,0 +1,73 @@
+/*
+ * These styles are ONLY included for IE 6 (via meta.php)
+ */
+
+/* Reset fonts for IE */
+body {font-size:small;font:x-small;}
+pre,code,kbd,samp,tt {font-size:108%;}
+
+span.arrow.sep {
+  font-family: arial, sans-serif;
+}
+.arrow_button input {
+  font-family: arial, sans-serif;
+}
+.calendar-controls .previous,
+.calendar-controls .next {
+  font-family: arial, sans-serif;
+}
+input {
+  padding: expression((this.type=="submit")?'0 4px':this.currentStyle.paddingTop+" "+this.currentStyle.paddingRight+" "+this.currentStyle.paddingBottom+" "+this.currentStyle.paddingLeft);
+}
+div.sideblock div.content input {
+  text-align: expression((this.type=="submit")?'center':this.currentStyle.textAlign);
+}
+div.sideblock div.content div.btn input {
+  width: expression((this.type=="submit")?'auto':this.currentStyle.width);
+}
+div#header-home .headermain,
+div#header .headermain {
+  margin-left: 5px;
+}
+.tabtree {
+  height: 100%;
+}
+.tabrow0 {
+  padding-top: 10px;
+}
+.tabrow0 li {
+  margin-left: 0;
+}
+.tabrow0 li.first {
+  margin-left: -4px;
+  margin-right: -4px;
+}
+.tabrow0 li.last a {
+  margin-right: 0;
+}
+.tabrow0 li.onerow {
+  margin-right: 0;
+}
+.tabrow0 a {
+  padding: 0 0 0 13px;
+}
+.tabrow0 a span {
+  padding: 12px 1em 4px 0;
+}
+.tabrow0 div,
+.tabrow0 ul {
+  top: 3.2em;
+  padding: 0.2em 0;
+}
+form.mform input {
+  margin-left: expression((this.type=="text"||this.type=="file"||this.type=="password")?'-10px':'0');
+}
+form.mform textarea {
+ margin-left: -10px;
+}
+ul.section li {
+  margin: 0.3em 0;
+}
+div.sideblock ul.list li {
+  padding-bottom: 1px;
+}
\ No newline at end of file
diff --git a/theme/lines/styles_ie7.css b/theme/lines/styles_ie7.css
new file mode 100755 (executable)
index 0000000..868b518
--- /dev/null
@@ -0,0 +1,58 @@
+/*
+ * These styles are ONLY included for IE 7 (via meta.php)
+ */
+
+/* Reset fonts for IE */
+body {font-size:small;font:x-small;}
+pre,code,kbd,samp,tt {font-size:108%;}
+
+input[type="submit"] {
+  padding: 0 2px;
+}
+div.sideblock div.content input[type="submit"] {
+  text-align: center;
+  width: auto;
+}
+.tabrow0 li {
+  margin-left: 0;
+}
+.tabrow0 li.first {
+  margin-right: -4px;
+}
+.tabrow0 li.onerow {
+  margin-right: 0;
+}
+.tabrow0 a {
+  display: inline-block;
+  padding: 8px 0 0.35em 13px;
+  line-height: 1.6em;
+}
+.tabrow0 a span {
+  padding: 10px 1em 10px 0;
+}
+.tabrow0 div,
+.tabrow0 ul {
+  top: 2.9em;
+  padding: 0.2em 0;
+}
+.tabrow0 div.empty {
+  margin-right: 0;
+}
+.sideblock {
+  overflow: hidden;
+}
+.sideblock .content {
+  word-wrap: break-word;
+}
+/*fix for misalignment of text fields in ie */
+form.mform input[type=text],
+form.mform input[type=file],
+form.mform input[type=password] {
+ margin-left: -10px;
+}
+form.mform textarea {
+ margin-left: -10px;
+}
+form.mform .fcheckbox input {
+  margin-left: -3px;
+}
\ No newline at end of file