yandere_fe/src/components/timeline/timeline.scss
2024-02-16 00:29:16 +02:00

43 lines
750 B
SCSS

@import "../../variables";
.Timeline {
.alert-badge {
font-size: 0.75em;
line-height: 1;
text-align: right;
border-radius: var(--roundness);
position: absolute;
left: calc(50% - 0.5em);
top: calc(50% - 0.4em);
padding: 0.2em;
margin-left: 0.7em;
margin-top: -1em;
}
.loadmore-button {
position: relative;
}
&.-blocked {
cursor: progress;
}
.conversation-heading {
top: calc(var(--__panel-heading-height) * var(--currentPanelStack, 2));
z-index: 2;
}
&.-nonpanel {
.timeline-heading {
text-align: center;
line-height: 2.75em;
padding: 0 0.5em;
.button-default,
.alert {
line-height: 2em;
width: 100%;
}
}
}
}