modifications according to the changes in the wireframe

This commit is contained in:
Gaëlle Morin 2019-11-29 14:28:23 +01:00
parent 1ade7ded23
commit 4d40e538a2
4 changed files with 33 additions and 33 deletions

View File

@ -19,30 +19,30 @@ nav#main__menu
//- sib-route(name='job-offer-create', hidden) //- sib-route(name='job-offer-create', hidden)
//- sib-route(name='job-offer-edit', use-id, hidden) //- sib-route(name='job-offer-edit', use-id, hidden)
div.divider div.divider
div.menu-wrapper //- div.menu-wrapper
div.menu //- div.menu
div.menu-chevron //- div.menu-chevron
div.menu-icon.icon-arrow-up //- div.menu-icon.icon-arrow-up
div.menu-label Projects //- div.menu-label Projects
div.menu-icon.icon-folder-alt //- div.menu-icon.icon-folder-alt
sib-route(name='project', rdf-type='hd:project', use-id='', hidden) //- sib-route(name='project', rdf-type='hd:project', use-id='', hidden)
div.sub-menu.menu-notification //- div.sub-menu.menu-notification
sib-display( //- sib-display(
data-src=`${endpoints.projects}` //- data-src=`${endpoints.projects}`
fields='project(customer.name, name), badge' //- fields='project(customer.name, name), badge'
class-customer.name='project-customer' //- class-customer.name='project-customer'
class-name='project-name' //- class-name='project-name'
empty-widget='hd-create' //- empty-widget='hd-create'
empty-value='project' //- empty-value='project'
search-fields='team' //- search-fields='team'
search-widget-team='sib-form-hidden' //- search-widget-team='sib-form-hidden'
search-value-team='-' //- search-value-team='-'
hd-inherit-user-id='search-value-team' //- hd-inherit-user-id='search-value-team'
hd-inherit-widgets //- hd-inherit-widgets
widget-badge='hd-counter' //- widget-badge='hd-counter'
action-badge='badge' //- action-badge='badge'
) //- )
div.divider //- div.divider
div.menu-wrapper div.menu-wrapper
div.menu div.menu
div.menu-chevron div.menu-chevron

View File

@ -4,6 +4,7 @@ $color-45-95-54: hsl(45, 95%, 54%);
$color-46-100-67: hsl(46, 100%, 67%); $color-46-100-67: hsl(46, 100%, 67%);
$color-46-100-50: hsl(46, 100%, 50%); $color-46-100-50: hsl(46, 100%, 50%);
$color-0-0-100: hsl(0, 0%, 100%); $color-0-0-100: hsl(0, 0%, 100%);
$color-218-100-98: hsl(218, 100%, 98%);
$color-210-17-91: hsl(210, 17%, 91%); $color-210-17-91: hsl(210, 17%, 91%);
$color-222-52-90: hsl(222, 52%, 90%); $color-222-52-90: hsl(222, 52%, 90%);
$color-210-25-95: hsl(210, 25%, 95%); $color-210-25-95: hsl(210, 25%, 95%);
@ -22,5 +23,6 @@ $color-213-4-50: hsl(213, 4%, 50%);
$color-213-13-86: hsla(213, 13%, 86%, 0.2); $color-213-13-86: hsla(213, 13%, 86%, 0.2);
$color-0-0-29: hsl(0, 0%, 29%); $color-0-0-29: hsl(0, 0%, 29%);
$color-233-18-29: hsl(233, 18%, 29%); $color-233-18-29: hsl(233, 18%, 29%);
$color-233-20-17: hsl(233, 20%, 17%);
$color-216-4-22: hsl(216, 4%, 22%); $color-216-4-22: hsl(216, 4%, 22%);
$color-244-73-62: hsl(244, 73%, 62%); $color-244-73-62: hsl(244, 73%, 62%);

View File

@ -101,7 +101,7 @@ h5 {
flex: 1; flex: 1;
font-size: 1.6rem; font-size: 1.6rem;
margin: 0 auto; margin: 0 auto;
min-height: calc(100vh - 84px); min-height: 100%;
} }
&.with-padding { &.with-padding {

View File

@ -2,7 +2,7 @@
background-color: $color-233-18-29; background-color: $color-233-18-29;
color: $color-0-0-100; color: $color-0-0-100;
display: block; display: block;
height: calc(100vh - 82px); height: auto;
max-width: 250px; max-width: 250px;
transition: flex-basis 0.5s ease-in-out; transition: flex-basis 0.5s ease-in-out;
@ -92,7 +92,7 @@
.sub-menu { .sub-menu {
sib-set-default[name='project'] { sib-set-default[name='project'] {
padding: 10px; padding: 1rem 1rem 1rem 3.2rem;
.project-customer, .project-customer,
.project-name { .project-name {
@ -113,11 +113,9 @@
} }
&:hover { &:hover {
background-color: #a2a8bb; background-color: $color-233-20-17;
border-radius: 2px; box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.26);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); color: $color-218-100-98;
color: #3D4057;
padding: 10px;
/* transition: all 0.6s cubic-bezier(0.39, 0.575, 0.565, 1); Need better animation */ /* transition: all 0.6s cubic-bezier(0.39, 0.575, 0.565, 1); Need better animation */
width: auto; width: auto;
@ -148,7 +146,7 @@
} }
&[fields="project(customer.name, name), badge"]>div { &[fields="project(customer.name, name), badge"]>div {
padding: 0 0 0 22px; padding: 0;
} }
} }