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