]> git.parisson.com Git - mezzo.git/commitdiff
Filters style
authorJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Fri, 14 Oct 2016 11:46:05 +0000 (13:46 +0200)
committerJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Fri, 14 Oct 2016 11:46:05 +0000 (13:46 +0200)
app/static/src/sass/modules/navs/_nav-tree.scss
app/templates/agenda/event_list.html

index ee48e10678ec3769ae10a22cd79efb37f80e4d07..083a0591f22ee8dbd91711b96e8eee869444ec2a 100644 (file)
@@ -52,6 +52,13 @@ $module: ".nav-tree";
             @include font-size(s);
         }
 
+        &--filter {
+
+            background: #efefef;
+            color: $color-black;
+
+        }
+
         &--sub {
             @include padding-left(2);
             background: lighten($color_main, 20%);
@@ -66,6 +73,12 @@ $module: ".nav-tree";
             }
         }
 
+        i {
+            float: right;
+            position: relative;
+            top: 5px;
+        }
+
     }
 
 }
index c9117768ce8c029eb2e44e49e8a5298fa32337f4..663d61a8b09e3f5309864d896181bbe32c2331c0 100644 (file)
                             {% for t in tags %}
                                 {% if not t|tag_is_excluded %}
                                     <li class="nav-tree__item">
-                                        <a class="nav-tree__link{% if tag == t %} active{% endif %}" href="{% if tag == t %}{% url 'event_list' %}{% else %}{% url "event_list_tag" t.slug %}{% endif %}">
+                                        <a class="nav-tree__link--filter nav-tree__link{% if tag == t %} active{% endif %}" href="{% if tag == t %}{% url 'event_list' %}{% else %}{% url "event_list_tag" t.slug %}{% endif %}">
                                             {{ t }} {% if tag == t %}<i class="fa fa-times"></i>{% endif %}
                                         </a>
                                     </li>