109 lines
1.7 KiB
SCSS
109 lines
1.7 KiB
SCSS
|
%user-thumb__grid {
|
||
|
display: grid;
|
||
|
grid-column-gap: 1.6rem;
|
||
|
grid-template-columns: 7vh auto;
|
||
|
grid-template-rows: repeat(2, 5.2vh);
|
||
|
}
|
||
|
|
||
|
%user-thumb__grid-sup {
|
||
|
align-items: center;
|
||
|
align-self: end;
|
||
|
display: flex;
|
||
|
grid-column: 2 / span 1;
|
||
|
grid-row: 1 / span 1;
|
||
|
margin-bottom: 0.50rem;
|
||
|
}
|
||
|
|
||
|
%user-thumb__grid-inf {
|
||
|
align-self: start;
|
||
|
grid-column: 2 / span 1;
|
||
|
grid-row: 2 / span 1;
|
||
|
margin-top: 0.50rem;
|
||
|
}
|
||
|
|
||
|
%user-thumb__picture {
|
||
|
align-items: center;
|
||
|
align-self: center;
|
||
|
background-color: $color-213-20-91;
|
||
|
border-radius: 50%;
|
||
|
display: flex;
|
||
|
grid-column: 1 / span 1;
|
||
|
grid-row: 1 / span 2;
|
||
|
height: 7vh;
|
||
|
justify-content: center;
|
||
|
overflow: hidden;
|
||
|
position: relative;
|
||
|
width: 7vh;
|
||
|
|
||
|
img {
|
||
|
background-color: white;
|
||
|
height: 100%;
|
||
|
left: 0;
|
||
|
object-fit: cover;
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
object {
|
||
|
height: 45%;
|
||
|
width: 45%;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
%user-thumb__name {
|
||
|
color: #7A7F85;
|
||
|
font-weight: 600;
|
||
|
margin-right: 1rem;
|
||
|
}
|
||
|
|
||
|
%user-thumb__groups {
|
||
|
display: flex;
|
||
|
margin-bottom: 1px;
|
||
|
margin-left: 0.6rem;
|
||
|
|
||
|
[name='groups'],
|
||
|
[name='user.groups'] {
|
||
|
@extend %tag-role;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
%user-thumb__admin {
|
||
|
@extend %tag-admin;
|
||
|
}
|
||
|
|
||
|
%user-thumb__username {
|
||
|
align-items: center;
|
||
|
display: flex;
|
||
|
|
||
|
&::before {
|
||
|
content: '@';
|
||
|
}
|
||
|
}
|
||
|
|
||
|
%user-thumb__city {
|
||
|
@include mdi('atom');
|
||
|
align-items: center;
|
||
|
display: flex;
|
||
|
margin-right: 1.6rem;
|
||
|
|
||
|
&::before {
|
||
|
color: $color-43-100-50;
|
||
|
margin-right: 0.50rem;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
%user-thumb__lead {
|
||
|
@include icon('eyeglass');
|
||
|
align-items: center;
|
||
|
display: flex;
|
||
|
|
||
|
&::before {
|
||
|
color: $color-43-100-50;
|
||
|
font-size: 1.9rem;
|
||
|
font-weight: bold;
|
||
|
margin-left: 0;
|
||
|
margin-right: 0.50rem;
|
||
|
}
|
||
|
}
|