2018-04-11 23:23:35 +00:00
|
|
|
/*
|
|
|
|
Copyright 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.
|
|
|
|
*/
|
|
|
|
|
2018-12-18 16:56:05 +00:00
|
|
|
@charset "utf-8";
|
|
|
|
|
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;
|
2020-01-28 14:12:07 +00:00
|
|
|
background-color: $secondary-accent-color;
|
2021-11-11 13:37:29 +00:00
|
|
|
border: 6px solid $accent;
|
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;
|
2020-07-17 22:03:26 +00:00
|
|
|
border: 1.3px solid $muted-fg-color;
|
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;
|
2022-12-12 11:24:14 +00:00
|
|
|
mask-image: url("$(res)/img/element-icons/message/chevron-up.svg");
|
2018-12-03 13:55:24 +00:00
|
|
|
mask-repeat: no-repeat;
|
2022-10-07 02:27:28 +00:00
|
|
|
mask-size: 20px;
|
|
|
|
mask-position: center;
|
2020-07-17 22:03:26 +00:00
|
|
|
background: $muted-fg-color;
|
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;
|
2020-07-17 22:03:26 +00:00
|
|
|
border: 1.3px solid $muted-fg-color;
|
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;
|
2022-12-12 11:24:14 +00:00
|
|
|
mask-image: url("$(res)/img/cancel.svg");
|
2020-03-09 17:33:39 +00:00
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-size: 10px;
|
|
|
|
mask-position: 4px 4px;
|
2020-07-17 22:03:26 +00:00
|
|
|
background: $muted-fg-color;
|
2020-03-09 17:33:39 +00:00
|
|
|
}
|