2019-01-22 08:27:43 +08:00
|
|
|
.mx_GeneralSettingsTab_profile {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GeneralSettingsTab_profileControls {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GeneralSettingsTab_profileControls .mx_Field #profileDisplayName {
|
|
|
|
width: calc(100% - 20px); // subtract 10px padding on left and right
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GeneralSettingsTab_profileAvatar {
|
|
|
|
width: 88px;
|
|
|
|
height: 88px;
|
|
|
|
margin-left: 13px;
|
2019-01-22 13:39:49 +08:00
|
|
|
position: relative;
|
|
|
|
cursor: pointer;
|
2019-01-22 08:27:43 +08:00
|
|
|
}
|
|
|
|
|
2019-01-22 13:39:49 +08:00
|
|
|
.mx_GeneralSettingsTab_profileAvatar > * {
|
2019-01-19 11:22:36 +08:00
|
|
|
display: block;
|
2019-01-22 08:27:43 +08:00
|
|
|
width: 88px;
|
|
|
|
height: 88px;
|
2019-01-19 11:22:36 +08:00
|
|
|
border-radius: 4px;
|
2019-01-22 13:39:49 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GeneralSettingsTab_profileAvatar .mx_GeneralSettingsTab_profileAvatarPlaceholder {
|
|
|
|
background-color: $settings-profile-placeholder-bg-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GeneralSettingsTab_profileAvatarOverlay {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
display: none;
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: middle;
|
|
|
|
font-size: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GeneralSettingsTab_profileAvatar:hover .mx_GeneralSettingsTab_profileAvatarOverlay {
|
|
|
|
display: inline-block;
|
|
|
|
opacity: 0.5 !important;
|
|
|
|
color: $settings-profile-overlay-fg-color !important;
|
|
|
|
background-color: $settings-profile-overlay-bg-color !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GeneralSettingsTab_profileAvatarOverlay_show {
|
|
|
|
display: inline-block;
|
|
|
|
opacity: 1;
|
|
|
|
color: $settings-profile-overlay-placeholder-fg-color;
|
|
|
|
background-color: $settings-profile-overlay-placeholder-bg-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GeneralSettingsTab_profileAvatarOverlayText {
|
|
|
|
display: block;
|
|
|
|
margin-top: 17px;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GeneralSettingsTab_profileAvatarOverlayImgContainer {
|
|
|
|
position: relative;
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GeneralSettingsTab_profileAvatarOverlayImg:before {
|
|
|
|
background-color: $settings-profile-overlay-placeholder-fg-color;
|
|
|
|
mask: url("$(res)/img/feather-icons/upload.svg");
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-size: 14px;
|
|
|
|
mask-position: center;
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GeneralSettingsTab_profileAvatar:hover .mx_GeneralSettingsTab_profileAvatarOverlayImg:before {
|
|
|
|
background-color: $settings-profile-overlay-fg-color !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GeneralSettingsTab_profileAvatarUpload {
|
|
|
|
display: none;
|
2019-01-19 11:22:36 +08:00
|
|
|
}
|