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