This commit is contained in:
Gaelle Morin 2018-12-12 11:13:03 +01:00
parent 7f81f4b7ac
commit 54310fe627
4 changed files with 26 additions and 7 deletions

View File

@ -4,15 +4,15 @@ div.grid-layer
span Here you can find and post offers span Here you can find and post offers
sib-display#offers-list( sib-display#offers-list(
data-src=`${sdn}/job-offers/`, data-src=`${sdn}/job-offers/`,
data-fields='date, user-thumb, title, description, skills', data-fields='date, user-thumb, title, description, roles, skills',
widget-skills='sib-display-lookuplist', widget-skills='sib-display-lookuplist',
set-user-thumb='author.member.avatar, author.first_name, author.last_name', set-user-thumb='author.member.avatar, author.first_name, author.last_name, author.groups',
widget-author.member.avatar='sib-display-img', widget-author.member.avatar='sib-display-img',
set-date='closingDate, creationDate', set-date='closingDate, creationDate',
set-creation='creationDate',
widget-closingDate='hdapp-closing-date', widget-closingDate='hdapp-closing-date',
set-content='title, description', set-content='title, description',
search-fields='content,skills,open', search-fields='content,skills,open',
label-content='contenu',
search-range-skills=`${sdn}/skills/` search-range-skills=`${sdn}/skills/`
) )
div.grid-layer-links.containerV div.grid-layer-links.containerV

View File

@ -21,11 +21,10 @@
select { select {
background: white; background: white;
box-sizing: border-box;
display: inline-block; display: inline-block;
padding: 0.5em 12.5em 0.5em 1em; padding: 0.5em 12.5em 0.5em 1em;
box-sizing: border-box;
background-image: background-image:
linear-gradient(45deg, transparent 50%, $color-grey 50%), linear-gradient(45deg, transparent 50%, $color-grey 50%),
linear-gradient(135deg, $color-grey 50%, transparent 50%), linear-gradient(135deg, $color-grey 50%, transparent 50%),

View File

@ -18,16 +18,16 @@
} }
> sib-display { > sib-display {
@extend %frame;
display: block; display: block;
margin: 1em 0; margin: 1em 0;
@extend %frame;
padding: 2em; padding: 2em;
/*&:nth-child(odd) { /*&:nth-child(odd) {
background-color: $color-grey-light; background-color: $color-grey-light;
}*/ }*/
sib-display-div[name='title'] { sib-display-div[name='title'] {
display: block;
@extend h2; @extend h2;
display: block;
} }
label { label {
@ -36,3 +36,22 @@
} }
} }
} }
[name='user-thumb'] {
align-items: center;
color: $color-black-light;
display: flex;
font-weight: 600;
margin: -0.25em;
> * {
margin: 0.25em;
}
sib-display-img {
border-radius: 100%;
height: 2.5em;
overflow: hidden;
width: 2.5em;
}
}

View File

@ -1,6 +1,7 @@
// colors // colors
$color-white: #fff; $color-white: #fff;
$color-black: #36383b; $color-black: #36383b;
$color-black-light: #4a4a4a;
$color-grey1: #d7dbe0; $color-grey1: #d7dbe0;
$color-grey: #898f95; $color-grey: #898f95;
$color-grey-mid: #abaaba; $color-grey-mid: #abaaba;