soapbox/app/styles/accounts.scss

83 wiersze
1.3 KiB
SCSS
Czysty Zwykły widok Historia

2020-03-27 20:59:38 +00:00
.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;
2020-03-27 20:59:38 +00:00
@media screen and (max-width: $no-gap-breakpoint) {
box-shadow: none;
}
}
}
2020-06-03 02:11:01 +00:00
.account {
padding: 10px;
2020-08-25 16:33:51 +00:00
position: relative;
2020-06-03 02:11:01 +00:00
&:not(:last-of-type) {
2020-08-25 16:33:51 +00:00
border-bottom: 1px solid var(--brand-color--med);
2020-06-03 02:11:01 +00:00
}
}
.account-gallery__container {
display: flex;
flex-wrap: wrap;
.empty-column-indicator {
margin: -4px -2px;
}
2020-06-03 02:11:01 +00:00
}
.account-gallery__item {
@apply rounded-lg p-1;
2020-06-03 02:11:01 +00:00
border: 0;
box-sizing: border-box;
display: block;
position: relative;
overflow: hidden;
a {
2020-06-07 03:55:00 +00:00
background: var(--brand-color--faint);
2020-06-03 02:11:01 +00:00
}
video,
img {
@apply rounded-lg;
}
2020-06-03 02:11:01 +00:00
&__icons {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
.svg-icon {
@apply h-6 w-6;
}
2020-06-03 02:11:01 +00:00
}
}
.account__moved-note {
padding: 14px 10px;
padding-bottom: 16px;
2020-06-07 03:55:00 +00:00
background: var(--brand-color--faint);
border-top: 1px solid var(--brand-color--med);
border-bottom: 1px solid var(--brand-color--med);
2020-06-03 02:11:01 +00:00
}
.account__joined-at {
padding-left: 3px;
font-size: 14px;
display: flex;
white-space: nowrap;
flex-shrink: 0;
color: var(--primary-text-color--faint);
2021-09-28 04:47:43 +00:00
.svg-icon {
padding-right: 3px;
}
}