2021-10-20 16:46:42 -04:00
|
|
|
// Copyright 2021 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2024-11-15 15:09:31 -08:00
|
|
|
@use '../mixins';
|
|
|
|
@use '../variables';
|
|
|
|
|
2021-10-20 16:46:42 -04:00
|
|
|
.MessageBody {
|
|
|
|
&__highlight {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2022-05-23 16:07:41 -07:00
|
|
|
&__download-body,
|
2021-10-20 16:46:42 -04:00
|
|
|
&__read-more {
|
2024-11-15 15:09:31 -08:00
|
|
|
@include mixins.button-reset;
|
|
|
|
& {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2021-10-20 16:46:42 -04:00
|
|
|
|
|
|
|
&:focus {
|
2024-11-15 15:09:31 -08:00
|
|
|
@include mixins.keyboard-mode {
|
|
|
|
border: 1px solid variables.$color-black;
|
2022-07-25 17:19:00 -07:00
|
|
|
outline: none;
|
2021-10-21 18:06:47 -04:00
|
|
|
}
|
2021-10-20 16:46:42 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-18 10:14:59 -08:00
|
|
|
&__message-too-long {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2021-10-20 16:46:42 -04:00
|
|
|
&__at-mention {
|
|
|
|
border-radius: 4px;
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
2023-04-20 10:03:43 -07:00
|
|
|
padding-inline: 4px;
|
2021-10-20 16:46:42 -04:00
|
|
|
border: 1px solid transparent;
|
|
|
|
|
2024-11-15 15:09:31 -08:00
|
|
|
@include mixins.light-theme {
|
|
|
|
background-color: variables.$color-gray-20;
|
2021-10-20 16:46:42 -04:00
|
|
|
}
|
|
|
|
|
2024-11-15 15:09:31 -08:00
|
|
|
@include mixins.dark-theme {
|
|
|
|
background-color: variables.$color-black-alpha-40;
|
2021-10-20 16:46:42 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
2024-11-15 15:09:31 -08:00
|
|
|
border: 1px solid variables.$color-black;
|
2021-10-20 16:46:42 -04:00
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--incoming {
|
2024-11-15 15:09:31 -08:00
|
|
|
@include mixins.light-theme {
|
|
|
|
background-color: variables.$color-gray-20;
|
2021-10-20 16:46:42 -04:00
|
|
|
}
|
|
|
|
|
2024-11-15 15:09:31 -08:00
|
|
|
@include mixins.dark-theme {
|
|
|
|
background-color: variables.$color-gray-60;
|
2021-10-20 16:46:42 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--outgoing {
|
2024-11-15 15:09:31 -08:00
|
|
|
background-color: variables.$color-black-alpha-40;
|
2021-10-20 16:46:42 -04:00
|
|
|
}
|
2023-04-10 09:31:45 -07:00
|
|
|
|
|
|
|
&--invisible {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2021-10-20 16:46:42 -04:00
|
|
|
}
|
2022-08-25 10:16:37 -06:00
|
|
|
|
|
|
|
&__author {
|
2024-11-15 15:09:31 -08:00
|
|
|
@include mixins.font-body-2-medium;
|
2022-08-25 10:16:37 -06:00
|
|
|
}
|
2021-10-20 16:46:42 -04:00
|
|
|
}
|