Home icon without div wrapper

Signed-off-by: Marin Treselj <marin@pixelipo.com>
This commit is contained in:
Marin Treselj
2017-05-23 20:39:54 +02:00
parent 4802f34c04
commit 2fd06acca8
2 changed files with 14 additions and 7 deletions

View File

@@ -131,8 +131,17 @@ button:hover {
font-size: 14pt; font-size: 14pt;
} }
#board-header .crumb {
background-image: url(/core/img/breadcrumb.svg?v=1);
background-size: auto 24px;
background-position: right center;
background-repeat: no-repeat;
padding: 7px 14px;
}
#board-header > h1 { #board-header > h1 {
white-space: nowrap; white-space: nowrap;
padding: 7px;
} }
#board-header #home { #board-header #home {

View File

@@ -5,12 +5,10 @@
<p>{{ statusservice.text }}</p></div> <p>{{ statusservice.text }}</p></div>
</div> </div>
<div id="board-header"> <div id="board-header">
<div class="crumb last"> <a class="crumb" href="#" title="<?php p($l->t('All Boards')); ?>">
<a href="#" title="<?php p($l->t('All Boards')); ?>">
<i class="icon icon-home"></i> <i class="icon icon-home"></i>
<span class="hidden-visually"><?php p($l->t('All Boards')); ?></span> <span class="hidden-visually"><?php p($l->t('All Boards')); ?></span>
</a> </a>
</div>
<h1 class="title" style="border-bottom: 2px solid #{{boardservice.getCurrent().color }};"> <h1 class="title" style="border-bottom: 2px solid #{{boardservice.getCurrent().color }};">
{{ boardservice.getCurrent().title }} {{ boardservice.getCurrent().title }}
</h1> </h1>