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