first offer card top aligned

This commit is contained in:
Gaelle Morin 2018-12-11 14:29:59 +01:00
parent 535f5d07f7
commit 024857640b
4 changed files with 39 additions and 44 deletions

View File

@ -7,28 +7,6 @@
// //float: right; // //float: right;
// } // }
#offers-list {
> div {
> sib-display {
display: block;
margin: 1em 0;
@extend %frame;
padding: 2em;
/*&:nth-child(odd) {
background-color: $color-grey-light;
}*/
sib-display-div[name='title'] {
display: block;
@extend h2;
}
label {
display: none;
}
}
}
}
[name='user-thumb'] { [name='user-thumb'] {
display: flex; display: flex;
align-items: center; align-items: center;
@ -304,22 +282,6 @@ hdapp-available {
} }
} }
#offers-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;
}
}
#member-profile, #member-profile,
#profiles-list { #profiles-list {
ul { ul {

View File

@ -5,7 +5,6 @@
grid-template-columns: 33% auto; grid-template-columns: 33% auto;
padding-bottom: 3em; padding-bottom: 3em;
label { label {
display: block; display: block;
} }
@ -49,8 +48,3 @@
flex-direction: column; flex-direction: column;
} }
} }
#

View File

@ -10,6 +10,7 @@
@import 'content'; @import 'content';
@import 'filters'; @import 'filters';
@import 'right-panel'; @import 'right-panel';
@import 'job-offers';
// @import 'members'; // @import 'members';
@import 'header'; @import 'header';

View File

@ -0,0 +1,38 @@
#offers-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: 3em;
}
> sib-display {
display: block;
margin: 1em 0;
@extend %frame;
padding: 2em;
/*&:nth-child(odd) {
background-color: $color-grey-light;
}*/
sib-display-div[name='title'] {
display: block;
@extend h2;
}
label {
display: none;
}
}
}
}