aboutsummaryrefslogtreecommitdiff
path: root/mod/saravea_theme/views/default/css/elements/layout.php
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-14 21:41:44 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-14 21:41:44 -0300
commit867e31999f3c8a77c01a1d4e881de593438b51b3 (patch)
tree9a3961a827243455e76d2ac53519f5109459e62d /mod/saravea_theme/views/default/css/elements/layout.php
parent65285c74f1ee92981aaf5570e4ba5075e0ad6d2f (diff)
parentbeaab428eb8b6e19ca6d413249f6307100d9b853 (diff)
downloadelgg-867e31999f3c8a77c01a1d4e881de593438b51b3.tar.gz
elgg-867e31999f3c8a77c01a1d4e881de593438b51b3.tar.bz2
Merge commit 'beaab428eb8b6e19ca6d413249f6307100d9b853' as 'mod/saravea_theme'
Diffstat (limited to 'mod/saravea_theme/views/default/css/elements/layout.php')
-rw-r--r--mod/saravea_theme/views/default/css/elements/layout.php145
1 files changed, 145 insertions, 0 deletions
diff --git a/mod/saravea_theme/views/default/css/elements/layout.php b/mod/saravea_theme/views/default/css/elements/layout.php
new file mode 100644
index 000000000..9a61faa8f
--- /dev/null
+++ b/mod/saravea_theme/views/default/css/elements/layout.php
@@ -0,0 +1,145 @@
+<?php
+/**
+ * Page Layout
+ *
+ * Contains CSS for the page shell and page layout
+ *
+ * Default layout: 990px wide, centered. Used in default page shell
+ *
+ * @package Elgg.Core
+ * @subpackage UI
+ */
+?>
+
+/* ***************************************
+ 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;
+ margin: 0 auto;
+ height: 90px;
+}
+.elgg-page-default .elgg-page-body > .elgg-inner {
+ min-width: 980px;
+ margin: 0 auto;
+}
+.elgg-page-default .elgg-page-footer > .elgg-inner {
+ min-width: 940px;
+ margin: 0 auto;
+ padding: 5px 20px;
+ border-top: 1px solid #DEDEDE;
+}
+
+/***** TOPBAR ******/
+.elgg-page-topbar {
+ background-color: #333333;
+ position: relative;
+ height: 24px;
+ z-index: 9000;
+ position: fixed;
+ width: 100%;
+}
+.elgg-page-topbar > .elgg-inner {
+ padding: 0 10px;
+}
+
+/***** PAGE MESSAGES ******/
+.elgg-system-messages {
+ position: fixed;
+ top: 24px;
+ right: 20px;
+ max-width: 500px;
+ z-index: 2000;
+}
+.elgg-system-messages li {
+ margin-top: 10px;
+}
+.elgg-system-messages li p {
+ margin: 0;
+}
+
+/***** PAGE HEADER ******/
+.elgg-page-header {
+ position: relative;
+ background: #333333;
+ padding-top: 24px;
+}
+.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;
+}
+.elgg-layout {
+ background-color: #eee;
+ float: left;
+ position: relative;
+ min-height: 500px;
+}
+.elgg-layout-one-sidebar {
+ right: 25%;
+}
+.elgg-sidebar {
+ left: 31%;
+ width: 21%;
+ padding: 20px;
+}
+.elgg-sidebar-alt {
+ position: relative;
+ padding: 20px 10px;
+ float: left;
+ width: 160px;
+ margin: 0 10px 0 0;
+}
+.elgg-main {
+ left: 2%;
+ width: 96%;
+}
+.elgg-layout-one-sidebar .elgg-main {
+ left: 27%;
+ width: 71%;
+}
+.elgg-main > .elgg-head {
+ padding-bottom: 3px;
+ 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%;
+}
+.elgg-page-footer {
+ color: #999;
+}
+.elgg-page-footer .elgg-inner {
+ margin: 20px;
+}
+.elgg-page-footer a:hover {
+ color: #666;
+}