signal-desktop/stylesheets/components/DebugLogWindow.scss

86 lines
1.6 KiB
SCSS
Raw Normal View History

2023-01-03 19:55:46 +00:00
// Copyright 2016 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
2024-11-15 23:09:31 +00:00
@use '../mixins';
@use '../variables';
.DebugLogWindow {
display: flex;
flex-direction: column;
height: 100%;
margin: 0;
max-width: 100%;
padding: 16px;
width: 100%;
&__container {
align-items: center;
display: flex;
flex-grow: 1;
justify-content: center;
}
2022-08-16 23:19:28 +00:00
&__scroll_area {
overflow-x: hidden;
overflow-y: scroll;
max-height: 100%;
2024-11-15 23:09:31 +00:00
border: 1px solid variables.$color-gray-45;
2024-11-15 23:09:31 +00:00
@include mixins.dark-theme {
background-color: variables.$color-gray-90;
color: variables.$color-gray-02;
}
2022-08-16 23:19:28 +00:00
&__text {
2024-11-15 23:09:31 +00:00
font-family: variables.$monospace;
2022-08-16 23:19:28 +00:00
font-size: 12px;
margin: 0;
user-select: none;
white-space: pre-line;
}
}
&__title {
2024-11-15 23:09:31 +00:00
@include mixins.font-title-2;
}
&__subtitle {
2024-11-15 23:09:31 +00:00
@include mixins.font-body-2;
@include mixins.light-theme {
color: variables.$color-gray-60;
}
2024-11-15 23:09:31 +00:00
@include mixins.dark-theme {
color: variables.$color-gray-25;
}
}
&__footer {
align-items: center;
display: flex;
justify-content: flex-end;
margin-top: 16px;
.module-Button {
2023-04-20 17:03:43 +00:00
margin-inline-start: 8px;
}
}
&__link {
border-radius: 4px;
height: 36px;
2023-04-20 17:03:43 +00:00
padding-block: 0;
padding-inline: 10px;
width: 100%;
2024-11-15 23:09:31 +00:00
@include mixins.light-theme {
border: solid 1px variables.$color-gray-25;
}
2024-11-15 23:09:31 +00:00
@include mixins.dark-theme {
background-color: variables.$color-gray-90;
border: solid 1px variables.$color-gray-45;
color: variables.$color-gray-02;
}
}
}