2013-10-03 12:51:30 -04:00
|
|
|
// styles that apply to the "share" popup when sharing a link to a post or topic
|
2015-08-18 15:04:35 -04:00
|
|
|
// Colors should mostly be absolute here, it will look the same in dark & light themes
|
2013-10-03 12:51:30 -04:00
|
|
|
|
2016-06-12 19:46:24 -04:00
|
|
|
$user_card_primary: $primary;
|
|
|
|
$user_card_background: $secondary;
|
2015-08-18 16:28:02 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
#user-card,
|
|
|
|
#group-card {
|
2013-10-03 12:51:30 -04:00
|
|
|
position: absolute;
|
2018-08-26 23:16:48 -04:00
|
|
|
width: 580px;
|
2015-03-04 07:02:36 -05:00
|
|
|
left: -9999px;
|
|
|
|
top: -9999px;
|
2018-01-16 19:05:12 -05:00
|
|
|
z-index: z("usercard");
|
2018-02-20 12:18:20 -05:00
|
|
|
box-shadow: shadow("card");
|
2013-10-30 12:40:16 -04:00
|
|
|
margin-top: -2px;
|
2015-08-18 16:28:02 -04:00
|
|
|
color: $user_card_primary;
|
|
|
|
background: $user_card_background center center;
|
2015-10-15 20:10:02 -04:00
|
|
|
background-size: cover;
|
2014-10-31 00:46:27 -04:00
|
|
|
min-height: 175px;
|
2018-06-08 05:49:31 -04:00
|
|
|
-webkit-transition: opacity 0.2s, -webkit-transform 0.2s;
|
|
|
|
transition: opacity 0.2s, transform 0.2s;
|
2015-08-18 15:04:35 -04:00
|
|
|
|
2015-03-02 12:12:25 -05:00
|
|
|
opacity: 0;
|
2018-06-08 05:49:31 -04:00
|
|
|
@include transform(scale(0.9));
|
2015-08-25 19:58:37 -04:00
|
|
|
|
2015-03-02 12:12:25 -05:00
|
|
|
&.show {
|
|
|
|
opacity: 1;
|
2015-08-25 19:58:37 -04:00
|
|
|
@include transform(scale(1));
|
2015-03-02 12:12:25 -05:00
|
|
|
}
|
2014-10-16 15:05:36 -04:00
|
|
|
|
2018-04-17 18:52:23 -04:00
|
|
|
&.fixed {
|
|
|
|
position: fixed;
|
2018-06-08 05:49:31 -04:00
|
|
|
z-index: z("composer", "content") + 1;
|
2018-04-17 18:52:23 -04:00
|
|
|
}
|
|
|
|
|
2014-10-29 19:48:20 -04:00
|
|
|
.card-content {
|
2014-11-01 22:58:18 -04:00
|
|
|
padding: 12px 12px 0 12px;
|
2018-06-08 05:49:31 -04:00
|
|
|
background: rgba($user_card_background, 0.85);
|
2014-11-01 22:58:18 -04:00
|
|
|
margin-top: 80px;
|
2014-10-31 00:46:27 -04:00
|
|
|
|
2014-10-29 19:48:20 -04:00
|
|
|
&:after {
|
2018-06-08 05:49:31 -04:00
|
|
|
content: "";
|
2014-10-29 19:48:20 -04:00
|
|
|
display: block;
|
|
|
|
clear: both;
|
|
|
|
}
|
2015-12-03 10:34:11 -05:00
|
|
|
|
|
|
|
a.card-huge-avatar {
|
|
|
|
outline: none;
|
|
|
|
}
|
2014-10-29 19:48:20 -04:00
|
|
|
}
|
|
|
|
|
2018-05-07 13:44:37 -04:00
|
|
|
.bio {
|
2018-05-08 15:38:55 -04:00
|
|
|
max-height: 150px;
|
2018-05-07 13:44:37 -04:00
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
2015-03-02 12:12:25 -05:00
|
|
|
&.no-bg {
|
|
|
|
min-height: 50px;
|
2014-10-31 00:46:27 -04:00
|
|
|
|
2015-03-02 12:12:25 -05:00
|
|
|
.card-content {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2014-10-29 19:48:20 -04:00
|
|
|
}
|
|
|
|
|
2014-07-24 17:15:40 -04:00
|
|
|
.avatar-placeholder {
|
|
|
|
width: 120px;
|
|
|
|
height: 120px;
|
|
|
|
float: left;
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
|
2013-10-03 12:51:30 -04:00
|
|
|
h1 {
|
2014-03-01 11:05:30 -05:00
|
|
|
min-width: 120px;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-4;
|
|
|
|
line-height: $line-height-medium;
|
2014-07-03 23:40:49 -04:00
|
|
|
display: block;
|
2014-10-29 19:48:20 -04:00
|
|
|
max-width: 250px;
|
2014-07-03 23:40:49 -04:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2013-10-04 16:55:54 -04:00
|
|
|
a {
|
2015-08-18 16:28:02 -04:00
|
|
|
color: $user_card_primary;
|
2013-10-04 16:55:54 -04:00
|
|
|
}
|
2014-11-01 22:58:18 -04:00
|
|
|
i {
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-down-1;
|
2015-08-18 16:28:02 -04:00
|
|
|
color: $user_card_primary;
|
2014-11-01 22:58:18 -04:00
|
|
|
}
|
2013-10-03 12:51:30 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-1;
|
2018-05-08 15:38:55 -04:00
|
|
|
line-height: $line-height-large;
|
|
|
|
margin: 0;
|
2013-10-03 12:51:30 -04:00
|
|
|
font-weight: normal;
|
2014-07-03 23:40:49 -04:00
|
|
|
display: block;
|
2014-10-29 19:48:20 -04:00
|
|
|
max-width: 250px;
|
2014-07-03 23:40:49 -04:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2013-10-08 11:28:32 -04:00
|
|
|
a {
|
2015-08-18 16:28:02 -04:00
|
|
|
color: $user_card_primary;
|
2013-10-08 11:28:32 -04:00
|
|
|
}
|
2013-10-03 12:51:30 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-0;
|
2013-10-03 12:51:30 -04:00
|
|
|
font-weight: normal;
|
2014-03-06 01:14:51 -05:00
|
|
|
margin-top: 0;
|
2016-06-12 19:46:24 -04:00
|
|
|
color: scale-color($user_card_primary, $lightness: 20%);
|
2014-10-01 22:54:03 -04:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2014-10-29 19:48:20 -04:00
|
|
|
a {
|
2015-08-18 16:28:02 -04:00
|
|
|
color: scale-color($user_card_background, $lightness: 50%);
|
2014-10-29 19:48:20 -04:00
|
|
|
}
|
2013-10-03 12:51:30 -04:00
|
|
|
}
|
2015-03-02 12:12:25 -05:00
|
|
|
|
2014-02-10 12:30:36 -05:00
|
|
|
.groups {
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-down-1;
|
2014-02-10 12:30:36 -05:00
|
|
|
font-weight: normal;
|
2014-03-06 01:14:51 -05:00
|
|
|
margin-top: 0;
|
2015-08-18 16:28:02 -04:00
|
|
|
color: $user_card_background;
|
2014-02-10 12:30:36 -05:00
|
|
|
|
|
|
|
.group-link {
|
2015-08-18 16:28:02 -04:00
|
|
|
color: $user_card_background;
|
2014-02-10 12:30:36 -05:00
|
|
|
}
|
|
|
|
}
|
2013-10-03 12:51:30 -04:00
|
|
|
|
2014-05-10 02:09:04 -04:00
|
|
|
.metadata {
|
2014-11-01 22:58:18 -04:00
|
|
|
width: 100%;
|
|
|
|
clear: both;
|
2018-05-08 15:38:55 -04:00
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
2014-11-04 12:53:02 -05:00
|
|
|
h3 {
|
|
|
|
display: inline;
|
|
|
|
margin-right: 5px;
|
2018-06-08 05:49:31 -04:00
|
|
|
.desc,
|
|
|
|
a {
|
2016-06-12 19:46:24 -04:00
|
|
|
color: scale-color($user_card_primary, $lightness: 35%);
|
2014-11-04 12:53:02 -05:00
|
|
|
}
|
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
div {
|
|
|
|
display: inline;
|
|
|
|
color: scale-color($user_card_background, $lightness: 50%);
|
|
|
|
.group-link {
|
|
|
|
color: scale-color($user_card_background, $lightness: 50%);
|
|
|
|
}
|
2014-11-01 22:58:18 -04:00
|
|
|
}
|
2014-05-10 02:09:04 -04:00
|
|
|
}
|
|
|
|
|
2013-10-03 12:51:30 -04:00
|
|
|
.bottom {
|
|
|
|
clear: both;
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
|
2014-06-30 17:41:38 -04:00
|
|
|
.bio {
|
2018-05-08 15:38:55 -04:00
|
|
|
margin-top: 80px;
|
2014-11-01 22:58:18 -04:00
|
|
|
clear: left;
|
2014-11-04 16:30:46 -05:00
|
|
|
|
2014-10-29 19:48:20 -04:00
|
|
|
a {
|
2015-08-18 16:28:02 -04:00
|
|
|
color: $user_card_primary;
|
2014-10-29 19:48:20 -04:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2014-07-02 08:56:09 -04:00
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2014-11-01 22:58:18 -04:00
|
|
|
|
2014-11-04 14:25:35 -05:00
|
|
|
a.mention {
|
2016-07-04 11:36:59 -04:00
|
|
|
text-decoration: none;
|
2014-11-04 14:25:35 -05:00
|
|
|
}
|
2016-09-15 16:15:08 -04:00
|
|
|
|
2014-11-01 22:58:18 -04:00
|
|
|
.overflow {
|
|
|
|
max-height: 60px;
|
|
|
|
overflow: hidden;
|
2014-11-03 11:59:29 -05:00
|
|
|
}
|
2014-06-30 17:41:38 -04:00
|
|
|
}
|
|
|
|
|
2016-04-18 23:59:38 -04:00
|
|
|
.location-and-website {
|
2018-02-09 16:55:43 -05:00
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
align-items: center;
|
|
|
|
padding-top: 5px;
|
2018-06-08 05:49:31 -04:00
|
|
|
.location,
|
|
|
|
.website-name {
|
2018-02-09 16:55:43 -05:00
|
|
|
display: flex;
|
2018-02-10 21:27:25 -05:00
|
|
|
max-width: 90%;
|
2018-02-09 16:55:43 -05:00
|
|
|
overflow: hidden;
|
|
|
|
align-items: baseline;
|
|
|
|
i {
|
2018-06-08 05:49:31 -04:00
|
|
|
margin-right: 0.25em;
|
2016-04-18 23:59:38 -04:00
|
|
|
}
|
2016-04-13 02:13:51 -04:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
.website-name a,
|
|
|
|
.location span {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
color: $user_card_primary;
|
2018-02-09 16:55:43 -05:00
|
|
|
}
|
|
|
|
.location {
|
2018-06-08 05:49:31 -04:00
|
|
|
margin-right: 0.5em;
|
2018-02-09 16:55:43 -05:00
|
|
|
}
|
|
|
|
.website-name a {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2016-04-13 02:13:51 -04:00
|
|
|
}
|
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.user-card-avatar,
|
|
|
|
.group-card-avatar {
|
2013-10-03 12:51:30 -04:00
|
|
|
float: left;
|
2015-04-02 21:28:13 -04:00
|
|
|
margin-right: 10px;
|
2014-11-01 22:58:18 -04:00
|
|
|
margin-top: -53px;
|
2013-10-03 12:51:30 -04:00
|
|
|
}
|
|
|
|
|
2018-04-13 20:43:18 -04:00
|
|
|
.group-card-avatar {
|
2018-05-08 15:38:55 -04:00
|
|
|
$size: 120px;
|
|
|
|
width: $size;
|
|
|
|
height: $size;
|
2018-04-13 20:43:18 -04:00
|
|
|
.avatar-flair {
|
2018-04-17 12:27:48 -04:00
|
|
|
width: $size;
|
|
|
|
height: $size;
|
2018-04-13 20:43:18 -04:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
2018-04-17 12:27:48 -04:00
|
|
|
background-size: $size;
|
2018-04-13 20:43:18 -04:00
|
|
|
color: $primary;
|
|
|
|
i {
|
|
|
|
margin: auto;
|
2018-05-08 15:38:55 -04:00
|
|
|
font-size: $size / 1.5 !important;
|
|
|
|
}
|
|
|
|
&.rounded {
|
|
|
|
border-radius: 50%;
|
2018-04-13 20:43:18 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-04-17 12:27:48 -04:00
|
|
|
|
2018-04-13 20:43:18 -04:00
|
|
|
.members {
|
2018-05-08 15:38:55 -04:00
|
|
|
padding: 0 0 10px 0;
|
2018-04-13 20:43:18 -04:00
|
|
|
a {
|
|
|
|
color: lighten($primary, 40%);
|
|
|
|
&:hover {
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-03 12:51:30 -04:00
|
|
|
p {
|
|
|
|
margin: 0 0 5px 0;
|
|
|
|
}
|
|
|
|
|
2013-10-03 15:51:12 -04:00
|
|
|
.btn {
|
2013-10-03 12:51:30 -04:00
|
|
|
margin: 0 0 7px 0;
|
2014-10-29 19:48:20 -04:00
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.usercard-controls {
|
|
|
|
list-style-type: none;
|
2014-11-01 22:58:18 -04:00
|
|
|
float: right;
|
2014-11-06 06:29:24 -05:00
|
|
|
margin: 0;
|
2014-10-29 19:48:20 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
button {
|
|
|
|
width: 100%;
|
|
|
|
min-width: 150px;
|
|
|
|
}
|
2013-10-03 12:51:30 -04:00
|
|
|
}
|
2013-12-19 18:58:48 -05:00
|
|
|
|
|
|
|
.new-user a {
|
2015-08-18 16:28:02 -04:00
|
|
|
color: scale-color($user_card_background, $lightness: 70%);
|
2013-12-19 18:58:48 -05:00
|
|
|
}
|
2014-03-28 04:49:30 -04:00
|
|
|
|
2018-08-26 23:16:48 -04:00
|
|
|
.names {
|
|
|
|
float: left;
|
|
|
|
width: 45%;
|
2014-10-29 19:48:20 -04:00
|
|
|
|
2018-08-26 23:16:48 -04:00
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
width: 250px;
|
2014-03-28 04:49:30 -04:00
|
|
|
}
|
2018-08-26 23:16:48 -04:00
|
|
|
}
|
2014-03-28 04:49:30 -04:00
|
|
|
|
2018-08-26 23:16:48 -04:00
|
|
|
.badge-section {
|
|
|
|
float: left;
|
|
|
|
width: 500px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
margin-top: 5px;
|
2014-07-03 23:40:49 -04:00
|
|
|
|
2018-08-26 23:16:48 -04:00
|
|
|
.user-badge {
|
|
|
|
background: $primary-very-low;
|
|
|
|
border: 1px solid $primary-low;
|
|
|
|
color: $user_card_primary;
|
2014-03-28 04:49:30 -04:00
|
|
|
}
|
2014-04-14 01:58:36 -04:00
|
|
|
|
2018-08-26 23:16:48 -04:00
|
|
|
h3 {
|
|
|
|
color: $user_card_background;
|
|
|
|
font-size: $font-0;
|
|
|
|
margin-bottom: -8px;
|
2014-04-16 06:02:57 -04:00
|
|
|
}
|
2014-04-14 01:58:36 -04:00
|
|
|
}
|
2014-09-10 19:30:32 -04:00
|
|
|
|
2018-08-26 23:16:48 -04:00
|
|
|
.more-user-badges {
|
|
|
|
@extend .user-badge;
|
|
|
|
padding: 3px 8px;
|
|
|
|
}
|
|
|
|
|
2014-09-10 19:30:32 -04:00
|
|
|
.suspended {
|
|
|
|
color: $danger;
|
2014-11-03 10:16:10 -05:00
|
|
|
margin-bottom: 5px;
|
|
|
|
clear: left;
|
|
|
|
padding-top: 15px;
|
2014-09-10 19:30:32 -04:00
|
|
|
}
|
2014-10-20 13:15:58 -04:00
|
|
|
|
2017-11-23 16:38:11 -05:00
|
|
|
.metadata .email .btn {
|
|
|
|
padding: 2px 12px;
|
|
|
|
}
|
2014-04-14 01:58:36 -04:00
|
|
|
}
|