patch: left-menu - styles on admin-menu

This commit is contained in:
gaelle morin 2021-04-02 09:52:47 +02:00
parent 8de6a5dd4b
commit b9e12293eb
No known key found for this signature in database
GPG Key ID: 028426702B95CF9C
2 changed files with 7 additions and 4 deletions

View File

@ -101,14 +101,17 @@ nav#main__menu {
.menu-admin { .menu-admin {
position: absolute; position: absolute;
z-index: 3016; z-index: 3016;
left: 48px; left: 78px;
bottom: 37px; top: 36px;
text-align: end;
width: 64%;
@media (max-width: 768px) { @media (max-width: 768px) {
width: 100%; width: 100%;
left: 0; left: 0;
height: 9vh; height: 9vh;
top: 0; top: 0;
text-align: center;
} }
} }
} }

View File

@ -32,7 +32,7 @@ solid-router#navbar-router(default-route='dashboard')
if componentSet.has("admin") if componentSet.has("admin")
div.menu-options.segment.jsMenuOption div.menu-options.segment.jsMenuOption
div.menu-icon.icon.icon-small.icon-options-vertical div.menu-icon.icon.icon-small.icon-options-vertical
div.menu-admin.segment.three-quarter.bg-color-white.shadow.text-color-secondary.padding-xxsmall.whitespace-normal.hidden.jsMenuAdmin div.menu-admin.segment.bg-color-white.shadow.text-color-secondary.padding-xxsmall.whitespace-normal.hidden.jsMenuAdmin
solid-link.segment.full.one-line-ellipsis.padding-xxsmall.sm-padding-xsmall(next=`admin-${component.route}` data-trans="menuLeft.circlesBrowse") solid-link.segment.full.one-line-ellipsis.padding-xxsmall.sm-padding-xsmall(next=`admin-${component.route}` data-trans="menuLeft.circlesBrowse")
solid-link.segment.full.one-line-ellipsis.padding-xxsmall.sm-padding-xsmall(next=`admin-${component.route}-create` data-trans="menuLeft.circleCreate") solid-link.segment.full.one-line-ellipsis.padding-xxsmall.sm-padding-xsmall(next=`admin-${component.route}-create` data-trans="menuLeft.circleCreate")
solid-badge.badge(data-type="Mention" data-rdf-type="hd:circle") solid-badge.badge(data-type="Mention" data-rdf-type="hd:circle")
@ -97,7 +97,7 @@ solid-router#navbar-router(default-route='dashboard')
if componentSet.has("admin") if componentSet.has("admin")
div.menu-options.segment.jsMenuOption div.menu-options.segment.jsMenuOption
div.menu-icon.icon.icon-small.icon-options-vertical div.menu-icon.icon.icon-small.icon-options-vertical
div.menu-admin.segment.three-quarter.bg-color-white.shadow.text-color-secondary.padding-xxsmall.whitespace-normal.hidden.jsMenuAdmin div.menu-admin.segment.bg-color-white.shadow.text-color-secondary.padding-xxsmall.whitespace-normal.hidden.jsMenuAdmin
solid-link.segment.full.one-line-ellipsis.padding-xxsmall.sm-padding-xsmall(next=`admin-${component.route}` data-trans="menuLeft.projectsBrowse") solid-link.segment.full.one-line-ellipsis.padding-xxsmall.sm-padding-xsmall(next=`admin-${component.route}` data-trans="menuLeft.projectsBrowse")
solid-link.segment.full.one-line-ellipsis.padding-xxsmall.sm-padding-xsmall(next=`admin-${component.route}-create` data-trans="menuLeft.projectCreate") solid-link.segment.full.one-line-ellipsis.padding-xxsmall.sm-padding-xsmall(next=`admin-${component.route}-create` data-trans="menuLeft.projectCreate")
solid-badge.badge(data-type="Mention" data-rdf-type="hd:project") solid-badge.badge(data-type="Mention" data-rdf-type="hd:project")