hubl/src/styles/members.scss

154 lines
3.1 KiB
SCSS

#profiles-list {
@extend .grid-layer;
& > sib-form {
grid-column-start: start;
grid-column-end: middle;
grid-row-start: start;
grid-row-end: middle;
}
& > div {
display: flex;
flex-wrap: wrap;
grid-column-start: start;
grid-column-end: end;
justify-content: space-between;
margin-bottom: 1em;
&:first-of-type {
color: $color-quartz;
font-weight: bold;
justify-content: center;
margin-bottom: 2.2em;
white-space: nowrap;
&::before, &::after {
border-top: 1px solid $color-timberwolf;
content: '';
position: relative;
top: 0.5em;
width: 31.4em;
}
&::before {
right: 3em;
}
&::after {
left: 3em;
}
}
> sib-display {
color: $color-rolling-stone;
cursor: pointer;
background-color: white;
box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.14);
display: flex;
flex-flow: column wrap;
margin-bottom: 2.5rem;
@media(min-width: 56rem) {
height: 62rem;
width: 32%;
}
label {
display: none;
}
div[name='header'] {
border-bottom: 1px solid $color-anti-flash-white;
padding: 0.5em 0 2em;
display: flex;
flex-direction: column;
> *:not(sib-display-img) {
display: flex;
flex-basis: content;
justify-content: center;
}
sib-display-img {
flex-basis:150px;
height: 300px;
margin: 1em auto;
width: 50%;
img {
border-radius: 100%;
width: 100%;
}
}
div[name='user'] {
font-weight: bold;
@extend h1;
sib-display-div[name$='last_name'] {
margin-left: 6px;
}
}
sib-display-div[name$='bio'] {
display: flex;
flex-basis: 3.5em;
line-height: 1.6;
margin: 1.5em 0;
padding: 0 4em;
text-align: center;
}
[next=member-chat] {
align-self: center;
border: 1px solid $color-majorelle-blue;
border-radius: 2em;
color: $color-majorelle-blue;
font-size: 18px;
font-weight: bold;
padding: 0.6em 1.5em 0.4em;
@include icon('speech');
&::before {
font-size: 25px;
padding-right: 0.5em;
}
}
}
div[name='infos'] {
> sib-display-div > div {
margin-top: 1em;
&::before {
color: $color-selective-yellow;
font-size: 20px;
padding: 0 0.6em 0 1em;
}
}
ul {
margin-left: 1em;
}
[name$='cell'] * {
@include mdi('atom');
}
[name*='groups'] * {
@include mdi('account-outline');
}
[name$='email'] * {
@include icon('envelope');
}
[name$='phone'] * {
@include icon('phone');
}
}
}
}
}