diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-10 03:29:31 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-10 03:29:31 +0000 |
commit | e3561e5956ef087ae54f9c40df0534f2b4ec9151 (patch) | |
tree | 70062387ae7e08a32f29d43d360caa12b3df6f5d | |
parent | 393d9853c893d47d3426014def1fafb62eed4c75 (diff) | |
download | elgg-e3561e5956ef087ae54f9c40df0534f2b4ec9151.tar.gz elgg-e3561e5956ef087ae54f9c40df0534f2b4ec9151.tar.bz2 |
a few more adjustments to the page header
git-svn-id: http://code.elgg.org/elgg/trunk@7591 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | mod/search/views/default/search/css.php | 8 | ||||
-rw-r--r-- | views/default/css/elements/navigation.php | 10 | ||||
-rw-r--r-- | views/default/css/elements/page_layout.php | 10 | ||||
-rw-r--r-- | views/default/css/screen.php | 6 | ||||
-rw-r--r-- | views/default/navigation/site_nav.php | 4 |
5 files changed, 17 insertions, 21 deletions
diff --git a/mod/search/views/default/search/css.php b/mod/search/views/default/search/css.php index 4a7a14bad..644833673 100644 --- a/mod/search/views/default/search/css.php +++ b/mod/search/views/default/search/css.php @@ -6,6 +6,14 @@ */ ?> + +#elgg-search { + bottom:5px; + height:23px; + position:absolute; + right:0; +} + .elgg-page-header #elgg-search input.search-input { -webkit-border-radius: 10px; -moz-border-radius: 10px; diff --git a/views/default/css/elements/navigation.php b/views/default/css/elements/navigation.php index 4073b6418..a2f147df8 100644 --- a/views/default/css/elements/navigation.php +++ b/views/default/css/elements/navigation.php @@ -166,15 +166,8 @@ .elgg-site-menu .elgg-more:hover { overflow: visible; } -.elgg-site-menu .elgg-more a.subnav span { - background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png); - background-repeat: no-repeat; - background-position: -150px -56px; - padding-left: 12px; -} -.elgg-site-menu .elgg-more:hover a.subnav span, .elgg-site-menu .elgg-more:hover span { - background-position: -150px -76px; + background-position: -146px -76px; } .elgg-site-menu .elgg-more ul { z-index: 7000; @@ -212,7 +205,6 @@ -webkit-border-bottom-right-radius: 4px; } - /* *************************************** PAGE MENU *************************************** */ diff --git a/views/default/css/elements/page_layout.php b/views/default/css/elements/page_layout.php index 17f792ad0..75f351781 100644 --- a/views/default/css/elements/page_layout.php +++ b/views/default/css/elements/page_layout.php @@ -83,16 +83,6 @@ width: 990px; } - -#elgg-search { - bottom:5px; - height:23px; - position:absolute; - right:0; -} - - - /* *************************************** ELGG TOPBAR *************************************** */ diff --git a/views/default/css/screen.php b/views/default/css/screen.php index adf56d525..40aaebb35 100644 --- a/views/default/css/screen.php +++ b/views/default/css/screen.php @@ -86,6 +86,12 @@ echo elgg_view('css/elements/forms', $vars); .elgg-icon-help { background-position: -302px -136px; } +.elgg-icon-arrow-s { + background-position: -146px -56px; +} +.elgg-icon-arrow-s:hover { + background-position: -146px -76px; +} diff --git a/views/default/navigation/site_nav.php b/views/default/navigation/site_nav.php index 7fbeda125..aaf596b93 100644 --- a/views/default/navigation/site_nav.php +++ b/views/default/navigation/site_nav.php @@ -34,7 +34,7 @@ if ($featured) { $nav_html .= "<li $selected><a href=\"$url\" title=\"$title\"><span>$title</span></a></li>"; } } elseif ($more) { - for ($i=0; $i<6; $i++) { + for ($i=0; $i<5; $i++) { if (!array_key_exists($i, $more)) { break; } @@ -65,7 +65,7 @@ foreach ($more as $info) { if ($more_nav_html) { $more = elgg_echo('more'); - $nav_html .= "<li class='elgg-more'><a class='subnav' title=\"$more\"><span>$more</span></a> + $nav_html .= "<li class='elgg-more'><a class='subnav' title=\"$more\"><span class=\"elgg-icon elgg-icon-arrow-s\"></span>$more</a> <ul> $more_nav_html </ul> |