Commit ea317267 authored by Sabba Petri's avatar Sabba Petri

Added a margin and a couple styles

Added a background, rather than an outline, which should reduce
clutter on the screen.
parent e35fe204
...@@ -184,6 +184,12 @@ ...@@ -184,6 +184,12 @@
} }
} }
.event_filter li a { .event_filter {
li a {
padding: 5px 10px; padding: 5px 10px;
background: rgba(0,0,0,0.045);
margin-left: 4px;
}
} }
...@@ -30,7 +30,7 @@ module EventsHelper ...@@ -30,7 +30,7 @@ module EventsHelper
end end
content_tag :li, class: "filter_icon #{active}" do content_tag :li, class: "filter_icon #{active}" do
link_to request.path, class: 'btn has_tooltip event_filter_link', id: "#{key}_event_filter", 'data-original-title' => tooltip do link_to request.path, class: 'has_tooltip event_filter_link', id: "#{key}_event_filter", 'data-original-title' => tooltip do
icon(icon_for_event[key]) + content_tag(:span, ' ' + tooltip) icon(icon_for_event[key]) + content_tag(:span, ' ' + tooltip)
end end
end end
......
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