2018-04-12 07:23:35 +08:00
|
|
|
/*
|
2024-09-09 21:57:16 +08:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2018-04-12 07:23:35 +08:00
|
|
|
Copyright 2015, 2016 OpenMarket Ltd
|
|
|
|
|
2024-09-09 21:57:16 +08: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 07:23:35 +08:00
|
|
|
*/
|
|
|
|
|
2023-05-04 20:19:26 +08:00
|
|
|
:root {
|
|
|
|
--MessageTimestamp-width: 46px; /* 8 + 30 (avatar) + 8 */
|
2022-06-30 19:37:43 +08:00
|
|
|
--MessageTimestamp-max-width: 80px;
|
2023-03-03 01:14:41 +08:00
|
|
|
--MessageTimestamp-color: $event-timestamp-color;
|
2023-05-04 20:19:26 +08:00
|
|
|
}
|
2022-06-30 19:37:43 +08:00
|
|
|
|
2023-05-04 20:19:26 +08:00
|
|
|
.mx_MessageTimestamp {
|
2023-03-03 01:14:41 +08:00
|
|
|
color: var(--MessageTimestamp-color);
|
2020-03-31 22:26:23 +08:00
|
|
|
font-size: $font-10px;
|
2020-07-23 21:52:01 +08:00
|
|
|
font-variant-numeric: tabular-nums;
|
2022-07-27 21:39:29 +08:00
|
|
|
display: block; /* enable the width setting below */
|
2023-05-04 20:19:26 +08:00
|
|
|
width: var(--MessageTimestamp-width);
|
2022-06-30 19:37:43 +08:00
|
|
|
white-space: nowrap;
|
|
|
|
user-select: none;
|
2018-04-12 07:23:35 +08:00
|
|
|
}
|
2023-10-17 20:31:41 +08:00
|
|
|
|
|
|
|
.mx_MessageTimestamp_lateIcon {
|
|
|
|
position: absolute;
|
|
|
|
right: 100%;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
color: inherit;
|
|
|
|
}
|