diff options
Diffstat (limited to 'views/default/css/elements/layout.php')
-rw-r--r-- | views/default/css/elements/layout.php | 76 |
1 files changed, 26 insertions, 50 deletions
diff --git a/views/default/css/elements/layout.php b/views/default/css/elements/layout.php index 9a61faa8f..9d92752b4 100644 --- a/views/default/css/elements/layout.php +++ b/views/default/css/elements/layout.php @@ -14,40 +14,34 @@ /* *************************************** PAGE LAYOUT *************************************** */ - -body { - background-color: #eeeeee; -} - /***** DEFAULT LAYOUT ******/ <?php // the width is on the page rather than topbar to handle small viewports ?> .elgg-page-default { min-width: 998px; } .elgg-page-default .elgg-page-header > .elgg-inner { - min-width: 980px; + width: 990px; margin: 0 auto; height: 90px; } .elgg-page-default .elgg-page-body > .elgg-inner { - min-width: 980px; + width: 990px; margin: 0 auto; } .elgg-page-default .elgg-page-footer > .elgg-inner { - min-width: 940px; + width: 990px; margin: 0 auto; - padding: 5px 20px; + padding: 5px 0; border-top: 1px solid #DEDEDE; } /***** TOPBAR ******/ .elgg-page-topbar { - background-color: #333333; + background: #333333 url(<?php echo elgg_get_site_url(); ?>_graphics/toptoolbar_background.gif) repeat-x top left; + border-bottom: 1px solid #000000; position: relative; height: 24px; z-index: 9000; - position: fixed; - width: 100%; } .elgg-page-topbar > .elgg-inner { padding: 0 10px; @@ -71,35 +65,31 @@ body { /***** PAGE HEADER ******/ .elgg-page-header { position: relative; - background: #333333; - padding-top: 24px; + background: #4690D6 url(<?php echo elgg_get_site_url(); ?>_graphics/header_shadow.png) repeat-x bottom left; } .elgg-page-header > .elgg-inner { position: relative; - background: transparent url(<?php echo elgg_get_site_url(); ?>mod/saravea_theme/_graphics/saravea_verm_small.png) no-repeat 650px -15px; } -/***** LIQUID LAYOUT *******/ - -.elgg-page-body .elgg-inner { - position: relative; /* This fixes the IE7 overflow hidden bug */ - clear: both; - overflow: hidden; /* This chops off any overhanging divs */ - background-color: #dedede; -} +/***** PAGE BODY LAYOUT ******/ .elgg-layout { - background-color: #eee; - float: left; - position: relative; - min-height: 500px; + min-height: 360px; } .elgg-layout-one-sidebar { - right: 25%; + background: transparent url(<?php echo elgg_get_site_url(); ?>_graphics/sidebar_background.gif) repeat-y right top; +} +.elgg-layout-two-sidebar { + background: transparent url(<?php echo elgg_get_site_url(); ?>_graphics/two_sidebar_background.gif) repeat-y right top; +} +.elgg-layout-error { + margin-top: 20px; } .elgg-sidebar { - left: 31%; - width: 21%; - padding: 20px; + position: relative; + padding: 20px 10px; + float: right; + width: 210px; + margin: 0 0 0 10px; } .elgg-sidebar-alt { position: relative; @@ -109,37 +99,23 @@ body { margin: 0 10px 0 0; } .elgg-main { - left: 2%; - width: 96%; -} -.elgg-layout-one-sidebar .elgg-main { - left: 27%; - width: 71%; + position: relative; + min-height: 360px; + padding: 10px; } .elgg-main > .elgg-head { padding-bottom: 3px; + border-bottom: 1px solid #CCCCCC; margin-bottom: 10px; } -.elgg-main, .elgg-sidebar { - float: left; - position: relative; - padding: 1em 0 1em 0; - overflow: hidden; -} - /***** PAGE FOOTER ******/ .elgg-page-footer { - clear:both; - float:left; - width:100%; + position: relative; } .elgg-page-footer { color: #999; } -.elgg-page-footer .elgg-inner { - margin: 20px; -} .elgg-page-footer a:hover { color: #666; } |