175 lines
2.8 KiB
SCSS
175 lines
2.8 KiB
SCSS
.card {
|
|
& > a {
|
|
display: block;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.3);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
|
|
@media screen and (max-width: $no-gap-breakpoint) {
|
|
box-shadow: none;
|
|
}
|
|
|
|
&:hover,
|
|
&:active,
|
|
&:focus {
|
|
.card__bar {
|
|
background-color: var(--brand-color--faint);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.account {
|
|
padding: 10px;
|
|
position: relative;
|
|
|
|
&:not(:last-of-type) {
|
|
border-bottom: 1px solid var(--brand-color--med);
|
|
}
|
|
|
|
.account__display-name {
|
|
flex: 1 1 auto;
|
|
display: block;
|
|
color: var(--primary-text-color--faint);
|
|
overflow: hidden;
|
|
text-decoration: none;
|
|
font-size: 14px;
|
|
|
|
.display-name__name {
|
|
display: flex;
|
|
}
|
|
}
|
|
}
|
|
|
|
.account__wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.account__avatar-wrapper {
|
|
float: left;
|
|
margin-right: 12px;
|
|
}
|
|
|
|
a .account__avatar {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.account__avatar-overlay {
|
|
@include avatar-size(48px);
|
|
|
|
&-base {
|
|
@include avatar-radius;
|
|
@include avatar-size(36px);
|
|
}
|
|
|
|
&-overlay {
|
|
@include avatar-radius;
|
|
@include avatar-size(24px);
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 0;
|
|
z-index: 1;
|
|
}
|
|
}
|
|
|
|
.account-authorize__avatar {
|
|
float: left;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.account-gallery__container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
|
|
.empty-column-indicator {
|
|
margin: -4px -2px;
|
|
}
|
|
}
|
|
|
|
.account-gallery__item {
|
|
@apply rounded-lg p-1;
|
|
border: 0;
|
|
box-sizing: border-box;
|
|
display: block;
|
|
position: relative;
|
|
overflow: hidden;
|
|
|
|
a {
|
|
background: var(--brand-color--faint);
|
|
}
|
|
|
|
video,
|
|
img {
|
|
@apply rounded-lg;
|
|
}
|
|
|
|
&__icons {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
|
|
.svg-icon {
|
|
@apply h-6 w-6;
|
|
}
|
|
}
|
|
}
|
|
|
|
.account--panel {
|
|
background: var(--brand-color--faint);
|
|
border-top: 1px solid var(--brand-color--med);
|
|
border-bottom: 1px solid var(--brand-color--med);
|
|
display: flex;
|
|
flex-direction: row;
|
|
padding: 10px 0;
|
|
|
|
&__button .svg-icon {
|
|
height: 20px;
|
|
width: 20px;
|
|
}
|
|
}
|
|
|
|
.account__moved-note {
|
|
padding: 14px 10px;
|
|
padding-bottom: 16px;
|
|
background: var(--brand-color--faint);
|
|
border-top: 1px solid var(--brand-color--med);
|
|
border-bottom: 1px solid var(--brand-color--med);
|
|
|
|
&__message {
|
|
position: relative;
|
|
margin-left: 58px;
|
|
color: var(--primary-text-color);
|
|
padding: 8px 0;
|
|
padding-top: 0;
|
|
padding-bottom: 4px;
|
|
font-size: 14px;
|
|
|
|
> span {
|
|
display: block;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
}
|
|
|
|
&__icon-wrapper {
|
|
left: -26px;
|
|
position: absolute;
|
|
}
|
|
}
|
|
|
|
.account__joined-at {
|
|
padding-left: 3px;
|
|
font-size: 14px;
|
|
display: flex;
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
color: var(--primary-text-color--faint);
|
|
|
|
.svg-icon {
|
|
padding-right: 3px;
|
|
}
|
|
}
|