Skip to content
Snippets Groups Projects
Commit d71034c6 authored by Gaëlle Morin's avatar Gaëlle Morin
Browse files

wip

parent f966f672
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ link(rel='stylesheet', href='https://fonts.googleapis.com/css?family=Open+Sans:3
//- script(type="module" src="/lib/sib-notifications/sib-notifications.js")
//- script(type="module" src="/lib/sib-conversation/sib-conversation.js")
//- script(type="module" src="/lib/sib-directory/sib-directory.js")
//- script(type="module" src="/lib/sib-joboffers/sib-joboffers.js")
script(type="module" src="/lib/sib-job-board/sib-job-board.js")
//- CDN
script(type="module" src="https://unpkg.com/@startinblox/core@0.7")
......@@ -22,4 +22,4 @@ script(type="module" src="https://unpkg.com/@startinblox/component-chat@0.1")
script(type="module" src="https://unpkg.com/@startinblox/component-notifications@0.1")
script(type="module" src="https://unpkg.com/@startinblox/component-conversation@0.2")
script(type="module" src="https://unpkg.com/@startinblox/component-directory@0.1")
script(type="module" src="https://unpkg.com/@startinblox/component-job-board@0.1")
//- script(type="module" src="https://unpkg.com/@startinblox/component-job-board@0.1")
......@@ -4,11 +4,17 @@
sib-form.block(
bind-resources
data-fields='title, description'
data-fields='title, description, skills, closingDate'
label-title='Title*'
label-description='Description*'
label-skills='The required skills for this mission:*'
multiple-skills='sib-multiple-select'
label-closingDate='Publication end date:*'
widget-closingDate='sib-form-date'
next="job-offers"
)
......
......@@ -34,7 +34,7 @@ sib-job-board {
}
}
#offers-list {
.job-board__list {
@extend %grid-layer;
>sib-form {
......@@ -66,7 +66,7 @@ sib-job-board {
display: flex;
margin: -0.25em;
>* {
>*:not(sib-action) {
margin: 0.25em;
}
......@@ -87,7 +87,7 @@ sib-job-board {
}
}
hd-user-avatar {
author-avatar {
background-color: $color-0-0-100;
border-radius: 50%;
height: 4.25rem;
......@@ -131,7 +131,7 @@ sib-job-board {
}
}
hd-contact-author {
author-contact {
color: $color-244-73-62;
font-size: 1.3rem;
float: right;
......@@ -171,4 +171,20 @@ sib-job-board {
}
}
}
sib-action[name='edit'] {
margin-left: auto;
color: $color-215-6-63;
&>sib-link {
@include icon('options-vertical');
font-size: 2rem;
}
}
.job-offers__container {
@extend %grid-layer;
}
sib-job-board {
@extend %grid-layer-main;
@extend %containerV;
}
.job-offers__newoffer {
@extend %grid-layer-links;
@extend %containerV;
}
#job-offers {
.plus-button {
@extend .howto;
background-color: $color-43-100-50;
color: $color-0-0-100;
font-weight: bold;
text-transform: uppercase;
cursor: pointer;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
.icon-plus {
font-size: 20px;
justify-content: center;
margin: 0.5rem 0.5rem 0.5rem 0;
}
}
.job-board__list {
@extend %grid-layer;
>sib-form {
grid-column-start: start;
grid-column-end: middle;
grid-row-start: start;
grid-row-end: middle;
}
>div {
grid-column-start: start;
grid-column-end: end;
grid-row-start: middle;
grid-row-end: end;
&:first-of-type {
margin-top: 5rem;
}
>sib-display {
@include window-style-modal();
display: block;
font-size: 1.5rem;
margin: 1.7rem 0;
padding: 3.4rem;
[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 {
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%;
}
}
}
[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;
>* {
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;
}
}
}
}
}
<<<<<<< HEAD
=======
sib-action[name='edit'] {
margin-left: auto;
color: $color-215-6-63;
& > sib-link {
@include icon('options-vertical');
font-size: 2rem;
}
}
>>>>>>> 3159083... add edit button, route updated, form
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment