Formatting for profile/group account blocks and entity action buttons.

This commit is contained in:
Samantha Doherty 2011-04-11 09:49:12 -04:00
parent abbe0cf4ab
commit 13e2acaf5c
4 changed files with 16 additions and 16 deletions

View File

@ -310,7 +310,7 @@ class AccountProfileBlock extends ProfileBlock
function show() function show()
{ {
$this->out->elementStart('div', 'account_profile_block section'); $this->out->elementStart('div', 'profile_block account_profile_block section');
if (Event::handle('StartShowAccountProfileBlock', array($this->out, $this->profile))) { if (Event::handle('StartShowAccountProfileBlock', array($this->out, $this->profile))) {
parent::show(); parent::show();
Event::handle('EndShowAccountProfileBlock', array($this->out, $this->profile)); Event::handle('EndShowAccountProfileBlock', array($this->out, $this->profile));

View File

@ -126,7 +126,7 @@ class GroupProfileBlock extends ProfileBlock
function show() function show()
{ {
$this->out->elementStart('div', 'group_profile_block section'); $this->out->elementStart('div', 'profile_block group_profile_block section');
if (Event::handle('StartShowGroupProfileBlock', array($this->out, $this->group))) { if (Event::handle('StartShowGroupProfileBlock', array($this->out, $this->group))) {
parent::show(); parent::show();
Event::handle('EndShowGroupProfileBlock', array($this->out, $this->group)); Event::handle('EndShowGroupProfileBlock', array($this->out, $this->group));

View File

@ -1347,6 +1347,8 @@ border:0;
padding:0; padding:0;
width:16px; width:16px;
height:16px; height:16px;
position: relative;
top: -3px;
} }
.entity_profile .entity_nickname, .entity_profile .entity_nickname,

View File

@ -481,6 +481,18 @@ address {
text-transform: uppercase; text-transform: uppercase;
} }
.profile_block .entity_actions {
float: right;
width: 110px;
margin-top: 2px;
margin-bottom: 2px;
}
.profile_block .entity_moderation:hover ul,
.profile_block .entity_role:hover ul {
right: 20px;
}
.profile_block_name { .profile_block_name {
font-size: 14px; font-size: 14px;
font-weight: bold; font-weight: bold;
@ -494,20 +506,6 @@ address {
line-height: 1.2em; 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 { .section ul.entities {
width: 240px; width: 240px;
} }