riot-web/skins/base/css/organisms/RoomView.css

121 lines
2.4 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 16:50:24 +02:00
word-wrap: break-word;
position: relative;
2015-06-17 16:46:04 +02:00
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
2015-07-13 02:51:24 +02:00
display: flex;
width: 100%;
height: 100%;
2015-07-13 02:51:24 +02:00
flex-direction: column;
-webkit-flex-direction: column;
}
2015-07-13 02:51:24 +02: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 16:46:04 +02:00
-webkit-flex: 0 0 88px;
flex: 0 0 88px;
}
2015-07-13 02:51:24 +02: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-15 05:16:38 +02:00
max-width: 720px;
2015-07-13 02:51:24 +02:00
width: 100%;
2015-07-15 05:16:38 +02:00
margin: auto;
2015-07-13 02:51:24 +02:00
height: 0%;
}
.mx_RoomView_messagePanel {
-webkit-box-ordinal-group: 3;
-moz-box-ordinal-group: 3;
-ms-flex-order: 3;
-webkit-order: 3;
order: 3;
width: 100%;
height: 100%;
2015-07-18 02:21:56 +02:00
margin-top: 1px;
margin-bottom: 18px;
2015-07-13 02:51:24 +02:00
overflow-y: scroll;
}
2015-07-13 02:51:24 +02:00
.mx_RoomView_messageListWrapper {
max-width: 720px;
margin: auto;
}
.mx_RoomView_MessageList {
width: 100%;
}
2015-07-17 01:12:36 +02:00
.mx_RoomView_MessageList h2 {
clear: both;
margin-top: 32px;
margin-bottom: 8px;
padding-bottom: 6px;
border-bottom: 1px solid #a8dbf3;
}
2015-07-13 02:51:24 +02:00
.mx_RoomView_invitePrompt {
}
2015-07-18 02:21:56 +02:00
.mx_RoomView_statusArea {
2015-07-13 02:51:24 +02:00
-webkit-box-ordinal-group: 4;
-moz-box-ordinal-group: 4;
-ms-flex-order: 4;
-webkit-order: 4;
order: 4;
2015-07-18 02:21:56 +02:00
width: 100%;
-webkit-flex: 0 0 58px;
flex: 0 0 58px;
}
.mx_RoomView_statusAreaBox {
max-width: 720px;
margin: auto;
border-top: 1px solid #a8dbf3;
}
.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-07-15 05:16:38 +02:00
-webkit-flex: 0 0 63px;
flex: 0 0 63px;
2015-07-15 05:21:32 +02:00
margin-right: 2px;
2015-06-17 16:46:04 +02:00
}