aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_graphics/elgg_toolbar_logout_over.gifbin0 -> 601 bytes
-rw-r--r--views/default/css.php13
-rw-r--r--views/default/page_elements/elgg_topbar.php2
3 files changed, 13 insertions, 2 deletions
diff --git a/_graphics/elgg_toolbar_logout_over.gif b/_graphics/elgg_toolbar_logout_over.gif
new file mode 100644
index 000000000..5f1ceac97
--- /dev/null
+++ b/_graphics/elgg_toolbar_logout_over.gif
Binary files differ
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">