2015-06-23 16:41:25 +01:00
|
|
|
/*
|
|
|
|
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.
|
|
|
|
*/
|
|
|
|
|
2015-06-12 17:34:17 +01:00
|
|
|
.mx_RoomHeader {
|
|
|
|
}
|
2015-07-13 01:51:24 +01:00
|
|
|
|
|
|
|
.mx_RoomHeader_wrapper {
|
2015-10-23 02:32:49 +01:00
|
|
|
max-width: 960px;
|
2015-07-14 12:11:01 +01:00
|
|
|
margin: auto;
|
2015-10-24 20:19:54 +01:00
|
|
|
height: 83px;
|
2015-10-23 02:32:49 +01:00
|
|
|
border-bottom: 1px solid #eeeeee;
|
2015-07-15 04:16:38 +01:00
|
|
|
|
2015-12-11 03:39:13 +00:00
|
|
|
-webkit-align-items: center;
|
|
|
|
align-items: center;
|
|
|
|
|
2015-07-15 04:16:38 +01:00
|
|
|
display: -webkit-box;
|
|
|
|
display: -moz-box;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: -webkit-flex;
|
2015-07-16 22:39:10 +01:00
|
|
|
display: flex;
|
2015-07-13 01:51:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomHeader_leftRow {
|
2015-11-08 12:48:23 +00:00
|
|
|
margin-left: -2px;
|
2015-07-15 04:16:38 +01:00
|
|
|
|
|
|
|
-webkit-box-ordinal-group: 1;
|
|
|
|
-moz-box-ordinal-group: 1;
|
|
|
|
-ms-flex-order: 1;
|
|
|
|
-webkit-order: 1;
|
|
|
|
order: 1;
|
2015-07-15 04:26:25 +01:00
|
|
|
|
2015-08-11 21:00:33 +01:00
|
|
|
-webkit-flex: 1;
|
2015-07-21 23:19:24 -07:00
|
|
|
flex: 1;
|
2015-07-13 01:51:24 +01:00
|
|
|
}
|
|
|
|
|
2015-07-21 23:19:24 -07:00
|
|
|
.mx_RoomHeader_textButton {
|
2015-07-15 04:16:38 +01:00
|
|
|
height: 48px;
|
2015-10-23 02:32:49 +01:00
|
|
|
background-color: #76cfa6;
|
2015-07-15 04:16:38 +01:00
|
|
|
border-radius: 48px;
|
2015-07-20 12:09:24 -07:00
|
|
|
margin-right: 8px;
|
|
|
|
color: #fff;
|
|
|
|
line-height: 48px;
|
|
|
|
text-align: center;
|
2015-07-15 04:16:38 +01:00
|
|
|
|
|
|
|
-webkit-box-ordinal-group: 2;
|
|
|
|
-moz-box-ordinal-group: 2;
|
|
|
|
-ms-flex-order: 2;
|
|
|
|
-webkit-order: 2;
|
|
|
|
order: 2;
|
|
|
|
|
2015-08-12 01:33:25 +01:00
|
|
|
cursor: pointer;
|
|
|
|
|
2015-08-14 17:08:31 +01:00
|
|
|
/*
|
2015-07-20 12:09:24 -07:00
|
|
|
-webkit-flex: 0 0 90px;
|
|
|
|
flex: 0 0 90px;
|
2015-08-14 17:08:31 +01:00
|
|
|
*/
|
|
|
|
padding-left: 12px;
|
|
|
|
padding-right: 12px;
|
|
|
|
}
|
2015-07-20 12:09:24 -07:00
|
|
|
|
|
|
|
.mx_RoomHeader_rightRow {
|
2015-12-11 03:39:13 +00:00
|
|
|
margin-top: 4px;
|
2015-07-20 12:09:24 -07:00
|
|
|
background-color: #fff;
|
|
|
|
|
|
|
|
-webkit-box-ordinal-group: 3;
|
|
|
|
-moz-box-ordinal-group: 3;
|
|
|
|
-ms-flex-order: 3;
|
|
|
|
-webkit-order: 3;
|
|
|
|
order: 3;
|
2015-07-13 01:51:24 +01:00
|
|
|
}
|
|
|
|
|
2015-07-15 04:16:38 +01:00
|
|
|
.mx_RoomHeader_info {
|
2015-07-14 12:11:01 +01:00
|
|
|
display: table-cell;
|
2015-12-12 17:30:08 +00:00
|
|
|
/* height: 48px; */
|
2015-07-14 12:11:01 +01:00
|
|
|
vertical-align: middle;
|
2015-07-15 04:16:38 +01:00
|
|
|
}
|
|
|
|
|
2015-07-20 20:11:24 -07:00
|
|
|
.mx_RoomHeader_simpleHeader {
|
2015-10-24 20:19:54 +01:00
|
|
|
line-height: 83px;
|
2015-11-11 01:59:56 +01:00
|
|
|
color: #454545;
|
2015-11-30 17:17:09 +00:00
|
|
|
font-size: 22px;
|
2015-11-11 01:59:56 +01:00
|
|
|
font-weight: bold;
|
2015-08-07 16:57:16 +01:00
|
|
|
overflow: hidden;
|
2015-11-17 02:15:55 +00:00
|
|
|
margin-left: 63px;
|
2015-07-20 20:11:24 -07:00
|
|
|
text-overflow: ellipsis;
|
2015-11-17 02:15:55 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomHeader_simpleHeaderCancel {
|
|
|
|
float: right;
|
|
|
|
margin-top: 8px;
|
|
|
|
padding: 24px;
|
|
|
|
cursor: pointer;
|
2015-07-20 20:11:24 -07:00
|
|
|
}
|
|
|
|
|
2015-07-15 04:16:38 +01:00
|
|
|
.mx_RoomHeader_name {
|
2015-10-25 01:52:28 +00:00
|
|
|
cursor: pointer;
|
2015-07-15 04:16:38 +01:00
|
|
|
vertical-align: middle;
|
|
|
|
height: 28px;
|
2015-12-12 17:30:08 +00:00
|
|
|
overflow: hidden;
|
2015-10-23 02:32:49 +01:00
|
|
|
color: #454545;
|
2015-11-11 01:59:56 +01:00
|
|
|
font-weight: bold;
|
2015-11-30 17:17:09 +00:00
|
|
|
font-size: 22px;
|
2015-11-08 12:48:23 +00:00
|
|
|
padding-left: 19px;
|
2015-07-14 12:11:01 +01:00
|
|
|
padding-right: 16px;
|
2015-12-12 17:30:08 +00:00
|
|
|
/* why isn't text-overflow working? */
|
2015-07-17 18:42:20 +01:00
|
|
|
text-overflow: ellipsis;
|
2015-07-13 01:51:24 +01:00
|
|
|
}
|
|
|
|
|
2015-10-25 01:52:28 +00:00
|
|
|
.mx_RoomHeader_nametext {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2015-12-11 02:58:47 +00:00
|
|
|
.mx_RoomHeader_searchStatus {
|
|
|
|
display: inline-block;
|
|
|
|
font-weight: normal;
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
|
2015-10-25 01:52:28 +00:00
|
|
|
.mx_RoomHeader_settingsButton {
|
|
|
|
display: inline-block;
|
|
|
|
visibility: hidden;
|
|
|
|
position: relative;
|
|
|
|
bottom: 10px;
|
|
|
|
left: 4px;
|
|
|
|
}
|
|
|
|
|
2015-12-10 19:48:05 +00:00
|
|
|
.mx_RoomHeader_leftRow:hover .mx_RoomHeader_name {
|
2015-10-25 01:52:28 +00:00
|
|
|
color: #76cfa6;
|
|
|
|
}
|
|
|
|
|
2015-12-10 19:48:05 +00:00
|
|
|
.mx_RoomHeader_leftRow:hover .mx_RoomHeader_settingsButton {
|
2015-10-25 01:52:28 +00:00
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
2015-12-13 13:49:54 +00:00
|
|
|
.mx_RoomHeader_leaveButton {
|
|
|
|
visibility: hidden;
|
|
|
|
margin-top: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomHeader_wrapper:hover .mx_RoomHeader_leaveButton {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-07-21 23:19:24 -07:00
|
|
|
.mx_RoomHeader_nameEditing {
|
2015-10-25 02:09:06 +00:00
|
|
|
padding-left: 8px;
|
2015-07-21 23:19:24 -07:00
|
|
|
padding-right: 16px;
|
|
|
|
margin-top: -5px;
|
|
|
|
}
|
|
|
|
|
2015-10-11 17:28:36 +01:00
|
|
|
.mx_RoomHeader_name input, .mx_RoomHeader_nameInput {
|
2015-07-21 23:19:24 -07:00
|
|
|
border-radius: 3px;
|
|
|
|
width: 260px;
|
|
|
|
border: 1px solid #c7c7c7;
|
|
|
|
font-weight: 300;
|
2015-11-30 17:17:09 +00:00
|
|
|
font-size: 13px;
|
2015-07-21 23:19:24 -07:00
|
|
|
padding: 9px;
|
2015-10-11 17:28:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomHeader_nameInput {
|
2015-07-21 23:19:24 -07:00
|
|
|
margin-top: 6px;
|
|
|
|
}
|
|
|
|
|
2015-07-15 04:16:38 +01:00
|
|
|
.mx_RoomHeader_topic {
|
|
|
|
vertical-align: bottom;
|
|
|
|
float: left;
|
2015-12-11 03:39:13 +00:00
|
|
|
max-height: 42px;
|
2015-10-23 02:32:49 +01:00
|
|
|
color: #454545;
|
2015-07-18 00:48:22 +01:00
|
|
|
font-weight: 300;
|
2015-11-08 12:48:23 +00:00
|
|
|
padding-left: 19px;
|
2015-07-15 04:16:38 +01:00
|
|
|
padding-right: 16px;
|
2015-08-07 16:01:39 +01:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2015-07-15 04:16:38 +01:00
|
|
|
}
|
|
|
|
|
2015-07-13 01:51:24 +01:00
|
|
|
.mx_RoomHeader_avatar {
|
2015-07-14 12:11:01 +01:00
|
|
|
display: table-cell;
|
2015-07-16 22:39:10 +01:00
|
|
|
width: 48px;
|
2015-07-14 12:11:01 +01:00
|
|
|
height: 50px;
|
|
|
|
vertical-align: middle;
|
2015-07-13 01:51:24 +01:00
|
|
|
}
|
|
|
|
|
2015-07-15 04:16:38 +01:00
|
|
|
.mx_RoomHeader_avatar img {
|
|
|
|
border-radius: 24px;
|
|
|
|
}
|
|
|
|
|
2015-07-13 01:51:24 +01:00
|
|
|
.mx_RoomHeader_button {
|
2015-07-14 12:11:01 +01:00
|
|
|
display: table-cell;
|
2015-10-25 02:36:27 +00:00
|
|
|
vertical-align: top;
|
2015-07-15 04:16:38 +01:00
|
|
|
padding-left: 8px;
|
|
|
|
padding-right: 8px;
|
2015-07-24 11:25:19 +03:00
|
|
|
}
|
2015-07-24 10:57:28 +02:00
|
|
|
|
|
|
|
.mx_RoomHeader_button img {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2015-10-20 09:55:34 +01:00
|
|
|
|
|
|
|
.mx_RoomHeader_voipButton {
|
|
|
|
display: table-cell;
|
|
|
|
}
|
2015-10-20 10:22:23 +01:00
|
|
|
|
|
|
|
.mx_RoomHeader_voipButtons {
|
|
|
|
margin-top: 18px;
|
2015-10-25 01:52:28 +00:00
|
|
|
}
|