2018-04-12 01:23:35 +02: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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_RoomPreviewBar {
|
2019-04-11 13:07:54 +02:00
|
|
|
flex: 0 0 auto;
|
2018-04-12 01:23:35 +02:00
|
|
|
align-items: center;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
display: flex;
|
|
|
|
-webkit-align-items: center;
|
|
|
|
|
2019-04-15 17:11:26 +02:00
|
|
|
h3 {
|
2020-03-31 16:26:23 +02:00
|
|
|
font-size: $font-18px;
|
2019-04-15 17:11:26 +02:00
|
|
|
font-weight: 600;
|
|
|
|
|
|
|
|
&.mx_RoomPreviewBar_spinnerTitle {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
}
|
2020-03-19 16:24:28 +01:00
|
|
|
|
|
|
|
h3,
|
|
|
|
.mx_RoomPreviewBar_message p {
|
|
|
|
// break-word, with fallback to break-all, which is wider supported
|
|
|
|
word-break: break-all;
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
2019-04-12 12:54:13 +02:00
|
|
|
|
2019-04-15 17:11:26 +02:00
|
|
|
.mx_Spinner {
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
margin: 10px 10px 10px 0;
|
2019-04-16 16:19:50 +02:00
|
|
|
flex: 0 0 auto;
|
2019-04-15 17:11:26 +02:00
|
|
|
}
|
2019-06-26 04:56:33 +02:00
|
|
|
|
|
|
|
.mx_RoomPreviewBar_footer {
|
2020-03-31 16:26:23 +02:00
|
|
|
font-size: $font-12px;
|
|
|
|
line-height: $font-20px;
|
2019-06-26 04:56:33 +02:00
|
|
|
|
|
|
|
.mx_Spinner {
|
|
|
|
vertical-align: middle;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
|
|
|
|
2019-04-15 17:11:26 +02:00
|
|
|
.mx_RoomPreviewBar_dark {
|
|
|
|
background-color: $tagpanel-bg-color;
|
|
|
|
color: $accent-fg-color;
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
|
|
|
|
2019-04-15 17:11:26 +02:00
|
|
|
.mx_RoomPreviewBar_actions {
|
|
|
|
display: flex;
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
|
|
|
|
2019-04-15 17:11:26 +02:00
|
|
|
.mx_RoomPreviewBar_message {
|
2018-04-12 01:23:35 +02:00
|
|
|
display: flex;
|
2019-04-16 16:19:50 +02:00
|
|
|
align-items: stretch;
|
|
|
|
|
|
|
|
p {
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
}
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
|
|
|
|
2019-04-15 17:11:26 +02:00
|
|
|
.mx_RoomPreviewBar_panel {
|
|
|
|
padding: 8px 8px 8px 20px;
|
|
|
|
border-top: 1px solid $panel-divider-color;
|
|
|
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
.mx_RoomPreviewBar_actions {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
flex-direction: row;
|
|
|
|
padding: 3px 8px;
|
|
|
|
|
2019-07-09 19:15:10 +02:00
|
|
|
& > * {
|
2019-04-15 17:11:26 +02:00
|
|
|
margin-left: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomPreviewBar_message {
|
|
|
|
flex: 1 0 0;
|
|
|
|
min-width: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
2019-07-09 19:15:10 +02:00
|
|
|
& > * {
|
2019-04-15 17:11:26 +02:00
|
|
|
margin: 4px;
|
|
|
|
}
|
|
|
|
}
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
2018-10-17 21:53:12 +02:00
|
|
|
|
2019-04-15 17:11:26 +02:00
|
|
|
.mx_RoomPreviewBar_dialog {
|
|
|
|
margin: auto;
|
|
|
|
box-sizing: content;
|
|
|
|
width: 400px;
|
|
|
|
border-radius: 4px;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: 20px;
|
2019-04-16 16:19:50 +02:00
|
|
|
text-align: center;
|
2019-04-15 17:11:26 +02:00
|
|
|
|
|
|
|
.mx_RoomPreviewBar_message {
|
|
|
|
flex-direction: column;
|
|
|
|
|
2019-07-09 19:15:10 +02:00
|
|
|
& > * {
|
2019-04-17 10:22:35 +02:00
|
|
|
margin: 5px 0 20px 0;
|
2019-04-15 17:11:26 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomPreviewBar_actions {
|
|
|
|
flex-direction: column-reverse;
|
2019-04-17 10:22:35 +02:00
|
|
|
.mx_AccessibleButton {
|
2020-01-23 13:27:25 +01:00
|
|
|
padding: 7px 50px; //extra wide
|
2019-04-17 10:22:35 +02:00
|
|
|
}
|
2019-04-15 17:11:26 +02:00
|
|
|
|
2019-07-09 19:15:10 +02:00
|
|
|
& > * {
|
2019-04-15 17:11:26 +02:00
|
|
|
margin-top: 12px;
|
|
|
|
}
|
2020-01-23 13:27:25 +01:00
|
|
|
.mx_AccessibleButton.mx_AccessibleButton_kind_primary {
|
|
|
|
// to account for the padding of the primary button which causes inconsistent look between
|
|
|
|
// subsequent secondary (text) buttons
|
|
|
|
margin-bottom: 7px;
|
|
|
|
}
|
2019-04-15 17:11:26 +02:00
|
|
|
}
|
2019-04-11 13:07:54 +02:00
|
|
|
}
|
2019-04-17 10:22:35 +02:00
|
|
|
|
|
|
|
.mx_RoomPreviewBar_inviter {
|
|
|
|
font-weight: 600;
|
2019-04-17 11:02:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
a.mx_RoomPreviewBar_inviter {
|
2019-04-17 10:57:45 +02:00
|
|
|
text-decoration: underline;
|
|
|
|
cursor: pointer;
|
2019-04-17 10:22:35 +02:00
|
|
|
}
|