@include font-size(l);
@include line-height(1);
@include typeface(sans-serif);
- @include padding(.25 1 .5 1);
+ @include padding(.25 1 .25 1);
//@include margin(0);
font-weight: weight(light);
@include margin(0 0 1 0);
}
+ &--tournees {
+
+ color: white;
+ @include line-height(1);
+ @include padding(.25 .5 .25 .5);
+ background: $color-black;
+ text-transform: uppercase;
+ font-weight: weight(regular);
+ border: 1px solid $color-black;
+
+ &:hover {
+ background-color: $color-main;
+ color: $color-black;
+ border: 1px solid $color-main;
+ }
+
+ }
+
}
{% keywords_for mezzanine_agenda.event as tags %}
{% all_events as all_events %}
{% if tags %}
- <a href="{% url 'event_list' %}" class="button{% if not tag %} button--black{% else %} button--white{% endif %}">{% trans "All events" %}</a>
+ {% comment %}
+ <a href="{% url 'event_list' %}" class="button{% if not tag %} button--black{% else %} button--white{% endif %}">{% trans "All events" %}</a>
+ {% endcomment %}
{% for t in tags %}
- <a href="{% url "event_list_tag" t.slug %}" class="button{% if tag == t %} button--black{% else %} button--white{% endif %}{% if t|tag_is_excluded %} button--excluded{% endif %}">
- {{ t }}
+ <a href="{% if tag == t %}{% url 'event_list' %}{% else %}{% url "event_list_tag" t.slug %}{% endif %}" class="button{% if tag == t %} button--black{% else %} button--white{% endif %}{% if t|tag_is_excluded %} button--tournees{% endif %}">
+ {{ t }} {% if tag == t %}<i class="fa fa-times"></i>{% endif %}
</a>
{% endfor %}
{% endif %}