From 295f38825a505850bd70e88b52132da46855bec0 Mon Sep 17 00:00:00 2001 From: Felix Hamann Date: Thu, 5 Jul 2018 23:16:27 +0200 Subject: [PATCH] spacing for breadcrumbs more clever --- templates/default-layout.lucius | 7 ++++++- templates/home.hamlet | 2 -- templates/widgets/pageactionprime.hamlet | 2 +- templates/widgets/pageactionprime.lucius | 4 +++- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/templates/default-layout.lucius b/templates/default-layout.lucius index ad9fe2301..09ac88517 100644 --- a/templates/default-layout.lucius +++ b/templates/default-layout.lucius @@ -204,7 +204,7 @@ h4 { } .main__content-body { - padding: 0 40px 60px; + padding: 30px 40px 60px; } @media (max-width: 768px) { @@ -221,6 +221,11 @@ h4 { } } +/* sepcial case for breadcrumbs */ +.breadcrumbs__container + .main__content-body { + padding-top: 0; +} + .pseudo-focus { outline: 5px auto var(--color-light); outline: 5px auto -webkit-focus-ring-color; diff --git a/templates/home.hamlet b/templates/home.hamlet index d89262014..bb378fe62 100644 --- a/templates/home.hamlet +++ b/templates/home.hamlet @@ -16,5 +16,3 @@ Re-Implementierung von UniWorX ^{features} - - diff --git a/templates/widgets/pageactionprime.hamlet b/templates/widgets/pageactionprime.hamlet index 492a9ebbf..2c828a4fa 100644 --- a/templates/widgets/pageactionprime.hamlet +++ b/templates/widgets/pageactionprime.hamlet @@ -6,5 +6,5 @@ $if hasPageActions $case menuType $of PageActionPrime (MenuItem label mIcon route _)
  • - #{label} + #{label} $of _ diff --git a/templates/widgets/pageactionprime.lucius b/templates/widgets/pageactionprime.lucius index 4104aed1b..7694e55d0 100644 --- a/templates/widgets/pageactionprime.lucius +++ b/templates/widgets/pageactionprime.lucius @@ -1,5 +1,7 @@ .page-nav-prime { - margin: 13px 0; + margin: 4px 0 13px; + border-left: 2px solid #c3c3c3; + padding-left: 10px; } .pagenav__list {