Merge branch 'staging' into 'migrate-0.8'

# Conflicts:
#   src/dependencies.pug
#   src/scripts/index.js
This commit is contained in:
Jean-Baptiste Pasquier
2019-07-29 15:26:10 +00:00
11 changed files with 317 additions and 108 deletions

View File

@ -59,118 +59,140 @@ sib-job-board {
display: block;
font-size: 1.5rem;
margin: 1.7rem 0;
padding: 3.4rem;
[name="offer-detail"] {
border-bottom: 1px solid $color-210-17-91;
margin: 0 2.1rem;
padding: 2.1rem 0;
[name='user-thumb'] {
align-items: center;
display: flex;
margin: -0.25em;
>*:not(sib-action) {
margin: 0.25em;
}
[name='author.first_name'] {
color: $color-0-0-29;
font-weight: 600;
}
sib-multiple[name$='groups'] {
[name='user-thumb'] {
align-items: center;
display: flex;
margin: -0.25em;
>*:not(sib-action) {
margin: 0.25em;
}
[name='author.first_name'] {
color: $color-0-0-29;
font-weight: 600;
}
sib-multiple[name$='groups'] {
display: flex;
label {
display: none;
}
>* {
@extend %user-role;
}
}
author-avatar {
align-items: center;
background-color: $color-213-20-91;
border-radius: 50%;
display: flex;
height: 4.25rem;
justify-content: center;
margin-right: 2rem;
overflow: hidden;
width: 4.25rem;
img {
height: 100%;
object-fit: cover;
object-position: center;
width: 100%;
}
object {
height: 45%;
width: 45%;
}
}
}
[name='creationDate'] {
display: block;
margin-bottom: 0.7rem;
margin-top: 2rem;
}
[name='title'] {
@extend h3;
display: block;
font-weight: bold;
line-height: 19px;
}
[name='description'] {
display: block;
line-height: 1.6;
margin-bottom: 1.6rem;
}
[name='skills'] {
label {
display: none;
}
}
author-contact {
color: $color-244-73-62;
font-size: 1.3rem;
float: right;
>sib-link {
cursor: pointer;
@include icon('speech');
&::before {
font-size: 1.5rem;
margin-right: 1.2rem;
}
}
}
[name='status'] {
float: right;
display: flex;
align-items: center;
margin: -0.25em;
>* {
@extend %user-role;
margin: 0.25em;
}
}
author-avatar {
background-color: $color-0-0-100;
border-radius: 50%;
height: 4.25rem;
overflow: hidden;
position: relative;
width: 4.25rem;
img {
height: 100%;
left: 0;
object-fit: cover;
position: absolute;
top: 0;
width: 100%;
strong {
background-color: $color-244-73-62;
border: none;
border-radius: 100em;
color: $color-0-0-100;
display: inline-block;
font-weight: normal;
padding: 0.85rem 1.7rem;
}
}
}
[name='creationDate'] {
display: block;
margin-bottom: 0.7rem;
margin-top: 2rem;
}
[name='title'] {
@extend h3;
display: block;
font-weight: bold;
line-height: 19px;
}
[name='description'] {
display: block;
line-height: 1.6;
margin-bottom: 1.6rem;
}
[name='skills'] {
label {
display: none;
}
}
author-contact {
color: $color-244-73-62;
font-size: 1.3rem;
float: right;
>sib-link {
cursor: pointer;
@include icon('speech');
&::before {
font-size: 1.5rem;
margin-right: 1.2rem;
}
}
}
[name='status'] {
float: right;
.sib-conversation,
.conversation > div {
display: flex;
align-items: center;
margin: -0.25em;
flex-direction: column-reverse;
}
>* {
margin: 0.25em;
}
strong {
background-color: $color-244-73-62;
border: none;
border-radius: 100em;
color: $color-0-0-100;
display: inline-block;
font-weight: normal;
padding: 0.85rem 1.7rem;
}
[name="dateCreated"] {
display: none;
}
}
}
}
}
sib-action[name='edit'] {
margin-left: auto;
color: $color-215-6-63;

View File

@ -22,8 +22,29 @@
sib-set-default[name='member-img'] {
grid-area: avatar;
overflow: hidden;
position: relative;
member-picture {
align-items: center;
background-color: $color-213-20-91;
border-radius: 50%;
display: flex;
height: 28vh;
justify-content: center;
overflow: hidden;
width: 28vh;
img {
height: 255px;
object-fit: cover;
object-position: center;
width: 255px;
}
object {
height: 45%;
width: 45%;
}
}
img {
border-radius: 50%;

View File

@ -159,22 +159,27 @@ member-info-groups {
}
member-picture {
background-color: $color-0-0-100;
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;
position: relative;
width: 28vh;
img {
height: 100%;
left: 0;
object-fit: cover;
position: absolute;
top: 0;
object-position: center;
width: 100%;
}
object {
height: 45%;
width: 45%;
}
}
[name='name'] {