2021-05-28 12:15:17 -04:00
|
|
|
// Copyright 2015-2021 Signal Messenger, LLC
|
2020-10-30 15:34:04 -05:00
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2019-07-25 12:24:03 -04:00
|
|
|
@import './mixins';
|
|
|
|
|
|
|
|
@keyframes panel--in {
|
|
|
|
from {
|
|
|
|
transform: translateX(500px);
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
transform: translateX(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-02-18 23:09:34 -08:00
|
|
|
.conversation {
|
2019-10-04 11:06:17 -07:00
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-95;
|
|
|
|
}
|
|
|
|
|
2019-07-25 12:24:03 -04:00
|
|
|
.panel {
|
2021-02-01 14:01:25 -06:00
|
|
|
height: calc(100% - #{$header-height} - var(--title-bar-drag-area-height));
|
2019-07-25 12:24:03 -04:00
|
|
|
left: 0;
|
2021-10-05 12:47:06 -04:00
|
|
|
overflow-y: overlay;
|
|
|
|
position: absolute;
|
2021-02-01 14:01:25 -06:00
|
|
|
top: calc(#{$header-height} + var(--title-bar-drag-area-height));
|
2019-07-25 12:24:03 -04:00
|
|
|
width: 100%;
|
2021-12-01 18:13:09 -05:00
|
|
|
z-index: $z-index-base;
|
2019-07-25 12:24:03 -04:00
|
|
|
|
|
|
|
@include light-theme() {
|
|
|
|
background-color: $color-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
2019-05-31 15:42:01 -07:00
|
|
|
background-color: $color-gray-95;
|
2019-07-25 12:24:03 -04:00
|
|
|
}
|
2018-04-26 19:06:13 -04:00
|
|
|
}
|
2016-03-23 13:40:21 -07:00
|
|
|
|
2018-04-26 19:06:13 -04:00
|
|
|
.panel {
|
2019-07-25 12:24:03 -04:00
|
|
|
&:not(.main) {
|
2021-10-05 12:47:06 -04:00
|
|
|
animation: panel--in 350ms cubic-bezier(0.17, 0.17, 0, 1);
|
2019-07-25 12:24:03 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&--static {
|
|
|
|
animation: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--remove {
|
2021-10-05 12:47:06 -04:00
|
|
|
transform: translateX(100%);
|
|
|
|
transition: transform 350ms cubic-bezier(0.17, 0.17, 0, 1);
|
2016-01-21 23:31:37 +00:00
|
|
|
}
|
2015-06-16 22:43:40 +02:00
|
|
|
}
|
2015-02-18 23:09:34 -08:00
|
|
|
}
|
|
|
|
|
2019-05-16 15:32:11 -07:00
|
|
|
// Make sure the main panel is hidden when other panels are in the dom
|
|
|
|
.panel + .main.panel {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-07-09 14:29:13 -07:00
|
|
|
.message-detail-wrapper {
|
|
|
|
height: calc(100% - 48px);
|
|
|
|
width: 100%;
|
2018-07-18 10:42:06 -07:00
|
|
|
overflow-y: auto;
|
2018-07-09 14:29:13 -07:00
|
|
|
}
|
|
|
|
|
2018-11-14 11:10:32 -08:00
|
|
|
.typing-bubble-wrapper {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
2018-05-23 12:15:46 -07:00
|
|
|
.contact-detail-pane {
|
|
|
|
overflow-y: scroll;
|
2018-06-27 13:53:49 -07:00
|
|
|
padding-top: 40px;
|
|
|
|
padding-bottom: 40px;
|
2018-05-23 12:15:46 -07:00
|
|
|
}
|
|
|
|
|
2018-07-03 15:33:50 -07:00
|
|
|
.permissions-popup,
|
|
|
|
.debug-log-window {
|
|
|
|
.modal {
|
|
|
|
background-color: transparent;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|