Commit 13e2acaf authored by Samantha Doherty's avatar Samantha Doherty

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

parent abbe0cf4
......@@ -310,7 +310,7 @@ class AccountProfileBlock extends ProfileBlock
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))) {
parent::show();
Event::handle('EndShowAccountProfileBlock', array($this->out, $this->profile));
......
......@@ -126,7 +126,7 @@ class GroupProfileBlock extends ProfileBlock
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))) {
parent::show();
Event::handle('EndShowGroupProfileBlock', array($this->out, $this->group));
......
......@@ -1347,6 +1347,8 @@ border:0;
padding:0;
width:16px;
height:16px;
position: relative;
top: -3px;
}
.entity_profile .entity_nickname,
......
......@@ -481,6 +481,18 @@ address {
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 {
font-size: 14px;
font-weight: bold;
......@@ -494,20 +506,6 @@ address {
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: 240px;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment