mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-18 14:44:58 +08:00
185 lines
3.7 KiB
SCSS
185 lines
3.7 KiB
SCSS
/*
|
|
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.
|
|
*/
|
|
|
|
.mx_RoomStatusBar {
|
|
margin-left: 65px;
|
|
min-height: 50px;
|
|
}
|
|
|
|
/* position the indicator in the same place horizontally as .mx_EventTile_avatar. */
|
|
.mx_RoomStatusBar_indicator {
|
|
padding-left: 17px;
|
|
padding-right: 12px;
|
|
margin-left: -73px;
|
|
margin-top: 15px;
|
|
float: left;
|
|
width: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
.mx_RoomStatusBar_callBar {
|
|
height: 50px;
|
|
line-height: 50px;
|
|
}
|
|
|
|
.mx_RoomStatusBar_placeholderIndicator span {
|
|
color: $primary-fg-color;
|
|
opacity: 0.5;
|
|
position: relative;
|
|
top: -4px;
|
|
/*
|
|
animation-duration: 1s;
|
|
animation-name: bounce;
|
|
animation-direction: alternate;
|
|
animation-iteration-count: infinite;
|
|
*/
|
|
}
|
|
|
|
.mx_RoomStatusBar_placeholderIndicator span:nth-child(1) {
|
|
animation-delay: 0.3s;
|
|
}
|
|
.mx_RoomStatusBar_placeholderIndicator span:nth-child(2) {
|
|
animation-delay: 0.6s;
|
|
}
|
|
.mx_RoomStatusBar_placeholderIndicator span:nth-child(3) {
|
|
animation-delay: 0.9s;
|
|
}
|
|
|
|
@keyframes bounce {
|
|
from {
|
|
opacity: 0.5;
|
|
top: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 0.2;
|
|
top: -3px;
|
|
}
|
|
}
|
|
|
|
.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;
|
|
line-height: 24px;
|
|
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 {
|
|
display: flex;
|
|
|
|
margin-top: 19px;
|
|
min-height: 58px;
|
|
}
|
|
|
|
.mx_RoomStatusBar_connectionLostBar img {
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
vertical-align: middle;
|
|
float: left;
|
|
}
|
|
|
|
.mx_RoomStatusBar_connectionLostBar_title {
|
|
color: $warning-color;
|
|
}
|
|
|
|
.mx_RoomStatusBar_connectionLostBar_desc {
|
|
color: $primary-fg-color;
|
|
font-size: 13px;
|
|
opacity: 0.5;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
.mx_RoomStatusBar_resend_link {
|
|
color: $primary-fg-color !important;
|
|
text-decoration: underline !important;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mx_RoomStatusBar_typingBar {
|
|
height: 50px;
|
|
line-height: 50px;
|
|
|
|
color: $primary-fg-color;
|
|
opacity: 0.5;
|
|
overflow-y: hidden;
|
|
display: block;
|
|
}
|
|
|
|
.mx_RoomStatusBar_isAlone {
|
|
height: 50px;
|
|
line-height: 50px;
|
|
|
|
color: $primary-fg-color;
|
|
opacity: 0.5;
|
|
overflow-y: hidden;
|
|
display: block;
|
|
}
|
|
|
|
.mx_MatrixChat_useCompactLayout {
|
|
.mx_RoomStatusBar {
|
|
min-height: 40px;
|
|
}
|
|
|
|
.mx_RoomStatusBar_indicator {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.mx_RoomStatusBar_callBar {
|
|
height: 40px;
|
|
line-height: 40px;
|
|
}
|
|
|
|
.mx_RoomStatusBar_typingBar {
|
|
height: 40px;
|
|
line-height: 40px;
|
|
}
|
|
}
|