Gm fixbug

This commit is contained in:
Gaëlle Morin 2019-12-20 15:29:05 +00:00 committed by Jean-Baptiste Pasquier
parent 17d2cd3137
commit 2e7d8f5ec9
2 changed files with 10 additions and 2 deletions

View File

@ -27,7 +27,7 @@ nav#main__menu
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.project-tab(
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'

View File

@ -113,8 +113,12 @@
width: calc(150px - 10px); width: calc(150px - 10px);
/* 10px = padding of the sib-set-default = better alignment */ /* 10px = padding of the sib-set-default = better alignment */
} }
}
&:hover { .project-tab>div>sib-display[fields='project(customer.name, name), badge']>div:hover {
background-color: $color-233-20-17;
sib-set-default[name='project'] {
background-color: $color-233-20-17; background-color: $color-233-20-17;
box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.26); box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.26);
color: $color-218-100-98; color: $color-218-100-98;
@ -126,6 +130,10 @@
.project-name { .project-name {
width: auto; width: auto;
} }
.project-name {
font-weight: normal;
}
} }
} }