2016-02-29 19:42:08 +01:00
|
|
|
.card {
|
2017-06-28 09:27:44 +02:00
|
|
|
display: flex;
|
2017-05-08 15:57:49 +02:00
|
|
|
background: $ui-base-color;
|
2017-06-28 09:57:32 +02:00
|
|
|
background-size: cover;
|
|
|
|
background-position: center;
|
2016-03-05 23:42:40 +01:00
|
|
|
border-radius: 4px 4px 0 0;
|
2017-05-08 15:57:49 +02:00
|
|
|
box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
|
2016-03-12 20:47:22 +01:00
|
|
|
overflow: hidden;
|
|
|
|
|
2016-10-03 00:26:00 +02:00
|
|
|
@media screen and (max-width: 700px) {
|
|
|
|
border-radius: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2017-06-28 09:27:44 +02:00
|
|
|
.details {
|
|
|
|
position: relative;
|
|
|
|
padding: 60px 0 0;
|
|
|
|
text-align: center;
|
|
|
|
flex: auto;
|
2017-06-28 10:10:28 +02:00
|
|
|
|
|
|
|
&::after {
|
|
|
|
background: linear-gradient(rgba($base-shadow-color, 0.5), rgba($base-shadow-color, 0.8));
|
|
|
|
display: block;
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
2016-03-12 20:47:22 +01:00
|
|
|
}
|
2016-02-29 19:42:08 +01:00
|
|
|
|
2017-07-21 05:28:51 +02:00
|
|
|
&.compact {
|
|
|
|
padding: 30px 0;
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
margin-bottom: 0;
|
2017-07-21 12:47:16 +02:00
|
|
|
|
|
|
|
img {
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
2017-07-21 05:28:51 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-29 19:42:08 +01:00
|
|
|
.name {
|
2016-03-05 23:42:40 +01:00
|
|
|
display: block;
|
2017-06-28 10:10:28 +02:00
|
|
|
position: relative;
|
2016-02-29 19:42:08 +01:00
|
|
|
font-size: 20px;
|
|
|
|
line-height: 18px * 1.5;
|
2017-05-08 15:57:49 +02:00
|
|
|
color: $primary-text-color;
|
2016-03-05 23:42:40 +01:00
|
|
|
font-weight: 500;
|
|
|
|
text-align: center;
|
2017-05-08 15:57:49 +02:00
|
|
|
text-shadow: 0 0 2px $base-shadow-color;
|
2017-06-28 10:10:28 +02:00
|
|
|
z-index: 2;
|
2016-02-29 19:42:08 +01:00
|
|
|
|
|
|
|
small {
|
|
|
|
display: block;
|
|
|
|
font-size: 14px;
|
2017-05-08 15:57:49 +02:00
|
|
|
color: $ui-highlight-color;
|
2016-03-05 23:42:40 +01:00
|
|
|
font-weight: 400;
|
2016-02-29 19:42:08 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
2017-06-28 10:10:28 +02:00
|
|
|
position: relative;
|
2017-06-19 00:09:03 +02:00
|
|
|
@include avatar-size(120px);
|
2016-03-05 23:42:40 +01:00
|
|
|
margin: 0 auto;
|
|
|
|
margin-bottom: 15px;
|
2017-06-28 10:10:28 +02:00
|
|
|
z-index: 2;
|
2016-02-29 19:42:08 +01:00
|
|
|
|
|
|
|
img {
|
2017-06-19 00:09:03 +02:00
|
|
|
@include avatar-radius();
|
|
|
|
@include avatar-size(120px);
|
2016-02-29 19:42:08 +01:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2016-03-06 12:34:39 +01:00
|
|
|
|
2016-10-06 21:27:58 +02:00
|
|
|
.controls {
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 10px;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
2016-10-03 16:10:17 +02:00
|
|
|
.details-counters {
|
2017-06-28 09:27:44 +02:00
|
|
|
display: inline-flex;
|
2017-06-28 10:10:28 +02:00
|
|
|
position: relative;
|
2016-10-03 16:10:17 +02:00
|
|
|
flex-direction: row;
|
2017-06-28 09:27:44 +02:00
|
|
|
margin: 15px 0;
|
2017-06-28 10:10:28 +02:00
|
|
|
z-index: 2;
|
2016-03-06 12:34:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.counter {
|
|
|
|
width: 80px;
|
2017-05-08 15:57:49 +02:00
|
|
|
color: $ui-primary-color;
|
2017-05-07 20:47:31 +02:00
|
|
|
padding: 5px 10px 0;
|
2016-03-06 12:34:39 +01:00
|
|
|
cursor: default;
|
2016-03-19 14:02:30 +01:00
|
|
|
position: relative;
|
|
|
|
|
2017-06-28 09:27:44 +02:00
|
|
|
& + .counter {
|
|
|
|
border-left: 1px solid $ui-primary-color;
|
2016-03-19 14:02:30 +01:00
|
|
|
}
|
|
|
|
|
2017-06-28 09:27:44 +02:00
|
|
|
& > * {
|
|
|
|
opacity: .7;
|
|
|
|
transition: opacity .3s ease;
|
2016-03-19 14:02:30 +01:00
|
|
|
}
|
|
|
|
|
2017-06-28 09:27:44 +02:00
|
|
|
&.active > *, &:hover > * {
|
|
|
|
opacity: 1;
|
2016-03-19 14:02:30 +01:00
|
|
|
}
|
|
|
|
|
2017-06-28 09:27:44 +02:00
|
|
|
a {
|
|
|
|
display: block;
|
2016-03-19 14:02:30 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
|
|
|
}
|
2016-03-06 12:34:39 +01:00
|
|
|
|
|
|
|
.counter-label {
|
|
|
|
font-size: 12px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 5px;
|
2017-05-08 15:57:49 +02:00
|
|
|
text-shadow: 0 0 2px $base-shadow-color;
|
2016-03-06 12:34:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.counter-number {
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 18px;
|
2017-05-08 15:57:49 +02:00
|
|
|
color: $primary-text-color;
|
2016-03-06 12:34:39 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bio {
|
2017-06-28 10:10:28 +02:00
|
|
|
position: relative;
|
2016-03-06 12:34:39 +01:00
|
|
|
font-size: 14px;
|
|
|
|
line-height: 18px;
|
2017-06-28 09:27:44 +02:00
|
|
|
margin: 15px 0;
|
2016-03-06 12:34:39 +01:00
|
|
|
padding: 5px 10px;
|
2017-05-08 15:57:49 +02:00
|
|
|
color: $ui-secondary-color;
|
2017-06-28 10:10:28 +02:00
|
|
|
z-index: 2;
|
2016-10-03 16:10:17 +02:00
|
|
|
}
|
|
|
|
|
2017-06-28 09:27:44 +02:00
|
|
|
.metadata {
|
2017-06-28 09:57:32 +02:00
|
|
|
position: relative;
|
|
|
|
min-width: 180px;
|
2017-06-28 09:27:44 +02:00
|
|
|
max-width: 40%;
|
2017-06-28 09:57:32 +02:00
|
|
|
background: rgba($base-shadow-color, 0.8);
|
2017-06-28 09:27:44 +02:00
|
|
|
color: $primary-text-color;
|
|
|
|
text-align: left;
|
|
|
|
overflow-y: auto;
|
|
|
|
white-space: pre-wrap;
|
2017-06-28 09:57:32 +02:00
|
|
|
z-index: 3;
|
2016-10-03 16:10:17 +02:00
|
|
|
|
2017-06-28 09:27:44 +02:00
|
|
|
.metadata-item {
|
|
|
|
border-bottom: 1px $ui-primary-color solid;
|
|
|
|
padding: 15px 10px;
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 24px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2016-10-03 16:10:17 +02:00
|
|
|
|
2017-06-28 09:27:44 +02:00
|
|
|
a {
|
|
|
|
color: $ui-highlight-color;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
2016-10-03 16:10:17 +02:00
|
|
|
|
2017-06-28 09:27:44 +02:00
|
|
|
b {
|
|
|
|
display: block;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 16px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
color: $ui-primary-color;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $ui-primary-color;
|
|
|
|
}
|
|
|
|
}
|
2016-10-03 16:10:17 +02:00
|
|
|
}
|
2016-03-06 12:34:39 +01:00
|
|
|
}
|
2016-02-29 19:42:08 +01:00
|
|
|
}
|
2016-03-19 12:49:34 +01:00
|
|
|
|
2017-06-28 09:57:32 +02:00
|
|
|
|
|
|
|
|
|
|
|
@media screen and (max-width: 500px) {
|
|
|
|
|
|
|
|
.card {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
.metadata {
|
|
|
|
max-width: none;
|
|
|
|
background: $base-shadow-color;
|
|
|
|
border-top: 1px $ui-primary-color solid;
|
|
|
|
|
|
|
|
.metadata-item {
|
|
|
|
padding: 15px 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-19 12:49:34 +01:00
|
|
|
.pagination {
|
|
|
|
padding: 30px 0;
|
|
|
|
text-align: center;
|
|
|
|
overflow: hidden;
|
|
|
|
|
2017-05-07 20:47:31 +02:00
|
|
|
a,
|
|
|
|
.current,
|
|
|
|
.next,
|
|
|
|
.prev,
|
|
|
|
.page,
|
|
|
|
.gap {
|
2016-03-19 12:49:34 +01:00
|
|
|
font-size: 14px;
|
2017-05-08 15:57:49 +02:00
|
|
|
color: $primary-text-color;
|
2016-03-19 12:49:34 +01:00
|
|
|
font-weight: 500;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 6px 10px;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.current {
|
2017-05-08 15:57:49 +02:00
|
|
|
background: $simple-background-color;
|
2016-03-19 12:49:34 +01:00
|
|
|
border-radius: 100px;
|
2017-05-08 15:57:49 +02:00
|
|
|
color: $ui-base-color;
|
2016-03-19 12:49:34 +01:00
|
|
|
cursor: default;
|
2017-04-24 00:38:37 +02:00
|
|
|
margin: 0 10px;
|
2016-03-19 12:49:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gap {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2017-05-07 20:47:31 +02:00
|
|
|
.prev,
|
|
|
|
.next {
|
2016-03-19 12:49:34 +01:00
|
|
|
text-transform: uppercase;
|
2017-05-08 15:57:49 +02:00
|
|
|
color: $ui-secondary-color;
|
2016-03-19 12:49:34 +01:00
|
|
|
}
|
|
|
|
|
2017-04-11 01:11:41 +02:00
|
|
|
.prev {
|
2016-03-19 12:49:34 +01:00
|
|
|
float: left;
|
|
|
|
padding-left: 0;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-11 01:11:41 +02:00
|
|
|
.next {
|
2016-03-19 12:49:34 +01:00
|
|
|
float: right;
|
|
|
|
padding-right: 0;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.disabled {
|
|
|
|
cursor: default;
|
2017-05-08 15:57:49 +02:00
|
|
|
color: lighten($ui-base-color, 10%);
|
2016-03-19 12:49:34 +01:00
|
|
|
}
|
2016-10-03 16:10:17 +02:00
|
|
|
|
|
|
|
@media screen and (max-width: 360px) {
|
|
|
|
padding: 30px 20px;
|
|
|
|
|
2017-05-07 20:47:31 +02:00
|
|
|
a,
|
|
|
|
.current,
|
|
|
|
.next,
|
|
|
|
.prev,
|
|
|
|
.gap {
|
2016-10-03 16:10:17 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-05-07 20:47:31 +02:00
|
|
|
.next,
|
|
|
|
.prev {
|
2016-10-03 16:10:17 +02:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
2016-03-19 12:49:34 +01:00
|
|
|
}
|
2016-03-19 14:02:30 +01:00
|
|
|
|
|
|
|
.accounts-grid {
|
2017-05-08 15:57:49 +02:00
|
|
|
box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
|
|
|
|
background: $simple-background-color;
|
2016-03-19 14:02:30 +01:00
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
padding: 20px 10px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
overflow: hidden;
|
2017-04-19 19:20:51 +02:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2016-03-19 14:02:30 +01:00
|
|
|
|
2016-10-03 00:26:00 +02:00
|
|
|
@media screen and (max-width: 700px) {
|
|
|
|
border-radius: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2016-03-19 14:02:30 +01:00
|
|
|
.account-grid-card {
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 335px;
|
2017-05-08 15:57:49 +02:00
|
|
|
border: 1px solid $ui-secondary-color;
|
2016-03-19 14:02:30 +01:00
|
|
|
border-radius: 4px;
|
2017-05-08 15:57:49 +02:00
|
|
|
color: $ui-base-color;
|
2016-03-19 14:02:30 +01:00
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
&:nth-child(odd) {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.account-grid-card__header {
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 10px;
|
2017-05-08 15:57:49 +02:00
|
|
|
border-bottom: 1px solid $ui-secondary-color;
|
2016-03-19 14:02:30 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
2017-06-19 00:09:03 +02:00
|
|
|
@include avatar-size(60px);
|
2016-03-19 14:02:30 +01:00
|
|
|
float: left;
|
|
|
|
margin-right: 15px;
|
|
|
|
|
|
|
|
img {
|
2017-06-19 00:09:03 +02:00
|
|
|
@include avatar-radius();
|
|
|
|
@include avatar-size(60px);
|
2016-03-19 14:02:30 +01:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.name {
|
|
|
|
padding-top: 10px;
|
|
|
|
|
|
|
|
a {
|
2016-03-19 14:11:09 +01:00
|
|
|
display: block;
|
2017-05-08 15:57:49 +02:00
|
|
|
color: $ui-base-color;
|
2016-03-19 14:02:30 +01:00
|
|
|
text-decoration: none;
|
2017-05-11 23:14:00 +02:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2016-03-19 14:02:30 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.display_name {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.display_name {
|
|
|
|
font-size: 14px;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.username {
|
2017-05-08 15:57:49 +02:00
|
|
|
color: $ui-highlight-color;
|
2016-03-19 14:02:30 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.note {
|
|
|
|
padding: 10px;
|
|
|
|
padding-top: 15px;
|
2017-05-08 15:57:49 +02:00
|
|
|
color: $ui-primary-color;
|
2017-04-01 20:17:28 +02:00
|
|
|
word-wrap: break-word;
|
2016-03-19 14:02:30 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nothing-here {
|
2017-05-08 15:57:49 +02:00
|
|
|
color: $ui-primary-color;
|
2016-03-19 14:02:30 +01:00
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
text-align: center;
|
|
|
|
padding: 15px 0;
|
2016-03-21 17:18:30 +01:00
|
|
|
padding-bottom: 25px;
|
2016-03-19 14:02:30 +01:00
|
|
|
cursor: default;
|
|
|
|
}
|
2016-12-29 16:54:54 +01:00
|
|
|
|
|
|
|
.account-card {
|
|
|
|
padding: 14px 10px;
|
2017-05-08 15:57:49 +02:00
|
|
|
background: $simple-background-color;
|
2016-12-29 16:54:54 +01:00
|
|
|
border-radius: 4px;
|
|
|
|
text-align: left;
|
2017-05-08 15:57:49 +02:00
|
|
|
box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
|
2016-12-29 16:54:54 +01:00
|
|
|
|
|
|
|
.detailed-status__display-name {
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
|
2016-12-29 17:23:27 +01:00
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2016-12-29 16:54:54 +01:00
|
|
|
& > div {
|
2017-06-19 00:09:03 +02:00
|
|
|
@include avatar-size(48px);
|
2016-12-29 16:54:54 +01:00
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
2017-06-19 00:09:03 +02:00
|
|
|
@include avatar-radius();
|
2016-12-29 16:54:54 +01:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.display-name {
|
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
cursor: default;
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
2017-05-08 15:57:49 +02:00
|
|
|
color: $ui-base-color;
|
2016-12-29 16:54:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
font-size: 14px;
|
2017-05-08 15:57:49 +02:00
|
|
|
color: $ui-primary-color;
|
2016-12-29 16:54:54 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.display-name {
|
|
|
|
strong {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.account__header__content {
|
|
|
|
font-size: 14px;
|
2017-05-08 15:57:49 +02:00
|
|
|
color: $ui-base-color;
|
2016-12-29 16:54:54 +01:00
|
|
|
}
|
|
|
|
}
|