signal-desktop/stylesheets/components/TimelineFloatingHeader.scss

35 lines
612 B
SCSS
Raw Normal View History

2022-01-26 17:05:26 -06:00
// Copyright 2022 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
2024-11-15 16:35:20 -08:00
@use '../mixins';
@use '../variables';
2022-01-26 17:05:26 -06:00
.TimelineFloatingHeader {
align-items: center;
display: flex;
flex-direction: column;
2023-04-20 10:03:43 -07:00
inset-inline-start: 0;
2022-01-26 17:05:26 -06:00
pointer-events: none;
2022-03-09 16:44:57 -06:00
position: absolute;
2022-01-26 17:05:26 -06:00
top: 10px;
2022-01-28 12:31:20 -06:00
transition: opacity 0.25s ease-out;
2022-01-26 17:05:26 -06:00
width: 100%;
2024-11-15 16:35:20 -08:00
z-index: variables.$z-index-above-above-base;
2022-01-26 17:05:26 -06:00
&--visible {
opacity: 1;
}
&--hidden {
opacity: 0;
}
&__spinner-container {
2024-11-15 16:35:20 -08:00
@include mixins.timeline-floating-header-node;
& {
margin-top: 12px;
padding: 6px;
}
2022-01-26 17:05:26 -06:00
}
}