aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-02 14:31:35 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-02 14:31:35 +0000
commit8d35ab3f6ffae94e5fda14d241be610b2db56a7b (patch)
tree2a9737727944654c594a7212a5cd594b32378310
parent0db2886f86de5d3273410340618128b4dfaf1cc7 (diff)
downloadelgg-8d35ab3f6ffae94e5fda14d241be610b2db56a7b.tar.gz
elgg-8d35ab3f6ffae94e5fda14d241be610b2db56a7b.tar.bz2
cleaned up the topbar css
git-svn-id: http://code.elgg.org/elgg/trunk@7499 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--views/default/css/screen.php24
-rw-r--r--views/default/page_elements/topbar.php4
2 files changed, 14 insertions, 14 deletions
diff --git a/views/default/css/screen.php b/views/default/css/screen.php
index fe2bfbe4b..2c7ed27c8 100644
--- a/views/default/css/screen.php
+++ b/views/default/css/screen.php
@@ -346,7 +346,7 @@ h2 {
text-align:left;
width:100%;
}
-#elgg-topbar-contents a {
+.elgg-topbar a {
margin-right:30px;
padding-top:2px;
display:inline;
@@ -354,54 +354,54 @@ h2 {
text-align: left;
color:#eeeeee;
}
-#elgg-topbar-contents a:hover {
+.elgg-topbar a:hover {
color:#71cbff;
text-decoration: none;
}
-#elgg-topbar-contents a img.user-mini-avatar {
+.elgg-topbar a img.user-mini-avatar {
border:1px solid #eeeeee;
margin:1px 0 0 10px;
display: block;
}
-#elgg-topbar-contents a img.site-logo {
+.elgg-topbar a img.site-logo {
display: block;
margin-left:5px;
margin-top: -1px;
}
-#elgg-topbar-contents .log-out {
+.elgg-topbar .log-out {
float:right;
}
-#elgg-topbar-contents .log-out a {
+.elgg-topbar .log-out a {
display: inline;
text-align: right;
margin-right:10px;
color:#999999;
}
-#elgg-topbar-contents .log-out a:hover {
+.elgg-topbar .log-out a:hover {
color:#71cbff;
}
-#elgg-topbar-contents a.myfriends {
+.elgg-topbar a.myfriends {
background:transparent url(<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png) no-repeat left -297px;
margin-right:30px;
text-indent: -900em;
width:36px;
}
-#elgg-topbar-contents a.myfriends:hover {
+.elgg-topbar a.myfriends:hover {
background-position: left -337px;
}
-#elgg-topbar-contents a.settings {
+.elgg-topbar a.settings {
background:transparent url(<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png) no-repeat -300px -41px;
padding-left:20px !important;
float:right;
margin-right:30px;
}
-#elgg-topbar-contents a.admin {
+.elgg-topbar a.admin {
background:transparent url(<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png) no-repeat -300px -41px;
padding-left:20px !important;
float:right;
margin-right:30px;
}
-#elgg-topbar-contents a.help {
+.elgg-topbar a.help {
background:transparent url(<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png) no-repeat -300px -133px;
padding-left:18px !important;
float:right;
diff --git a/views/default/page_elements/topbar.php b/views/default/page_elements/topbar.php
index 71fa1dc92..19f15ccb4 100644
--- a/views/default/page_elements/topbar.php
+++ b/views/default/page_elements/topbar.php
@@ -6,8 +6,8 @@
$user = get_loggedin_user();
if (($user instanceof ElggUser) && ($user->guid > 0)) {
- echo '<div class="elgg-topbar" class="clearfix">';
- echo '<div id="elgg-topbar-contents">';
+ echo '<div class="elgg-topbar">';
+ echo '<div class="elgg-inner">';
// Elgg logo
echo '<a href="http://www.elgg.org">';