forked from GNUsocial/gnu-social
Quick style update for profile blocks.
This commit is contained in:
parent
3692a09095
commit
5e40450efd
@ -56,7 +56,7 @@ abstract class ProfileBlock extends Widget
|
|||||||
|
|
||||||
function show()
|
function show()
|
||||||
{
|
{
|
||||||
$this->out->elementStart('div', 'profile_block');
|
$this->out->elementStart('div', 'profile_block section');
|
||||||
|
|
||||||
$size = $this->avatarSize();
|
$size = $this->avatarSize();
|
||||||
|
|
||||||
|
@ -114,7 +114,7 @@ class ExtendedProfilePlugin extends Plugin
|
|||||||
$user = User::staticGet('id', $profile->id);
|
$user = User::staticGet('id', $profile->id);
|
||||||
if ($user) {
|
if ($user) {
|
||||||
$url = common_local_url('profiledetail', array('nickname' => $user->nickname));
|
$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;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -413,6 +413,33 @@ address {
|
|||||||
text-transform: uppercase;
|
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 {
|
.section ul.entities {
|
||||||
width: 220px;
|
width: 220px;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user