mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-02 14:15:06 +01:00
ace7b0cda9
This reverts commit d91ce9c4b5
.
35 lines
507 B
SCSS
35 lines
507 B
SCSS
.base-avatar {
|
|
--avatar-size: var(--size, 16px);
|
|
|
|
&--size-xs {
|
|
--size: 16px;
|
|
}
|
|
|
|
&--size-sm {
|
|
--size: 24px;
|
|
}
|
|
|
|
&--size-md {
|
|
--size: 32px;
|
|
}
|
|
|
|
&--size-lg {
|
|
--size: 40px;
|
|
}
|
|
|
|
&--size-xl {
|
|
--size: 48px;
|
|
}
|
|
|
|
height: var(--avatar-size);
|
|
width: var(--avatar-size);
|
|
max-width: var(--avatar-size);
|
|
flex: 0 0 var(--avatar-size);
|
|
border-radius: 100%;
|
|
overflow: hidden;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-transform: uppercase;
|
|
}
|