2018-04-12 07:23:35 +08:00
|
|
|
/*
|
|
|
|
Copyright 2015, 2016 OpenMarket Ltd
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
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;
|
|
|
|
}
|