mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
4e773c2665
Also move bg color central.
137 lines
2.4 KiB
SCSS
137 lines
2.4 KiB
SCSS
/*
|
|
Copyright 2015, 2016 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_MemberInfo {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.mx_MemberInfo_name {
|
|
align-items: center;
|
|
display: flex;
|
|
}
|
|
|
|
.mx_MemberInfo_cancel {
|
|
height: 16px;
|
|
padding: 10px 15px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mx_MemberInfo_name h2 {
|
|
flex: 1;
|
|
}
|
|
|
|
.mx_MemberInfo h2 {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
margin: 16px 0;
|
|
}
|
|
|
|
.mx_MemberInfo_container {
|
|
padding: 8px;
|
|
}
|
|
|
|
.mx_MemberInfo .mx_RoomTile_nameContainer {
|
|
width: 154px;
|
|
}
|
|
|
|
.mx_MemberInfo .mx_RoomTile_badge {
|
|
display: none;
|
|
}
|
|
|
|
.mx_MemberInfo .mx_RoomTile_name {
|
|
width: 160px;
|
|
}
|
|
|
|
.mx_MemberInfo_avatar {
|
|
background: $tagpanel-bg-color;
|
|
}
|
|
|
|
.mx_MemberInfo_avatar > img {
|
|
height: auto;
|
|
width: 100%;
|
|
max-height: 30vh;
|
|
object-fit: contain;
|
|
display: block;
|
|
}
|
|
|
|
.mx_MemberInfo_avatar .mx_BaseAvatar {
|
|
}
|
|
|
|
.mx_MemberInfo_avatar .mx_BaseAvatar.mx_BaseAvatar_image {
|
|
cursor: zoom-in;
|
|
}
|
|
|
|
.mx_MemberInfo_profile {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.mx_MemberInfo h3 {
|
|
text-transform: uppercase;
|
|
color: $h3-color;
|
|
font-weight: 600;
|
|
font-size: 13px;
|
|
margin-top: 16px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.mx_MemberInfo_profileField {
|
|
font-size: 13px;
|
|
position: relative;
|
|
}
|
|
|
|
.mx_MemberInfo_buttons {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.mx_MemberInfo_field {
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
color: $accent-color;
|
|
margin-left: 8px;
|
|
line-height: 23px;
|
|
}
|
|
|
|
.mx_MemberInfo_createRoom {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mx_MemberInfo_createRoom_label {
|
|
width: initial ! important;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mx_MemberInfo label {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.mx_MemberInfo label .mx_MemberInfo_label_text {
|
|
display: inline-block;
|
|
max-width: 180px;
|
|
vertical-align: text-top;
|
|
}
|
|
|
|
.mx_MemberInfo input[type="radio"] {
|
|
vertical-align: -2px;
|
|
margin-right: 5px;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.mx_MemberInfo .mx_MemberInfo_scrollContainer {
|
|
flex: 1;
|
|
}
|