added styles for display.inc.php preferences panel
authorgreg gay <ggay@ocad.ca>
Tue, 8 Jun 2010 13:02:53 +0000 (13:02 -0000)
committergreg gay <ggay@ocad.ca>
Tue, 8 Jun 2010 13:02:53 +0000 (13:02 -0000)
docs/themes/blumin/styles.css
docs/themes/default/styles.css
docs/themes/default15/styles.css
docs/themes/default16/include/header.tmpl.php
docs/themes/default16/styles.css
docs/themes/default_classic/styles.css
docs/themes/fluid/styles.css
docs/themes/greenmin/styles.css

index 0e2fd6f..7894613 100644 (file)
@@ -1746,4 +1746,71 @@ clear:right;
 }
 .editor_tab input[type=submit]{
        height:1.2em;
-}
\ No newline at end of file
+}
+/* Transformable repository search */
+
+.browse-result{
+       border:thin solid #cccccc;
+       padding:.5em;
+       width:95%;
+       margin-left:auto;
+       margin-right:auto;
+       border-radius: .3em .3em .3em .3em;
+       -moz-border-radius: .3em .3em .3em .3em;
+       -moz-box-shadow:.1em .1em .1em #999999;
+       box-shadow: .1em .1em .1em #999999;
+}
+
+.tr_results_tools{
+       float:right;
+       padding-left:.2em;
+       padding-right:.2em;
+       padding-top:.2em;
+       border:thin solid #cccccc;
+       border-radius: .3em .3em .3em .3em;
+       -moz-border-radius: .3em .3em .3em .3em;
+       -moz-box-shadow:.1em .1em .1em #999999;
+       box-shadow: .1em .1em .1em #999999;
+}
+
+div.pageinator_box{
+       width:95%;
+       margin-left:auto;
+       margin-right:auto;
+       margin-bottom: -.5em;
+       border-top:thin solid #cccccc;
+       border-left:thin solid #cccccc;
+       border-right:thin solid #cccccc;
+       border-radius: .3em .3em 0em 0em;
+       -moz-border-radius: .3em .3em 0em 0em;
+}
+#previewText{
+    font-family: monospace;
+    border: 2px solid rgb(0, 0, 0);
+    padding: 2em;
+    width: 80%;
+    color: rgb(255, 255, 255);
+    background-color: rgb(0, 0, 0);
+}
+#previewArea{
+    padding: 0em;
+    border-bottom-width: 0px;
+    margin-left: auto;
+    margin-right: auto;
+    font-weight: normal;
+    width: 70%;
+    float:left;
+    clear:right;
+}
+#display-settings-preview{
+    width:70%;
+    float:left;
+    height:20em;   
+}
+#feedback{
+    width: 90%;
+}
+#defaultfontsize-wrapper{
+    width:25%;
+    float:left;
+}
index e0c1a42..5a9e6c9 100644 (file)
@@ -2267,3 +2267,33 @@ div.pageinator_box{
        -moz-border-radius: .3em .3em 0em 0em;
 }
 
+#previewText{
+    font-family: monospace;
+    border: 2px solid rgb(0, 0, 0);
+    padding: 2em;
+    width: 80%;
+    color: rgb(255, 255, 255);
+    background-color: rgb(0, 0, 0);
+}
+#previewArea{
+    padding: 0em;
+    border-bottom-width: 0px;
+    margin-left: auto;
+    margin-right: auto;
+    font-weight: normal;
+    width: 70%;
+    float:left;
+    clear:right;
+}
+#display-settings-preview{
+    width:70%;
+    float:left;
+    height:20em;   
+}
+#feedback{
+    width: 90%;
+}
+#defaultfontsize-wrapper{
+    width:25%;
+    float:left;
+}
\ No newline at end of file
index eca6640..3921e5d 100644 (file)
@@ -1512,3 +1512,72 @@ table.etabbed-table      {
        -moz-box-shadow:.2em .2em .2em #999999;
     box-shadow: .2em .0em .2em #999999;
 }
