patch: left-menu - useless classes removed + menu-header's badge visibility resolved
This commit is contained in:
parent
bc0b8c3e04
commit
ced798eba9
@ -137,6 +137,14 @@ nav#main__menu {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.menu-header>div:not(.transform-up)~.badge {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-header>div.transform-up~.badge {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.badge {
|
.badge {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
@ -25,7 +25,7 @@ solid-router#navbar-router(default-route='dashboard')
|
|||||||
div.divider
|
div.divider
|
||||||
if component.type == "circles"
|
if component.type == "circles"
|
||||||
div.jsMenuTab
|
div.jsMenuTab
|
||||||
div.menu-header.segment.full.padding-xsmall.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active.jsMenuHeader
|
div.menu-header.segment.full.padding-xsmall.text-semibold.text-color-white.bg-color-heading.hover.jsMenuHeader
|
||||||
div.segment.margin-right-xxsmall.jsMenuArrow
|
div.segment.margin-right-xxsmall.jsMenuArrow
|
||||||
div.segment.icon.icon-small.icon-arrow-down
|
div.segment.icon.icon-small.icon-arrow-down
|
||||||
div.segment.half.text-uppercase.text-letter-spacing-large(data-trans=`${component.name?component.name:"menuLeft.circles"}`)
|
div.segment.half.text-uppercase.text-letter-spacing-large(data-trans=`${component.name?component.name:"menuLeft.circles"}`)
|
||||||
@ -62,7 +62,7 @@ solid-router#navbar-router(default-route='dashboard')
|
|||||||
div.divider
|
div.divider
|
||||||
if component.type == "chat"
|
if component.type == "chat"
|
||||||
div.jsMenuTab
|
div.jsMenuTab
|
||||||
div.menu-header.segment.full.padding-xsmall.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active.jsMenuHeader
|
div.menu-header.segment.full.padding-xsmall.text-semibold.text-color-white.bg-color-heading.hover.jsMenuHeader
|
||||||
div.segment.margin-right-xxsmall.jsMenuArrow
|
div.segment.margin-right-xxsmall.jsMenuArrow
|
||||||
div.segment.icon.icon-small.icon-arrow-down
|
div.segment.icon.icon-small.icon-arrow-down
|
||||||
div.segment.half.text-uppercase.text-letter-spacing-large(data-trans=`${component.name?component.name:"menuLeft.messages"}`)
|
div.segment.half.text-uppercase.text-letter-spacing-large(data-trans=`${component.name?component.name:"menuLeft.messages"}`)
|
||||||
@ -124,7 +124,7 @@ solid-router#navbar-router(default-route='dashboard')
|
|||||||
)
|
)
|
||||||
div.divider
|
div.divider
|
||||||
if component.type == "profileDirectory"
|
if component.type == "profileDirectory"
|
||||||
solid-route.menu-tab.segment.full.padding-xsmall.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name=component.route)
|
solid-route.menu-tab.segment.full.padding-xsmall.text-semibold.text-color-white.bg-color-heading.hover(name=component.route)
|
||||||
div.segment.margin-right-xxsmall
|
div.segment.margin-right-xxsmall
|
||||||
div.icon.icon-small.icon-people
|
div.icon.icon-small.icon-people
|
||||||
div.segment.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.profileDirectory")
|
div.segment.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.profileDirectory")
|
||||||
|
Loading…
Reference in New Issue
Block a user