From df3799dbd10b5143f37fa008ed96dd4fec66e625 Mon Sep 17 00:00:00 2001 From: Felix Hamann Date: Sat, 9 Jun 2018 19:03:08 +0200 Subject: [PATCH] moved breadcrumbs into page content area --- templates/default-layout.hamlet | 5 ++ templates/default-layout.lucius | 17 ++++--- templates/widgets/asidenav.lucius | 1 - templates/widgets/breadcrumbs.hamlet | 4 +- templates/widgets/breadcrumbs.lucius | 76 ++++++++++++++++++++++++++-- templates/widgets/navbar.hamlet | 4 -- templates/widgets/navbar.lucius | 2 +- 7 files changed, 90 insertions(+), 19 deletions(-) diff --git a/templates/default-layout.hamlet b/templates/default-layout.hamlet index 52b1e584b..ff4969f75 100644 --- a/templates/default-layout.hamlet +++ b/templates/default-layout.hamlet @@ -13,6 +13,10 @@ $with status2 <- bool status "info" (status == "")
#{msg} + + $if not $ Just HomeR == mcurrentRoute + ^{breadcrumbs} + $maybe headline <- contentHeadline

^{headline} @@ -21,4 +25,5 @@ ^{pageactionprime} + ^{widget} diff --git a/templates/default-layout.lucius b/templates/default-layout.lucius index feaf8624c..86434ab58 100644 --- a/templates/default-layout.lucius +++ b/templates/default-layout.lucius @@ -92,6 +92,15 @@ a:visited { transition: color .2s ease, background-color .2s ease; } +a { + color: var(--color-link); +} + +a:hover { + color: var(--color-link-hover); +} + + ul { list-style-type: none; } @@ -180,14 +189,6 @@ th { p { margin: 10px 0; } - - a { - color: var(--color-link); - } - - a:hover { - color: var(--color-link-hover); - } } .pseudo-focus { diff --git a/templates/widgets/asidenav.lucius b/templates/widgets/asidenav.lucius index 5505784c2..4fe8dcdc1 100644 --- a/templates/widgets/asidenav.lucius +++ b/templates/widgets/asidenav.lucius @@ -14,7 +14,6 @@ .asidenav { width: 300px; - margin-top: 20px; color: white; .js-show-hide__target { diff --git a/templates/widgets/breadcrumbs.hamlet b/templates/widgets/breadcrumbs.hamlet index fd2ab3529..ca7501f63 100644 --- a/templates/widgets/breadcrumbs.hamlet +++ b/templates/widgets/breadcrumbs.hamlet @@ -1,7 +1,7 @@ +$newline never