+
+
+/* Transformable repository search */
+
+.browse-result{
+       border:thin solid #cccccc;
+       padding:.5em;
+       width:95%;
+       margin-left:auto;
+       margin-right:auto;
+       border-radius: .3em .3em .3em .3em;
+       -moz-border-radius: .3em .3em .3em .3em;
+       -moz-box-shadow:.1em .1em .1em #999999;
+       box-shadow: .1em .1em .1em #999999;
+}
+
+.tr_results_tools{
+       float:right;
+       padding-left:.2em;
+       padding-right:.2em;
+       padding-top:.2em;
+       border:thin solid #cccccc;
+       border-radius: .3em .3em .3em .3em;
+       -moz-border-radius: .3em .3em .3em .3em;
+       -moz-box-shadow:.1em .1em .1em #999999;
+       box-shadow: .1em .1em .1em #999999;
+}
+
+div.pageinator_box{
+       width:95%;
+       margin-left:auto;
+       margin-right:auto;
+       margin-bottom: -.5em;
+       border-top:thin solid #cccccc;
+       border-left:thin solid #cccccc;
+       border-right:thin solid #cccccc;
+       border-radius: .3em .3em 0em 0em;
+       -moz-border-radius: .3em .3em 0em 0em;
+}
+#previewText{
+    font-family: monospace;
+    border: 2px solid rgb(0, 0, 0);
+    padding: 2em;
+    width: 80%;
+    color: rgb(255, 255, 255);
+    background-color: rgb(0, 0, 0);
+}
+#previewArea{
+    padding: 0em;
+    border-bottom-width: 0px;
+    margin-left: auto;
+    margin-right: auto;
+    font-weight: normal;
+    width: 70%;
+    float:left;
+    clear:right;
+}
+#display-settings-preview{
+    width:70%;
+    float:left;
+    height:20em;   
+}
+#feedback{
+    width: 90%;
+}
+#defaultfontsize-wrapper{
+    width:25%;
+    float:left;
+}
\ No newline at end of file
index 86e46bc..9e1fc3d 100644 (file)
@@ -172,14 +172,19 @@ global $system_courses, $_custom_css,$db;
 
 <div style="background-color:#E6E6E6; font-size:0.85em; padding-top: 5px; border-bottom:1px solid black; height:2em;">
        <!-- the sub navigation -->
-       <div style="float: right; padding-right: 5px; text-transform: lowercase;">
-               <?php if ($_SESSION['valid_user']): ?>                                  
-                       <strong><?php echo get_display_name($_SESSION['member_id']); ?></strong> | <a href="<?php echo $this->base_path; ?>logout.php"><?php echo _AT('logout'); ?></a>
+<div class="logoutbar">
+               <?php if (isset($_SESSION['valid_user']) && $_SESSION['valid_user']): ?>
+               <?php $path_parts = explode("/", $this->current_top_level_page); 
+                     $last_path_part = $path_parts[sizeof($path_parts) - 1];
+               if (!admin_authenticate(AT_ADMIN_PRIV_ADMIN, AT_PRIV_RETURN) && $last_path_part != 'preferences.php') {?>
+                   <a class="pref_wiz_launcher"><img border="0" alt="<?php echo _AT('preferences').' - '._AT('new_window'); ?>" src="<?php echo $this->base_href; ?>images/wand.png" /></a> |
+                   <?php } ?> 
+                       <strong><?php echo get_display_name($_SESSION['member_id']); ?></strong> | 
+                       <a href="<?php echo $this->base_path; ?>logout.php"><?php echo _AT('logout'); ?></a>
                <?php else: ?>
-                        <a href="<?php echo $this->base_path; ?>login.php?course=<?php echo $_SESSION['course_id']; ?>"><?php echo _AT('login'); ?></a> | <a href="<?php echo $this->base_path; ?>registration.php"><?php echo _AT('register'); ?></a>
+                        <a href="<?php echo $this->base_path; ?>login.php?course=<?php echo $this->course_id; ?>"><?php echo _AT('login'); ?></a> | <a href="<?php echo $this->base_path; ?>registration.php"><?php echo _AT('register'); ?></a>
                <?php endif; ?>
-       </div>
-
+</div>
        <?php if ($this->sub_level_pages): ?>
                <div id="sub-navigation">
                        <?php if (isset($this->back_to_page)): ?>
index ed839b1..6264f52 100644 (file)
@@ -1776,3 +1776,145 @@ div.menuedit{
        margin-top:-1.2em;
        border:1px solid #cccccc;
 }
