adjust background and forground styles to more cleanly take user display prefs
authorgreg gay <ggay@ocad.ca>
Mon, 19 Apr 2010 20:31:55 +0000 (20:31 -0000)
committergreg gay <ggay@ocad.ca>
Mon, 19 Apr 2010 20:31:55 +0000 (20:31 -0000)
docs/themes/default/forms.css
docs/themes/default/include/header.tmpl.php
docs/themes/default/styles.css
docs/themes/default/test_questions/header.tmpl.php

index da4fb91..49d6942 100644 (file)
@@ -102,4 +102,16 @@ input[type=submit]{
 input[type=reset]{\r
        border-radius:.3em;\r
        -moz-border-radius: .3em .3em .3em .3em;\r
+}\r
+.test_instruction{\r
+       background-color: #f3f3f3; \r
+       padding: 5px 10px; \r
+       margin: 0px; \r
+       border-top: 1px solid;\r
+}\r
+.test_points{\r
+       float: right; \r
+       width: 50%; \r
+       text-align: right; \r
+       font-weight: bold;\r
 }
\ No newline at end of file
index 3a5c70d..363db25 100644 (file)
@@ -365,7 +365,7 @@ function printSubmenuHeader(title)
 
 </div>
 
-<div style="padding:3px;">
+<div style="padding:0;width:100%">
 <?php if (isset($_SESSION["prefs"]["PREF_SHOW_BREAD_CRUMBS"]) && $_SESSION["prefs"]["PREF_SHOW_BREAD_CRUMBS"]) { ?>
        <!-- the bread crumbs -->
        <div id="breadcrumbs">
index 4ab6c24..14e2a22 100644 (file)
@@ -13,11 +13,11 @@ body {
     font-family: Verdana, Helevetica, Arial, sans-serif;
     margin:0px;
     margin-top: -10px;
-    font-size: small;
+    font-size: .8em;
     background-color: #eeeeee;
 }
 .page_wrapper{
-    border:1px solid #ffffff;
+    border:1px solid #cccccc;
     width:97%;
     margin:auto;
     margin-top:1em;
@@ -1345,7 +1345,7 @@ div.social-wrapper{
 /* floating layout */
 #contentwrapper{
        float: left;
-       width: 99%;
+       width: 100%;
 }
 #contentcolumn {
        margin-left: 0.5em;
@@ -1397,6 +1397,7 @@ div#topnavlistcontainer {
        background-position:  top right;
        background-repeat: no-repeat;
        height:1.7em;
+       border-bottom:1px solid #cccccc;
 }
 
 
@@ -1885,7 +1886,7 @@ tr.odd {
        border-left: 1px solid #cccccc;
        border-right: 1px solid #cccccc;
        border-bottom:0;
-margin-bottom:.5em;
+       margin-bottom:.5em;
        text-align: center;
        white-space: nowrap;
        width:13%;
@@ -2031,4 +2032,9 @@ border:1px solid black;
 background-color:#ffffff;
 color:#0000FF;
 font-weight:bold;
+}
+
+.navlist{
+       list-style: none;
+       display: inline;
 }
\ No newline at end of file
index d3efeb3..ea4a6cc 100644 (file)
@@ -1,6 +1,6 @@
-<div style="background-color: #f3f3f3; padding: 5px 10px; margin: 0px; border-top: 1px solid">
+<div class="test_instruction">
        <?php if ($this->weight): ?>
-               <div style="float: right; width: 50%; text-align: right; font-weight: bold">
+               <div class="test_points">
                        <?php if ($this->score=='' && $this->score !== FALSE) echo '<span style="color:red">'._AT('unmarked').'</span>'; ?>
                        <?php if ($this->score !== FALSE && $this->question_id): ?>
                                <input type="text" name="scores[<?php echo $this->question_id; ?>]" value="<?php echo $this->score; ?>" size="5" style="font-weight: bold; text-align: right" maxlength="5"/> /