mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-16 20:20:29 +03:00
* Implement Profile Viewer Fixes #111 * Make user avatar in chat clickable * design progress * Refactored code * progress * Updated chip comp Signed-off-by: Ajay Bura <ajbura@gmail.com> * Refactored ProfileViewer comp Signed-off-by: Ajay Bura <ajbura@gmail.com> * Added msg functionality in ProfileViewer Signed-off-by: Ajay Bura <ajbura@gmail.com> * Added Ignore functionality in ProfileViewer Signed-off-by: Ajay Bura <ajbura@gmail.com> * Fixed Ignore btn bug Signed-off-by: Ajay Bura <ajbura@gmail.com> * Refectored ProfileViewer comp Signed-off-by: Ajay Bura <ajbura@gmail.com> Co-authored-by: Ajay Bura <ajbura@gmail.com>
51 lines
No EOL
815 B
SCSS
51 lines
No EOL
815 B
SCSS
.avatar-container {
|
|
display: inline-flex;
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: var(--bo-radius);
|
|
position: relative;
|
|
|
|
&__large {
|
|
width: var(--av-large);
|
|
height: var(--av-large);
|
|
}
|
|
&__normal {
|
|
width: var(--av-normal);
|
|
height: var(--av-normal);
|
|
}
|
|
|
|
&__small {
|
|
width: var(--av-small);
|
|
height: var(--av-small);
|
|
}
|
|
|
|
&__extra-small {
|
|
width: var(--av-extra-small);
|
|
height: var(--av-extra-small);
|
|
}
|
|
|
|
img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
border-radius: inherit;
|
|
}
|
|
|
|
.avatar__bordered {
|
|
box-shadow: var(--bs-surface-border);
|
|
}
|
|
|
|
.avatar__border {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: inherit;
|
|
|
|
.text {
|
|
color: var(--tc-primary-high);
|
|
}
|
|
}
|
|
} |