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