2018-04-11 23:23:35 +00:00
|
|
|
/*
|
2024-09-09 13:57:16 +00:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2018-04-11 23:23:35 +00:00
|
|
|
Copyright 2016 OpenMarket Ltd
|
|
|
|
|
2024-09-09 13:57:16 +00: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-11 23:23:35 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_TopUnreadMessagesBar {
|
2018-12-03 13:55:24 +00:00
|
|
|
z-index: 1000;
|
|
|
|
position: absolute;
|
|
|
|
top: 24px;
|
|
|
|
right: 24px;
|
|
|
|
width: 38px;
|
2018-04-11 23:23:35 +00:00
|
|
|
}
|
|
|
|
|
2019-07-09 17:15:10 +00:00
|
|
|
.mx_TopUnreadMessagesBar::after {
|
2020-01-28 14:12:07 +00:00
|
|
|
content: "";
|
2018-12-18 16:56:05 +00:00
|
|
|
position: absolute;
|
|
|
|
top: -8px;
|
2023-09-27 06:36:31 +00:00
|
|
|
left: 11px;
|
2020-01-28 14:12:07 +00:00
|
|
|
width: 4px;
|
|
|
|
height: 4px;
|
2018-12-18 16:56:05 +00:00
|
|
|
border-radius: 16px;
|
2024-03-05 04:25:47 +00:00
|
|
|
background-color: var(--cpd-color-bg-canvas-default);
|
|
|
|
border: 6px solid var(--cpd-color-icon-accent-tertiary);
|
2020-02-05 12:43:39 +00:00
|
|
|
pointer-events: none;
|
2018-12-18 16:56:05 +00:00
|
|
|
}
|
|
|
|
|
2018-04-11 23:23:35 +00:00
|
|
|
.mx_TopUnreadMessagesBar_scrollUp {
|
2018-12-03 13:55:24 +00:00
|
|
|
height: 38px;
|
|
|
|
border-radius: 19px;
|
|
|
|
box-sizing: border-box;
|
2021-08-12 09:10:47 +00:00
|
|
|
background: $background;
|
2024-03-18 15:47:55 +00:00
|
|
|
border: 1.3px solid var(--cpd-color-icon-tertiary);
|
2018-04-11 23:23:35 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2019-07-09 17:15:10 +00:00
|
|
|
.mx_TopUnreadMessagesBar_scrollUp::before {
|
2018-12-03 13:55:24 +00:00
|
|
|
content: "";
|
|
|
|
position: absolute;
|
2020-07-31 12:39:34 +00:00
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
2024-10-21 10:36:31 +00:00
|
|
|
mask-image: url("@vector-im/compound-design-tokens/icons/chevron-up.svg");
|
2018-12-03 13:55:24 +00:00
|
|
|
mask-repeat: no-repeat;
|
2024-10-21 10:36:31 +00:00
|
|
|
mask-size: 24px;
|
2022-10-07 02:27:28 +00:00
|
|
|
mask-position: center;
|
2024-03-18 15:47:55 +00:00
|
|
|
background: var(--cpd-color-icon-tertiary);
|
2018-04-11 23:23:35 +00:00
|
|
|
}
|
2020-03-02 19:59:14 +00:00
|
|
|
|
|
|
|
.mx_TopUnreadMessagesBar_markAsRead {
|
|
|
|
display: block;
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
2021-08-12 09:10:47 +00:00
|
|
|
background: $background;
|
2024-03-18 15:47:55 +00:00
|
|
|
border: 1.3px solid var(--cpd-color-icon-tertiary);
|
2020-03-09 17:33:39 +00:00
|
|
|
border-radius: 10px;
|
2020-03-02 19:59:14 +00:00
|
|
|
margin: 5px auto;
|
|
|
|
}
|
2020-03-09 17:33:39 +00:00
|
|
|
|
|
|
|
.mx_TopUnreadMessagesBar_markAsRead::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
2024-10-15 10:19:06 +00:00
|
|
|
mask-image: url("@vector-im/compound-design-tokens/icons/close.svg");
|
2020-03-09 17:33:39 +00:00
|
|
|
mask-repeat: no-repeat;
|
2024-10-15 10:19:06 +00:00
|
|
|
mask-size: 16px;
|
|
|
|
mask-position: center;
|
2024-03-18 15:47:55 +00:00
|
|
|
background: var(--cpd-color-icon-tertiary);
|
2020-03-09 17:33:39 +00:00
|
|
|
}
|