2018-04-12 01:23:35 +02:00
|
|
|
/*
|
2024-09-09 15:57:16 +02:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2018-04-12 01:23:35 +02:00
|
|
|
Copyright 2015, 2016 OpenMarket Ltd
|
|
|
|
|
2024-09-09 15:57:16 +02:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
|
|
Please see LICENSE files in the repository root for full details.
|
2018-04-12 01:23:35 +02:00
|
|
|
*/
|
|
|
|
|
2023-05-04 14:19:26 +02:00
|
|
|
:root {
|
|
|
|
--MessageTimestamp-width: 46px; /* 8 + 30 (avatar) + 8 */
|
2022-06-30 13:37:43 +02:00
|
|
|
--MessageTimestamp-max-width: 80px;
|
2023-03-02 18:14:41 +01:00
|
|
|
--MessageTimestamp-color: $event-timestamp-color;
|
2023-05-04 14:19:26 +02:00
|
|
|
}
|
2022-06-30 13:37:43 +02:00
|
|
|
|
2023-05-04 14:19:26 +02:00
|
|
|
.mx_MessageTimestamp {
|
2023-03-02 18:14:41 +01:00
|
|
|
color: var(--MessageTimestamp-color);
|
2020-03-31 16:26:23 +02:00
|
|
|
font-size: $font-10px;
|
2020-07-23 15:52:01 +02:00
|
|
|
font-variant-numeric: tabular-nums;
|
2022-07-27 15:39:29 +02:00
|
|
|
display: block; /* enable the width setting below */
|
2023-05-04 14:19:26 +02:00
|
|
|
width: var(--MessageTimestamp-width);
|
2022-06-30 13:37:43 +02:00
|
|
|
white-space: nowrap;
|
|
|
|
user-select: none;
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
2023-10-17 14:31:41 +02:00
|
|
|
|
|
|
|
.mx_MessageTimestamp_lateIcon {
|
|
|
|
position: absolute;
|
|
|
|
right: 100%;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
color: inherit;
|
|
|
|
}
|