aboutsummaryrefslogtreecommitdiff
path: root/views/default/css/elements/layout.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/css/elements/layout.php')
-rw-r--r--views/default/css/elements/layout.php45
1 files changed, 16 insertions, 29 deletions
diff --git a/views/default/css/elements/layout.php b/views/default/css/elements/layout.php
index 6ae0a7a21..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;
@@ -44,18 +47,13 @@
padding: 0 10px;
}
-<?php // elgg logo and user avatar need to be adjusted slightly ?>
-.elgg-page-topbar img {
- margin-top: -1px;
-}
-
/***** PAGE MESSAGES ******/
.elgg-system-messages {
position: fixed;
top: 24px;
right: 20px;
max-width: 500px;
- z-index: 1000;
+ z-index: 2000;
}
.elgg-system-messages li {
margin-top: 10px;
@@ -67,31 +65,24 @@
/***** 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;
}
-/***** PAGE BODY ******/
+/***** PAGE BODY LAYOUT ******/
.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;
@@ -118,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;
+.elgg-page-footer {
+ color: #999;
}
.elgg-page-footer a:hover {
- color: #666666;
-} \ No newline at end of file
+ color: #666;
+}