]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
adjusted the one column and two column layouts
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Fri, 3 Dec 2010 01:17:25 +0000 (01:17 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Fri, 3 Dec 2010 01:17:25 +0000 (01:17 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7507 36083f99-b078-4883-b0ff-0f9b5a30f544

views/default/css/screen.php
views/default/layouts/one_column.php
views/default/layouts/one_column_with_sidebar.php
views/default/page_elements/footer.php

index 2e6c9c1a7ba0bfdd5f4d6eb55d281be10a761c5d..c564e876bbe4c1dfbaa2b9f62ee015e4069c9d82 100644 (file)
@@ -228,24 +228,13 @@ h2 {
 .ajax-loader.left {
        background-position: left center;
 }
-.elgg-aside h3 {
-       border-bottom:1px solid #CCCCCC;
-       margin-bottom:5px;
-       margin-top:20px;
-       padding-bottom:5px;
-}
 
-.elgg-center {
-       margin: 0 auto;
+.right {
+       float: right;
 }
 
-.elgg-width-classic {
-       width: 990px;
-       /* temp until layout css is sorted 
-       background-image:url(<?php echo elgg_get_site_url(); ?>_graphics/sidebar_background.gif);
-       background-repeat:repeat-y;
-       background-position: right top;
-*/
+.left {
+       float: left;
 }
 
 /* ***************************************
@@ -306,7 +295,6 @@ h2 {
 }
 .elgg-layout > .elgg-body {
        float:left;
-       width:730px;
        position: relative;
        min-height: 360px;
        margin:10px 20px 20px 10px;
@@ -322,7 +310,6 @@ h2 {
 }
 #elgg-page-contents { /* main page contents */
        float:left;
-       width:730px;
        position: relative;
        min-height: 360px;
        margin:10px 20px 20px 10px;
@@ -350,6 +337,26 @@ h2 {
        text-align: right;
 }
 
+.elgg-aside h3 {
+       border-bottom:1px solid #CCCCCC;
+       margin-bottom:5px;
+       margin-top:20px;
+       padding-bottom:5px;
+}
+
+.elgg-center {
+       margin: 0 auto;
+}
+
+.elgg-width-classic {
+       width: 990px;
+}
+
+.elgg-width-content {
+       width: 730px;
+}
+
+
 
 /* ***************************************
        ELGG TOPBAR
index 9555707ce2b6ba3428f3efe0bc4bf93c4cacaeb7..e3189a3091c0a95beb791d824f8e8dce71a4dad5 100644 (file)
@@ -8,8 +8,8 @@
  * @uses $vars['content'] Content string
  */
 ?>
-<div id="elgg-content" class="clearfix">
-       <div id="elgg-page-contents" class="clearfix one_column">
+<div class="elgg-body">
+       <div class="elgg-layout elgg-center elgg-width-classic clearfix">
                <?php echo $vars['content']; ?>
                <?php echo $vars['area1']; ?>
        </div>
index 4d99a9308bcaef2981d8f52ad5cf4eabff512e10..827fe19f4d35d7dcce4e116c9535728041faf46d 100644 (file)
@@ -16,7 +16,7 @@
                ?>
        </div>
        
-       <div class="elgg-body">
+       <div class="elgg-body elgg-width-content">
                <?php
                        // @todo deprecated so remove in Elgg 2.0
                        if (isset($vars['area1'])) {
index 8262c4d58bf8f00fd87be43443771ba7dd425550..d3bb0e89a786a7d97c8693df02218d095104aaf0 100644 (file)
@@ -12,7 +12,7 @@
 <div class="elgg-footer">
        <div class="elgg-inner elgg-center elgg-width-classic">
                <?php echo elgg_view('footer/links'); ?>
-               <a href="http://www.elgg.org" class="powered-by-elgg-badge">
+               <a href="http://www.elgg.org" class="right">
                        <img src="<?php echo elgg_get_site_url(); ?>_graphics/powered_by_elgg_badge_drk_bckgnd.gif" alt="Powered by Elgg" />
                </a>
        </div>