diff options
-rw-r--r-- | views/default/canvas/layouts/sidebar_boxes.php | 29 | ||||
-rw-r--r-- | views/default/css.php | 24 |
2 files changed, 53 insertions, 0 deletions
diff --git a/views/default/canvas/layouts/sidebar_boxes.php b/views/default/canvas/layouts/sidebar_boxes.php new file mode 100644 index 000000000..1e7344f4f --- /dev/null +++ b/views/default/canvas/layouts/sidebar_boxes.php @@ -0,0 +1,29 @@ +<?php
+
+ /**
+ * Elgg 2 column left sidebar with boxes
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+?>
+
+<!-- left sidebar -->
+<div id="two_column_left_sidebar_boxes" style="float:left;width;200px;">
+
+ <?php if (isset($vars['area1'])) echo $vars['area1']; ?>
+
+</div><!-- /two_column_left_sidebar -->
+
+<!-- main content -->
+<div id="two_column_left_sidebar_maincontent_boxes">
+
+<?php if (isset($vars['area2'])) echo $vars['area2']; ?>
+
+</div><!-- /two_column_left_sidebar_maincontent -->
+
diff --git a/views/default/css.php b/views/default/css.php index 2f95b8882..f3afd935f 100644 --- a/views/default/css.php +++ b/views/default/css.php @@ -219,6 +219,30 @@ blockquote { border-bottom: 1px solid #cccccc; } +/* canvas layout: 2 column left sidebar with boxes */ +#two_column_left_sidebar_boxes { + width:210px; + margin:20px 0 20px 20px; + min-height:360px; + float:left; + background: white; + padding:0px; + border-bottom:1px solid #cccccc; + border-right:1px solid #cccccc; +} + +#two_column_left_sidebar_maincontent_boxes { + width:685px; + margin:20px; + min-height: 360px; + float:left; + background: white; + padding:20px; + border-bottom:1px solid #cccccc; + border-right:1px solid #cccccc; +} + + /* canvas layout: 2 column left sidebar */ #two_column_left_sidebar { width:210px; |