diff options
Diffstat (limited to 'views/default/css/elements/layout.php')
| -rw-r--r-- | views/default/css/elements/layout.php | 36 |
1 files changed, 14 insertions, 22 deletions
diff --git a/views/default/css/elements/layout.php b/views/default/css/elements/layout.php index 96f5dbebe..9d92752b4 100644 --- a/views/default/css/elements/layout.php +++ b/views/default/css/elements/layout.php @@ -15,6 +15,10 @@ PAGE LAYOUT *************************************** */ /***** 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 { width: 990px; margin: 0 auto; @@ -35,7 +39,6 @@ .elgg-page-topbar { background: #333333 url(<?php echo elgg_get_site_url(); ?>_graphics/toptoolbar_background.gif) repeat-x top left; border-bottom: 1px solid #000000; - min-width: 998px; position: relative; height: 24px; z-index: 9000; @@ -50,7 +53,7 @@ top: 24px; right: 20px; max-width: 500px; - z-index: 1000; + z-index: 2000; } .elgg-system-messages li { margin-top: 10px; @@ -62,10 +65,7 @@ /***** PAGE HEADER ******/ .elgg-page-header { position: relative; - background-color: #4690D6; - background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/header_shadow.png); - background-repeat: repeat-x; - background-position: bottom left; + background: #4690D6 url(<?php echo elgg_get_site_url(); ?>_graphics/header_shadow.png) repeat-x bottom left; } .elgg-page-header > .elgg-inner { position: relative; @@ -75,18 +75,14 @@ .elgg-layout { min-height: 360px; } -.elgg-layout-one-column { - padding: 10px 0; -} .elgg-layout-one-sidebar { - background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/sidebar_background.gif); - background-repeat: repeat-y; - background-position: right top; + background: transparent url(<?php echo elgg_get_site_url(); ?>_graphics/sidebar_background.gif) repeat-y right top; } .elgg-layout-two-sidebar { - background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/two_sidebar_background.gif); - background-repeat: repeat-y; - background-position: right top; + 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 { position: relative; @@ -113,17 +109,13 @@ margin-bottom: 10px; } -.elgg-main > .elgg-head a { - float: right; -} - /***** PAGE FOOTER ******/ .elgg-page-footer { position: relative; } .elgg-page-footer { - color: #999999; + color: #999; } .elgg-page-footer a:hover { - color: #666666; -}
\ No newline at end of file + color: #666; +} |
