Quick style update for profile blocks.

This commit is contained in:
Samantha Doherty 2011-03-16 13:50:24 -04:00
parent 3692a09095
commit 5e40450efd
3 changed files with 29 additions and 2 deletions

View File

@ -56,7 +56,7 @@ abstract class ProfileBlock extends Widget
function show()
{
$this->out->elementStart('div', 'profile_block');
$this->out->elementStart('div', 'profile_block section');
$size = $this->avatarSize();

View File

@ -114,7 +114,7 @@ class ExtendedProfilePlugin extends Plugin
$user = User::staticGet('id', $profile->id);
if ($user) {
$url = common_local_url('profiledetail', array('nickname' => $user->nickname));
$out->element('a', array('href' => $url), _m('More details...'));
$out->element('a', array('href' => $url, 'class' => 'profiledetail'), _m('More details...'));
}
return true;
}

View File

@ -413,6 +413,33 @@ address {
text-transform: uppercase;
}
.profile_block_name {
font-size: 14px;
font-weight: bold;
}
.profile_block_location {
font-weight: bold;
}
.profile_block_description {
line-height: 1.2em;
}
.profile_block .entity_actions {
float: left;
margin-left: 0px;
}
.profile_block .entity_moderation:hover ul,
.profile_block .entity_role:hover ul {
left: 20px;
}
.profile_block a.profiledetail {
display: block;
}
.section ul.entities {
width: 220px;
}