2020-11-05 23:42:45 +08:00
|
|
|
/*
|
2024-09-09 21:57:16 +08:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2020-11-05 23:42:45 +08:00
|
|
|
Copyright 2020 The Matrix.org Foundation C.I.C.
|
|
|
|
|
2024-09-09 21:57:16 +08:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
|
|
Please see LICENSE files in the repository root for full details.
|
2020-11-05 23:42:45 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_MiniAvatarUploader {
|
|
|
|
position: relative;
|
|
|
|
width: min-content;
|
|
|
|
|
2021-04-27 02:10:09 +08:00
|
|
|
.mx_MiniAvatarUploader_indicator {
|
2020-11-05 23:42:45 +08:00
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
height: 26px;
|
|
|
|
width: 26px;
|
|
|
|
|
|
|
|
right: -6px;
|
|
|
|
bottom: -6px;
|
|
|
|
|
2021-08-12 17:10:47 +08:00
|
|
|
background-color: $background;
|
2020-11-05 23:42:45 +08:00
|
|
|
border-radius: 50%;
|
|
|
|
z-index: 1;
|
|
|
|
|
2023-08-25 21:52:20 +08:00
|
|
|
line-height: 0;
|
|
|
|
|
2021-04-27 02:10:09 +08:00
|
|
|
.mx_MiniAvatarUploader_cameraIcon {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
|
2021-08-12 17:30:35 +08:00
|
|
|
background-color: $secondary-content;
|
2021-04-27 02:10:09 +08:00
|
|
|
mask-position: center;
|
|
|
|
mask-repeat: no-repeat;
|
2024-11-14 20:34:27 +08:00
|
|
|
mask-image: url("@vector-im/compound-design-tokens/icons/take-photo-solid.svg");
|
2021-04-27 02:10:09 +08:00
|
|
|
mask-size: 16px;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
2020-11-05 23:42:45 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MiniAvatarUploader_input {
|
|
|
|
display: none;
|
|
|
|
}
|