2019-07-02 08:10:25 +01:00
|
|
|
.card {
|
2019-09-17 00:31:30 +01:00
|
|
|
&>a {
|
2019-07-02 08:10:25 +01:00
|
|
|
display: block;
|
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
|
|
|
box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
|
|
|
|
|
|
|
|
@media screen and (max-width: $no-gap-breakpoint) {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
.card__bar {
|
|
|
|
background: lighten($ui-base-color, 8%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__img {
|
|
|
|
height: 130px;
|
|
|
|
position: relative;
|
|
|
|
background: darken($ui-base-color, 12%);
|
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
|
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
object-fit: cover;
|
|
|
|
border-radius: 4px 4px 0 0;
|
2019-09-17 00:31:30 +01:00
|
|
|
|
|
|
|
@include size(100%);
|
2019-07-02 08:10:25 +01:00
|
|
|
}
|
|
|
|
|
2019-09-17 00:31:30 +01:00
|
|
|
@include breakpoint(sm) {
|
2019-07-02 08:10:25 +01:00
|
|
|
height: 200px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: $no-gap-breakpoint) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__bar {
|
|
|
|
position: relative;
|
|
|
|
padding: 15px;
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
|
2019-09-17 00:31:30 +01:00
|
|
|
@include flex(flex-start, center);
|
|
|
|
|
2019-07-02 08:10:25 +01:00
|
|
|
@media screen and (max-width: $no-gap-breakpoint) {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
padding-top: 2px;
|
|
|
|
|
2019-09-17 00:31:30 +01:00
|
|
|
@include size(48px);
|
|
|
|
|
2019-07-02 08:10:25 +01:00
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
border-radius: 4px;
|
|
|
|
background: darken($ui-base-color, 8%);
|
|
|
|
object-fit: cover;
|
2019-09-17 00:31:30 +01:00
|
|
|
|
|
|
|
@include size(100%);
|
2019-07-02 08:10:25 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.display-name {
|
|
|
|
margin-left: 15px;
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
strong {
|
|
|
|
color: $primary-text-color;
|
2019-09-17 00:31:30 +01:00
|
|
|
|
|
|
|
@include text-overflow;
|
|
|
|
@include text-sizing(15px, 500);
|
2019-07-02 08:10:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
display: block;
|
2019-07-02 20:50:43 +01:00
|
|
|
color: $gab-secondary-text;
|
2019-09-17 00:31:30 +01:00
|
|
|
|
|
|
|
@include text-overflow;
|
|
|
|
@include text-sizing(14px, 400);
|
2019-07-02 08:10:25 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.pagination {
|
|
|
|
padding: 30px 0;
|
|
|
|
text-align: center;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
a,
|
|
|
|
.current,
|
|
|
|
.newer,
|
|
|
|
.older,
|
|
|
|
.page,
|
|
|
|
.gap {
|
|
|
|
color: $primary-text-color;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 6px 10px;
|
|
|
|
text-decoration: none;
|
2019-09-17 00:31:30 +01:00
|
|
|
|
|
|
|
@include text-sizing(14px, 500);
|
2019-07-02 08:10:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.current {
|
|
|
|
background: $simple-background-color;
|
|
|
|
border-radius: 100px;
|
|
|
|
color: $inverted-text-color;
|
|
|
|
cursor: default;
|
|
|
|
margin: 0 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gap {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
.older,
|
|
|
|
.newer {
|
|
|
|
text-transform: uppercase;
|
|
|
|
color: $secondary-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.older {
|
|
|
|
float: left;
|
|
|
|
padding-left: 0;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.newer {
|
|
|
|
float: right;
|
|
|
|
padding-right: 0;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.disabled {
|
|
|
|
cursor: default;
|
|
|
|
color: lighten($inverted-text-color, 10%);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 700px) {
|
|
|
|
padding: 30px 20px;
|
|
|
|
|
|
|
|
.page {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.newer,
|
|
|
|
.older {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nothing-here {
|
|
|
|
background: $ui-base-color;
|
|
|
|
box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
|
2019-07-02 20:50:43 +01:00
|
|
|
color: $gab-secondary-text;
|
2019-07-02 08:10:25 +01:00
|
|
|
cursor: default;
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 20px;
|
|
|
|
min-height: 30vh;
|
|
|
|
|
2019-09-17 00:31:30 +01:00
|
|
|
@include flex(center, center);
|
|
|
|
@include text-sizing(14px, 500, 1, center);
|
|
|
|
|
2019-07-02 08:10:25 +01:00
|
|
|
&--under-tabs {
|
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--flexible {
|
|
|
|
box-sizing: border-box;
|
|
|
|
min-height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.account-role {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 4px 6px;
|
|
|
|
cursor: default;
|
|
|
|
color: $ui-secondary-color;
|
|
|
|
background-color: rgba($ui-secondary-color, 0.1);
|
2019-09-17 00:31:30 +01:00
|
|
|
|
|
|
|
@include text-sizing(12px, 500, 12px);
|
|
|
|
@include border-design(rgba($ui-secondary-color, 0.5), 1px, 3px);
|
2019-07-02 08:10:25 +01:00
|
|
|
|
|
|
|
&.moderator {
|
|
|
|
color: $success-green;
|
|
|
|
background-color: rgba($success-green, 0.1);
|
|
|
|
border-color: rgba($success-green, 0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.admin {
|
|
|
|
color: lighten($error-red, 12%);
|
|
|
|
background-color: rgba(lighten($error-red, 12%), 0.1);
|
|
|
|
border-color: rgba(lighten($error-red, 12%), 0.5);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.account__header__fields {
|
|
|
|
padding: 0;
|
|
|
|
margin: 15px -15px -15px;
|
|
|
|
border: 0 none;
|
|
|
|
border-top: 1px solid lighten($ui-base-color, 12%);
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 12%);
|
2019-09-17 00:31:30 +01:00
|
|
|
|
|
|
|
@include text-sizing(14px, 400, 20px);
|
2019-07-02 08:10:25 +01:00
|
|
|
|
|
|
|
dl {
|
|
|
|
display: flex;
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 12%);
|
|
|
|
}
|
|
|
|
|
|
|
|
dt,
|
|
|
|
dd {
|
|
|
|
box-sizing: border-box;
|
|
|
|
max-height: 48px;
|
2019-09-17 00:31:30 +01:00
|
|
|
|
|
|
|
@include text-overflow(nowrap);
|
|
|
|
@include text-sizing(14px, 400, 1, center);
|
2019-07-02 08:10:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dt {
|
|
|
|
font-weight: 500;
|
|
|
|
width: 120px;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
color: $secondary-text-color;
|
|
|
|
background: rgba(darken($ui-base-color, 8%), 0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
dd {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
color: $darker-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $highlight-text-color;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.verified {
|
|
|
|
border: 1px solid rgba($valid-value-color, 0.5);
|
|
|
|
background: rgba($valid-value-color, 0.25);
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $valid-value-color;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__mark {
|
|
|
|
color: $valid-value-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dl:last-child {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-17 00:31:30 +01:00
|
|
|
.directory__tag .trending-item__uses {
|
2019-07-02 08:10:25 +01:00
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pending-account {
|
|
|
|
&__header {
|
|
|
|
color: $darker-text-color;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $ui-secondary-color;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
strong {
|
|
|
|
color: $primary-text-color;
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__body {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2019-09-17 00:31:30 +01:00
|
|
|
}
|