2015-03-12 08:10:03 +08:00
|
|
|
.user-card {
|
|
|
|
.drawer-components();
|
|
|
|
}
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
& .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 {
|
|
|
|
padding: 10px 10px 1px;
|
2015-03-12 09:40:58 +08:00
|
|
|
margin: -10px -10px 10px;
|
2015-03-12 08:10:03 +08:00
|
|
|
|
|
|
|
&.editable:not(.editing) {
|
|
|
|
cursor: text;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border: 1px dashed rgba(255, 255, 255, 0.5);
|
|
|
|
border-radius: @border-radius-base;
|
|
|
|
padding: 9px 9px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&, & textarea {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
& textarea {
|
|
|
|
padding: 10px;
|
|
|
|
margin: -10px -10px 0;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|