From ea3951a035e38e96435db20f820c9da566ed373b Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 5 Feb 2011 13:57:00 +0000 Subject: getting back to the css - making changes based on Evan's comments git-svn-id: http://code.elgg.org/elgg/trunk@8026 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/css/elements/base.php | 53 --- views/default/css/elements/chrome.php | 34 +- views/default/css/elements/core.php | 264 --------------- views/default/css/elements/forms.php | 6 +- views/default/css/elements/helpers.php | 134 ++++++++ views/default/css/elements/layout.php | 181 ----------- views/default/css/elements/layout_objects.php | 446 ++++++++++++++++++++++++++ views/default/css/elements/misc.php | 139 -------- views/default/css/elements/page_layout.php | 178 ++++++++++ views/default/css/elements/spacing.php | 76 ----- views/default/css/elements/typography.php | 17 +- 11 files changed, 773 insertions(+), 755 deletions(-) delete mode 100644 views/default/css/elements/base.php delete mode 100644 views/default/css/elements/core.php create mode 100644 views/default/css/elements/helpers.php delete mode 100644 views/default/css/elements/layout.php create mode 100644 views/default/css/elements/layout_objects.php create mode 100644 views/default/css/elements/page_layout.php delete mode 100644 views/default/css/elements/spacing.php (limited to 'views/default/css/elements') diff --git a/views/default/css/elements/base.php b/views/default/css/elements/base.php deleted file mode 100644 index 5ba21909a..000000000 --- a/views/default/css/elements/base.php +++ /dev/null @@ -1,53 +0,0 @@ - - - -.clearfloat { clear:both; } - -/* Clearfix! */ -.clearfix:after { - content:"."; - display:block; - height:0; - clear:both; - visibility:hidden; -} -.hidden { - display:none; -} -.centered { - margin:0 auto; -} -.center { - text-align: center; -} - - -/** - * 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 ";
-}
\ No newline at end of file
diff --git a/views/default/css/elements/chrome.php b/views/default/css/elements/chrome.php
index 9031f4408..6ff7279ee 100644
--- a/views/default/css/elements/chrome.php
+++ b/views/default/css/elements/chrome.php
@@ -81,9 +81,6 @@ h2 {
 .link {
 	cursor:pointer;
 }
-.small {
-	font-size: 90%;
-}
 .divider {
 	border-top:1px solid #cccccc;
 }
@@ -95,35 +92,10 @@ h2 {
 }
 
 
-
-.elgg-tags {
-	background-image:url(_graphics/elgg_sprites.png);
-	background-repeat: no-repeat;
-	background-position: left -196px;
-	padding:1px 0 0 14px;
-	font-size: 85%;
-}
-.elgg-tags li {
-	display: inline;
-	margin-right: 5px;
-}
-.elgg-tags li:after {
-	content: ",";
-}
-.elgg-tags li:last-child:after {
-	content: "";
-}
-.elgg-tagcloud {
-	text-align:justify;
-}
-.elgg-discover .elgg-discoverable {
-	display: none;
-}
-.elgg-discover:hover .elgg-discoverable {
-	display: block;
-}
+
+?>
 
 .elgg_hrt {
 	border-top: 1px solid #CCCCCC;
diff --git a/views/default/css/elements/core.php b/views/default/css/elements/core.php
deleted file mode 100644
index 3c7ffa4f9..000000000
--- a/views/default/css/elements/core.php
+++ /dev/null
@@ -1,264 +0,0 @@
-
-
-/* ***************************************
-	Image Block
-*************************************** */
-.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;
-}
-/* ***************************************
-	List
-*************************************** */
-.elgg-list {
-	border-top: 1px dotted #CCCCCC;
-	margin: 5px 0;
-	clear: both;
-}
-.elgg-list > li {
-	border-bottom: 1px dotted #CCCCCC;
-}
-.elgg-list-metadata {
-	float: right;
-	margin-left: 15px;
-	font-size: 90%;
-}
-.elgg-list-metadata > li {
-	float: left;
-	margin-left: 15px;
-}
-.elgg-list-metadata, .elgg-list-metadata a {
-	color: #aaaaaa;
-}
-.elgg-list-item .elgg-subtext {
-	margin-bottom: 5px;
-}
-.elgg-subtext {
-	color: #666666;
-	font-size: 85%;
-	line-height: 1.2em;
-	font-style: italic;
-}
-.elgg-tags {
-	margin-bottom: 5px;
-}
-.elgg-list-content {
-	margin: 10px 5px;
-}
-/* ***************************************
-	Gallery
-*************************************** */
-.elgg-gallery {
-	border: none;
-}
-/* ***************************************
-	Modules
-*************************************** */
-
-.elgg-aside-module {
-	margin-bottom: 20px;
-}
-.elgg-aside-module .elgg-head {
-	border-bottom: 1px solid #CCCCCC;
-	margin-bottom: 5px;
-	padding-bottom: 5px;
-}
-
-.elgg-group-module {
-	margin-bottom: 20px;
-}
-.elgg-group-module > .elgg-head {
-	padding: 5px 5px 3px;
-	background-color: #e4e4e4;
-	border-bottom: 1px solid #cccccc;
-	-moz-border-radius: 4px 4px 0 0;
-}
-.elgg-group-module > .elgg-head h3 {
-	color: #333333;
-}
-
-.elgg-info-module {
-	margin-bottom: 20px;
-}
-.elgg-info-module .elgg-head {
-	background: #e4e4e4;
-	padding: 5px;
-	margin-bottom: 10px;
-	-webkit-border-radius: 3px;
-	-moz-border-radius: 3px;
-}
-
-
-.elgg-info-module .elgg-head h3 {
-	color: #333333;
-}
-
-.elgg-popup-module {
-	background-color: white;
-	border: 1px solid #cccccc;
-	z-index: 9999;
-	padding: 5px;
-	-webkit-border-radius: 6px;
-	-moz-border-radius: 6px;
-	-webkit-box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
-	-moz-box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
-}
-
-
-.elgg-owner-block {
-	margin-bottom: 20px;
-}
-/* ***************************************
-	WIDGETS
-*************************************** */
-
-.elgg-widgets {
-	float: right;
-	min-height: 30px;
-}
-.elgg-widget-add-control {
-	text-align: right;
-	margin: 5px 5px 15px;
-}
-.elgg-widgets-add-panel {
-	padding: 10px;
-	margin: 0 5px 15px;
-	background: #dedede;
-	border: 2px solid #cccccc;
-}
-
-
-.elgg-widgets-add-panel li {
-	float: left;
-	margin: 2px 10px;
-	width: 200px;
-	padding: 4px;
-	background-color: #cccccc;
-	border: 2px solid #b0b0b0;
-	font-weight: bold;
-}
-.elgg-widgets-add-panel li a {
-	display: block;
-}
-.elgg-widgets-add-panel .elgg-state-available {
-	color: #333333;
-	cursor: pointer;
-}
-.elgg-widgets-add-panel .elgg-state-available:hover {
-	background-color: #bcbcbc;
-}
-.elgg-widgets-add-panel .elgg-state-unavailable {
-	color: #888888;
-}
-
-
-.elgg-module-widget {
-	background-color: #dedede;
-	padding: 2px;
-	margin: 0 5px 15px;
-	position: relative;
-}
-.elgg-module-widget:hover {
-	background-color: #cccccc;
-}
-.elgg-module-widget > .elgg-head {
-	background-color: #dedede;
-	height: 30px;
-	line-height: 30px;
-	overflow: hidden;
-}
-.elgg-module-widget > .elgg-head h3 {
-	float: left;
-	padding: 0 45px 0 20px;
-	color: #333333;
-}
-.elgg-module-widget.elgg-state-draggable > .elgg-head {
-	cursor: move;
-}
-.elgg-module-widget > .elgg-head a {
-	position: absolute;
-	top: 5px;
-	display: block;
-	width: 18px;
-	height: 18px;
-	border: 1px solid transparent;
-}
-a.elgg-widget-collapse-button {
-	left: 5px;
-	background:transparent url(_graphics/elgg_sprites.png) no-repeat 0px -385px;
-}
-a.elgg-widget-collapsed {
-	background-position: 0px -365px;
-}
-a.elgg-widget-delete-button {
-	right: 5px;
-	background:transparent url(_graphics/elgg_sprites.png) no-repeat -198px 3px;
-}
-a.elgg-widget-edit-button {
-	right: 25px;
-	background:transparent url(_graphics/elgg_sprites.png) no-repeat -300px -1px;
-}
-a.elgg-widget-edit-button:hover, a.elgg-widget-delete-button:hover {
-	border: 1px solid #cccccc;
-}
-.elgg-module-widget > .elgg-body {
-	background-color: white;
-	width: 100%;
-	overflow: hidden;
-}
-.elgg-widget-edit {
-	display: none;
-	width: 96%;
-	padding: 2%;
-	border-bottom: 2px solid #dedede;
-}
-.elgg-widget-content {
-	padding: 10px;
-}
-.elgg-widget-placeholder {
-	border: 2px dashed #dedede;
-	margin-bottom: 15px;
-}
-
-
-/* ***************************************
-	SYSTEM MESSAGES
-*************************************** */
-
-.elgg-system-messages li {
-	color:white;
-	font-weight:bold;
-	display:block;
-	padding:3px 10px;
-	margin-top:10px;
-	cursor:pointer;
-	opacity:0.9;
-	-webkit-box-shadow:0 2px 5px rgba(0, 0, 0, 0.45);
-	-moz-box-shadow:0 2px 5px rgba(0, 0, 0, 0.45);
-}
-.elgg-state-success {
-	background-color:black;
-}
-.elgg-state-error {
-	background-color:red;
-}
-
-.elgg-system-message p {
-	margin:0;
-}
diff --git a/views/default/css/elements/forms.php b/views/default/css/elements/forms.php
index d15fcb760..bd233bf3b 100644
--- a/views/default/css/elements/forms.php
+++ b/views/default/css/elements/forms.php
@@ -38,11 +38,6 @@ input[type="text"]:focus, input[type="password"]:focus {
 	color:#333333;
 }
 
-
-textarea.monospace {
-	font-family: Monaco,"Courier New",Courier,monospace;
-	font-size: 13px;
-}
 a.elgg-longtext-control {
 	float: right;
 	margin-left: 14px;
@@ -164,6 +159,7 @@ a.elgg-action-button {
 	border:1px solid #999999;
 	color:#333333;
 	padding:2px 15px 2px 15px;
+	margin: 5px 0;
 	text-align:center;
 	font-weight:bold;
 	text-decoration:none;
diff --git a/views/default/css/elements/helpers.php b/views/default/css/elements/helpers.php
new file mode 100644
index 000000000..0818fba6e
--- /dev/null
+++ b/views/default/css/elements/helpers.php
@@ -0,0 +1,134 @@
+
+
+.clearfloat { 
+	clear: both;
+}
+
+.clearfix:after {
+	content: ".";
+	display: block;
+	height: 0;
+	clear: both;
+	visibility: hidden;
+}
+
+.hidden {
+	display: none;
+}
+
+.centered {
+	margin: 0 auto;
+}
+
+.center {
+	text-align: center;
+}
+
+.right {
+	float: right;
+}
+
+.left {
+	float: left;
+}
+
+.large {
+	font-size: 120%;
+}
+
+.small {
+	font-size: 80%;
+}
+
+.elgg-discover .elgg-discoverable {
+	display: none;
+}
+
+.elgg-discover:hover .elgg-discoverable {
+	display: block;
+}
+
+/* ***************************************
+	Spacing (from OOCSS)
+*************************************** */
+
+ * : m = margin, p = padding
+ * : a = all, t = top, r = right, b = bottom, l = left, h = horizontal, v = vertical
+ * : n = none, s = small, m = medium, l = large
+ */
+
+$none = '0';
+$small = '5px';
+$medium = '10px';
+$large = '20px';
+
+echo <<
diff --git a/views/default/css/elements/layout.php b/views/default/css/elements/layout.php
deleted file mode 100644
index 6b4a98ae9..000000000
--- a/views/default/css/elements/layout.php
+++ /dev/null
@@ -1,181 +0,0 @@
-
-
-/* ***************************************
-	PAGE LAYOUT
-*************************************** */
-
-body {
-	background-color: white;
-}
-
-/***** TOPBAR ******/
-
-.elgg-page-topbar {
-	background: #333333 url(_graphics/toptoolbar_background.gif) repeat-x top left;
-	border-bottom: 1px solid #000000;
-	min-width: 998px;
-	position: relative;
-	height: 24px;
-	z-index: 9000;
-}
-.elgg-page-topbar > .elgg-inner {
-	padding: 2px 10px 2px 8px;
-}
-
-
-.elgg-page-topbar a {
-	color: #eeeeee;
-	float: left;
-	margin: 2px 30px 0 0;
-	line-height: 1.1em;
-}
-.elgg-page-topbar a.elgg-alt {
-	float: right;
-	margin: 2px 0 0 30px;
-}
-.elgg-page-topbar a:hover {
-	color: #71cbff;
-	text-decoration: none;
-}
-/* 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:9600;
-}
-
-/***** PAGE HEADER ******/
-
-.elgg-page-header {
-	x-overflow: hidden;
-	position: relative;
-	background-color: #4690D6;
-	background-image: url(_graphics/header_shadow.png);
-	background-repeat: repeat-x;
-	background-position: bottom left;
-}
-
-
-.elgg-classic .elgg-page-header > .elgg-inner {
-	width: 990px;
-	margin: 0 auto;
-	height: 90px;
-	position: relative;
-}
-
-
-.elgg-page-header h1 a {
-	font-size: 2em;
-	line-height: 1.4em;
-	color: white;
-	font-style: italic;
-	font-family: Georgia, times, serif;
-	text-shadow: 1px 2px 4px #333333;
-	text-decoration: none;
-}
-
-/***** PAGE BODY ******/
-
-.elgg-page-body > .elgg-inner {
-	min-height: 360px;
-}
-.elgg-classic .elgg-page-body > .elgg-inner {
-	width: 990px;
-	margin: 0 auto;
-}
-
-
-#elgg-layout-one-column {
-	padding: 10px 0;
-}
-#elgg-layout-sidebar {
-	background-image: url(_graphics/sidebar_background.gif);
-	background-repeat: repeat-y;
-	background-position: right top;
-}
-#elgg-layout-two-sidebar {
-	background-image: url(_graphics/two_sidebar_background.gif);
-	background-repeat: repeat-y;
-	background-position: right top;
-}
-.elgg-main {
-	position: relative;
-	min-height: 360px;
-	padding: 10px;
-}
-
-.elgg-aside {
-	padding: 20px 10px;
-	position: relative;
-	min-height: 360px;
-}
-.elgg-sidebar {
-	float: right;
-	width: 210px;
-	margin: 0 0 0 10px;
-}
-.elgg-sidebar.elgg-alt {
-	float: left;
-	width: 160px;
-	margin: 0 10px 0 0;
-}
-
-.elgg-main .elgg-header {
-	border-bottom: 1px solid #CCCCCC;
-	padding-bottom: 3px;
-}
-
-
-.elgg-main .elgg-header h2 {
-	float: left;
-	max-width: 530px;
-	margin-right: 10px;
-}
-
-.elgg-main > .elgg-header a {
-	float: right;
-}
-
-/***** PAGE FOOTER ******/
-
-.elgg-page-footer {
-	position: relative;
-	z-index: 999;
-}
-.elgg-classic .elgg-page-footer > .elgg-inner {
-	width: 990px;
-	margin: 0 auto;
-	padding: 5px 0;
-	border-top: 1px solid #DEDEDE;
-}
-
-
-.elgg-page-footer a {
-	float: left;
-}
-.elgg-page-footer a.elgg-alt {
-	float: right;
-}
-.elgg-page-footer .elgg-menu {
-	float: left;
-	width: 100%;
-}
-.elgg-page-footer .elgg-inner,
-.elgg-page-footer .elgg-inner a,
-.elgg-page-footer .elgg-inner p {
-	color: #999999;
-}
-.elgg-page-footer .elgg-inner a:hover {
-	color: #666666;
-}
diff --git a/views/default/css/elements/layout_objects.php b/views/default/css/elements/layout_objects.php
new file mode 100644
index 000000000..87608e205
--- /dev/null
+++ b/views/default/css/elements/layout_objects.php
@@ -0,0 +1,446 @@
+
+
+/**
+ * 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 ";
+}
+/* ***************************************
+	Image Block
+*************************************** */
+.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;
+}
+/* ***************************************
+	List
+*************************************** */
+.elgg-list {
+	border-top: 1px dotted #CCCCCC;
+	margin: 5px 0;
+	clear: both;
+}
+.elgg-list > li {
+	border-bottom: 1px dotted #CCCCCC;
+}
+.elgg-list-metadata {
+	float: right;
+	margin-left: 15px;
+	font-size: 90%;
+}
+.elgg-list-metadata > li {
+	float: left;
+	margin-left: 15px;
+}
+.elgg-list-metadata, .elgg-list-metadata a {
+	color: #aaaaaa;
+}
+.elgg-list-item .elgg-subtext {
+	margin-bottom: 5px;
+}
+.elgg-subtext {
+	color: #666666;
+	font-size: 85%;
+	line-height: 1.2em;
+	font-style: italic;
+}
+.elgg-tags {
+	margin-bottom: 5px;
+}
+.elgg-list-content {
+	margin: 10px 5px;
+}
+/* ***************************************
+	Gallery
+*************************************** */
+.elgg-gallery {
+	border: none;
+}
+/* ***************************************
+	Tables
+*************************************** */
+
+table.styled {
+	width:100%;
+}
+table.styled {
+	border-top:1px solid #cccccc;
+}
+table.styled td {
+	padding:2px 4px 2px 4px;
+	border-bottom:1px solid #cccccc;
+}
+table.styled td.column-one {
+	width:200px;
+}
+table.styled tr:hover {
+	background: #E4E4E4;
+}
+/* ***************************************
+	Modules
+*************************************** */
+
+.elgg-aside-module {
+	margin-bottom: 20px;
+}
+.elgg-aside-module .elgg-head {
+	border-bottom: 1px solid #CCCCCC;
+	margin-bottom: 5px;
+	padding-bottom: 5px;
+}
+
+.elgg-group-module {
+	margin-bottom: 20px;
+}
+.elgg-group-module > .elgg-head {
+	padding: 5px 5px 3px;
+	background-color: #e4e4e4;
+	border-bottom: 1px solid #cccccc;
+	-moz-border-radius: 4px 4px 0 0;
+}
+.elgg-group-module > .elgg-head h3 {
+	color: #333333;
+}
+
+.elgg-info-module {
+	margin-bottom: 20px;
+}
+.elgg-info-module .elgg-head {
+	background: #e4e4e4;
+	padding: 5px;
+	margin-bottom: 10px;
+	-webkit-border-radius: 3px;
+	-moz-border-radius: 3px;
+}
+
+
+.elgg-info-module .elgg-head h3 {
+	color: #333333;
+}
+
+.elgg-popup-module {
+	background-color: white;
+	border: 1px solid #cccccc;
+	z-index: 9999;
+	padding: 5px;
+	-webkit-border-radius: 6px;
+	-moz-border-radius: 6px;
+	-webkit-box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
+	-moz-box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
+}
+
+
+.elgg-owner-block {
+	margin-bottom: 20px;
+}
+/* ***************************************
+	WIDGETS
+*************************************** */
+
+.elgg-widgets {
+	float: right;
+	min-height: 30px;
+}
+.elgg-widget-add-control {
+	text-align: right;
+	margin: 5px 5px 15px;
+}
+.elgg-widgets-add-panel {
+	padding: 10px;
+	margin: 0 5px 15px;
+	background: #dedede;
+	border: 2px solid #cccccc;
+}
+
+
+.elgg-widgets-add-panel li {
+	float: left;
+	margin: 2px 10px;
+	width: 200px;
+	padding: 4px;
+	background-color: #cccccc;
+	border: 2px solid #b0b0b0;
+	font-weight: bold;
+}
+.elgg-widgets-add-panel li a {
+	display: block;
+}
+.elgg-widgets-add-panel .elgg-state-available {
+	color: #333333;
+	cursor: pointer;
+}
+.elgg-widgets-add-panel .elgg-state-available:hover {
+	background-color: #bcbcbc;
+}
+.elgg-widgets-add-panel .elgg-state-unavailable {
+	color: #888888;
+}
+
+
+.elgg-module-widget {
+	background-color: #dedede;
+	padding: 2px;
+	margin: 0 5px 15px;
+	position: relative;
+}
+.elgg-module-widget:hover {
+	background-color: #cccccc;
+}
+.elgg-module-widget > .elgg-head {
+	background-color: #dedede;
+	height: 30px;
+	line-height: 30px;
+	overflow: hidden;
+}
+.elgg-module-widget > .elgg-head h3 {
+	float: left;
+	padding: 0 45px 0 20px;
+	color: #333333;
+}
+.elgg-module-widget.elgg-state-draggable > .elgg-head {
+	cursor: move;
+}
+.elgg-module-widget > .elgg-head a {
+	position: absolute;
+	top: 5px;
+	display: block;
+	width: 18px;
+	height: 18px;
+	border: 1px solid transparent;
+}
+a.elgg-widget-collapse-button {
+	left: 5px;
+	background:transparent url(_graphics/elgg_sprites.png) no-repeat 0px -385px;
+}
+a.elgg-widget-collapsed {
+	background-position: 0px -365px;
+}
+a.elgg-widget-delete-button {
+	right: 5px;
+	background:transparent url(_graphics/elgg_sprites.png) no-repeat -198px 3px;
+}
+a.elgg-widget-edit-button {
+	right: 25px;
+	background:transparent url(_graphics/elgg_sprites.png) no-repeat -300px -1px;
+}
+a.elgg-widget-edit-button:hover, a.elgg-widget-delete-button:hover {
+	border: 1px solid #cccccc;
+}
+.elgg-module-widget > .elgg-body {
+	background-color: white;
+	width: 100%;
+	overflow: hidden;
+}
+.elgg-widget-edit {
+	display: none;
+	width: 96%;
+	padding: 2%;
+	border-bottom: 2px solid #dedede;
+}
+.elgg-widget-content {
+	padding: 10px;
+}
+.elgg-widget-placeholder {
+	border: 2px dashed #dedede;
+	margin-bottom: 15px;
+}
+
+
+/* ***************************************
+	SYSTEM MESSAGES
+*************************************** */
+
+.elgg-system-messages li {
+	color:white;
+	font-weight:bold;
+	display:block;
+	padding:3px 10px;
+	margin-top:10px;
+	cursor:pointer;
+	opacity:0.9;
+	-webkit-box-shadow:0 2px 5px rgba(0, 0, 0, 0.45);
+	-moz-box-shadow:0 2px 5px rgba(0, 0, 0, 0.45);
+}
+.elgg-state-success {
+	background-color:black;
+}
+.elgg-state-error {
+	background-color:red;
+}
+
+.elgg-system-message p {
+	margin:0;
+}
+/* ***************************************
+	RIVER
+*************************************** */
+.elgg-river {
+	border-top: 1px solid #CCCCCC;
+}
+.elgg-river > li {
+	border-bottom: 1px solid #CCCCCC;
+}
+.elgg-river-item {
+	padding: 7px 0;
+}
+.elgg-river-item .elgg-pict {
+	margin-right: 20px;
+}
+.elgg-river-timestamp {
+	color: #666666;
+	font-size: 85%;
+	font-style: italic;
+	line-height: 1.2em;
+}
+.elgg-river-content {
+	border-left: 1px solid #CCCCCC;
+	font-size: 85%;
+	line-height: 1.5em;
+	margin: 8px 0 5px 0;
+	padding-left: 5px;
+}
+
+
+.elgg-river-content .elgg-user-icon {
+	float: left;
+}
+.elgg-river-layout .elgg-input-dropdown {
+	float: right;
+	margin: 10px 0;
+}
+
+
+.elgg-river-comments-tab {
+	display: block;
+	background-color: #EEEEEE;
+	color: #4690D6;
+	margin-top: 5px;
+	width: auto;
+	float: right;
+	font-size: 85%;
+	padding: 1px 7px;
+	-moz-border-radius-topleft: 5px;
+	-moz-border-radius-topright: 5px;
+	-webkit-border-top-left-radius: 5px;
+	-webkit-border-top-right-radius: 5px;
+}
+
+
+.elgg-river-comments {
+	margin: 0;
+	border-top: none;
+}
+.elgg-river-comments li:first-child {
+	-moz-border-radius-topleft: 5px;
+	-webkit-border-top-left-radius: 5px;
+}
+.elgg-river-comments li:last-child {
+	-moz-border-radius-bottomleft: 5px;
+	-moz-border-radius-bottomright: 5px;
+	-webkit-border-bottom-right-radius: 5px;
+	-webkit-border-bottom-left-radius: 5px;
+}
+.elgg-river-comments li {
+	background-color: #EEEEEE;
+	border-bottom: none;
+	padding: 4px;
+	margin-bottom: 2px;
+}
+.elgg-river-comments .elgg-media {
+	padding: 0;
+}
+.elgg-river-more {
+	background-color: #EEEEEE;
+	-moz-border-radius: 5px;
+	-webkit-border-radius: 5px;
+	padding: 2px 4px;
+	font-size: 85%;
+	margin-bottom: 2px;
+}
+
+
+.elgg-river-item form {
+	background-color: #EEEEEE;
+	padding: 4px 4px;
+	-moz-border-radius: 5px;
+	-webkit-border-radius: 5px;
+	display: none;
+	height: 30px;
+}
+.elgg-river-item input[type=text] {
+	width: 80%;
+}
+.elgg-river-item input[type=submit] {
+	margin: 0 0 0 10px;
+}
+.elgg-river-item > .elgg-alt a {
+	font-size: 90%;
+	float: right;
+	clear: both;
+}
+
+/* ***************************************
+	LIKES
+*************************************** */
+.elgg-likes-list {
+	width: 345px;
+	position: absolute;
+}
+
+/* ***************************************
+	TAGS
+*************************************** */
+.elgg-tags {
+	background-image:url(_graphics/elgg_sprites.png);
+	background-repeat: no-repeat;
+	background-position: left -196px;
+	padding:1px 0 0 14px;
+	font-size: 85%;
+}
+.elgg-tags li {
+	display: inline;
+	margin-right: 5px;
+}
+.elgg-tags li:after {
+	content: ",";
+}
+.elgg-tags li:last-child:after {
+	content: "";
+}
+.elgg-tagcloud {
+	text-align: justify;
+}
\ No newline at end of file
diff --git a/views/default/css/elements/misc.php b/views/default/css/elements/misc.php
index 297becefe..92107db8c 100644
--- a/views/default/css/elements/misc.php
+++ b/views/default/css/elements/misc.php
@@ -4,127 +4,9 @@
  */
 
 ?>
