hubl/src/styles/members.scss

149 lines
2.9 KiB
SCSS
Raw Normal View History

#profiles-list {
@extend .grid-layer;
2018-12-18 10:54:43 +00:00
2018-12-20 19:25:00 +00:00
ul {
@include list-reset();
}
2018-12-18 10:54:43 +00:00
& > sib-form {
grid-column-start: start;
grid-column-end: middle;
grid-row-start: start;
grid-row-end: middle;
}
2018-12-18 10:54:43 +00:00
& > div {
2018-12-18 14:25:24 +00:00
display: flex;
flex-wrap: wrap;
grid-column-start: start;
grid-column-end: end;
2018-12-18 14:25:24 +00:00
justify-content: space-between;
2018-12-17 22:21:10 +00:00
margin-bottom: 1em;
&:first-of-type {
2018-12-18 07:56:42 +00:00
color: $color-black2;
font-weight: bold;
2018-12-17 22:21:10 +00:00
justify-content: center;
2018-12-20 18:26:22 +00:00
margin-bottom: 2.2em;
2018-12-18 07:56:42 +00:00
white-space: nowrap;
&::before, &::after {
2018-12-18 16:59:11 +00:00
border-top: 1px solid $color-grey-light2;
2018-12-18 07:56:42 +00:00
content: '';
position: relative;
top: 0.5em;
width: 40%;
}
2018-12-18 10:54:43 +00:00
2018-12-18 07:56:42 +00:00
&::before {
right: 5.8%;
}
2018-12-18 10:54:43 +00:00
2018-12-18 07:56:42 +00:00
&::after {
left: 5.8%;
}
2018-12-17 22:21:10 +00:00
}
2018-12-18 10:54:43 +00:00
> sib-display {
color: $color-grey2;
2018-12-18 10:54:43 +00:00
cursor: pointer;
2018-12-18 14:25:24 +00:00
background-color: white;
box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.14);
2018-12-18 10:54:43 +00:00
display: flex;
2018-12-18 14:25:24 +00:00
flex-flow: column wrap;
margin-bottom: 2.5rem;
@media(min-width: 56rem) {
2018-12-20 19:25:00 +00:00
height: 60rem;
2018-12-20 18:26:22 +00:00
width: 32%;
2018-12-18 14:25:24 +00:00
}
2018-12-18 10:54:43 +00:00
label {
display: none;
}
div[name='header'] {
border-bottom: 1px solid $color-grey-light;
padding: 0.5em 0 3em;
2018-12-18 10:54:43 +00:00
display: flex;
flex-direction: column;
> *:not(sib-display-img) {
2018-12-18 10:54:43 +00:00
display: flex;
flex-basis: content;
justify-content: center;
2018-12-18 10:54:43 +00:00
}
sib-display-img {
flex-basis:150px;
height: 300px;
margin: 1em auto;
2018-12-20 18:26:22 +00:00
width: 50%;
2018-12-18 10:54:43 +00:00
img {
border-radius: 100%;
width: 100%;
2018-12-18 10:54:43 +00:00
}
}
hdapp-userinfo {
@extend h1;
2018-12-18 10:54:43 +00:00
}
sib-display-div[name$='bio'] {
2018-12-20 19:25:00 +00:00
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-blue-light;
border-radius: 2em;
color: $color-blue-light;
font-size: 18px;
font-weight: bold;
padding: 0.6em 1.5em 0.4em;
@include icon('speech');
&::before {
font-size: 25px;
padding-right: 0.5em;
}
}
2018-12-18 10:54:43 +00:00
}
div[name='infos'] {
2018-12-18 10:54:43 +00:00
* {
2018-12-20 18:26:22 +00:00
margin-top: 1em;
2018-12-18 10:54:43 +00:00
&::before {
color: $color-yellow;
font-size: 20px;
2018-12-20 18:26:22 +00:00
padding: 0 0.6em 0 1em;
}
2018-12-18 10:54:43 +00:00
}
[name$='cell'] * {
2018-12-20 18:26:22 +00:00
@include icon('chemistry');
}
[name$='roles'] * {
@include icon('user');
}
[name$='email'] * {
@include icon('envelope');
}
2018-12-18 10:54:43 +00:00
[name$='phone'] * {
@include icon('phone');
}
2018-12-18 10:54:43 +00:00
}
}
}
}