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 2015, 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
|
|
|
*/
|
|
|
|
|
2021-04-21 19:49:58 +00:00
|
|
|
.mx_RoomStatusBar:not(.mx_RoomStatusBar_unsentMessages) {
|
2018-04-11 23:23:35 +00:00
|
|
|
margin-left: 65px;
|
|
|
|
min-height: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomStatusBar_typingIndicatorAvatars {
|
|
|
|
width: 52px;
|
|
|
|
margin-top: -1px;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomStatusBar_typingIndicatorRemaining {
|
|
|
|
display: inline-block;
|
|
|
|
color: #acacac;
|
|
|
|
background-color: #ddd;
|
2021-08-12 09:10:47 +00:00
|
|
|
border: 1px solid $background;
|
2018-04-11 23:23:35 +00:00
|
|
|
border-radius: 40px;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
2020-03-31 14:26:23 +00:00
|
|
|
line-height: $font-24px;
|
2018-04-11 23:23:35 +00:00
|
|
|
font-size: 0.8em;
|
|
|
|
vertical-align: top;
|
|
|
|
text-align: center;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomStatusBar_scrollDownIndicator {
|
|
|
|
cursor: pointer;
|
|
|
|
padding-left: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomStatusBar_unreadMessagesBar {
|
|
|
|
padding-top: 10px;
|
2021-11-11 13:37:29 +00:00
|
|
|
color: $alert;
|
2018-04-11 23:23:35 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomStatusBar_connectionLostBar {
|
2018-06-27 14:19:27 +00:00
|
|
|
display: flex;
|
|
|
|
|
2018-04-11 23:23:35 +00:00
|
|
|
margin-top: 19px;
|
|
|
|
min-height: 58px;
|
|
|
|
}
|
|
|
|
|
2021-04-21 19:49:58 +00:00
|
|
|
.mx_RoomStatusBar_unsentMessages {
|
|
|
|
> div[role="alert"] {
|
2022-07-27 13:39:29 +00:00
|
|
|
/* cheat some basic alignment */
|
2021-04-21 19:49:58 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
min-height: 70px;
|
|
|
|
margin: 12px;
|
|
|
|
padding-left: 16px;
|
|
|
|
background-color: $header-panel-bg-color;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomStatusBar_unsentBadge {
|
|
|
|
margin-right: 12px;
|
|
|
|
|
|
|
|
.mx_NotificationBadge {
|
2022-07-27 13:39:29 +00:00
|
|
|
/* Override sizing from the default badge */
|
2021-04-21 19:49:58 +00:00
|
|
|
width: 24px !important;
|
|
|
|
height: 24px !important;
|
|
|
|
border-radius: 24px !important;
|
|
|
|
|
|
|
|
.mx_NotificationBadge_count {
|
2022-07-27 13:39:29 +00:00
|
|
|
font-size: $font-16px !important; /* override default */
|
2021-04-21 19:49:58 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomStatusBar_unsentTitle {
|
2021-11-11 13:37:29 +00:00
|
|
|
color: $alert;
|
2021-04-21 19:49:58 +00:00
|
|
|
font-size: $font-15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomStatusBar_unsentDescription {
|
|
|
|
font-size: $font-12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomStatusBar_unsentButtonBar {
|
|
|
|
flex-grow: 1;
|
|
|
|
text-align: right;
|
|
|
|
margin-right: 22px;
|
|
|
|
color: $muted-fg-color;
|
|
|
|
|
|
|
|
.mx_AccessibleButton {
|
|
|
|
padding: 5px 10px;
|
2022-07-27 13:39:29 +00:00
|
|
|
padding-left: 30px; /* 18px for the icon, 2px margin to text, 10px regular padding */
|
2021-04-21 19:49:58 +00:00
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
2023-02-10 11:21:31 +00:00
|
|
|
user-select: none;
|
2021-04-21 19:49:58 +00:00
|
|
|
|
|
|
|
&:nth-child(2) {
|
2021-04-21 22:22:27 +00:00
|
|
|
border-left: 1px solid $resend-button-divider-color;
|
2021-04-21 19:49:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
2022-07-27 13:39:29 +00:00
|
|
|
left: 10px; /* inset for regular button padding */
|
2021-04-21 19:49:58 +00:00
|
|
|
background-color: $muted-fg-color;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: contain;
|
2021-06-23 11:29:00 +00:00
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
2022-07-27 13:39:29 +00:00
|
|
|
top: 50%; /* text sizes are dynamic */
|
2021-06-25 13:47:17 +00:00
|
|
|
transform: translateY(-50%);
|
2021-04-21 19:49:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_RoomStatusBar_unsentCancelAllBtn::before {
|
2024-10-18 13:51:54 +00:00
|
|
|
mask-image: url("@vector-im/compound-design-tokens/icons/delete.svg");
|
2021-04-21 19:49:58 +00:00
|
|
|
}
|
|
|
|
|
2022-07-20 12:41:43 +00:00
|
|
|
&.mx_RoomStatusBar_unsentRetry {
|
2022-07-27 13:39:29 +00:00
|
|
|
padding-left: 34px; /* 28px from above, but +6px to account for the wider icon */
|
2021-04-21 19:49:58 +00:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
mask-image: url("$(res)/img/element-icons/retry.svg");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_InlineSpinner {
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-right: 5px;
|
2022-07-27 13:39:29 +00:00
|
|
|
top: 1px; /* just to help the vertical alignment be slightly better */
|
2021-04-21 19:49:58 +00:00
|
|
|
|
|
|
|
& + span {
|
2022-07-27 13:39:29 +00:00
|
|
|
margin-right: 10px; /* same margin/padding as the rightmost button */
|
2021-04-21 19:49:58 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-24 02:37:10 +00:00
|
|
|
.mx_RoomStatusBar_connectionLostBar svg {
|
2018-04-11 23:23:35 +00:00
|
|
|
padding-left: 10px;
|
2019-02-01 16:52:57 +00:00
|
|
|
padding-right: 10px;
|
2018-04-11 23:23:35 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomStatusBar_connectionLostBar_title {
|
2021-11-11 13:37:29 +00:00
|
|
|
color: $alert;
|
2018-04-11 23:23:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomStatusBar_connectionLostBar_desc {
|
2021-08-12 09:27:12 +00:00
|
|
|
color: $primary-content;
|
2020-03-31 14:26:23 +00:00
|
|
|
font-size: $font-13px;
|
2018-04-11 23:23:35 +00:00
|
|
|
opacity: 0.5;
|
2018-06-27 14:19:27 +00:00
|
|
|
padding-bottom: 20px;
|
2018-04-11 23:23:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomStatusBar_resend_link {
|
2021-08-12 09:27:12 +00:00
|
|
|
color: $primary-content !important;
|
2019-04-09 14:05:39 +00:00
|
|
|
text-decoration: underline !important;
|
2018-04-11 23:23:35 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomStatusBar_typingBar {
|
|
|
|
height: 50px;
|
2023-06-29 10:30:25 +00:00
|
|
|
line-height: 50px;
|
2018-04-11 23:23:35 +00:00
|
|
|
|
2021-08-12 09:27:12 +00:00
|
|
|
color: $primary-content;
|
2018-04-11 23:23:35 +00:00
|
|
|
opacity: 0.5;
|
|
|
|
overflow-y: hidden;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MatrixChat_useCompactLayout {
|
2021-04-21 19:49:58 +00:00
|
|
|
.mx_RoomStatusBar:not(.mx_RoomStatusBar_unsentMessages) {
|
2018-04-11 23:23:35 +00:00
|
|
|
min-height: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomStatusBar_indicator {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomStatusBar_typingBar {
|
2019-04-09 14:03:13 +00:00
|
|
|
height: 40px;
|
2023-06-29 10:30:25 +00:00
|
|
|
line-height: 40px;
|
2018-04-11 23:23:35 +00:00
|
|
|
}
|
|
|
|
}
|