Clickable logo using pointer-events

This commit is contained in:
JonnyWong16 2018-01-01 11:11:17 -08:00
parent b84888356f
commit 19969a8b1f
2 changed files with 4 additions and 13 deletions

View file

@ -64,7 +64,7 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand svg" href="home">
<a class="navbar-brand" href="home" title="Tautulli">
<object data="${http_root}images/logo-tautulli.svg" type="image/svg+xml" style="height: 45px;"></object>
</a>
</div>

View file

@ -13,18 +13,6 @@ a:focus {
text-decoration: none;
outline: none;
}
a.svg {
position: relative;
display: inline-block;
}
a.svg:after {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
select, .react-selectize.bootstrap3.root-node .react-selectize-control {
margin: 5px 0 5px 0;
border: 2px solid #444;
@ -118,6 +106,9 @@ img {
-moz-box-sizing: content-box;
box-sizing: content-box;
}
object {
pointer-events: none;
}
.navbar {
background: #000;
-webkit-box-shadow: 0 0 0 3px rgba(0,0,0,.2);