hubl/src/styles/layout/members/members.scss

243 lines
4.9 KiB
SCSS

/*%member-info {
solid-multiple[name^='user.'],
>member-info>div,
>solid-display-value {
display: flex;
flex-wrap: wrap;
margin-bottom: 0;
margin-top: 1.7rem;
&::before {
color: $color-43-100-50;
padding: 0 0.6em 0 0;
}
}
[name$='profile.city'] * {
@include mdi('atom');
}
[name$='email'] * {
@include mdi('email-outline');
}
[name$='profile.phone'] * {
@include mdi('cellphone-iphone');
}
[name="profile.website"]:not(:empty) {
@include mdi('link-variant');
}
}
member-info-groups {
@extend %tag-role;
}
#members-list {
#members-list__content {
@extend %grid-layer;
nav {
align-items: center;
display: flex;
flex-wrap: wrap;
font-size: 2.4rem;
justify-content: center;
button {
color: $color-210-25-95;
&:before {
color: $color-216-4-22;
@include icon('arrow-left-circle');
}
&:disabled::before {
color: $color-215-6-63;
}
}
button:nth-of-type(2) {
order: 1;
transform: rotate(180deg);
}
span {
font-size: 2.6rem;
}
}
&>solid-form {
grid-column-start: start;
grid-column-end: middle;
grid-row-start: start;
grid-row-end: middle;
}
&>div,
&>nav {
grid-column-start: start;
grid-column-end: end;
margin-bottom: 1.7rem;
}
&>div:first-of-type {
display: flex;
color: $color-0-0-29;
flex-wrap: wrap;
font-weight: bold;
justify-content: center;
margin: 3.75rem 0;
position: relative;
&::before {
border-top: 1px solid $color-0-0-85;
bottom: 0;
content: '';
left: 0;
margin: 0 auto;
position: absolute;
right: 0;
top: 50%;
width: 100%;
z-index: -1;
}
span {
background-color: $color-210-25-95;
padding: 0 60px;
}
}
&>div:nth-of-type(2) {
display: grid;
grid-gap: 30px;
grid-template-columns: 1fr;
grid-template-rows: auto;
@media only screen and (min-width: 850px) {
grid-template-columns: repeat(2, 1fr);
}
@media only screen and (min-width: 1180px) {
grid-template-columns: repeat(3, 1.5fr);
}
&>solid-display {
background-color: white;
box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.14);
color: $color-210-4-50;
cursor: pointer;
min-height: auto;
position: relative;
text-decoration: none;
top: 0;
transition: all .1s ease-in;
&>div {
display: flex;
flex-direction: column;
}
&:hover {
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.24);
top: -2px;
}
label {
display: none;
}
solid-multiple[name$='groups'] {
align-items: flex-start;
display: flex;
justify-content: flex-end;
min-height: 3.4rem;
padding-left: 2.6rem;
padding-right: 2.6rem;
padding-top: 1.3rem;
>* {
margin: 0.3rem;
}
}
member-picture {
align-items: center;
background-color: $color-213-20-91;
border-radius: 50%;
display: flex;
height: 28vh;
justify-content: center;
margin: 1.7rem auto;
overflow: hidden;
width: 28vh;
img {
height: 100%;
object-fit: cover;
object-position: center;
width: 100%;
}
object {
height: 45%;
width: 45%;
}
}
solid-set-default[name='bio'] {
align-items: center;
border-bottom: 1px solid $color-210-25-95;
display: flex;
flex-direction: column;
padding-bottom: 3rem;
>* {
text-align: center;
}
[name='pseudonym'] {
margin-top: 0.6rem;
}
solid-display-value[name$='bio'] {
flex: 1;
margin: 2.5rem 0;
padding: 0 10px;
width: 70%;
flex-basis: 4.5em;
}
[name='send'] {
border: 1px solid $color-244-73-62;
border-radius: 3.4rem;
color: $color-244-73-62;
font-size: 1.8rem;
font-weight: bold;
padding: 1rem 2.55rem 0.7rem;
@include icon('speech');
[next=messages]:before {
font-size: 2.5rem;
padding-right: 0.85rem;
}
}
}
solid-set-default[name='infos'] {
padding: 0.4rem 2rem 3.7rem;
@extend %member-info;
solid-multiple[name='skills'] {
margin: 1.6rem 0;
}
}
}
}
}
}*/