2021-10-20 16:46:42 -04:00
|
|
|
// Copyright 2021 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
|
|
.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 {
|
|
|
|
@include button-reset;
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
&:focus {
|
2021-10-21 18:06:47 -04:00
|
|
|
@include keyboard-mode {
|
2022-07-25 17:19:00 -07:00
|
|
|
border: 1px solid $color-black;
|
|
|
|
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;
|
|
|
|
|
|
|
|
@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 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 {
|
2022-08-31 12:57:21 -07:00
|
|
|
@include font-body-2-medium;
|
2022-08-25 10:16:37 -06:00
|
|
|
}
|
2021-10-20 16:46:42 -04:00
|
|
|
}
|