diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-14 22:07:38 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-14 22:07:38 +0000 |
commit | b5aed25425ff58d544726f97d3cca0ef142f8c94 (patch) | |
tree | 3ac2467d223c274f55ceb26547d785934ca9ee19 /views/default/css/elements/skin.php | |
parent | 7caac9640259aacabbf19c22f7cbbf77ae97b4e3 (diff) | |
download | elgg-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/skin.php')
-rw-r--r-- | views/default/css/elements/skin.php | 148 |
1 files changed, 148 insertions, 0 deletions
diff --git a/views/default/css/elements/skin.php b/views/default/css/elements/skin.php index a8f8db7ba..a37b5a584 100644 --- a/views/default/css/elements/skin.php +++ b/views/default/css/elements/skin.php @@ -2,6 +2,10 @@ /** * Skin of the theme * + * - theme chrome + * - page layout + * - icons + * * @package Elgg.Core * @subpackage UI */ @@ -20,9 +24,153 @@ a:hover, a.selected { color: #555555; } + +/* *************************************** + PAGE LAYOUT +*************************************** */ + +/***** TOPBAR ******/ + +.elgg-page-topbar { + background: #333333 url(<?php echo elgg_get_site_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-header .elgg-inner { + width: 990px; + margin: 0 auto; + height: 90px; + position: relative; +} +.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.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 HEADER ******/ + +.elgg-page-header { + x-overflow: hidden; + position: relative; + background-color: #4690D6; + background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/header_shadow.png); + background-repeat: repeat-x; + background-position: bottom left; +} +.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-layout-one_column { + padding: 10px 0; +} +.elgg-layout-sidebar { + background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/sidebar_background.gif); + background-repeat: repeat-y; + background-position: right top; +} +.elgg-layout-two-sidebar { + background-image: url(<?php echo elgg_get_site_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-left: 10px; +} +.elgg-sidebar-alt { + float: left; + width: 160px; + margin-right: 10px; +} +.elgg-main-header { + border-bottom: 1px solid #CCCCCC; + padding-bottom: 3px; +} +.elgg-main-heading { + float: left; + max-width: 530px; + margin-right: 10px; +} + +/***** PAGE SIDEBAR ******/ + +.elgg-sidebar .elgg-module { + margin-top: 20px; +} +.elgg-sidebar .elgg-module .elgg-head { + border-bottom: 1px solid #CCCCCC; + margin-bottom: 5px; + padding-bottom: 5px; +} + +/***** PAGE FOOTER ******/ + +.elgg-page-footer { + position: relative; + z-index: 999; +} +.elgg-page-footer .elgg-inner { + width: 990px; + margin: 0 auto; + padding: 5px 0; + border-top: 1px solid #DEDEDE; +} +.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; +} +.elgg-page-footer .elgg-inner p { + margin: 0; +} + /* *************************************** ICONS *************************************** */ + .elgg-icon { background: transparent url(<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png) no-repeat left; width: 16px; |