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