146 lines
2.8 KiB
SCSS
146 lines
2.8 KiB
SCSS
// Copyright 2021 Signal Messenger, LLC
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
.ProfileEditor {
|
|
&__icon {
|
|
&--container {
|
|
align-items: center;
|
|
display: flex;
|
|
font-size: 24px;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
|
|
&::after {
|
|
-webkit-mask-size: 100%;
|
|
content: '';
|
|
display: block;
|
|
height: 24px;
|
|
width: 24px;
|
|
|
|
@include light-theme {
|
|
background-color: $color-gray-75;
|
|
}
|
|
|
|
@include dark-theme {
|
|
background-color: $color-gray-15;
|
|
}
|
|
}
|
|
|
|
&--name {
|
|
&::after {
|
|
-webkit-mask: url(../images/icons/v2/profile-outline-20.svg) no-repeat
|
|
center;
|
|
}
|
|
}
|
|
|
|
&--username {
|
|
&::after {
|
|
-webkit-mask: url(../images/icons/v2/at-24.svg) no-repeat center;
|
|
}
|
|
}
|
|
|
|
&--bio {
|
|
&::after {
|
|
-webkit-mask: url(../images/icons/v2/compose-outline-24.svg) no-repeat
|
|
center;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__row {
|
|
padding-inline: 0;
|
|
}
|
|
|
|
&__divider {
|
|
border-style: solid;
|
|
border-bottom: none;
|
|
|
|
@include light-theme {
|
|
border-color: $color-gray-15;
|
|
}
|
|
|
|
@include dark-theme {
|
|
border-color: $color-gray-75;
|
|
}
|
|
}
|
|
|
|
&__info {
|
|
@include font-body-2;
|
|
margin-block: 16px;
|
|
margin-inline: 0;
|
|
|
|
@include light-theme {
|
|
color: $color-gray-60;
|
|
}
|
|
@include dark-theme {
|
|
color: $color-gray-25;
|
|
}
|
|
|
|
a {
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
&__username-menu {
|
|
&__button {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin: 4px;
|
|
|
|
@include dark-theme {
|
|
@include color-svg(
|
|
'../images/icons/v2/chevron-down-20.svg',
|
|
$color-white
|
|
);
|
|
}
|
|
@include light-theme {
|
|
@include color-svg(
|
|
'../images/icons/v2/chevron-down-20.svg',
|
|
$color-black
|
|
);
|
|
}
|
|
}
|
|
|
|
&__copy-icon {
|
|
@include dark-theme {
|
|
@include color-svg(
|
|
'../images/icons/v2/copy-outline-24.svg',
|
|
$color-white
|
|
);
|
|
}
|
|
@include light-theme {
|
|
@include color-svg(
|
|
'../images/icons/v2/copy-outline-24.svg',
|
|
$color-black
|
|
);
|
|
}
|
|
}
|
|
|
|
&__copy-link-icon {
|
|
@include dark-theme {
|
|
@include color-svg('../images/icons/v2/link-24.svg', $color-white);
|
|
}
|
|
@include light-theme {
|
|
@include color-svg('../images/icons/v2/link-24.svg', $color-black);
|
|
}
|
|
}
|
|
|
|
&__trash-icon {
|
|
@include dark-theme {
|
|
@include color-svg(
|
|
'../images/icons/v2/trash-outline-24.svg',
|
|
$color-white
|
|
);
|
|
}
|
|
@include light-theme {
|
|
@include color-svg(
|
|
'../images/icons/v2/trash-outline-24.svg',
|
|
$color-black
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|