signal-desktop/stylesheets/_conversation.scss

87 lines
1.5 KiB
SCSS
Raw Normal View History

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
@import './mixins';
@keyframes panel--in {
from {
transform: translateX(500px);
}
to {
transform: translateX(0);
}
}
.conversation {
2019-10-04 18:06:17 +00:00
@include light-theme {
background-color: $color-white;
}
@include dark-theme {
background-color: $color-gray-95;
}
.panel {
2021-02-01 20:01:25 +00:00
height: calc(100% - #{$header-height} - var(--title-bar-drag-area-height));
left: 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));
width: 100%;
2021-12-01 23:13:09 +00:00
z-index: $z-index-base;
@include light-theme() {
background-color: $color-white;
}
@include dark-theme() {
background-color: $color-gray-95;
}
2018-04-26 23:06:13 +00:00
}
2018-04-26 23:06:13 +00:00
.panel {
&:not(.main) {
2021-10-05 16:47:06 +00:00
animation: panel--in 350ms cubic-bezier(0.17, 0.17, 0, 1);
}
&--static {
animation: none;
}
&--remove {
2021-10-05 16:47:06 +00:00
transform: translateX(100%);
transition: transform 350ms cubic-bezier(0.17, 0.17, 0, 1);
}
}
}
// Make sure the main panel is hidden when other panels are in the dom
.panel + .main.panel {
display: none;
}
.message-detail-wrapper {
height: calc(100% - 48px);
width: 100%;
overflow-y: auto;
}
2018-11-14 19:10:32 +00:00
.typing-bubble-wrapper {
margin-bottom: 20px;
}
.contact-detail-pane {
overflow-y: scroll;
padding-top: 40px;
padding-bottom: 40px;
}
.permissions-popup,
.debug-log-window {
.modal {
background-color: transparent;
padding: 0;
}
}