diff options
author | Sabba Petri <sabbap@gmail.com> | 2015-02-24 09:06:59 -0800 |
---|---|---|
committer | Sabba Petri <sabbap@gmail.com> | 2015-02-24 09:06:59 -0800 |
commit | ea31726781296efa9c2493c3f01aa62ca77b45fe (patch) | |
tree | 839019b54e23b9a1b20dde6aed54da30effb9942 /app | |
parent | e35fe204795bbb19d46f34af49c1ad4f7148e68f (diff) | |
download | gitlab-ce-ea31726781296efa9c2493c3f01aa62ca77b45fe.tar.gz |
Added a margin and a couple styles
Added a background, rather than an outline, which should reduce
clutter on the screen.
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/sections/events.scss | 10 | ||||
-rw-r--r-- | app/helpers/events_helper.rb | 2 |
2 files changed, 9 insertions, 3 deletions
diff --git a/app/assets/stylesheets/sections/events.scss b/app/assets/stylesheets/sections/events.scss index b7614513216..a477359dc88 100644 --- a/app/assets/stylesheets/sections/events.scss +++ b/app/assets/stylesheets/sections/events.scss @@ -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; + } + } diff --git a/app/helpers/events_helper.rb b/app/helpers/events_helper.rb index db0d4a26611..063916a8df8 100644 --- a/app/helpers/events_helper.rb +++ b/app/helpers/events_helper.rb @@ -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 |