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