diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-10 14:03:37 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-10 14:03:37 +0000 |
commit | 36a6da62e7c3697e4e59e8734c462dacad639a04 (patch) | |
tree | 74ec18b6dc8812086720f907225a1e9e7ad3d19f /views | |
parent | 4ea633b96d7407a5f51013d60e15eba12ba99ae7 (diff) | |
download | elgg-36a6da62e7c3697e4e59e8734c462dacad639a04.tar.gz elgg-36a6da62e7c3697e4e59e8734c462dacad639a04.tar.bz2 |
elgg topbar logout re-done with rollover
git-svn-id: https://code.elgg.org/elgg/trunk@1392 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r-- | views/default/css.php | 13 | ||||
-rw-r--r-- | views/default/page_elements/elgg_topbar.php | 2 |
2 files changed, 13 insertions, 2 deletions
diff --git a/views/default/css.php b/views/default/css.php index 1b51a9d34..d709c90a4 100644 --- a/views/default/css.php +++ b/views/default/css.php @@ -374,8 +374,9 @@ h6 { font-size: 0.8em; } margin:0 0 0 20px; } #elgg_topbar_container_right { - padding:4px 0 0 0; + padding:3px 0 0 0; } +/* #elgg_topbar_container_right img { float:right; margin:0 20px 0 0; @@ -385,6 +386,16 @@ h6 { font-size: 0.8em; } color:#eeeeee; margin:0 5px 0 0; } +*/ +#elgg_topbar_container_right a { + color:#eeeeee; + margin:0 5px 0 0; + background:transparent url(<?php echo $vars['url']; ?>_graphics/elgg_toolbar_logout.gif) no-repeat right -1px; + padding:0 21px 0 0; +} +#elgg_topbar_container_right a:hover { + background:transparent url(<?php echo $vars['url']; ?>_graphics/elgg_toolbar_logout_over.gif) no-repeat right -1px; +} #elgg_topbar_panel { background:#333333; diff --git a/views/default/page_elements/elgg_topbar.php b/views/default/page_elements/elgg_topbar.php index fbeae43c8..40d4242d7 100644 --- a/views/default/page_elements/elgg_topbar.php +++ b/views/default/page_elements/elgg_topbar.php @@ -61,7 +61,7 @@ <div id="elgg_topbar_container_right"> - <img src="<?php echo $vars['url']; ?>_graphics/elgg_toolbar_logout.gif" /><a href="<?php echo $vars['url']; ?>action/logout"><small><?php echo elgg_echo('logout'); ?></small></a> + <a href="<?php echo $vars['url']; ?>action/logout"><small><?php echo elgg_echo('logout'); ?></small></a> </div> <div id="elgg_topbar_container_search"> |