element-web/src/skins/vector/css/molecules/RoomHeader.css

170 lines
3.2 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_RoomHeader {
}
2015-07-13 03:51:24 +03:00
.mx_RoomHeader_wrapper {
max-width: 720px;
margin: auto;
height: 88px;
border-bottom: 1px solid #a8dbf3;
2015-07-15 06:16:38 +03:00
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
2015-07-17 00:39:10 +03:00
display: flex;
2015-07-13 03:51:24 +03:00
}
.mx_RoomHeader_leftRow {
2015-07-15 06:16:38 +03:00
height: 48px;
margin-top: 18px;
2015-07-15 06:16:38 +03:00
-webkit-box-ordinal-group: 1;
-moz-box-ordinal-group: 1;
-ms-flex-order: 1;
-webkit-order: 1;
order: 1;
2015-07-15 06:26:25 +03:00
-webkit-flex: 1;
2015-07-22 09:19:24 +03:00
flex: 1;
2015-07-13 03:51:24 +03:00
}
2015-07-22 09:19:24 +03:00
.mx_RoomHeader_textButton {
2015-07-15 06:16:38 +03:00
height: 48px;
margin-top: 18px;
background-color: #80cef4;
2015-07-15 06:16:38 +03:00
border-radius: 48px;
margin-right: 8px;
color: #fff;
line-height: 48px;
text-align: center;
2015-07-15 06:16:38 +03:00
-webkit-box-ordinal-group: 2;
-moz-box-ordinal-group: 2;
-ms-flex-order: 2;
-webkit-order: 2;
order: 2;
cursor: pointer;
/*
-webkit-flex: 0 0 90px;
flex: 0 0 90px;
*/
padding-left: 12px;
padding-right: 12px;
}
.mx_RoomHeader_rightRow {
height: 48px;
margin-top: 18px;
background-color: #fff;
border-radius: 48px;
border: 1px solid #a9dbf4;
-webkit-box-ordinal-group: 3;
-moz-box-ordinal-group: 3;
-ms-flex-order: 3;
-webkit-order: 3;
order: 3;
2015-07-13 03:51:24 +03:00
}
2015-07-15 06:16:38 +03:00
.mx_RoomHeader_info {
display: table-cell;
2015-07-15 06:16:38 +03:00
height: 48px;
vertical-align: middle;
2015-07-15 06:16:38 +03:00
}
.mx_RoomHeader_simpleHeader {
line-height: 88px;
color: #80cef4;
font-weight: 400;
font-size: 20px;
2015-08-07 18:57:16 +03:00
overflow: hidden;
text-overflow: ellipsis;
}
2015-07-15 06:16:38 +03:00
.mx_RoomHeader_name {
vertical-align: middle;
height: 28px;
color: #80cef4;
font-weight: 400;
2015-07-18 02:48:22 +03:00
font-size: 20px;
padding-left: 16px;
padding-right: 16px;
text-overflow: ellipsis;
2015-07-13 03:51:24 +03:00
}
2015-07-22 09:19:24 +03:00
.mx_RoomHeader_nameEditing {
padding-left: 16px;
padding-right: 16px;
margin-top: -5px;
}
.mx_RoomHeader_name input, .mx_RoomHeader_nameInput {
2015-07-22 09:19:24 +03:00
border-radius: 3px;
width: 260px;
border: 1px solid #c7c7c7;
font-weight: 300;
font-size: 14px;
padding: 9px;
}
.mx_RoomHeader_nameInput {
2015-07-22 09:19:24 +03:00
margin-top: 6px;
}
2015-07-15 06:16:38 +03:00
.mx_RoomHeader_topic {
vertical-align: bottom;
float: left;
max-height: 38px;
2015-07-18 02:48:22 +03:00
color: #70b5d7;
font-weight: 300;
2015-07-15 06:16:38 +03:00
padding-left: 16px;
padding-right: 16px;
overflow: hidden;
text-overflow: ellipsis;
2015-07-15 06:16:38 +03:00
}
2015-07-13 03:51:24 +03:00
.mx_RoomHeader_avatar {
display: table-cell;
2015-07-17 00:39:10 +03:00
width: 48px;
height: 50px;
vertical-align: middle;
2015-07-13 03:51:24 +03:00
}
2015-07-15 06:16:38 +03:00
.mx_RoomHeader_avatar img {
border-radius: 24px;
}
2015-07-13 03:51:24 +03:00
.mx_RoomHeader_button {
2015-07-15 06:16:38 +03:00
height: 48px;
display: table-cell;
vertical-align: middle;
2015-07-15 06:16:38 +03:00
padding-left: 8px;
padding-right: 8px;
2015-07-24 11:25:19 +03:00
}
2015-07-24 11:57:28 +03:00
.mx_RoomHeader_button img {
cursor: pointer;
}
.mx_RoomHeader_voipButton {
display: table-cell;
}