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

243 lines
4.9 KiB
SCSS
Raw Normal View History

2020-05-11 18:20:13 +00:00
/*%member-info {
2019-05-13 16:50:34 +00:00
2020-06-18 18:02:54 +00:00
solid-multiple[name^='user.'],
2019-08-12 15:24:23 +00:00
>member-info>div,
2020-06-18 18:02:54 +00:00
>solid-display-value {
2019-05-13 16:50:34 +00:00
display: flex;
flex-wrap: wrap;
margin-bottom: 0;
margin-top: 1.7rem;
&::before {
color: $color-43-100-50;
padding: 0 0.6em 0 0;
}
}
2019-08-12 15:24:23 +00:00
2019-06-03 14:04:15 +00:00
[name$='profile.city'] * {
2019-05-13 16:50:34 +00:00
@include mdi('atom');
}
[name$='email'] * {
@include mdi('email-outline');
}
2019-06-03 14:04:15 +00:00
[name$='profile.phone'] * {
2019-05-13 16:50:34 +00:00
@include mdi('cellphone-iphone');
}
2019-06-03 14:04:15 +00:00
[name="profile.website"]:not(:empty) {
2019-05-13 16:50:34 +00:00
@include mdi('link-variant');
}
}
2019-05-14 12:03:11 +00:00
member-info-groups {
@extend %tag-role;
2019-05-14 12:03:11 +00:00
}
#members-list {
#members-list__content {
2019-05-14 15:32:42 +00:00
@extend %grid-layer;
nav {
align-items: center;
display: flex;
2019-08-12 15:24:23 +00:00
flex-wrap: wrap;
font-size: 2.4rem;
justify-content: center;
2018-12-18 10:54:43 +00:00
button {
2019-05-13 16:50:34 +00:00
color: $color-210-25-95;
2019-08-12 15:24:23 +00:00
&:before {
2019-05-13 16:50:34 +00:00
color: $color-216-4-22;
@include icon('arrow-left-circle');
}
&:disabled::before {
2019-05-13 16:50:34 +00:00
color: $color-215-6-63;
}
2018-12-18 07:56:42 +00:00
}
2018-12-18 10:54:43 +00:00
button:nth-of-type(2) {
order: 1;
transform: rotate(180deg);
2018-12-18 07:56:42 +00:00
}
2018-12-18 10:54:43 +00:00
span {
font-size: 2.6rem;
2018-12-18 07:56:42 +00:00
}
2018-12-17 22:21:10 +00:00
}
2018-12-18 10:54:43 +00:00
2020-06-18 18:02:54 +00:00
&>solid-form {
grid-column-start: start;
grid-column-end: middle;
grid-row-start: start;
grid-row-end: middle;
}
2019-08-12 15:24:23 +00:00
&>div,
&>nav {
grid-column-start: start;
grid-column-end: end;
margin-bottom: 1.7rem;
}
2019-08-12 15:24:23 +00:00
&>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;
}
2018-12-18 10:54:43 +00:00
2019-08-12 15:24:23 +00:00
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);
2018-12-18 10:54:43 +00:00
}
2020-06-18 18:02:54 +00:00
&>solid-display {
background-color: white;
box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.14);
2019-05-13 16:50:34 +00:00
color: $color-210-4-50;
cursor: pointer;
2019-08-12 15:24:23 +00:00
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;
}
2018-12-18 10:54:43 +00:00
label {
display: none;
2018-12-18 10:54:43 +00:00
}
2020-06-18 18:02:54 +00:00
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;
2019-08-12 15:24:23 +00:00
>* {
margin: 0.3rem;
}
}
2019-08-12 15:24:23 +00:00
member-picture {
align-items: center;
background-color: $color-213-20-91;
border-radius: 50%;
display: flex;
2019-08-12 15:24:23 +00:00
height: 28vh;
justify-content: center;
margin: 1.7rem auto;
overflow: hidden;
width: 28vh;
img {
height: 100%;
object-fit: cover;
object-position: center;
width: 100%;
}
2019-08-12 15:24:23 +00:00
object {
height: 45%;
width: 45%;
}
2019-08-12 15:24:23 +00:00
}
2018-12-18 10:54:43 +00:00
2020-06-18 18:02:54 +00:00
solid-set-default[name='bio'] {
2019-08-12 15:24:23 +00:00
align-items: center;
border-bottom: 1px solid $color-210-25-95;
display: flex;
flex-direction: column;
padding-bottom: 3rem;
2019-08-12 15:24:23 +00:00
>* {
text-align: center;
2018-12-18 10:54:43 +00:00
}
2019-08-12 15:24:23 +00:00
[name='pseudonym'] {
margin-top: 0.6rem;
}
2018-12-18 10:54:43 +00:00
2020-06-18 18:02:54 +00:00
solid-display-value[name$='bio'] {
2019-08-12 15:24:23 +00:00
flex: 1;
margin: 2.5rem 0;
2019-08-12 15:24:23 +00:00
padding: 0 10px;
width: 70%;
flex-basis: 4.5em;
}
2019-08-12 15:24:23 +00:00
[name='send'] {
2019-05-13 16:50:34 +00:00
border: 1px solid $color-244-73-62;
border-radius: 3.4rem;
2019-05-13 16:50:34 +00:00
color: $color-244-73-62;
font-size: 1.8rem;
font-weight: bold;
padding: 1rem 2.55rem 0.7rem;
@include icon('speech');
2019-08-12 15:24:23 +00:00
[next=messages]:before {
font-size: 2.5rem;
padding-right: 0.85rem;
}
}
2018-12-18 10:54:43 +00:00
}
2020-06-18 18:02:54 +00:00
solid-set-default[name='infos'] {
2019-08-12 15:24:23 +00:00
padding: 0.4rem 2rem 3.7rem;
@extend %member-info;
2019-08-12 15:24:23 +00:00
2020-06-18 18:02:54 +00:00
solid-multiple[name='skills'] {
2019-08-12 15:24:23 +00:00
margin: 1.6rem 0;
}
}
2018-12-18 10:54:43 +00:00
}
}
}
2020-05-11 18:20:13 +00:00
}*/