From 61b17bc586fd6752496e4e1a77f6f840e4a39309 Mon Sep 17 00:00:00 2001 From: Felix Hamann Date: Sun, 18 Mar 2018 17:15:52 +0100 Subject: [PATCH] fix for breadcrumbs, more design on aside-nav done --- templates/default-layout.lucius | 12 +++++--- templates/widgets/asidenav.hamlet | 30 ++++++++++++------ templates/widgets/asidenav.julius | 45 +++++++++++++++++---------- templates/widgets/asidenav.lucius | 46 +++++++++++++++++++++------- templates/widgets/breadcrumbs.lucius | 15 +++------ templates/widgets/navbar.hamlet | 8 ++--- templates/widgets/navbar.lucius | 32 +++++++++++++------ 7 files changed, 123 insertions(+), 65 deletions(-) diff --git a/templates/default-layout.lucius b/templates/default-layout.lucius index cbbf4437b..83fb22d87 100644 --- a/templates/default-layout.lucius +++ b/templates/default-layout.lucius @@ -63,14 +63,10 @@ body { a, a:visited { - color: var(--darkbase); text-decoration: none; font-weight: 600; transition: color .2s ease, background-color .2s ease; } -a:hover { - color: var(--lightbase); -} ul { list-style-type: none; @@ -138,6 +134,14 @@ th { p { margin: 10px 0; } + + a { + color: var(--darkbase); + } + + a:hover { + color: var(--lightbase); + } } .pseudo-focus { diff --git a/templates/widgets/asidenav.hamlet b/templates/widgets/asidenav.hamlet index 6de2b5f82..2ced1a97a 100644 --- a/templates/widgets/asidenav.hamlet +++ b/templates/widgets/asidenav.hamlet @@ -6,15 +6,25 @@ $case menuType $of NavbarAside (MenuItem label mIcon route _)
  • - $if isJust mIcon -
    - #{label} + + $if isJust mIcon +
    +
    #{label} $of _ -
    -

    WiSe 17/18 -