element-web/src/skins/vector/css/organisms/RoomView.css

289 lines
5.3 KiB
CSS
Raw Normal View History

/*
Copyright 2015 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_RoomView {
2015-06-15 17:50:24 +03:00
word-wrap: break-word;
position: relative;
2015-06-17 17:46:04 +03:00
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
2015-07-13 03:51:24 +03:00
display: flex;
width: 100%;
2015-07-13 03:51:24 +03:00
flex-direction: column;
-webkit-flex-direction: column;
}
2015-07-13 03:51:24 +03:00
.mx_RoomView .mx_RoomHeader {
-webkit-box-ordinal-group: 1;
-moz-box-ordinal-group: 1;
-ms-flex-order: 1;
-webkit-order: 1;
order: 1;
2015-06-17 17:46:04 +03:00
2015-10-24 22:19:54 +03:00
-webkit-flex: 0 0 83px;
flex: 0 0 83px;
}
.mx_RoomView_fileDropTarget {
min-width: 0px;
2015-10-23 04:32:49 +03:00
max-width: 960px;
width: 100%;
font-size: 20px;
text-align: center;
pointer-events: none;
padding-left: 12px;
padding-right: 12px;
margin-left: -12px;
-webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
background-color: rgba(255, 255, 255, 0.9);
2015-10-26 02:13:03 +03:00
border: 2px #e1dddd solid;
border-bottom: none;
position: absolute;
2015-10-26 02:13:03 +03:00
top: 83px;
bottom: 0px;
z-index: 3000;
}
.mx_RoomView_fileDropTargetLabel {
top: 50%;
width: 100%;
margin-top: -50px;
position: absolute;
}
2015-07-13 03:51:24 +03:00
.mx_RoomView_auxPanel {
-webkit-box-ordinal-group: 2;
-moz-box-ordinal-group: 2;
-ms-flex-order: 2;
-webkit-order: 2;
order: 2;
2015-07-22 09:19:24 +03:00
min-width: 0px;
2015-10-23 04:32:49 +03:00
max-width: 960px;
2015-07-13 03:51:24 +03:00
width: 100%;
2015-07-15 06:16:38 +03:00
margin: auto;
overflow: auto;
2015-10-23 04:32:49 +03:00
border-bottom: 1px solid #eee;
2015-07-22 09:19:24 +03:00
-webkit-flex: 0 0 auto;
flex: 0 0 auto;
2015-07-13 03:51:24 +03:00
}
.mx_RoomView_messagePanel {
-webkit-box-ordinal-group: 3;
-moz-box-ordinal-group: 3;
-ms-flex-order: 3;
-webkit-order: 3;
order: 3;
2015-07-23 10:30:09 +03:00
-webkit-flex: 1 1 0;
flex: 1 1 0;
2015-07-23 10:30:09 +03:00
width: 100%;
2015-07-13 03:51:24 +03:00
overflow-y: auto;
}
2015-07-13 03:51:24 +03:00
.mx_RoomView_messageListWrapper {
2015-10-23 04:32:49 +03:00
max-width: 960px;
2015-07-13 03:51:24 +03:00
margin: auto;
}
.mx_RoomView_MessageList {
width: 100%;
list-style-type: none;
padding: 0px;
2015-07-13 03:51:24 +03:00
}
.mx_RoomView_MessageList li {
clear: both;
}
2015-07-17 02:12:36 +03:00
.mx_RoomView_MessageList h2 {
clear: both;
margin-top: 32px;
margin-bottom: 8px;
margin-left: 63px;
2015-07-17 02:12:36 +03:00
padding-bottom: 6px;
2015-10-23 04:32:49 +03:00
border-bottom: 1px solid #eee;
2015-07-17 02:12:36 +03:00
}
2015-07-13 03:51:24 +03:00
.mx_RoomView_invitePrompt {
2015-07-23 21:01:28 +03:00
-webkit-box-ordinal-group: 2;
-moz-box-ordinal-group: 2;
-ms-flex-order: 2;
-webkit-order: 2;
order: 2;
min-width: 0px;
2015-10-23 04:32:49 +03:00
max-width: 960px;
2015-07-23 21:01:28 +03:00
width: 100%;
margin: auto;
margin-top: 12px;
margin-bottom: 12px;
}
2015-07-18 03:21:56 +03:00
.mx_RoomView_statusArea {
2015-07-13 03:51:24 +03:00
-webkit-box-ordinal-group: 4;
-moz-box-ordinal-group: 4;
-ms-flex-order: 4;
-webkit-order: 4;
order: 4;
2015-07-18 03:21:56 +03:00
width: 100%;
-webkit-flex: 0 0 auto;
flex: 0 0 auto;
2015-07-18 03:21:56 +03:00
}
.mx_RoomView_statusAreaBox {
2015-10-23 04:32:49 +03:00
max-width: 960px;
2015-07-20 17:07:51 +03:00
margin: auto;
min-height: 36px;
2015-10-23 04:32:49 +03:00
}
.mx_RoomView_statusAreaBox_line {
border-top: 1px solid #eee;
margin-left: 63px;
2015-10-23 04:32:49 +03:00
height: 1px;
2015-07-18 03:21:56 +03:00
}
.mx_RoomView_unreadMessagesBar {
2015-10-25 05:09:16 +03:00
color: #ff0064;
cursor: pointer;
2015-10-25 05:09:16 +03:00
margin-top: 5px;
}
.mx_RoomView_unreadMessagesBar img {
2015-10-25 05:09:16 +03:00
padding-left: 10px;
padding-right: 22px;
2015-10-25 05:09:16 +03:00
vertical-align: middle;
}
2015-11-05 17:52:44 +03:00
.mx_RoomView_connectionLostBar {
margin-top: 19px;
height: 58px;
2015-11-05 17:52:44 +03:00
}
.mx_RoomView_connectionLostBar img {
padding-left: 10px;
padding-right: 22px;
vertical-align: middle;
float: left;
}
.mx_RoomView_connectionLostBar_title {
color: #ff0064;
2015-11-05 17:52:44 +03:00
}
.mx_RoomView_connectionLostBar_desc {
color: #454545;
font-size: 14px;
opacity: 0.5;
2015-11-05 17:52:44 +03:00
}
.mx_RoomView_resend_link {
color: #454545 ! important;
text-decoration: underline ! important;
cursor: pointer;
}
.mx_RoomView_typingBar {
2015-10-23 13:19:13 +03:00
margin-top: 10px;
margin-left: 63px;
2015-10-23 13:19:13 +03:00
color: #4a4a4a;
opacity: 0.5;
}
2015-10-23 13:19:13 +03:00
.mx_RoomView_typingImage {
display: inline;
margin-left: -47px;
2015-10-23 13:19:13 +03:00
margin-top: -4px;
float: left;
}
2015-07-18 03:21:56 +03:00
.mx_RoomView .mx_MessageComposer {
-webkit-box-ordinal-group: 5;
-moz-box-ordinal-group: 5;
-ms-flex-order: 5;
-webkit-order: 5;
order: 5;
width: 100%;
2015-10-23 04:32:49 +03:00
-webkit-flex: 0 0 70px;
flex: 0 0 70px;
2015-07-15 06:21:32 +03:00
margin-right: 2px;
2015-06-17 17:46:04 +03:00
}
2015-07-20 05:02:04 +03:00
.mx_RoomView_uploadProgressOuter {
height: 4px;
margin-left: 63px;
2015-10-23 19:43:40 +03:00
margin-top: -1px;
2015-07-20 05:02:04 +03:00
}
.mx_RoomView_uploadProgressInner {
2015-10-23 04:32:49 +03:00
background-color: #76cfa6;
height: 4px;
}
.mx_RoomView_uploadFilename {
2015-10-23 19:43:40 +03:00
margin-top: 5px;
margin-left: 65px;
2015-10-23 19:43:40 +03:00
opacity: 0.5;
color: #4a4a4a;
}
2015-10-12 00:51:00 +03:00
.mx_RoomView_uploadIcon {
float: left;
2015-10-23 19:43:40 +03:00
margin-top: 1px;
margin-left: 14px;
2015-10-12 00:51:00 +03:00
}
.mx_RoomView_uploadCancel {
float: right;
2015-10-23 19:43:40 +03:00
margin-top: 5px;
2015-10-12 00:51:00 +03:00
margin-right: 10px;
}
.mx_RoomView_uploadBytes {
float: right;
2015-10-23 19:43:40 +03:00
margin-top: 5px;
margin-right: 30px;
color: #76cfa6;
2015-07-20 05:02:04 +03:00
}
.mx_RoomView_ongoingConfCallNotification {
width: 100%;
text-align: center;
background-color: #ff0064;
color: #fff;
font-weight: bold;
padding: 6px 0;
}