pleroma-fe/src/components/timeline/timeline.scss

52 lines
895 B
SCSS
Raw Normal View History

.Timeline {
.timeline-body {
background: none;
backdrop-filter: none;
}
.alert-badge {
font-size: 0.75em;
line-height: 1;
text-align: right;
2024-02-13 01:09:43 +01:00
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 {
2022-11-01 22:05:17 +01:00
position: relative;
}
&.-blocked {
cursor: progress;
}
2022-04-19 22:06:57 +02:00
.conversation-heading {
top: calc(var(--__panel-heading-height) * var(--currentPanelStack, 2));
z-index: 2;
2022-04-19 22:06:57 +02:00
}
2024-03-06 23:28:16 +01:00
&.-embedded {
.timeline-heading {
text-align: center;
line-height: 2.75em;
padding: 0 0.5em;
2024-03-06 23:28:16 +01:00
// Override the shrug empty filler
&:empty::before {
content: initial;
}
2023-01-09 19:02:16 +01:00
.button-default,
.alert {
2022-04-28 15:36:53 +02:00
line-height: 2em;
width: 100%;
}
}
}
}