From 2e7d8f5ec9cc9bc56354efd73db7fa1551d180c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABlle=20Morin?= Date: Fri, 20 Dec 2019 15:29:05 +0000 Subject: [PATCH] Gm fixbug --- src/menu-left.pug | 2 +- src/styles/base/menu-left.scss | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/menu-left.pug b/src/menu-left.pug index 29b0242..99d227c 100644 --- a/src/menu-left.pug +++ b/src/menu-left.pug @@ -27,7 +27,7 @@ nav#main__menu div.menu-icon.icon-folder-alt sib-route(name='project', rdf-type='hd:project', use-id='', hidden) div.sub-menu.menu-notification - sib-display( + sib-display.project-tab( data-src=`${endpoints.projects}` fields='project(customer.name, name), badge' class-customer.name='project-customer' diff --git a/src/styles/base/menu-left.scss b/src/styles/base/menu-left.scss index 2ab7273..606db3c 100644 --- a/src/styles/base/menu-left.scss +++ b/src/styles/base/menu-left.scss @@ -113,8 +113,12 @@ width: calc(150px - 10px); /* 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; box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.26); color: $color-218-100-98; @@ -126,6 +130,10 @@ .project-name { width: auto; } + + .project-name { + font-weight: normal; + } } }