Merge branch '100-left-menu-sidebar-design' into 'staging'

Add style when a submenu has an active attribute

See merge request startinblox/applications/sib-app!46
This commit is contained in:
Jean-Baptiste Pasquier 2019-06-07 21:21:35 +00:00
commit fd6202952e

View File

@ -90,23 +90,39 @@
} }
.sub-menu { .sub-menu {
padding-left: 2.88rem;
div { sib-display>div {
color: $color-244-10-70;
cursor: pointer;
padding-bottom: 1.12rem;
div[name='project'] { &>sib-display {
display: flex;
sib-display-value { &:last-child>div {
display: block; margin-bottom: 2.2rem;
} }
sib-display-div[name='dash'] { >div {
margin: 0 0.4em; color: $color-244-10-70;
cursor: pointer;
padding: 10px 10px 10px 32px;
} }
div[name='project'] {
display: flex;
sib-display-value {
display: block;
height: 20px;
}
sib-display-div[name='dash'] {
margin: 0 0.4em;
}
}
}
&>sib-display[active]>div {
background-color: $color-46-100-67;
color: $color-233-18-29;
font-weight: bold;
} }
} }