-/* ***************************************
-	PRIMITIVES
-*************************************** */
-.right {float:right}
-.left {float:left}
 
-/* ***************************************
-	LIKES
-*************************************** */
-.elgg-likes-list {
-	width: 345px;
-	position: absolute;
-}
 
-/* ***************************************
-	RIVER
-*************************************** */
-.elgg-river {
-	border-top: 1px solid #CCCCCC;
-}
-.elgg-river > li {
-	border-bottom: 1px solid #CCCCCC;
-}
-.elgg-river-item {
-	padding: 7px 0;
-}
-.elgg-river-item .elgg-pict {
-	margin-right: 20px;
-}
-.elgg-river-timestamp {
-	color: #666666;
-	font-size: 85%;
-	font-style: italic;
-	line-height: 1.2em;
-}
-.elgg-river-content {
-	border-left: 1px solid #CCCCCC;
-	font-size: 85%;
-	line-height: 1.5em;
-	margin: 8px 0 5px 0;
-	padding-left: 5px;
-}
-
-
-.elgg-river-content .elgg-user-icon {
-	float: left;
-}
-.elgg-river-layout .elgg-input-dropdown {
-	float: right;
-	margin: 10px 0;
-}
 
-
-.elgg-river-comments-tab {
-	display: block;
-	background-color: #EEEEEE;
-	color: #4690D6;
-	margin-top: 5px;
-	width: auto;
-	float: right;
-	font-size: 85%;
-	padding: 1px 7px;
-	-moz-border-radius-topleft: 5px;
-	-moz-border-radius-topright: 5px;
-	-webkit-border-top-left-radius: 5px;
-	-webkit-border-top-right-radius: 5px;
-}
-
-
-.elgg-river-comments {
-	margin: 0;
-	border-top: none;
-}
-.elgg-river-comments li:first-child {
-	-moz-border-radius-topleft: 5px;
-	-webkit-border-top-left-radius: 5px;
-}
-.elgg-river-comments li:last-child {
-	-moz-border-radius-bottomleft: 5px;
-	-moz-border-radius-bottomright: 5px;
-	-webkit-border-bottom-right-radius: 5px;
-	-webkit-border-bottom-left-radius: 5px;
-}
-.elgg-river-comments li {
-	background-color: #EEEEEE;
-	border-bottom: none;
-	padding: 4px;
-	margin-bottom: 2px;
-}
-.elgg-river-comments .elgg-media {
-	padding: 0;
-}
-.elgg-river-more {
-	background-color: #EEEEEE;
-	-moz-border-radius: 5px;
-	-webkit-border-radius: 5px;
-	padding: 2px 4px;
-	font-size: 85%;
-	margin-bottom: 2px;
-}
-
-
-.elgg-river-item form {
-	background-color: #EEEEEE;
-	padding: 4px 4px;
-	-moz-border-radius: 5px;
-	-webkit-border-radius: 5px;
-	display: none;
-	height: 30px;
-}
-.elgg-river-item input[type=text] {
-	width: 80%;
-}
-.elgg-river-item input[type=submit] {
-	margin: 0 0 0 10px;
-}
-.elgg-river-item > .elgg-alt a {
-	font-size: 90%;
-	float: right;
-	clear: both;
-}
 
 
 /* ***************************************
@@ -256,27 +138,6 @@
 }
 
 
-/* ***************************************
-	USER SETTINGS
-*************************************** */
-
-table.styled {
-	width:100%;
-}
-table.styled {
-	border-top:1px solid #cccccc;
-}
-table.styled td {
-	padding:2px 4px 2px 4px;
-	border-bottom:1px solid #cccccc;
-}
-table.styled td.column-one {
-	width:200px;
-}
-table.styled tr:hover {
-	background: #E4E4E4;
-}
-
 
 /* ***************************************
 	FRIENDS PICKER
diff --git a/views/default/css/elements/page_layout.php b/views/default/css/elements/page_layout.php
new file mode 100644
index 000000000..ebb201225
--- /dev/null
+++ b/views/default/css/elements/page_layout.php
@@ -0,0 +1,178 @@
+
+
+/* ***************************************
+	PAGE LAYOUT
+*************************************** */
+
+body {
+	background-color: white;
+}
+
+/***** TOPBAR ******/
+
+.elgg-page-topbar {
+	background: #333333 url(_graphics/toptoolbar_background.gif) repeat-x top left;
+	border-bottom: 1px solid #000000;
+	min-width: 998px;
+	position: relative;
+	height: 24px;
+	z-index: 9000;
+}
+.elgg-page-topbar > .elgg-inner {
+	padding: 2px 10px 2px 8px;
+}
+
+
+.elgg-page-topbar a {
+	color: #eeeeee;
+	float: left;
+	margin: 2px 30px 0 0;
+	line-height: 1.1em;
+}
+.elgg-page-topbar a.elgg-alt {
+	float: right;
+	margin: 2px 0 0 30px;
+}
+.elgg-page-topbar a:hover {
+	color: #71cbff;
+	text-decoration: none;
+}
+/* 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;
+}
+
+/***** PAGE HEADER ******/
+
+.elgg-page-header {
+	x-overflow: hidden;
+	position: relative;
+	background-color: #4690D6;
+	background-image: url(_graphics/header_shadow.png);
+	background-repeat: repeat-x;
+	background-position: bottom left;
+}
+
+
+.elgg-classic .elgg-page-header > .elgg-inner {
+	width: 990px;
+	margin: 0 auto;
+	height: 90px;
+	position: relative;
+}
+
+.elgg-site-title, .elgg-site-title:hover {
+	font-size: 2em;
+	line-height: 1.4em;
+	color: white;
+	font-style: italic;
+	font-family: Georgia, times, serif;
+	text-shadow: 1px 2px 4px #333333;
+	text-decoration: none;
+}
+
+/***** PAGE BODY ******/
+
+.elgg-page-body > .elgg-inner {
+	min-height: 360px;
+}
+.elgg-classic .elgg-page-body > .elgg-inner {
+	width: 990px;
+	margin: 0 auto;
+}
+#elgg-layout-one-column {
+	padding: 10px 0;
+}
+#elgg-layout-sidebar {
+	background-image: url(_graphics/sidebar_background.gif);
+	background-repeat: repeat-y;
+	background-position: right top;
+}
+#elgg-layout-two-sidebar {
+	background-image: url(_graphics/two_sidebar_background.gif);
+	background-repeat: repeat-y;
+	background-position: right top;
+}
+.elgg-main {
+	position: relative;
+	min-height: 360px;
+	padding: 10px;
+}
+.elgg-aside {
+	padding: 20px 10px;
+	position: relative;
+	min-height: 360px;
+}
+.elgg-sidebar {
+	float: right;
+	width: 210px;
+	margin: 0 0 0 10px;
+}
+.elgg-sidebar.elgg-alt {
+	float: left;
+	width: 160px;
+	margin: 0 10px 0 0;
+}
+
+.elgg-main .elgg-header {
+	padding-bottom: 3px;
+	border-bottom: 1px solid #CCCCCC;
+	margin-bottom: 10px;
+}
+
+
+.elgg-main .elgg-header h2 {
+	float: left;
+	max-width: 530px;
+	margin-right: 10px;
+}
+
+.elgg-main > .elgg-header a {
+	float: right;
+}
+
+/***** PAGE FOOTER ******/
+
+.elgg-page-footer {
+	position: relative;
+	z-index: 999;
+}
+.elgg-classic .elgg-page-footer > .elgg-inner {
+	width: 990px;
+	margin: 0 auto;
+	padding: 5px 0;
+	border-top: 1px solid #DEDEDE;
+}
+
+
+.elgg-page-footer a {
+	float: left;
+}
+.elgg-page-footer a.elgg-alt {
+	float: right;
+}
+.elgg-page-footer .elgg-menu {
+	float: left;
+	width: 100%;
+}
+.elgg-page-footer .elgg-inner,
+.elgg-page-footer .elgg-inner a,
+.elgg-page-footer .elgg-inner p {
+	color: #999999;
+}
+.elgg-page-footer .elgg-inner a:hover {
+	color: #666666;
+}
diff --git a/views/default/css/elements/spacing.php b/views/default/css/elements/spacing.php
deleted file mode 100644
index 8cab342be..000000000
--- a/views/default/css/elements/spacing.php
+++ /dev/null
@@ -1,76 +0,0 @@
-
-
-/* ***************************************
-	Spacing (from OOCSS)
-*************************************** */
-/**
-* Spacing classes
-* Should be used to modify the default spacing between objects (not between nodes of the same object)
-* Please use judiciously. You want to be using defaults most of the time, these are exceptions!
-* 
-*/
-.pan{padding:0}
-.pas{padding:5px}
-.pam{padding:10px}
-.pal{padding:20px}
-.ptn{padding-top:0}
-.pts{padding-top:5px}
-.ptm{padding-top:10px}
-.ptl{padding-top:20px}
-.prn{padding-right:0}
-.prs{padding-right:5px}
-.prm{padding-right:10px}
-.prl{padding-right:20px}
-.pbn{padding-bottom:0}
-.pbs{padding-bottom:5px}
-.pbm{padding-bottom:10px}
-.pbl{padding-bottom:20px}
-.pln{padding-left:0}
-.pls{padding-left:5px}
-.plm{padding-left:10px}
-.pll{padding-left:20px}
-.phn{padding-left:0;padding-right:0}
-.phs{padding-left:5px;padding-right:5px}
-.phm{padding-left:10px;padding-right:10px}
-.phl{padding-left:20px;padding-right:20px}
-.pvn{padding-top:0;padding-bottom:0}
-.pvs{padding-top:5px;padding-bottom:5px}
-.pvm{padding-top:10px;padding-bottom:10px}
-.pvl{padding-top:20px;padding-bottom:20px}
-.man{margin:0}
-.mas{margin:5px}
-.mam{margin:10px}
-.mal{margin:20px}
-.mtn{margin-top:0}
-.mts{margin-top:5px}
-.mtm{margin-top:10px}
-.mtl{margin-top:20px}
-.mrn{margin-right:0}
-.mrs{margin-right:5px}
-.mrm{margin-right:10px}
-.mrl{margin-right:20px}
-.mbn{margin-bottom:0}
-.mbs{margin-bottom:5px}
-.mbm{margin-bottom:10px}
-.mbl{margin-bottom:20px}
-.mln{margin-left:0}
-.mls{margin-left:5px}
-.mlm{margin-left:10px}
-.mll{margin-left:20px}
-.mhn{margin-left:0;margin-right:0}
-.mhs{margin-left:5px;margin-right:5px}
-.mhm{margin-left:10px;margin-right:10px}
-.mhl{margin-left:20px;margin-right:20px}
-.mvn{margin-top:0;margin-bottom:0}
-.mvs{margin-top:5px;margin-bottom:5px}
-.mvm{margin-top:10px;margin-bottom:10px}
-.mvl{margin-top:20px;margin-bottom:20px}
diff --git a/views/default/css/elements/typography.php b/views/default/css/elements/typography.php
index a550058e8..70be91da4 100644
--- a/views/default/css/elements/typography.php
+++ b/views/default/css/elements/typography.php
@@ -15,14 +15,14 @@ body {
 	font-family: "Lucida Grande",Arial,Tahoma,Verdana,sans-serif;
 }
 pre, code {
-	font-family:Monaco,"Courier New",Courier,monospace;
-	font-size:12px;
+	font-family: Monaco,"Courier New",Courier,monospace;
+	font-size: 12px;
 }
-blockquote {
-	line-height:1.3em;
+input, textarea {
+	font: 120% Arial, Helvetica, sans-serif;
 }
-small {
-	font-size: 90%;
+blockquote {
+	line-height: 1.3em;
 }
 h1, h2, h3, h4, h5, h6 {
 	font-weight: bold;
@@ -35,4 +35,9 @@ h4 { font-size: 1.0em; }
 h5 { font-size: 0.9em; }
 h6 { font-size: 0.8em; }
 
+.elgg-monospace {
+	font-family: Monaco,"Courier New",Courier,monospace;
+}
+
+
 
\ No newline at end of file
-- 
cgit v1.2.3