2021-10-05 16:47:06 +00:00
|
|
|
// Copyright 2021 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
|
|
.ConversationView {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
overflow: initial;
|
|
|
|
|
|
|
|
&__pane {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-07-10 22:44:32 +00:00
|
|
|
height: calc(100% - #{$header-height} - var(--title-bar-drag-area-height));
|
|
|
|
inset-inline-start: 0;
|
|
|
|
overflow-y: overlay;
|
2021-10-05 16:47:06 +00:00
|
|
|
position: absolute;
|
2023-07-10 22:44:32 +00:00
|
|
|
top: calc(#{$header-height} + var(--title-bar-drag-area-height));
|
2021-10-05 16:47:06 +00:00
|
|
|
width: 100%;
|
2023-07-10 22:44:32 +00:00
|
|
|
z-index: $z-index-base;
|
|
|
|
|
|
|
|
@include light-theme() {
|
|
|
|
background-color: $color-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
background-color: $color-gray-95;
|
|
|
|
}
|
2021-10-05 16:47:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__timeline {
|
|
|
|
&--container {
|
|
|
|
flex-grow: 1;
|
|
|
|
margin: 0;
|
|
|
|
max-width: 100%;
|
|
|
|
position: relative;
|
2023-09-27 20:35:15 +00:00
|
|
|
z-index: 0;
|
2021-10-05 16:47:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
-webkit-padding-start: 0px;
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
padding: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__composition-area {
|
2023-09-27 20:35:15 +00:00
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
|
2021-10-05 16:47:06 +00:00
|
|
|
// We need to use the wrapper because the conversation view calculates the height of all
|
|
|
|
// things in the composition area. A margin on an inner div won't be included in that
|
|
|
|
// height calculation.
|
2022-06-15 17:53:08 +00:00
|
|
|
.quote-wrapper,
|
2021-10-05 16:47:06 +00:00
|
|
|
.preview-wrapper {
|
2023-04-20 17:03:43 +00:00
|
|
|
margin-block: 0 10px;
|
|
|
|
margin-inline: 16px;
|
2021-10-05 16:47:06 +00:00
|
|
|
}
|
|
|
|
}
|
2023-07-10 22:44:32 +00:00
|
|
|
|
|
|
|
&__header {
|
|
|
|
}
|
2021-10-05 16:47:06 +00:00
|
|
|
}
|