diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-08 01:59:24 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-08 01:59:24 +0000 |
commit | cc9f9436cc7fc7b24b8ffdd93811c4921c74d737 (patch) | |
tree | bea27863558cf24f79063632c9f833fd5daa6b8d /views/default/css/elements/layout_objects.php | |
parent | 6e6568a57ec450514afc9ff12edb652135c253cb (diff) | |
download | elgg-cc9f9436cc7fc7b24b8ffdd93811c4921c74d737.tar.gz elgg-cc9f9436cc7fc7b24b8ffdd93811c4921c74d737.tar.bz2 |
more tweaking of css - menu and general clean up
git-svn-id: http://code.elgg.org/elgg/trunk@8064 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/css/elements/layout_objects.php')
-rw-r--r-- | views/default/css/elements/layout_objects.php | 33 |
1 files changed, 19 insertions, 14 deletions
diff --git a/views/default/css/elements/layout_objects.php b/views/default/css/elements/layout_objects.php index 4f268e5cf..82524c625 100644 --- a/views/default/css/elements/layout_objects.php +++ b/views/default/css/elements/layout_objects.php @@ -1,6 +1,8 @@ <?php /** - * Core CSS + * Layout Object CSS + * + * Modules, image blocks, lists, tables, gallery, widgets, messages * * @package Elgg.Core * @subpackage UI @@ -16,6 +18,7 @@ * @todo check what happens with long <pre> tags or large images */ ?> + /* *************************************** Body *************************************** */ @@ -32,6 +35,7 @@ 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 *************************************** */ @@ -42,12 +46,11 @@ float: left; margin-right: 5px; } - -<?php //@todo is this the best way to do it? Perhaps elgg-image-alt would be cleaner... ?> -.elgg-image-block .elgg-image.elgg-alt { +.elgg-image-block .elgg-image-alt { float: right; margin-left: 5px; } + /* *************************************** List *************************************** */ @@ -80,6 +83,7 @@ .elgg-list-content { margin: 10px 5px; } + /* *************************************** Gallery *************************************** */ @@ -125,7 +129,7 @@ /* *************************************** Modules *************************************** */ -.elgg-module-aside { +.elgg-module { margin-bottom: 20px; } .elgg-module-aside .elgg-head { @@ -133,9 +137,6 @@ margin-bottom: 5px; padding-bottom: 5px; } -.elgg-module-info { - margin-bottom: 20px; -} .elgg-module-info > .elgg-head { background: #e4e4e4; padding: 5px; @@ -143,31 +144,36 @@ -webkit-border-radius: 3px; -moz-border-radius: 3px; } -<?php //@todo should not assume h3 ?> -.elgg-module-info > .elgg-head h3 { +.elgg-module-info > .elgg-head * { color: #333333; } .elgg-module-popup { background-color: white; border: 1px solid #cccccc; z-index: 9999; + margin-bottom: 0; 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-module-popup > .elgg-head { + margin-bottom: 5px; +} +.elgg-module-popup > .elgg-head * { + color: #0054A7; +} .elgg-module-featured { border: 1px solid #4690D6; -webkit-border-radius: 6px; -moz-border-radius: 6px; - margin-bottom: 20px; } .elgg-module-featured > .elgg-head { padding: 5px; background-color: #4690D6; } -.elgg-module-featured > .elgg-head h3 { +.elgg-module-featured > .elgg-head * { color: white; } .elgg-module-featured > .elgg-body { @@ -203,7 +209,6 @@ background: #dedede; border: 2px solid #cccccc; } - <?php //@todo location-dependent style: make an extension of elgg-gallery ?> .elgg-widgets-add-panel li { float: left; @@ -424,7 +429,7 @@ a.elgg-widget-edit-button:hover, a.elgg-widget-delete-button:hover { .elgg-river-item input[type=submit] { margin: 0 0 0 10px; } -.elgg-river-item > .elgg-alt a { +.elgg-river-item > .elgg-image-alt a { font-size: 90%; float: right; clear: both; |