Added a margin and a couple styles

Added a background, rather than an outline, which should reduce
clutter on the screen.
This commit is contained in:
Sabba Petri 2015-02-24 09:06:59 -08:00
parent e35fe20479
commit ea31726781
2 changed files with 9 additions and 3 deletions

View File

@ -184,6 +184,12 @@
}
}
.event_filter li a {
padding: 5px 10px;
.event_filter {
li a {
padding: 5px 10px;
background: rgba(0,0,0,0.045);
margin-left: 4px;
}
}

View File

@ -30,7 +30,7 @@ module EventsHelper
end
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)
end
end