From b8e055ec8b6082fe91af89bdc2e5a8c1e3192f20 Mon Sep 17 00:00:00 2001 From: Heike Reinken <reinken@ub.uni-leipzig.de> Date: Fri, 23 Oct 2020 10:57:59 +0200 Subject: [PATCH] refs #17603 [master] Add start link to breadcrumbs * Add start link to breadcrumbs * Switch colors for focus and hover over a breadcrumb link * Advanced search result list: ** Reduce margin-bootom to make the breadcrumb visible ** But it works only for 100% and a search term occupying only one line --- themes/finc/scss/compiled.scss | 13 +++++++++++++ themes/finc/templates/layout/layout.phtml | 2 ++ 2 files changed, 15 insertions(+) diff --git a/themes/finc/scss/compiled.scss b/themes/finc/scss/compiled.scss index 9e652f3cd80..4002602036c 100644 --- a/themes/finc/scss/compiled.scss +++ b/themes/finc/scss/compiled.scss @@ -1604,6 +1604,19 @@ header, > .active a { color: darken($breadcrumb-active-color, 10%); } + + //// more contrast: switch the colors + a:focus, + a:hover { + background-color: $breadcrumb-color; + color: $breadcrumb-bg; + } +} + +////// Prevent overlapping of header on breadcrumb on 100% zoom on advanced search result list +////// (works only correctly for one line in cell "Your search terms") +.template-dir-search.template-name-results .search .navbar-form { + margin-bottom: 5px; } // BREADCRUMBS - END diff --git a/themes/finc/templates/layout/layout.phtml b/themes/finc/templates/layout/layout.phtml index 66144aaff1c..8673edfdd49 100644 --- a/themes/finc/templates/layout/layout.phtml +++ b/themes/finc/templates/layout/layout.phtml @@ -184,6 +184,8 @@ if (!isset($this->layout()->searchbox)) { && $this->layout()->breadcrumbs !== false ): ?> <ul class="breadcrumb large-centered hidden-xs hidden-print"> + <?php /* added Home link - #17603 - HR */?> + <li><a href="<?=$this->url('home')?>"><?=$this->transEsc('Home')?></a></li> <?php if (is_array($this->layout()->breadcrumbs)): ?> <?php if (count($this->layout()->breadcrumbs) > 1): ?> <?=$this->render('breadcrumbs/multi.phtml', [ -- GitLab