mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-15 21:51:59 +03:00
65 lines
1.7 KiB
SCSS
65 lines
1.7 KiB
SCSS
/*
|
|
Copyright 2019 The Matrix.org Foundation C.I.C.
|
|
|
|
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_AvatarSetting_avatar {
|
|
width: $font-88px;
|
|
height: $font-88px;
|
|
margin-left: 13px;
|
|
position: relative;
|
|
|
|
& > * {
|
|
width: $font-88px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.mx_AccessibleButton.mx_AccessibleButton_kind_primary {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.mx_AccessibleButton.mx_AccessibleButton_kind_link_sm {
|
|
color: $button-danger-bg-color;
|
|
}
|
|
|
|
& > img {
|
|
cursor: pointer;
|
|
object-fit: cover;
|
|
}
|
|
|
|
& > img,
|
|
.mx_AvatarSetting_avatarPlaceholder {
|
|
display: block;
|
|
height: $font-88px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.mx_AvatarSetting_avatarPlaceholder::before {
|
|
background-color: $settings-profile-overlay-placeholder-fg-color;
|
|
mask: url("$(res)/img/feather-customised/user.svg");
|
|
mask-repeat: no-repeat;
|
|
mask-size: 36px;
|
|
mask-position: center;
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
}
|
|
}
|
|
|
|
.mx_AvatarSetting_avatar .mx_AvatarSetting_avatarPlaceholder {
|
|
background-color: $settings-profile-placeholder-bg-color;
|
|
}
|