+
+
+/* Detailed view styles */
+div.home_box {
+       width: 29em;
+       height: 150px;  
+       padding-top: 15px;
+       float: left;
+}
+
+.outside_box{
+       border:1px solid #cccccc;
+       background: #eeeeee;
+       padding:.2em;
+       margin-left:.4em;
+       width:26em;
+       height:9.8em;
+       border-radius:.5em;
+       -moz-border-radius:.3em .3em .3em .3em;
+       border-radius: 3em 3em .3em .3em;
+    -moz-box-shadow:.2em .2em .2em #999999;
+    box-shadow: .2em .2em .2em #999999;
+       padding:.2em;
+}
+
+.inside_box{
+       border:1px solid #cccccc;
+       background: #ffffff;
+       padding:.3em;
+       width:95%;
+       margin:auto;
+       height:52%;
+       margin-bottom:.2em;
+       font-size:10pt;
+       border-radius:.5em;
+       -moz-border-radius:.5em;
+       padding:.2em;
+}
+.details_or{
+       width:28.8em;
+       height:9.8em;
+       margin:0;
+}
+.details_ol{
+
+       height:9.8em;
+       margin:0px;
+       width:.45em;
+       background-position: top left;
+       background-repeat:no-repeat;
+}
+.details_ir{
+       width:.5em;
+       height:100%;
+       float:right;
+}
+.details_il{
+       height:100%;
+       float:left;
+}
+.home-title{
+       font-size:10pt;
+       font-weight:bold;
+}
+.buttonbox{
+       float:right;
+}
+
+.details_text{
+       margin-left:1em;
+}
+.draggable_selected {
+       background-color: transparent;
+       cursor: move;
+}
+/* Transformable repository search */
+
+.browse-result{
+       border:thin solid #cccccc;
+       padding:.5em;
+       width:95%;
+       margin-left:auto;
+       margin-right:auto;
+       border-radius: .3em .3em .3em .3em;
+       -moz-border-radius: .3em .3em .3em .3em;
+       -moz-box-shadow:.1em .1em .1em #999999;
+       box-shadow: .1em .1em .1em #999999;
+}
+
+.tr_results_tools{
+       float:right;
+       padding-left:.2em;
+       padding-right:.2em;
+       padding-top:.2em;
+       border:thin solid #cccccc;
+       border-radius: .3em .3em .3em .3em;
+       -moz-border-radius: .3em .3em .3em .3em;
+       -moz-box-shadow:.1em .1em .1em #999999;
+       box-shadow: .1em .1em .1em #999999;
+}
+
+div.pageinator_box{
+       width:95%;
+       margin-left:auto;
+       margin-right:auto;
+       margin-bottom: -.5em;
+       border-top:thin solid #cccccc;
+       border-left:thin solid #cccccc;
+       border-right:thin solid #cccccc;
+       border-radius: .3em .3em 0em 0em;
+       -moz-border-radius: .3em .3em 0em 0em;
+}
+#previewText{
+    font-family: monospace;
+    border: 2px solid rgb(0, 0, 0);
+    padding: 2em;
+    width: 80%;
+    color: rgb(255, 255, 255);
+    background-color: rgb(0, 0, 0);
+}
+#previewArea{
+    padding: 0em;
+    border-bottom-width: 0px;
+    margin-left: auto;
+    margin-right: auto;
+    font-weight: normal;
+    width: 70%;
+    float:left;
+    clear:right;
+}
+#display-settings-preview{
+    width:70%;
+    float:left;
+    height:20em;   
+}
+#feedback{
+    width: 90%;
+}
+#defaultfontsize-wrapper{
+    width:25%;
+    float:left;
+}
\ No newline at end of file
index d92aa63..750a4ab 100644 (file)
@@ -1432,3 +1432,70 @@ table.etabbed-table      {
        -moz-box-shadow:.2em .2em .2em #999999;
     box-shadow: .2em .0em .2em #999999;
 }
+/* Transformable repository search */
+
+.browse-result{
+       border:thin solid #cccccc;
+       padding:.5em;
+       width:95%;
+       margin-left:auto;
+       margin-right:auto;
+       border-radius: .3em .3em .3em .3em;
+       -moz-border-radius: .3em .3em .3em .3em;
+       -moz-box-shadow:.1em .1em .1em #999999;
+       box-shadow: .1em .1em .1em #999999;
+}
+
+.tr_results_tools{
+       float:right;
+       padding-left:.2em;
+       padding-right:.2em;
+       padding-top:.2em;
+       border:thin solid #cccccc;
+       border-radius: .3em .3em .3em .3em;
+       -moz-border-radius: .3em .3em .3em .3em;
+       -moz-box-shadow:.1em .1em .1em #999999;
+       box-shadow: .1em .1em .1em #999999;
+}
+
+div.pageinator_box{
+       width:95%;
+       margin-left:auto;
+       margin-right:auto;
+       margin-bottom: -.5em;
+       border-top:thin solid #cccccc;
+       border-left:thin solid #cccccc;
+       border-right:thin solid #cccccc;
+       border-radius: .3em .3em 0em 0em;
+       -moz-border-radius: .3em .3em 0em 0em;
+}
+#previewText{
+    font-family: monospace;
+    border: 2px solid rgb(0, 0, 0);
+    padding: 2em;
+    width: 80%;
+    color: rgb(255, 255, 255);
+    background-color: rgb(0, 0, 0);
+}
+#previewArea{
+    padding: 0em;
+    border-bottom-width: 0px;
+    margin-left: auto;
+    margin-right: auto;
+    font-weight: normal;
+    width: 70%;
+    float:left;
+    clear:right;
+}
+#display-settings-preview{
+    width:70%;
+    float:left;
+    height:20em;   
+}
+#feedback{
+    width: 90%;
+}
+#defaultfontsize-wrapper{
+    width:25%;
+    float:left;
+}
\ No newline at end of file
index f803ded..6cf695b 100644 (file)
@@ -1715,3 +1715,70 @@ table.etabbed-table      {
        -moz-box-shadow:.2em .2em .2em #999999;
     box-shadow: .2em .0em .2em #999999;
 }
