Invert icon active / inactive colors

This commit is contained in:
richard-dds
2019-06-04 13:12:54 -04:00
parent 6456241289
commit 11c258ef7d
2 changed files with 11 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
{% from "components/tooltip.html" import Tooltip %}
{% macro Link(icon, text, url, active=False) %}
<a class='icon-link {{ "active icon-link--disabled" if active }}' href='{{ url }}'>
<a class='icon-link {{ "active" if active }}' href='{{ url }}'>
<div class='col'>
<div class='icon-link--icon'>{{ Icon(icon) }}</div>
<div class='icon-link--name'>{{ text }}</div>