From f205bad992727f287c75f0f4759b5bc4f71c909c Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 19 Dec 2010 17:47:36 +0000 Subject: completed the media to image block switch git-svn-id: http://code.elgg.org/elgg/trunk@7683 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/css/admin.php | 1 - views/default/css/elements/core.php | 65 +++++++++++++++++++++++++++++++++ views/default/css/elements/layout.php | 69 ----------------------------------- views/default/css/screen.php | 1 - 4 files changed, 65 insertions(+), 71 deletions(-) delete mode 100644 views/default/css/elements/layout.php (limited to 'views/default/css') diff --git a/views/default/css/admin.php b/views/default/css/admin.php index ff8bfa4a4..c9f4c2f88 100644 --- a/views/default/css/admin.php +++ b/views/default/css/admin.php @@ -10,7 +10,6 @@ echo elgg_view('css/elements/reset', $vars); echo elgg_view('css/elements/core', $vars); echo elgg_view('css/elements/typography', $vars); -echo elgg_view('css/elements/layout', $vars); echo elgg_view('css/elements/spacing', $vars); echo elgg_view('css/elements/navigation', $vars); echo elgg_view('css/elements/grid', $vars); diff --git a/views/default/css/elements/core.php b/views/default/css/elements/core.php index f46ec11d9..29fdd598b 100644 --- a/views/default/css/elements/core.php +++ b/views/default/css/elements/core.php @@ -157,3 +157,68 @@ h2 { .elgg_hrb { border-bottom: 1px solid #CCCCCC; } + +/* *************************************** + CSS LAYOUT OBJECTS +*************************************** */ + +/** + * 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
 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-image-block {
+	padding: 3px 0;
+}
+
+.elgg-image-block .elgg-image {
+	float: left;
+	margin-right: 5px;
+}
+.elgg-image-block .elgg-image.elgg-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;
+}
diff --git a/views/default/css/elements/layout.php b/views/default/css/elements/layout.php
deleted file mode 100644
index fce5eaed9..000000000
--- a/views/default/css/elements/layout.php
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-/**
- * 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 
 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-image {
-	float: left;
-	margin-right: 5px;
-}
-.elgg-media .elgg-image.elgg-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;
-}
diff --git a/views/default/css/screen.php b/views/default/css/screen.php
index cbf4e2b2d..ea17acf9c 100644
--- a/views/default/css/screen.php
+++ b/views/default/css/screen.php
@@ -17,7 +17,6 @@ if ($old_css_view != "{$CONFIG->viewpath}") {
 echo elgg_view('css/elements/reset', $vars);
 echo elgg_view('css/elements/core', $vars);
 echo elgg_view('css/elements/typography', $vars);
-echo elgg_view('css/elements/layout', $vars);
 echo elgg_view('css/elements/spacing', $vars);
 echo elgg_view('css/elements/navigation', $vars);
 echo elgg_view('css/elements/grid', $vars);
-- 
cgit v1.2.3