+/* Transformable repository search */
+
+.browse-result{
+       border:thin solid #cccccc;
+       padding:.5em;
+       width:95%;
+       margin-left:auto;
+       margin-right:auto;
+       border-radius: .3em .3em .3em .3em;
+       -moz-border-radius: .3em .3em .3em .3em;
+       -moz-box-shadow:.1em .1em .1em #999999;
+       box-shadow: .1em .1em .1em #999999;
+}
+
+.tr_results_tools{
+       float:right;
+       padding-left:.2em;
+       padding-right:.2em;
+       padding-top:.2em;
+       border:thin solid #cccccc;
+       border-radius: .3em .3em .3em .3em;
+       -moz-border-radius: .3em .3em .3em .3em;
+       -moz-box-shadow:.1em .1em .1em #999999;
+       box-shadow: .1em .1em .1em #999999;
+}
+
+div.pageinator_box{
+       width:95%;
+       margin-left:auto;
+       margin-right:auto;
+       margin-bottom: -.5em;
+       border-top:thin solid #cccccc;
+       border-left:thin solid #cccccc;
+       border-right:thin solid #cccccc;
+       border-radius: .3em .3em 0em 0em;
+       -moz-border-radius: .3em .3em 0em 0em;
+}
+#previewText{
+    font-family: monospace;
+    border: 2px solid rgb(0, 0, 0);
+    padding: 2em;
+    width: 80%;
+    color: rgb(255, 255, 255);
+    background-color: rgb(0, 0, 0);
+}
+#previewArea{
+    padding: 0em;
+    border-bottom-width: 0px;
+    margin-left: auto;
+    margin-right: auto;
+    font-weight: normal;
+    width: 70%;
+    float:left;
+    clear:right;
+}
+#display-settings-preview{
+    width:70%;
+    float:left;
+    height:20em;   
+}
+#feedback{
+    width: 90%;
+}
+#defaultfontsize-wrapper{
+    width:25%;
+    float:left;
+}
\ No newline at end of file
index 694659c..9026e6f 100644 (file)
@@ -1595,3 +1595,71 @@ table.etabbed-table      {
        border-radius:.3em .3em .3em .3em;
        -moz-border-radius:.3em .3em .3em .3em; 
 }
+
+/* Transformable repository search */
+
+.browse-result{
+       border:thin solid #cccccc;
+       padding:.5em;
+       width:95%;
+       margin-left:auto;
+       margin-right:auto;
+       border-radius: .3em .3em .3em .3em;
+       -moz-border-radius: .3em .3em .3em .3em;
+       -moz-box-shadow:.1em .1em .1em #999999;
+       box-shadow: .1em .1em .1em #999999;
+}
+
+.tr_results_tools{
+       float:right;
+       padding-left:.2em;
+       padding-right:.2em;
+       padding-top:.2em;
+       border:thin solid #cccccc;
+       border-radius: .3em .3em .3em .3em;
+       -moz-border-radius: .3em .3em .3em .3em;
+       -moz-box-shadow:.1em .1em .1em #999999;
+       box-shadow: .1em .1em .1em #999999;
+}
+
+div.pageinator_box{
+       width:95%;
+       margin-left:auto;
+       margin-right:auto;
+       margin-bottom: -.5em;
+       border-top:thin solid #cccccc;
+       border-left:thin solid #cccccc;
+       border-right:thin solid #cccccc;
+       border-radius: .3em .3em 0em 0em;
+       -moz-border-radius: .3em .3em 0em 0em;
+}
+#previewText{
+    font-family: monospace;
+    border: 2px solid rgb(0, 0, 0);
+    padding: 2em;
+    width: 80%;
+    color: rgb(255, 255, 255);
+    background-color: rgb(0, 0, 0);
+}
+#previewArea{
+    padding: 0em;
+    border-bottom-width: 0px;
+    margin-left: auto;
+    margin-right: auto;
+    font-weight: normal;
+    width: 70%;
+    float:left;
+    clear:right;
+}
+#display-settings-preview{
+    width:70%;
+    float:left;
+    height:20em;   
+}
+#feedback{
+    width: 90%;
+}
+#defaultfontsize-wrapper{
+    width:25%;
+    float:left;
+}