aboutsummaryrefslogtreecommitdiff
path: root/views/default/css/elements/layout.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-14 22:07:38 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-14 22:07:38 +0000
commitb5aed25425ff58d544726f97d3cca0ef142f8c94 (patch)
tree3ac2467d223c274f55ceb26547d785934ca9ee19 /views/default/css/elements/layout.php
parent7caac9640259aacabbf19c22f7cbbf77ae97b4e3 (diff)
downloadelgg-b5aed25425ff58d544726f97d3cca0ef142f8c94.tar.gz
elgg-b5aed25425ff58d544726f97d3cca0ef142f8c94.tar.bz2
moving more css into the skin view - including page layout information
git-svn-id: http://code.elgg.org/elgg/trunk@7621 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/css/elements/layout.php')
-rw-r--r--views/default/css/elements/layout.php69
1 files changed, 69 insertions, 0 deletions
diff --git a/views/default/css/elements/layout.php b/views/default/css/elements/layout.php
new file mode 100644
index 000000000..945a4a951
--- /dev/null
+++ b/views/default/css/elements/layout.php
@@ -0,0 +1,69 @@
+<?php
+/**
+ * Reusable layout objects and elements
+ *
+ * @package Elgg.Core
+ * @subpackage UI
+ */
+?>
+
+/**
+ * elgg-body fills the space available to it.
+ * It uses hidden text to expand itself. The combination of auto width, overflow
+ * hidden, and the hidden text creates this effect.
+ *
+ * This allows us to float fixed width divs to either side of an .elgg-body div
+ * without having to specify the body div's width.
+ *
+ * @todo check what happens with long <pre> tags or large images
+ */
+.elgg-body {
+ width: auto;
+ word-wrap: break-word;
+ overflow: hidden;
+}
+.elgg-body:after {
+ display: block;
+ visibility: hidden;
+ height: 0 !important;
+ line-height: 0;
+ font-size: xx-large;
+ content: " x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x ";
+}
+
+.elgg_inner {
+}
+
+.elgg-footer {
+}
+
+.elgg-media {
+ padding: 3px 0;
+}
+
+.elgg-media .elgg-pict {
+ float: left;
+ margin-right: 5px;
+}
+.elgg-media .elgg-pict-alt {
+ float: right;
+ margin-left: 5px;
+}
+
+.elgg-list {
+ border-top: 1px dotted #CCCCCC;
+ margin: 5px 0;
+ clear: both;
+}
+
+.elgg-list li {
+ border-bottom: 1px dotted #CCCCCC;
+}
+
+.elgg-center {
+ margin: 0 auto;
+}
+
+.elgg-width-classic {
+ width: 990px;
+}