Skip to content
Snippets Groups Projects
Commit b8e055ec authored by ha848myco's avatar ha848myco Committed by Dorian Merz
Browse files

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
parent b5a6ef13
No related merge requests found
...@@ -1604,6 +1604,19 @@ header, ...@@ -1604,6 +1604,19 @@ header,
> .active a { > .active a {
color: darken($breadcrumb-active-color, 10%); 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 // BREADCRUMBS - END
......
...@@ -184,6 +184,8 @@ if (!isset($this->layout()->searchbox)) { ...@@ -184,6 +184,8 @@ if (!isset($this->layout()->searchbox)) {
&& $this->layout()->breadcrumbs !== false && $this->layout()->breadcrumbs !== false
): ?> ): ?>
<ul class="breadcrumb large-centered hidden-xs hidden-print"> <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 (is_array($this->layout()->breadcrumbs)): ?>
<?php if (count($this->layout()->breadcrumbs) > 1): ?> <?php if (count($this->layout()->breadcrumbs) > 1): ?>
<?=$this->render('breadcrumbs/multi.phtml', [ <?=$this->render('breadcrumbs/multi.phtml', [
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment