2016-02-29 13:42:08 -05:00
|
|
|
.card {
|
2017-08-16 11:12:58 -04:00
|
|
|
background-color: lighten($ui-base-color, 4%);
|
2016-03-05 17:42:40 -05:00
|
|
|
background-size: cover;
|
2017-05-26 18:54:00 -04:00
|
|
|
background-position: center;
|
2016-03-05 17:42:40 -05:00
|
|
|
border-radius: 4px 4px 0 0;
|
2017-05-08 09:57:49 -04:00
|
|
|
box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
|
2016-03-12 14:47:22 -05:00
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
2017-08-16 11:12:58 -04:00
|
|
|
display: flex;
|
2016-10-02 18:26:00 -04:00
|
|
|
|
2017-05-07 14:47:31 -04:00
|
|
|
&::after {
|
2017-08-16 11:12:58 -04:00
|
|
|
background: rgba(darken($ui-base-color, 8%), 0.5);
|
2016-03-12 14:47:22 -05:00
|
|
|
display: block;
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
2016-02-29 13:42:08 -05:00
|
|
|
|
2017-08-16 11:12:58 -04:00
|
|
|
@media screen and (max-width: 740px) {
|
|
|
|
border-radius: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card__illustration {
|
|
|
|
padding: 60px 0;
|
|
|
|
position: relative;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card__bio {
|
|
|
|
max-width: 260px;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
|
|
|
background: rgba(darken($ui-base-color, 8%), 0.8);
|
|
|
|
position: relative;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
2017-07-20 23:28:51 -04:00
|
|
|
&.compact {
|
|
|
|
padding: 30px 0;
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
margin-bottom: 0;
|
2017-07-21 06:47:16 -04:00
|
|
|
|
|
|
|
img {
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
2017-07-20 23:28:51 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-29 13:42:08 -05:00
|
|
|
.name {
|
2016-03-05 17:42:40 -05:00
|
|
|
display: block;
|
2016-02-29 13:42:08 -05:00
|
|
|
font-size: 20px;
|
|
|
|
line-height: 18px * 1.5;
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $primary-text-color;
|
2017-08-16 11:12:58 -04:00
|
|
|
padding: 10px 15px;
|
|
|
|
padding-bottom: 0;
|
2016-03-05 17:42:40 -05:00
|
|
|
font-weight: 500;
|
2016-03-12 14:47:22 -05:00
|
|
|
position: relative;
|
|
|
|
z-index: 2;
|
2018-01-13 13:41:20 -05:00
|
|
|
margin-bottom: 15px;
|
2017-10-04 16:49:36 -04:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2016-02-29 13:42:08 -05:00
|
|
|
|
|
|
|
small {
|
|
|
|
display: block;
|
|
|
|
font-size: 14px;
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $ui-highlight-color;
|
2016-03-05 17:42:40 -05:00
|
|
|
font-weight: 400;
|
2017-10-04 16:49:36 -04:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2016-02-29 13:42:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
2018-01-13 13:41:20 -05:00
|
|
|
width: 120px;
|
2016-03-05 17:42:40 -05:00
|
|
|
margin: 0 auto;
|
2016-03-12 14:47:22 -05:00
|
|
|
position: relative;
|
|
|
|
z-index: 2;
|
2018-01-13 13:41:20 -05:00
|
|
|
@include avatar-size(120px);
|
2016-02-29 13:42:08 -05:00
|
|
|
|
|
|
|
img {
|
2018-01-13 13:41:20 -05:00
|
|
|
width: 120px;
|
|
|
|
height: 120px;
|
2016-02-29 13:42:08 -05:00
|
|
|
display: block;
|
2018-01-13 13:41:20 -05:00
|
|
|
border-radius: 120px;
|
2017-08-16 11:12:58 -04:00
|
|
|
box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
|
2018-01-13 13:41:20 -05:00
|
|
|
@include avatar-radius();
|
|
|
|
@include avatar-size(120px);
|
2016-02-29 13:42:08 -05:00
|
|
|
}
|
|
|
|
}
|
2016-03-06 06:34:39 -05:00
|
|
|
|
2016-10-06 15:27:58 -04:00
|
|
|
.controls {
|
|
|
|
position: absolute;
|
2017-08-16 11:12:58 -04:00
|
|
|
top: 15px;
|
|
|
|
left: 15px;
|
2016-10-06 15:27:58 -04:00
|
|
|
z-index: 2;
|
2017-08-16 11:12:58 -04:00
|
|
|
|
|
|
|
.icon-button {
|
|
|
|
color: rgba($white, 0.8);
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 13px;
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
font-weight: 400;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
color: $white;
|
|
|
|
}
|
|
|
|
}
|
2016-10-06 15:27:58 -04:00
|
|
|
}
|
|
|
|
|
2017-08-16 11:12:58 -04:00
|
|
|
.roles {
|
2018-01-13 13:41:20 -05:00
|
|
|
margin-bottom: 15px;
|
2017-08-16 11:12:58 -04:00
|
|
|
padding: 0 15px;
|
2016-10-03 10:10:17 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.details-counters {
|
2017-08-16 11:12:58 -04:00
|
|
|
margin-top: 30px;
|
2016-10-03 10:10:17 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2017-08-16 11:12:58 -04:00
|
|
|
width: 100%;
|
2016-03-06 06:34:39 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.counter {
|
2017-08-16 11:12:58 -04:00
|
|
|
width: 33.3%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
flex: 0 0 auto;
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $ui-primary-color;
|
2017-05-07 14:47:31 -04:00
|
|
|
padding: 5px 10px 0;
|
2016-03-19 09:02:30 -04:00
|
|
|
margin-bottom: 10px;
|
2017-08-16 11:12:58 -04:00
|
|
|
border-right: 1px solid lighten($ui-base-color, 4%);
|
2016-03-06 06:34:39 -05:00
|
|
|
cursor: default;
|
2017-08-16 11:12:58 -04:00
|
|
|
text-align: center;
|
2016-03-19 09:02:30 -04:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2017-08-16 11:12:58 -04:00
|
|
|
&:last-child {
|
|
|
|
border-right: 0;
|
|
|
|
}
|
|
|
|
|
2017-05-07 14:47:31 -04:00
|
|
|
&::after {
|
2016-03-19 09:02:30 -04:00
|
|
|
display: block;
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
bottom: -10px;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
2017-05-08 09:57:49 -04:00
|
|
|
border-bottom: 4px solid $ui-primary-color;
|
2016-03-19 09:02:30 -04:00
|
|
|
opacity: 0.5;
|
2017-08-16 11:12:58 -04:00
|
|
|
transition: all 400ms ease;
|
2016-03-19 09:02:30 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
2017-05-07 14:47:31 -04:00
|
|
|
&::after {
|
2017-05-08 09:57:49 -04:00
|
|
|
border-bottom: 4px solid $ui-highlight-color;
|
2016-03-19 09:02:30 -04:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2017-05-07 14:47:31 -04:00
|
|
|
&::after {
|
2016-03-19 09:02:30 -04:00
|
|
|
opacity: 1;
|
2017-08-16 11:12:58 -04:00
|
|
|
transition-duration: 100ms;
|
2016-03-19 09:02:30 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
|
|
|
}
|
2016-03-06 06:34:39 -05:00
|
|
|
|
|
|
|
.counter-label {
|
|
|
|
font-size: 12px;
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.counter-number {
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 18px;
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $primary-text-color;
|
2017-08-16 11:12:58 -04:00
|
|
|
font-family: 'mastodon-font-display', sans-serif;
|
2016-03-06 06:34:39 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bio {
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 18px;
|
2017-08-16 11:12:58 -04:00
|
|
|
padding: 0 15px;
|
2018-01-13 13:41:20 -05:00
|
|
|
text-align: center;
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $ui-secondary-color;
|
2016-10-03 10:10:17 -04:00
|
|
|
}
|
|
|
|
|
2017-04-11 13:35:06 -04:00
|
|
|
@media screen and (max-width: 480px) {
|
2017-08-16 11:12:58 -04:00
|
|
|
display: block;
|
2016-10-03 10:10:17 -04:00
|
|
|
|
2017-08-16 11:12:58 -04:00
|
|
|
.card__bio {
|
|
|
|
max-width: none;
|
2016-10-03 10:10:17 -04:00
|
|
|
}
|
|
|
|
|
2017-08-16 11:12:58 -04:00
|
|
|
.name,
|
|
|
|
.roles {
|
|
|
|
text-align: center;
|
2018-01-13 13:41:20 -05:00
|
|
|
margin-bottom: 5px;
|
2016-10-03 10:10:17 -04:00
|
|
|
}
|
|
|
|
|
2017-08-16 11:12:58 -04:00
|
|
|
.bio {
|
|
|
|
margin-bottom: 15px;
|
2016-10-03 10:10:17 -04:00
|
|
|
}
|
2016-03-06 06:34:39 -05:00
|
|
|
}
|
2016-02-29 13:42:08 -05:00
|
|
|
}
|
2016-03-19 07:49:34 -04:00
|
|
|
|
|
|
|
.pagination {
|
|
|
|
padding: 30px 0;
|
|
|
|
text-align: center;
|
|
|
|
overflow: hidden;
|
|
|
|
|
2017-05-07 14:47:31 -04:00
|
|
|
a,
|
|
|
|
.current,
|
|
|
|
.next,
|
|
|
|
.prev,
|
|
|
|
.page,
|
|
|
|
.gap {
|
2016-03-19 07:49:34 -04:00
|
|
|
font-size: 14px;
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $primary-text-color;
|
2016-03-19 07:49:34 -04:00
|
|
|
font-weight: 500;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 6px 10px;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.current {
|
2017-05-08 09:57:49 -04:00
|
|
|
background: $simple-background-color;
|
2016-03-19 07:49:34 -04:00
|
|
|
border-radius: 100px;
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $ui-base-color;
|
2016-03-19 07:49:34 -04:00
|
|
|
cursor: default;
|
2017-04-23 18:38:37 -04:00
|
|
|
margin: 0 10px;
|
2016-03-19 07:49:34 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.gap {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2017-05-07 14:47:31 -04:00
|
|
|
.prev,
|
|
|
|
.next {
|
2016-03-19 07:49:34 -04:00
|
|
|
text-transform: uppercase;
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $ui-secondary-color;
|
2016-03-19 07:49:34 -04:00
|
|
|
}
|
|
|
|
|
2017-04-10 19:11:41 -04:00
|
|
|
.prev {
|
2016-03-19 07:49:34 -04:00
|
|
|
float: left;
|
|
|
|
padding-left: 0;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-10 19:11:41 -04:00
|
|
|
.next {
|
2016-03-19 07:49:34 -04:00
|
|
|
float: right;
|
|
|
|
padding-right: 0;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.disabled {
|
|
|
|
cursor: default;
|
2017-05-08 09:57:49 -04:00
|
|
|
color: lighten($ui-base-color, 10%);
|
2016-03-19 07:49:34 -04:00
|
|
|
}
|
2016-10-03 10:10:17 -04:00
|
|
|
|
2017-10-04 16:49:36 -04:00
|
|
|
@media screen and (max-width: 700px) {
|
2016-10-03 10:10:17 -04:00
|
|
|
padding: 30px 20px;
|
|
|
|
|
2017-10-04 16:49:36 -04:00
|
|
|
.page {
|
2016-10-03 10:10:17 -04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-05-07 14:47:31 -04:00
|
|
|
.next,
|
2017-10-04 16:49:36 -04:00
|
|
|
.prev {
|
2016-10-03 10:10:17 -04:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
2016-03-19 07:49:34 -04:00
|
|
|
}
|
2016-03-19 09:02:30 -04:00
|
|
|
|
|
|
|
.accounts-grid {
|
2017-05-08 09:57:49 -04:00
|
|
|
box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
|
2017-08-16 11:12:58 -04:00
|
|
|
background: darken($simple-background-color, 8%);
|
2016-03-19 09:02:30 -04:00
|
|
|
border-radius: 0 0 4px 4px;
|
2017-08-27 17:59:51 -04:00
|
|
|
padding: 20px 5px;
|
2016-03-19 09:02:30 -04:00
|
|
|
padding-bottom: 10px;
|
|
|
|
overflow: hidden;
|
2017-04-19 13:20:51 -04:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2017-08-16 11:12:58 -04:00
|
|
|
z-index: 2;
|
|
|
|
position: relative;
|
2016-03-19 09:02:30 -04:00
|
|
|
|
2017-08-07 14:33:06 -04:00
|
|
|
@media screen and (max-width: 740px) {
|
2016-10-02 18:26:00 -04:00
|
|
|
border-radius: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2016-03-19 09:02:30 -04:00
|
|
|
.account-grid-card {
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 335px;
|
2017-08-16 11:12:58 -04:00
|
|
|
background: $simple-background-color;
|
2016-03-19 09:02:30 -04:00
|
|
|
border-radius: 4px;
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $ui-base-color;
|
2017-08-27 17:59:51 -04:00
|
|
|
margin: 0 5px 10px;
|
2017-08-16 11:12:58 -04:00
|
|
|
position: relative;
|
2016-03-19 09:02:30 -04:00
|
|
|
|
2017-08-27 17:59:51 -04:00
|
|
|
@media screen and (max-width: 740px) {
|
|
|
|
width: calc(100% - 10px);
|
2016-03-19 09:02:30 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.account-grid-card__header {
|
|
|
|
overflow: hidden;
|
2017-08-16 11:12:58 -04:00
|
|
|
height: 100px;
|
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
background-color: lighten($ui-base-color, 4%);
|
|
|
|
background-size: cover;
|
|
|
|
background-position: center;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
background: rgba(darken($ui-base-color, 8%), 0.5);
|
|
|
|
display: block;
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.account-grid-card__avatar {
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 15px;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 2;
|
|
|
|
top: 100px - (40px + 2px);
|
|
|
|
left: -2px;
|
2016-03-19 09:02:30 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
2018-01-13 13:41:20 -05:00
|
|
|
width: 80px;
|
|
|
|
height: 80px;
|
2017-06-18 18:09:03 -04:00
|
|
|
@include avatar-size(80px);
|
2016-03-19 09:02:30 -04:00
|
|
|
|
|
|
|
img {
|
|
|
|
display: block;
|
2018-01-13 13:41:20 -05:00
|
|
|
width: 80px;
|
|
|
|
height: 80px;
|
|
|
|
border-radius: 80px;
|
2017-08-16 11:12:58 -04:00
|
|
|
border: 2px solid $simple-background-color;
|
2017-10-04 16:49:36 -04:00
|
|
|
background: $simple-background-color;
|
2018-01-13 13:41:20 -05:00
|
|
|
@include avatar-radius();
|
|
|
|
@include avatar-size(80px);
|
2016-03-19 09:02:30 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.name {
|
2017-08-16 11:12:58 -04:00
|
|
|
padding: 15px;
|
2016-03-19 09:02:30 -04:00
|
|
|
padding-top: 10px;
|
2017-08-16 11:12:58 -04:00
|
|
|
padding-left: 15px + 80px + 15px;
|
2016-03-19 09:02:30 -04:00
|
|
|
|
|
|
|
a {
|
2016-03-19 09:11:09 -04:00
|
|
|
display: block;
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $ui-base-color;
|
2016-03-19 09:02:30 -04:00
|
|
|
text-decoration: none;
|
2017-05-11 17:14:00 -04:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2017-08-16 11:12:58 -04:00
|
|
|
font-weight: 500;
|
2016-03-19 09:02:30 -04:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.display_name {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.display_name {
|
2017-08-16 11:12:58 -04:00
|
|
|
font-size: 16px;
|
2016-03-19 09:02:30 -04:00
|
|
|
display: block;
|
2017-08-27 17:59:51 -04:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2016-03-19 09:02:30 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.username {
|
2017-08-16 11:12:58 -04:00
|
|
|
color: lighten($ui-base-color, 34%);
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 400;
|
2016-03-19 09:02:30 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.note {
|
2017-08-16 11:12:58 -04:00
|
|
|
padding: 10px 15px;
|
2016-03-19 09:02:30 -04:00
|
|
|
padding-top: 15px;
|
2017-08-16 11:12:58 -04:00
|
|
|
box-sizing: border-box;
|
|
|
|
color: lighten($ui-base-color, 26%);
|
2017-04-01 14:17:28 -04:00
|
|
|
word-wrap: break-word;
|
2017-08-16 11:12:58 -04:00
|
|
|
min-height: 80px;
|
2016-03-19 09:02:30 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nothing-here {
|
2017-08-16 11:12:58 -04:00
|
|
|
width: 100%;
|
|
|
|
display: block;
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $ui-primary-color;
|
2016-03-19 09:02:30 -04:00
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
text-align: center;
|
2017-08-16 11:12:58 -04:00
|
|
|
padding: 60px 0;
|
|
|
|
padding-top: 55px;
|
2016-03-19 09:02:30 -04:00
|
|
|
cursor: default;
|
|
|
|
}
|
2016-12-29 10:54:54 -05:00
|
|
|
|
|
|
|
.account-card {
|
|
|
|
padding: 14px 10px;
|
2017-05-08 09:57:49 -04:00
|
|
|
background: $simple-background-color;
|
2016-12-29 10:54:54 -05:00
|
|
|
border-radius: 4px;
|
|
|
|
text-align: left;
|
2017-05-08 09:57:49 -04:00
|
|
|
box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
|
2016-12-29 10:54:54 -05:00
|
|
|
|
|
|
|
.detailed-status__display-name {
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
|
2016-12-29 11:23:27 -05:00
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2016-12-29 10:54:54 -05:00
|
|
|
& > div {
|
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
2018-01-13 13:41:20 -05:00
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
@include avatar-size(48px);
|
2016-12-29 10:54:54 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
display: block;
|
2018-01-13 13:41:20 -05:00
|
|
|
border-radius: 4px;
|
|
|
|
@include avatar-radius();
|
2016-12-29 10:54:54 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.display-name {
|
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
cursor: default;
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $ui-base-color;
|
2018-01-13 13:41:20 -05:00
|
|
|
|
|
|
|
@each $lang in $cjk-langs {
|
|
|
|
&:lang(#{$lang}) {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
2016-12-29 10:54:54 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
font-size: 14px;
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $ui-primary-color;
|
2016-12-29 10:54:54 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.display-name {
|
|
|
|
strong {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.account__header__content {
|
|
|
|
font-size: 14px;
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $ui-base-color;
|
2016-12-29 10:54:54 -05:00
|
|
|
}
|
|
|
|
}
|
2017-08-16 11:12:58 -04:00
|
|
|
|
|
|
|
.activity-stream-tabs {
|
|
|
|
background: $simple-background-color;
|
|
|
|
border-bottom: 1px solid $ui-secondary-color;
|
|
|
|
position: relative;
|
|
|
|
z-index: 2;
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 15px;
|
|
|
|
text-decoration: none;
|
|
|
|
color: $ui-highlight-color;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
color: lighten($ui-highlight-color, 8%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
color: $ui-base-color;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.account-role {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 4px 6px;
|
|
|
|
cursor: default;
|
|
|
|
border-radius: 3px;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 12px;
|
|
|
|
font-weight: 500;
|
2017-11-16 19:22:38 -05:00
|
|
|
color: $ui-secondary-color;
|
|
|
|
background-color: rgba($ui-secondary-color, 0.1);
|
|
|
|
border: 1px solid rgba($ui-secondary-color, 0.5);
|
|
|
|
|
|
|
|
&.moderator {
|
|
|
|
color: $success-green;
|
|
|
|
background-color: rgba($success-green, 0.1);
|
|
|
|
border-color: rgba($success-green, 0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.admin {
|
2017-11-17 13:59:53 -05:00
|
|
|
color: lighten($error-red, 12%);
|
|
|
|
background-color: rgba(lighten($error-red, 12%), 0.1);
|
|
|
|
border-color: rgba(lighten($error-red, 12%), 0.5);
|
2017-11-16 19:22:38 -05:00
|
|
|
}
|
2017-08-16 11:12:58 -04:00
|
|
|
}
|
2018-01-13 13:41:20 -05:00
|
|
|
|
|
|
|
@import 'metadata';
|