2021-10-24 17:54:51 +00:00
|
|
|
.placeholder-hashtag,
|
2021-11-16 01:08:27 +00:00
|
|
|
.notification--placeholder,
|
2021-12-18 15:26:26 +00:00
|
|
|
.status-card--placeholder,
|
|
|
|
.media-gallery--placeholder {
|
2021-10-12 19:00:01 +00:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-image: linear-gradient(
|
|
|
|
90deg,
|
2021-10-20 16:00:27 +00:00
|
|
|
hsla(var(--foreground-color_hsl), 0) 0%,
|
|
|
|
hsla(var(--foreground-color_hsl), 0) 25%,
|
2021-10-12 19:00:01 +00:00
|
|
|
var(--foreground-color) 50%,
|
2021-10-20 16:00:27 +00:00
|
|
|
hsla(var(--foreground-color_hsl), 0) 70%,
|
|
|
|
hsla(var(--foreground-color_hsl), 0) 100%
|
2021-10-12 19:00:01 +00:00
|
|
|
);
|
|
|
|
background-size: 200%;
|
|
|
|
animation: placeholder-pulse 2s infinite;
|
|
|
|
z-index: 1;
|
|
|
|
opacity: 0.9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes placeholder-pulse {
|
|
|
|
0% { background-position-x: 200%; }
|
|
|
|
100% { background-position-x: 0; }
|
|
|
|
}
|
|
|
|
|
2022-01-07 23:09:34 +00:00
|
|
|
.placeholder-hashtag .trends__item__name {
|
|
|
|
color: var(--brand-color);
|
|
|
|
opacity: 0.1;
|
2021-10-12 19:00:01 +00:00
|
|
|
}
|
|
|
|
|
2021-12-12 19:45:59 +00:00
|
|
|
.chat-list-item--placeholder .chat__last-message {
|
2021-10-12 19:00:01 +00:00
|
|
|
letter-spacing: -1px;
|
|
|
|
color: var(--brand-color) !important;
|
|
|
|
opacity: 0.1;
|
|
|
|
}
|
|
|
|
|
2021-10-13 00:14:27 +00:00
|
|
|
.slist {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&__placeholder {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
max-height: 300px;
|
|
|
|
overflow-y: hidden;
|
|
|
|
background: var(--foreground-color);
|
|
|
|
box-shadow: 0 10px 6px 0 rgb(0 0 0 / 10%);
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 1;
|
2021-10-20 16:24:03 +00:00
|
|
|
// On mobile, extend the gradient up to the ThumbNavigation height
|
2021-10-20 16:00:27 +00:00
|
|
|
background-image: linear-gradient(
|
|
|
|
0deg,
|
|
|
|
var(--background-color) 0%,
|
2021-10-20 16:24:03 +00:00
|
|
|
var(--background-color) var(--thumb-navigation-height),
|
2021-10-20 16:00:27 +00:00
|
|
|
hsla(var(--foreground-color_hsl), 0) 50%,
|
|
|
|
hsla(var(--foreground-color_hsl), 0) 100%
|
|
|
|
);
|
2021-10-13 00:14:27 +00:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2021-10-20 16:24:03 +00:00
|
|
|
|
|
|
|
@media (min-width: 895px) {
|
|
|
|
// On desktop, fade into the bottom of the page
|
|
|
|
background-image: linear-gradient(
|
|
|
|
0deg,
|
|
|
|
var(--background-color) 0%,
|
|
|
|
hsla(var(--foreground-color_hsl), 0) 50%,
|
|
|
|
hsla(var(--foreground-color_hsl), 0) 100%
|
|
|
|
);
|
|
|
|
}
|
2021-10-13 00:14:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.column--transparent .slist__placeholder {
|
|
|
|
background: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2021-11-16 01:08:27 +00:00
|
|
|
|
|
|
|
.status-card--placeholder {
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
.status-card__title,
|
|
|
|
.status-card__description,
|
|
|
|
.status-card__host {
|
|
|
|
letter-spacing: -1px;
|
|
|
|
color: var(--brand-color) !important;
|
|
|
|
word-break: break-all;
|
|
|
|
opacity: 0.1;
|
|
|
|
}
|
|
|
|
}
|
2021-12-18 15:26:26 +00:00
|
|
|
|
|
|
|
.media-gallery.media-gallery--placeholder {
|
|
|
|
background: none;
|
|
|
|
|
|
|
|
.media-gallery__item {
|
|
|
|
background-color: var(--brand-color--faint);
|
|
|
|
}
|
|
|
|
}
|