From d33945f093dd12da159046b72753982f433fa3ee Mon Sep 17 00:00:00 2001 From: cash Date: Fri, 10 Dec 2010 11:56:46 +0000 Subject: Refs #2317 starting create a css skin sub view git-svn-id: http://code.elgg.org/elgg/trunk@7593 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/css/elements/core.php | 23 +------- views/default/css/elements/navigation.php | 4 +- views/default/css/elements/reset.php | 3 ++ views/default/css/elements/skin.php | 63 ++++++++++++++++++++++ views/default/css/screen.php | 90 +------------------------------ 5 files changed, 71 insertions(+), 112 deletions(-) create mode 100644 views/default/css/elements/skin.php (limited to 'views/default') diff --git a/views/default/css/elements/core.php b/views/default/css/elements/core.php index 330d35cd4..65c5f2a2e 100644 --- a/views/default/css/elements/core.php +++ b/views/default/css/elements/core.php @@ -10,23 +10,12 @@ Core *************************************** */ body { - text-align:left; - margin:0 auto; - padding:0; - background-color: white; font-size: 80%; line-height: 1.4em; font-family: "Lucida Grande",Arial,Tahoma,Verdana,sans-serif; } -a { - color: #4690D6; - text-decoration: none; - -moz-outline-style: none; - outline: none; -} a:hover, a.selected { - color: #555555; text-decoration: underline; } p { @@ -159,17 +148,7 @@ h2 { .elgg-tagcloud { text-align:justify; } -.ajax-loader { - background-color: white; - background-image: url(_graphics/ajax_loader_bw.gif); - background-repeat: no-repeat; - background-position: center center; - min-height:33px; - min-width:33px; -} -.ajax-loader.left { - background-position: left center; -} + .right { float: right; diff --git a/views/default/css/elements/navigation.php b/views/default/css/elements/navigation.php index a2f147df8..5ea94798a 100644 --- a/views/default/css/elements/navigation.php +++ b/views/default/css/elements/navigation.php @@ -142,12 +142,14 @@ } .elgg-site-menu a { color: white; - text-decoration: none; font-weight: bold; padding: 3px 13px 0px 13px; height: 20px; display: block; } +.elgg-site-menu a:hover { + text-decoration: none; +} .elgg-site-menu li.selected a, .elgg-site-menu li a:hover, .elgg-site-menu .elgg-more:hover a { diff --git a/views/default/css/elements/reset.php b/views/default/css/elements/reset.php index 13f750de8..f8d7b16bc 100644 --- a/views/default/css/elements/reset.php +++ b/views/default/css/elements/reset.php @@ -66,3 +66,6 @@ q:before, q:after { blockquote, q { quotes: "" ""; } +a { + text-decoration: none; +} diff --git a/views/default/css/elements/skin.php b/views/default/css/elements/skin.php new file mode 100644 index 000000000..a8f8db7ba --- /dev/null +++ b/views/default/css/elements/skin.php @@ -0,0 +1,63 @@ + + +/* *************************************** + THEME CHROME +*************************************** */ +body { + background-color: white; +} +a { + color: #4690D6; +} +a:hover, +a.selected { + color: #555555; +} +/* *************************************** + ICONS +*************************************** */ +.elgg-icon { + background: transparent url(_graphics/elgg_sprites.png) no-repeat left; + width: 16px; + height: 16px; + display: block; + float: left; +} +.elgg-icon-settings { + background-position: -302px -44px; +} +.elgg-icon-friends { + background-position: 0 -300px; + width: 36px; +} +.elgg-icon-friends:hover { + background-position: 0 -340px; +} +.elgg-icon-help { + background-position: -302px -136px; +} +.elgg-icon-arrow-s { + background-position: -146px -56px; +} +.elgg-icon-arrow-s:hover { + background-position: -146px -76px; +} + +.ajax-loader { + background-color: white; + background-image: url(_graphics/ajax_loader_bw.gif); + background-repeat: no-repeat; + background-position: center center; + min-height:33px; + min-width:33px; +} +.ajax-loader.left { + background-position: left center; +} \ No newline at end of file diff --git a/views/default/css/screen.php b/views/default/css/screen.php index 40aaebb35..cfbae0e1e 100644 --- a/views/default/css/screen.php +++ b/views/default/css/screen.php @@ -23,6 +23,7 @@ echo elgg_view('css/elements/navigation', $vars); echo elgg_view('css/elements/grid', $vars); echo elgg_view('css/elements/heading', $vars); echo elgg_view('css/elements/forms', $vars); +echo elgg_view('css/elements/skin', $vars); ?> @@ -66,32 +67,6 @@ echo elgg_view('css/elements/forms', $vars); */ -.elgg-icon { - background: transparent url(_graphics/elgg_sprites.png) no-repeat left; - width: 16px; - height: 16px; - display: block; - float: left; -} -.elgg-icon-settings { - background-position: -302px -44px; -} -.elgg-icon-friends { - background-position: 0 -300px; - width: 36px; -} -.elgg-icon-friends:hover { - background-position: 0 -340px; -} -.elgg-icon-help { - background-position: -302px -136px; -} -.elgg-icon-arrow-s { - background-position: -146px -56px; -} -.elgg-icon-arrow-s:hover { - background-position: -146px -76px; -} @@ -411,69 +386,6 @@ a.widget-edit-button:hover, a.widget-delete-button:hover { margin:0 0 5px 10px; } - -/* *************************************** - DEFAULT COMMENTS -**************************************** */ -.generic-comment { - border-bottom:1px dotted #cccccc; - clear:both; - display:block; - margin:0; - padding:5px 0 7px; - position:relative; -} -.generic-comment:first-child { - border-top:1px dotted #cccccc; -} -.generic-comment-icon { - float:left; - margin-left:3px; - margin-top:3px; -} -.generic-comment-icon img { - width: auto; -} -.generic-comment-details { - float:left; - margin-left:7px; - min-height:28px; - width:693px; -} -.generic-comment-details p { - margin:0; -} -.generic-comment-owner { - line-height:1.2em; -} -.generic-comment-owner a { - color:#0054A7; -} -.generic-comment-body { - margin:3px 0 5px 0; -} -.generic-comment-body p { - margin-bottom: 10px; -} -/* latest comments in sidebar */ -.elgg-aside .generic-comment.latest { - padding:2px 0; -} -.elgg-aside .generic-comment.latest .generic-comment-icon { - margin-left:1px; - margin-top:5px; -} -.elgg-aside .generic-comment.latest .generic-comment-details { - width:177px; - line-height:1.1em; - overflow:hidden; -} -.elgg-aside .generic-comment.latest .entity-title { - font-size: inherit; - line-height: inherit; -} - - /* *************************************** DEFAULT ENTITY LISTINGS **************************************** */ -- cgit v1.2.3