hubl/src/styles/members.scss

219 lines
3.9 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-black2;
font-weight: bold;
justify-content: center;
white-space: nowrap;
&::before, &::after {
border-top: 1px solid $color-grey-light2;
content: '';
position: relative;
top: 0.5em;
width: 40%;
}
&::before {
right: 5.8%;
}
&::after {
left: 5.8%;
}
}
> sib-display {
color: $color-grey2;
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: 70rem;
width: 30%;
}
label {
display: none;
}
div[name='header'] {
border-bottom: 1px solid $color-grey-light;
padding: 0.5em 0 3em;
display: flex;
flex-direction: column;
> * {
display: flex;
flex-basis: content;
justify-content: center;
}
sib-display-img {
flex-basis:150px;
height: 300px;
margin: 1em auto;
width: 60%;
img {
border-radius: 100%;
width: 100%;
}
}
hdapp-userinfo {
@extend h1;
}
sib-display-div[name$='bio'] {
flex-basis: 5em;
margin-top: 1.5em;
}
[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;
}
}
}
div[name='infos'] {
//padding: 1.5em 1.2em 3em;
* {
margin-top: 1.5em;
&::before {
color: $color-yellow;
font-size: 20px;
padding: 0 1em;
}
}
[name$='cell'] * {
@include icon('user');
}
[name$='roles'] * {
@include icon('user');
}
[name$='email'] * {
@include icon('envelope');
}
[name$='phone'] * {
@include icon('phone');
}
}
[name$='user'] {
margin-bottom: 0em;
}
a[href^='mailto'] {
display: flex;
border-radius: 25px;
border-style: solid;
border-color: $color-blue-light;
color: $color-blue-light;
margin: 1em;
padding: 1em;
text-decoration:none;
}
sib-display-tel {
display: block;
@include icon('phone');
}
hdapp-hyperlink {
display: block;
@include icon('link');
}
sib-display-div[name$='foaf:homepage'] * {
@include icon('link');
}
sib-display-div[name$='more'] {
display: flex;
flex-direction: row-reverse;
}
}
}
}
#profiles-list sib-display-lookuplist {
&[name$='skills'] {
display: flex;
li,
ul {
margin: 0;
padding: 0;
list-style: none;
}
ul {
display: flex;
flex-wrap: wrap;
margin: 1em -0.25em;
}
li {
padding: 0.3em 1.2em;
border: 1px solid;
border-radius: 2em;
margin: 0.25em;
background-color: $color-yellow;
color: $color-white;
font-weight: bold;
}
}
}
#profiles-list {
ul {
@include list-reset();
}
}