2015-03-12 08:10:03 +08:00
|
|
|
.user-card {
|
|
|
|
.drawer-components();
|
2015-03-12 09:52:07 +08:00
|
|
|
|
|
|
|
&, & .container {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.darken-overlay {
|
|
|
|
background: rgba(0, 0, 0, 0.1);
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2015-03-12 08:10:03 +08:00
|
|
|
}
|
|
|
|
.user-hero {
|
|
|
|
& .contextual-controls {
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
& .dropdown-toggle .icon-glyph {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.user-card-popover {
|
|
|
|
width: 500px;
|
|
|
|
padding: 20px;
|
|
|
|
border-radius: @border-radius-base;
|
|
|
|
.box-shadow(0 2px 6px @fl-shadow-color);
|
|
|
|
|
|
|
|
& .container {
|
|
|
|
width: auto !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
& .user-identity {
|
|
|
|
font-size: 22px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.user-profile {
|
|
|
|
text-align: left;
|
|
|
|
padding-left: 130px;
|
|
|
|
max-width: 800px;
|
|
|
|
|
|
|
|
& .user-identity {
|
|
|
|
display: inline;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
& .avatar {
|
|
|
|
.avatar-size(96px);
|
|
|
|
float: left;
|
|
|
|
margin-left: -130px;
|
|
|
|
border: 4px solid #fff;
|
2015-03-12 10:35:34 +08:00
|
|
|
.box-shadow(0 2px 6px @fl-shadow-color);
|
2015-03-12 08:10:03 +08:00
|
|
|
}
|
|
|
|
& .badges {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
2015-03-12 09:40:58 +08:00
|
|
|
& .user-info {
|
|
|
|
margin: 15px 0 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
|
|
& > li {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 15px;
|
|
|
|
}
|
|
|
|
& .block-item {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2015-03-12 08:10:03 +08:00
|
|
|
& .user-bio {
|
2015-03-12 09:40:58 +08:00
|
|
|
margin: -10px -10px 10px;
|
2015-03-17 14:31:19 +08:00
|
|
|
border: 1px dashed transparent;
|
|
|
|
border-radius: @border-radius-base;
|
2015-03-12 08:10:03 +08:00
|
|
|
|
|
|
|
&.editable:not(.editing) {
|
|
|
|
cursor: text;
|
|
|
|
|
|
|
|
&:hover {
|
2015-03-17 14:31:19 +08:00
|
|
|
border-color: rgba(255, 255, 255, 0.5);
|
2015-03-12 08:10:03 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-03-17 14:31:19 +08:00
|
|
|
.bio-content {
|
|
|
|
padding: 10px 10px 1px;
|
|
|
|
}
|
|
|
|
|
2015-03-12 08:10:03 +08:00
|
|
|
&, & textarea {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
& textarea {
|
|
|
|
padding: 10px;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-03-17 14:36:12 +08:00
|
|
|
|
|
|
|
.user-content .loading-indicator {
|
|
|
|
height: 46px;
|
|
|
|
}
|
|
|
|
.user-activity {
|
|
|
|
border-left: 3px solid @fl-body-secondary-color;
|
|
|
|
list-style: none;
|
|
|
|
margin: 0 0 0 16px;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
& > li {
|
|
|
|
margin-bottom: 30px;
|
|
|
|
padding-left: 32px;
|
|
|
|
}
|
|
|
|
& .activity-icon {
|
|
|
|
.avatar-size(32px);
|
|
|
|
float: left;
|
|
|
|
margin-left: -49px;
|
|
|
|
.box-shadow(0 0 0 3px #fff);
|
|
|
|
margin-top: -5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.activity-info {
|
|
|
|
color: @fl-body-muted-color;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
& strong {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.activity-content {
|
|
|
|
display: block;
|
|
|
|
padding: 20px;
|
|
|
|
background: @fl-body-secondary-color;
|
|
|
|
border-radius: @border-radius-base;
|
|
|
|
color: @fl-body-muted-color;
|
|
|
|
|
|
|
|
&, &:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
& .discussion-summary {
|
|
|
|
margin: -20px 0;
|
|
|
|
padding-left: 0;
|
|
|
|
|
|
|
|
& .author {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.activity-post {
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
& .title {
|
|
|
|
margin: 0 0 10px;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
&, & a {
|
|
|
|
color: @fl-body-heading-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:hover .title {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
& .body {
|
|
|
|
color: @fl-body-muted-color;
|
|
|
|
line-height: 1.7em;
|
|
|
|
|
|
|
|
& :last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|