2013-10-04 00:51:30 +08:00
|
|
|
// styles that apply to the "share" popup when sharing a link to a post or topic
|
|
|
|
|
2014-10-21 00:11:36 +08:00
|
|
|
#user-card {
|
2013-10-04 00:51:30 +08:00
|
|
|
position: absolute;
|
2014-10-30 07:48:20 +08:00
|
|
|
width: 500px;
|
2013-10-04 00:51:30 +08:00
|
|
|
left: 20px;
|
|
|
|
z-index: 990;
|
2014-08-06 21:31:13 +08:00
|
|
|
box-shadow: 0 2px 6px rgba(0,0,0, .6);
|
2013-10-31 00:40:16 +08:00
|
|
|
margin-top: -2px;
|
2014-10-30 07:48:20 +08:00
|
|
|
background-color: $primary;
|
|
|
|
color: $secondary;
|
2014-10-17 03:05:36 +08:00
|
|
|
background-size: cover;
|
|
|
|
background-position: center center;
|
2014-10-31 12:46:27 +08:00
|
|
|
min-height: 175px;
|
2014-10-17 03:05:36 +08:00
|
|
|
|
2014-10-30 07:48:20 +08:00
|
|
|
.card-content {
|
2014-11-02 10:58:18 +08:00
|
|
|
padding: 12px 12px 0 12px;
|
2014-10-30 07:48:20 +08:00
|
|
|
background: rgba($primary, .85);
|
2014-11-02 10:58:18 +08:00
|
|
|
margin-top: 80px;
|
2014-10-31 12:46:27 +08:00
|
|
|
|
2014-10-30 07:48:20 +08:00
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.no-bg {
|
2014-10-31 12:46:27 +08:00
|
|
|
min-height: 50px;
|
|
|
|
|
2014-10-30 07:48:20 +08:00
|
|
|
.card-content {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-25 05:15:40 +08:00
|
|
|
.avatar-placeholder {
|
|
|
|
width: 120px;
|
|
|
|
height: 120px;
|
|
|
|
float: left;
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
|
2013-10-04 00:51:30 +08:00
|
|
|
h1 {
|
2014-03-02 00:05:30 +08:00
|
|
|
display: inline-block;
|
|
|
|
min-width: 120px;
|
2014-07-04 11:40:49 +08:00
|
|
|
font-size: 25px;
|
|
|
|
line-height: 1.25;
|
|
|
|
display: block;
|
2014-10-30 07:48:20 +08:00
|
|
|
max-width: 250px;
|
2014-07-04 11:40:49 +08:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2013-10-05 04:55:54 +08:00
|
|
|
a {
|
2014-10-30 07:48:20 +08:00
|
|
|
color: $secondary;
|
2013-10-05 04:55:54 +08:00
|
|
|
}
|
2014-11-02 10:58:18 +08:00
|
|
|
i {
|
|
|
|
font-size: 18px;
|
|
|
|
color: $secondary;
|
|
|
|
}
|
2013-10-04 00:51:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2014-07-04 11:40:49 +08:00
|
|
|
font-size: 15px;
|
|
|
|
line-height: 1.25;
|
2013-10-04 00:51:30 +08:00
|
|
|
font-weight: normal;
|
2014-07-04 11:40:49 +08:00
|
|
|
display: block;
|
2014-10-30 07:48:20 +08:00
|
|
|
max-width: 250px;
|
2014-07-04 11:40:49 +08:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2013-10-08 23:28:32 +08:00
|
|
|
a {
|
2014-10-30 07:48:20 +08:00
|
|
|
color: $secondary;
|
2013-10-08 23:28:32 +08:00
|
|
|
}
|
2013-10-04 00:51:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: normal;
|
2014-03-06 14:14:51 +08:00
|
|
|
margin-top: 0;
|
2014-05-29 16:21:19 +08:00
|
|
|
color: scale-color($primary, $lightness: 50%);
|
2014-10-02 10:54:03 +08:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2014-10-30 07:48:20 +08:00
|
|
|
a {
|
|
|
|
color: $secondary;
|
|
|
|
}
|
2013-10-04 00:51:30 +08:00
|
|
|
}
|
2014-02-11 01:30:36 +08:00
|
|
|
.groups {
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: normal;
|
2014-03-06 14:14:51 +08:00
|
|
|
margin-top: 0;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2014-02-11 01:30:36 +08:00
|
|
|
|
|
|
|
.group-link {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2014-02-11 01:30:36 +08:00
|
|
|
}
|
|
|
|
}
|
2013-10-04 00:51:30 +08:00
|
|
|
|
2014-05-10 14:09:04 +08:00
|
|
|
.metadata {
|
2014-11-02 10:58:18 +08:00
|
|
|
width: 100%;
|
|
|
|
clear: both;
|
2014-11-03 23:16:10 +08:00
|
|
|
padding-top: 5px;
|
2014-11-02 10:58:18 +08:00
|
|
|
h3 {display: inline; margin-right: 5px; }
|
|
|
|
div {display: inline; color: scale-color($primary, $lightness: 50%);
|
|
|
|
.group-link {color: scale-color($primary, $lightness: 50%);}
|
|
|
|
}
|
2014-05-10 14:09:04 +08:00
|
|
|
}
|
|
|
|
|
2013-10-04 00:51:30 +08:00
|
|
|
.bottom {
|
|
|
|
clear: both;
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
|
2014-07-01 05:41:38 +08:00
|
|
|
.bio {
|
2014-11-02 10:58:18 +08:00
|
|
|
padding: 15px 0 0 0;
|
|
|
|
clear: left;
|
2014-10-30 07:48:20 +08:00
|
|
|
a {
|
|
|
|
color: $secondary;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2014-07-02 20:56:09 +08:00
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2014-11-02 10:58:18 +08:00
|
|
|
|
|
|
|
.overflow {
|
|
|
|
max-height: 60px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2014-07-01 05:41:38 +08:00
|
|
|
}
|
|
|
|
|
2013-10-04 00:51:30 +08:00
|
|
|
img.avatar {
|
|
|
|
float: left;
|
|
|
|
padding-right: 10px;
|
2014-11-02 10:58:18 +08:00
|
|
|
margin-top: -53px;
|
2013-10-04 00:51:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0 0 5px 0;
|
|
|
|
}
|
|
|
|
|
2013-10-05 03:33:03 +08:00
|
|
|
p.loading {
|
2014-03-28 16:49:30 +08:00
|
|
|
margin-top: 45px;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2013-10-05 03:33:03 +08:00
|
|
|
}
|
|
|
|
|
2013-10-04 03:51:12 +08:00
|
|
|
.btn {
|
2013-10-04 00:51:30 +08:00
|
|
|
margin: 0 0 7px 0;
|
2014-10-30 07:48:20 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.usercard-controls {
|
|
|
|
list-style-type: none;
|
2014-11-02 10:58:18 +08:00
|
|
|
float: right;
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
clear: both;
|
|
|
|
|
|
|
|
}
|
2014-10-30 07:48:20 +08:00
|
|
|
|
|
|
|
a {width: 100%; min-width: 150px;}
|
2013-10-04 00:51:30 +08:00
|
|
|
}
|
2013-12-20 07:58:48 +08:00
|
|
|
|
|
|
|
.new-user a {
|
2014-05-14 16:05:24 +08:00
|
|
|
color: scale-color($primary, $lightness: 70%);
|
2013-12-20 07:58:48 +08:00
|
|
|
}
|
2014-03-28 16:49:30 +08:00
|
|
|
|
|
|
|
&.show-badges {
|
2014-10-30 07:48:20 +08:00
|
|
|
width: 580px;
|
2014-03-28 16:49:30 +08:00
|
|
|
|
|
|
|
.names {
|
|
|
|
float: left;
|
2014-10-30 07:48:20 +08:00
|
|
|
height: 60px;
|
|
|
|
position: relative;
|
|
|
|
width: 45%;
|
2014-11-02 10:58:18 +08:00
|
|
|
margin-top: 11px;
|
2014-10-30 07:48:20 +08:00
|
|
|
|
|
|
|
span {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
display: block;
|
2014-10-31 12:46:27 +08:00
|
|
|
width: 250px;
|
2014-10-30 07:48:20 +08:00
|
|
|
}
|
|
|
|
|
2014-03-28 16:49:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.badge-section {
|
2014-07-04 11:40:49 +08:00
|
|
|
float: left;
|
2014-11-02 10:58:18 +08:00
|
|
|
width: 500px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
margin-top: 5px;
|
2014-10-30 07:48:20 +08:00
|
|
|
|
|
|
|
.user-badge {
|
|
|
|
background: transparent;
|
2014-11-02 10:58:18 +08:00
|
|
|
color: scale-color($primary, $lightness: 50%);
|
|
|
|
border-color: scale-color($primary, $lightness: 50%);
|
2014-10-30 07:48:20 +08:00
|
|
|
|
|
|
|
}
|
2014-07-04 11:40:49 +08:00
|
|
|
|
2014-03-28 16:49:30 +08:00
|
|
|
h3 {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2014-03-28 16:49:30 +08:00
|
|
|
font-size: 14px;
|
|
|
|
margin-bottom: -8px;
|
|
|
|
}
|
|
|
|
}
|
2014-04-14 13:58:36 +08:00
|
|
|
|
2014-04-16 18:02:57 +08:00
|
|
|
.more-user-badges {
|
|
|
|
@extend .user-badge;
|
2014-06-24 04:11:55 +08:00
|
|
|
padding: 3px 8px;
|
2014-04-16 18:02:57 +08:00
|
|
|
}
|
2014-04-14 13:58:36 +08:00
|
|
|
}
|
2014-09-11 07:30:32 +08:00
|
|
|
|
|
|
|
.suspended {
|
|
|
|
color: $danger;
|
2014-11-03 23:16:10 +08:00
|
|
|
margin-bottom: 5px;
|
|
|
|
clear: left;
|
|
|
|
padding-top: 15px;
|
2014-09-11 07:30:32 +08:00
|
|
|
}
|
2014-10-21 01:15:58 +08:00
|
|
|
|
|
|
|
.card-badge {
|
|
|
|
img {
|
|
|
|
max-width: 100px;
|
|
|
|
}
|
2014-10-31 12:46:27 +08:00
|
|
|
position: absolute;
|
|
|
|
right: 12px;
|
|
|
|
bottom: 12px;
|
|
|
|
font-size: 30px;
|
|
|
|
i {color: $secondary;}
|
2014-10-21 01:15:58 +08:00
|
|
|
}
|
2014-04-14 13:58:36 +08:00
|
|
|
}
|