2015-06-23 16:41:25 +01:00
|
|
|
/*
|
2016-01-07 04:17:56 +00:00
|
|
|
Copyright 2015, 2016 OpenMarket Ltd
|
2015-06-23 16:41:25 +01:00
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
*/
|
|
|
|
|
|
2015-11-18 20:47:14 +00:00
|
|
|
.mx_MatrixChat_splash {
|
|
|
|
|
position: relative;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_MatrixChat_splashButtons {
|
|
|
|
|
text-align: center;
|
|
|
|
|
width: 100%;
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 30px;
|
|
|
|
|
}
|
|
|
|
|
|
2015-07-21 15:01:05 -07:00
|
|
|
.mx_MatrixChat_wrapper {
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -moz-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: -webkit-flex;
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
-webkit-flex-direction: column;
|
|
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_MatrixToolbar {
|
|
|
|
|
-webkit-box-ordinal-group: 1;
|
|
|
|
|
-moz-box-ordinal-group: 1;
|
|
|
|
|
-ms-flex-order: 1;
|
|
|
|
|
-webkit-order: 1;
|
|
|
|
|
order: 1;
|
|
|
|
|
|
2015-11-08 23:37:14 +00:00
|
|
|
height: 40px;
|
2015-07-21 15:01:05 -07:00
|
|
|
}
|
|
|
|
|
|
2016-01-28 13:00:44 +00:00
|
|
|
.mx_GuestWarningBar {
|
|
|
|
|
-webkit-box-ordinal-group: 1;
|
|
|
|
|
-moz-box-ordinal-group: 1;
|
|
|
|
|
-ms-flex-order: 1;
|
|
|
|
|
-webkit-order: 1;
|
|
|
|
|
order: 1;
|
|
|
|
|
|
|
|
|
|
height: 40px;
|
|
|
|
|
}
|
|
|
|
|
|
2015-07-21 15:01:05 -07:00
|
|
|
.mx_MatrixChat_toolbarShowing {
|
|
|
|
|
height: auto;
|
|
|
|
|
}
|
|
|
|
|
|
2015-06-15 15:50:24 +01:00
|
|
|
.mx_MatrixChat {
|
|
|
|
|
width: 100%;
|
2015-06-15 17:06:34 +01:00
|
|
|
height: 100%;
|
2015-06-15 15:50:24 +01:00
|
|
|
|
2015-07-07 02:10:10 +01:00
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -moz-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: -webkit-flex;
|
|
|
|
|
display: flex;
|
2015-07-21 15:01:05 -07:00
|
|
|
|
|
|
|
|
-webkit-box-ordinal-group: 2;
|
|
|
|
|
-moz-box-ordinal-group: 2;
|
|
|
|
|
-ms-flex-order: 2;
|
|
|
|
|
-webkit-order: 2;
|
|
|
|
|
order: 2;
|
|
|
|
|
|
|
|
|
|
-webkit-flex: 1;
|
|
|
|
|
flex: 1;
|
2015-07-07 02:10:10 +01:00
|
|
|
}
|
|
|
|
|
|
2015-07-13 01:51:24 +01:00
|
|
|
.mx_MatrixChat .mx_LeftPanel {
|
2015-07-07 02:10:10 +01:00
|
|
|
-webkit-box-ordinal-group: 1;
|
|
|
|
|
-moz-box-ordinal-group: 1;
|
|
|
|
|
-ms-flex-order: 1;
|
|
|
|
|
-webkit-order: 1;
|
|
|
|
|
order: 1;
|
|
|
|
|
|
2015-10-23 02:32:49 +01:00
|
|
|
background-color: #eaf5f0;
|
|
|
|
|
|
2015-11-08 12:59:19 +00:00
|
|
|
-webkit-flex: 0 0 210px;
|
|
|
|
|
flex: 0 0 210px;
|
2015-06-12 17:34:17 +01:00
|
|
|
}
|
2015-06-17 15:46:04 +01:00
|
|
|
|
2015-10-11 02:09:14 +01:00
|
|
|
.mx_MatrixChat .mx_LeftPanel.collapsed {
|
|
|
|
|
-webkit-flex: 0 0 60px;
|
2015-10-11 02:25:26 +01:00
|
|
|
flex: 0 0 60px;
|
2015-10-11 02:09:14 +01:00
|
|
|
}
|
|
|
|
|
|
2015-07-17 19:09:17 +01:00
|
|
|
.mx_MatrixChat .mx_MatrixChat_middlePanel {
|
2015-07-07 02:10:10 +01:00
|
|
|
-webkit-box-ordinal-group: 2;
|
|
|
|
|
-moz-box-ordinal-group: 2;
|
|
|
|
|
-ms-flex-order: 2;
|
|
|
|
|
-webkit-order: 2;
|
|
|
|
|
order: 2;
|
|
|
|
|
|
2015-11-08 12:48:23 +00:00
|
|
|
padding-left: 25px;
|
|
|
|
|
padding-right: 22px;
|
2015-10-23 02:32:49 +01:00
|
|
|
background-color: #fff;
|
2015-10-11 18:04:01 +01:00
|
|
|
|
|
|
|
|
-webkit-flex: 1;
|
|
|
|
|
flex: 1;
|
2015-07-21 15:01:05 -07:00
|
|
|
|
2016-02-17 12:43:42 +00:00
|
|
|
/* Experimental fix for https://github.com/vector-im/vector-web/issues/947
|
|
|
|
|
and https://github.com/vector-im/vector-web/issues/946.
|
|
|
|
|
Empirically this stops the MessagePanel's width exploding outwards when
|
|
|
|
|
gemini is in 'prevented' mode
|
|
|
|
|
*/
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
|
2015-07-21 15:01:05 -07:00
|
|
|
/* XXX: Hack: apparently if you try to nest a flex-box
|
|
|
|
|
* within a non-flex-box within a flex-box, the height
|
|
|
|
|
* of the innermost element gets miscalculated if the
|
2015-11-11 00:57:16 +01:00
|
|
|
* parents are both auto. Height has to be auto here
|
|
|
|
|
* for RoomView to correctly fit when the Toolbar is shown.
|
2015-07-21 15:01:05 -07:00
|
|
|
* Ideally we'd launch straight into the RoomView at this
|
|
|
|
|
* point, but instead we fudge it and make the middlePanel
|
|
|
|
|
* flex itself.
|
|
|
|
|
*/
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -moz-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: -webkit-flex;
|
|
|
|
|
display: flex;
|
2015-06-17 15:46:04 +01:00
|
|
|
}
|
|
|
|
|
|
2015-07-13 01:51:24 +01:00
|
|
|
.mx_MatrixChat .mx_RightPanel {
|
|
|
|
|
-webkit-box-ordinal-group: 3;
|
|
|
|
|
-moz-box-ordinal-group: 3;
|
|
|
|
|
-ms-flex-order: 3;
|
|
|
|
|
-webkit-order: 3;
|
|
|
|
|
order: 3;
|
2015-07-07 02:10:10 +01:00
|
|
|
|
2015-11-08 12:59:19 +00:00
|
|
|
-webkit-flex: 0 0 235px;
|
|
|
|
|
flex: 0 0 235px;
|
2015-06-17 15:46:04 +01:00
|
|
|
}
|
2015-10-11 02:25:26 +01:00
|
|
|
|
|
|
|
|
.mx_MatrixChat .mx_RightPanel.collapsed {
|
|
|
|
|
-webkit-flex: 0 0 72px;
|
|
|
|
|
flex: 0 0 72px;
|
|
|
|
|
}
|