Commit 31fc8ee1 authored by Simon Daron's avatar Simon Daron
Browse files

Simple tags (without border)

parent 52a10674
......@@ -138,12 +138,8 @@ button.check, a.check {
font-size:0.9em;
text-transform: none;
display:inline-block;
border: 1px solid #CCC !important;
margin: 0.2em;
padding: 0.5em !important;
border-radius: 0.2em;
-moz-border-radius: 0.2em;
-webkit-border-radius: 0.2em;
padding: 0.3em;
}
#Nav .icon-check{background:#222;}
button.check:before, a.check:before {
......
......@@ -30,9 +30,9 @@
{% endif %}
{% for category in categories %}
{% if class = "grid" %}
<li><button class="check icon-check-empty" data-about="#Main" data-highlight=".{{ category|slugify }}">{{ category }}&nbsp;<span class="icon-{{category|slugify}}"></span></button></li>
<li><button class="check icon-check-empty" data-about="#Main" data-highlight=".{{ category|slugify }}">{{ category }}<!--&nbsp;<span class="icon-{{category|slugify}}"></span>--></button></li>
{% else %}
<li><button class="check icon-check-empty" data-about="#Main" data-toggle=".{{ category|slugify }}">{{ category }}&nbsp;<span class="icon-{{category|slugify}}"></span></button></li>
<li><button class="check icon-check-empty" data-about="#Main" data-toggle=".{{ category|slugify }}">{{ category }}<!--&nbsp;<span class="icon-{{category|slugify}}"></span>--></button></li>
{% endif %}
{% endfor %}
</ul>
......@@ -48,7 +48,7 @@
{% if emission.categories %}
<div class="categories">
{% for category in emission.categories.all %}
<a href="{% url 'emissions' %}?q={{category.slug}}">&nbsp;<span>{{category}}</span></a>
<a href="{% url 'emissions' %}?q={{category.slug}}"><!--<span class="icon-{{category|slugify}}"></span>&nbsp;--><span>{{category}}</span></a>
{% endfor%}
</div>
{% endif %}
......
Markdown is supported
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