2018-04-12 01:23:35 +02: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 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
|
|
|
}
|