mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
ui: Show breadcrumbs on deeper pages
- Don't show them on section pages: home, apps, system and help pages. - Tweak the appearance so that home icon is bigger, spacing between crumbs is larger and to use '>' as separator. - Change the name of the help menu item to show the value in breadcrumbs. - Change the URLs for anchors in the help page so that they don't appear as part of the breadcrumbs. Tests: - Section pages: home, apps, system and help pages don't have breadcrumbs. - Visit various pages. Breadcrumbs are shown and all the links in the breadcrumbs work as expected. - Mobile view looks good. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
1 parent
016b6d0c29
commit
4e900be128
5 files changed
+46
-7
No files matched your search
@@ -554,6 +554,19 @@ footer {
|
||||
border-bottom: var(--freedombox-navbar-color) 3px solid;
|
||||
}
|
||||
|
||||
/* Breadcrumbs */
|
||||
.breadcrumb-item {
|
||||
--bs-breadcrumb-divider: ">";
|
||||
}
|
||||
|
||||
.breadcrumb-item .fa-home {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.breadcrumb-item + .breadcrumb-item::before {
|
||||
margin: 0 0.5rem;
|
||||
}
|
||||
|
||||
/* Cards in Index, Apps, System and Help pages */
|
||||
.card-list {
|
||||
display: flex;
|
||||
|
||||
Reference in new issue
Block a user