Updated styles for profile list re: commit

3c4ac05cde
This commit is contained in:
Sarven Capadisli 2009-11-06 12:51:28 +01:00
parent 7ce49e4bcf
commit 85647719a3
2 changed files with 16 additions and 12 deletions

View File

@ -182,7 +182,8 @@ class ProfileListItem extends Widget
{ {
$avatar = $this->profile->getAvatar(AVATAR_STREAM_SIZE); $avatar = $this->profile->getAvatar(AVATAR_STREAM_SIZE);
$this->out->elementStart('a', array('href' => $this->profile->profileurl, $this->out->elementStart('a', array('href' => $this->profile->profileurl,
'class' => 'url')); 'class' => 'url',
'rel' => 'contact'));
$this->out->element('img', array('src' => ($avatar) ? $avatar->displayUrl() : Avatar::defaultImage(AVATAR_STREAM_SIZE), $this->out->element('img', array('src' => ($avatar) ? $avatar->displayUrl() : Avatar::defaultImage(AVATAR_STREAM_SIZE),
'class' => 'photo avatar', 'class' => 'photo avatar',
'width' => AVATAR_STREAM_SIZE, 'width' => AVATAR_STREAM_SIZE,

View File

@ -592,11 +592,11 @@ margin-left:0;
font-size:1.1em; font-size:1.1em;
font-weight:bold; font-weight:bold;
} }
.entity_profile .entity_fn dd:before { .entity_profile .fn:before {
content: "("; content: "(";
font-weight:normal; font-weight:normal;
} }
.entity_profile .entity_fn dd:after { .entity_profile .fn:after {
content: ")"; content: ")";
font-weight:normal; font-weight:normal;
} }
@ -782,18 +782,21 @@ display:none;
.profiles { .profiles {
list-style-type:none; list-style-type:none;
} }
.profile .entity_profile .entity_location { .profile .entity_profile .url[rel=contact] {
margin-left:0;
display:inline;
}
.profile .entity_profile .fn,
.profile .entity_profile .location {
margin-left:11px;
margin-bottom:4px;
width:auto; width:auto;
clear:none; clear:none;
margin-left:11px;
} }
.profile .entity_profile dl,
.profile .entity_profile dd { .profile .entity_profile .note,
display:inline; .profile .entity_profile .url,
float:none;
}
.profile .entity_profile .entity_note,
.profile .entity_profile .entity_url,
.profile .entity_profile .entity_tags, .profile .entity_profile .entity_tags,
.profile .entity_profile .form_subscription_edit { .profile .entity_profile .form_subscription_edit {
margin-left:59px; margin-left:59px;