Remove unused images. More use of font-awesome icons
Before Width: | Height: | Size: 177 B |
Before Width: | Height: | Size: 295 B |
Before Width: | Height: | Size: 749 B |
Before Width: | Height: | Size: 302 B |
Before Width: | Height: | Size: 750 B |
Before Width: | Height: | Size: 463 B |
Before Width: | Height: | Size: 632 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 463 B |
Before Width: | Height: | Size: 632 B |
Before Width: | Height: | Size: 357 B |
|
@ -132,21 +132,25 @@
|
|||
.event_filter {
|
||||
position: absolute;
|
||||
width: 40px;
|
||||
margin-left: -50px;
|
||||
margin-left: -55px;
|
||||
|
||||
.filter_icon {
|
||||
float: left;
|
||||
border-left: 3px solid #4bc;
|
||||
padding: 7px;
|
||||
background: #f9f9f9;
|
||||
margin-bottom: 10px;
|
||||
img {
|
||||
width: 20px;
|
||||
a {
|
||||
text-align:center;
|
||||
border-left: 3px solid #29B;
|
||||
background: #f9f9f9;
|
||||
margin-bottom: 10px;
|
||||
float: left;
|
||||
padding: 9px 7px;
|
||||
font-size: 18px;
|
||||
width: 26px;
|
||||
}
|
||||
|
||||
&.inactive {
|
||||
border-left: 3px solid #EEE;
|
||||
opacity: 0.5;
|
||||
a {
|
||||
color: #DDD;
|
||||
border-left: 3px solid #EEE;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,8 +30,17 @@ module EventsHelper
|
|||
|
||||
content_tag :div, class: "filter_icon #{inactive}" do
|
||||
link_to dashboard_path, class: 'has_tooltip event_filter_link', id: "#{key}_event_filter", 'data-original-title' => tooltip do
|
||||
image_tag "event_filter_#{key}.png"
|
||||
content_tag :i, nil, class: icon_for_event[key]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def icon_for_event
|
||||
{
|
||||
EventFilter.push => "icon-upload-alt",
|
||||
EventFilter.merged => "icon-check",
|
||||
EventFilter.comments => "icon-comments",
|
||||
EventFilter.team => "icon-user",
|
||||
}
|
||||
end
|
||||
end
|
||||
|
|