aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-13 11:00:10 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-13 11:00:10 +0000
commit12b74f845888c994b834e301e6e47dde5f6d03b0 (patch)
treecd1ba850630f1801caeec55175f1662ffa54894b /views
parente1fd499100ce5314982d8ebb83a8db10814d5d4a (diff)
downloadelgg-12b74f845888c994b834e301e6e47dde5f6d03b0.tar.gz
elgg-12b74f845888c994b834e301e6e47dde5f6d03b0.tar.bz2
new layout canvas
git-svn-id: https://code.elgg.org/elgg/trunk@2734 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r--views/default/canvas/layouts/sidebar_boxes.php29
-rw-r--r--views/default/css.php24
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;