58 lines
1.1 KiB
SCSS
58 lines
1.1 KiB
SCSS
|
.placeholder-status,
|
||
|
.notification--placeholder {
|
||
|
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,
|
||
|
hsla(var(--foreground-color_hsl), 0) 0%,
|
||
|
hsla(var(--foreground-color_hsl), 0) 25%,
|
||
|
var(--foreground-color) 50%,
|
||
|
hsla(var(--foreground-color_hsl), 0) 70%,
|
||
|
hsla(var(--foreground-color_hsl), 0) 100%
|
||
|
);
|
||
|
background-size: 200%;
|
||
|
animation: placeholder-pulse 2s infinite;
|
||
|
z-index: 1;
|
||
|
opacity: 0.9;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.placeholder-status .display-name__account {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
@keyframes placeholder-pulse {
|
||
|
0% { background-position-x: 200%; }
|
||
|
100% { background-position-x: 0; }
|
||
|
}
|
||
|
|
||
|
.notification--placeholder {
|
||
|
.notification__message span {
|
||
|
color: var(--brand-color);
|
||
|
opacity: 0.1;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.status__content--placeholder,
|
||
|
.display-name--placeholder {
|
||
|
letter-spacing: -1px;
|
||
|
color: var(--brand-color) !important;
|
||
|
opacity: 0.1;
|
||
|
}
|
||
|
|
||
|
.display-name--placeholder {
|
||
|
.display-name__html {
|
||
|
color: var(--brand-color) !important;
|
||
|
}
|
||
|
}
|