Changed to @class entity_profile from @id user_profile.
This commit is contained in:
parent
4b42c35269
commit
d72706ce9d
|
@ -195,8 +195,7 @@ class ShowgroupAction extends Action
|
||||||
|
|
||||||
function showGroupProfile()
|
function showGroupProfile()
|
||||||
{
|
{
|
||||||
$this->elementStart('div', array('id' => 'user_profile',
|
$this->elementStart('div', 'entity_profile vcard author');
|
||||||
'class' => 'vcard author'));
|
|
||||||
|
|
||||||
$this->element('h2', null, _('Group profile'));
|
$this->element('h2', null, _('Group profile'));
|
||||||
|
|
||||||
|
|
|
@ -227,7 +227,7 @@ class ShowstreamAction extends Action
|
||||||
|
|
||||||
function showProfile()
|
function showProfile()
|
||||||
{
|
{
|
||||||
$this->elementStart('div', array('id' => 'user_profile', 'class' => 'vcard author'));
|
$this->elementStart('div', 'entity_profile vcard author');
|
||||||
$this->element('h2', null, _('User profile'));
|
$this->element('h2', null, _('User profile'));
|
||||||
|
|
||||||
$avatar = $this->profile->getAvatar(AVATAR_PROFILE_SIZE);
|
$avatar = $this->profile->getAvatar(AVATAR_PROFILE_SIZE);
|
||||||
|
|
|
@ -93,8 +93,7 @@ class ProfileList extends Widget
|
||||||
$user = common_current_user();
|
$user = common_current_user();
|
||||||
|
|
||||||
|
|
||||||
$this->out->elementStart('div', array('id' => 'user_profile',
|
$this->out->elementStart('div', 'entity_profile vcard');
|
||||||
'class' => 'vcard'));
|
|
||||||
|
|
||||||
$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,
|
||||||
|
|
|
@ -150,7 +150,8 @@ font-weight:bold;
|
||||||
#form_register legend,
|
#form_register legend,
|
||||||
#form_password legend,
|
#form_password legend,
|
||||||
#form_settings_avatar legend,
|
#form_settings_avatar legend,
|
||||||
#form_group_add legend {
|
#newgroup legend,
|
||||||
|
#editgroup legend {
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -448,7 +449,7 @@ margin-left:4px;
|
||||||
|
|
||||||
#form_notice .form_note {
|
#form_notice .form_note {
|
||||||
position:absolute;
|
position:absolute;
|
||||||
top:120px;
|
top:118px;
|
||||||
right:98px;
|
right:98px;
|
||||||
z-index:9;
|
z-index:9;
|
||||||
}
|
}
|
||||||
|
@ -460,6 +461,7 @@ display:none;
|
||||||
#notice_text-count {
|
#notice_text-count {
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
line-height:1.15;
|
line-height:1.15;
|
||||||
|
padding:1px 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#form_notice #notice_data-attach_view {
|
#form_notice #notice_data-attach_view {
|
||||||
|
@ -508,7 +510,7 @@ float:left;
|
||||||
|
|
||||||
|
|
||||||
/* user_profile */
|
/* user_profile */
|
||||||
#user_profile {
|
.entity_profile {
|
||||||
position:relative;
|
position:relative;
|
||||||
width:475px;
|
width:475px;
|
||||||
min-height:123px;
|
min-height:123px;
|
||||||
|
@ -516,23 +518,23 @@ float:left;
|
||||||
margin-bottom:17px;
|
margin-bottom:17px;
|
||||||
margin-left:0;
|
margin-left:0;
|
||||||
}
|
}
|
||||||
#user_profile dt,
|
.entity_profile dt,
|
||||||
#user_statistics dt {
|
#user_statistics dt {
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
}
|
}
|
||||||
#user_profile .user_depiction {
|
.entity_profile .user_depiction {
|
||||||
float:left;
|
float:left;
|
||||||
position:absolute;
|
position:absolute;
|
||||||
top:0;
|
top:0;
|
||||||
left:0;
|
left:0;
|
||||||
width:96px;
|
width:96px;
|
||||||
}
|
}
|
||||||
#user_profile .user_fn,
|
.entity_profile .user_fn,
|
||||||
#user_profile .user_nickname,
|
.entity_profile .user_nickname,
|
||||||
#user_profile .user_location,
|
.entity_profile .user_location,
|
||||||
#user_profile .user_url,
|
.entity_profile .user_url,
|
||||||
#user_profile .user_note,
|
.entity_profile .user_note,
|
||||||
#user_profile .user_tags {
|
.entity_profile .user_tags {
|
||||||
float:left;
|
float:left;
|
||||||
clear:left;
|
clear:left;
|
||||||
margin-left:113px;
|
margin-left:113px;
|
||||||
|
@ -540,37 +542,37 @@ width:322px;
|
||||||
margin-bottom:4px;
|
margin-bottom:4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#user_profile .user_fn,
|
.entity_profile .user_fn,
|
||||||
#user_profile .user_nickname {
|
.entity_profile .user_nickname {
|
||||||
width:auto;
|
width:auto;
|
||||||
clear:none;
|
clear:none;
|
||||||
}
|
}
|
||||||
#user_profile .user_fn {
|
.entity_profile .user_fn {
|
||||||
margin-left:11px;
|
margin-left:11px;
|
||||||
margin-right:4px;
|
margin-right:4px;
|
||||||
}
|
}
|
||||||
#user_profile .user_fn .fn {
|
.entity_profile .user_fn .fn {
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
font-style:normal;
|
font-style:normal;
|
||||||
}
|
}
|
||||||
#user_profile .nickname {
|
.entity_profile .nickname {
|
||||||
font-style:italic;
|
font-style:italic;
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
#user_profile .user_fn dd:before {
|
.entity_profile .user_fn dd:before {
|
||||||
content: "(";
|
content: "(";
|
||||||
font-weight:normal;
|
font-weight:normal;
|
||||||
}
|
}
|
||||||
#user_profile .user_fn dd:after {
|
.entity_profile .user_fn dd:after {
|
||||||
content: ")";
|
content: ")";
|
||||||
font-weight:normal;
|
font-weight:normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
#user_profile dt {
|
.entity_profile dt {
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
#user_profile h2 {
|
.entity_profile h2 {
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -664,6 +666,8 @@ float:left;
|
||||||
.aside .section {
|
.aside .section {
|
||||||
margin-bottom:29px;
|
margin-bottom:29px;
|
||||||
clear:both;
|
clear:both;
|
||||||
|
float:left;
|
||||||
|
width:100%;
|
||||||
}
|
}
|
||||||
.aside .section h2 {
|
.aside .section h2 {
|
||||||
text-transform:uppercase;
|
text-transform:uppercase;
|
||||||
|
@ -680,24 +684,25 @@ content: ":";
|
||||||
|
|
||||||
|
|
||||||
#user_subscriptions,
|
#user_subscriptions,
|
||||||
#user_subscriptions-common {
|
#user_subscribers,
|
||||||
float:left;
|
#user_groups, {
|
||||||
|
|
||||||
}
|
}
|
||||||
#user_subscriptions ul.users {
|
.section ul.users {
|
||||||
width:220px;
|
width:220px;
|
||||||
float:left;
|
float:left;
|
||||||
}
|
}
|
||||||
#user_subscriptions .users li {
|
.section .users li {
|
||||||
list-style-type:none;
|
list-style-type:none;
|
||||||
float:left;
|
float:left;
|
||||||
margin-right:7px;
|
margin-right:7px;
|
||||||
margin-bottom:7px;
|
margin-bottom:7px;
|
||||||
}
|
}
|
||||||
#user_subscriptions .users li .photo {
|
.section .users li .photo {
|
||||||
margin-right:0;
|
margin-right:0;
|
||||||
margin-bottom:0;
|
margin-bottom:0;
|
||||||
}
|
}
|
||||||
#user_subscriptions .users li .fn {
|
.section .users li .fn {
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
.aside .section .more {
|
.aside .section .more {
|
||||||
|
@ -706,29 +711,36 @@ clear:both;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.profile #user_profile {
|
.profile .entity_profile {
|
||||||
margin-bottom:0;
|
margin-bottom:0;
|
||||||
min-height:60px;
|
min-height:60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.profile .form_user_subscribe,
|
||||||
.profile .form_user_unsubscribe {
|
.profile .form_user_unsubscribe {
|
||||||
float:right;
|
float:right;
|
||||||
}
|
}
|
||||||
|
.profile .form_user_subscribe legend,
|
||||||
|
.profile .form_user_unsubscribe legend {
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.profiles {
|
.profiles {
|
||||||
list-style-type:none;
|
list-style-type:none;
|
||||||
}
|
}
|
||||||
.profile #user_profile .user_location {
|
.profile .entity_profile .user_location {
|
||||||
width:auto;
|
width:auto;
|
||||||
clear:none;
|
clear:none;
|
||||||
margin-left:11px;
|
margin-left:11px;
|
||||||
}
|
}
|
||||||
.profile #user_profile dl,
|
.profile .entity_profile dl,
|
||||||
.profile #user_profile dd {
|
.profile .entity_profile dd {
|
||||||
display:inline;
|
display:inline;
|
||||||
float:none;
|
float:none;
|
||||||
}
|
}
|
||||||
.profile #user_profile .user_note,
|
.profile .entity_profile .user_note,
|
||||||
.profile #user_profile .user_url {
|
.profile .entity_profile .user_url {
|
||||||
margin-left:59px;
|
margin-left:59px;
|
||||||
clear:none;
|
clear:none;
|
||||||
display:block;
|
display:block;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user