add icon-holder for sidebar tasks

This commit is contained in:
Felix Niklas 2014-07-19 20:55:06 +02:00
parent 5a6aad3db1
commit 8166dfb92f
2 changed files with 11 additions and 5 deletions

View file

@ -1,6 +1,8 @@
<% for item in @item_list: %>
<a href="<%- item.data.url %>" title="<%= item.data.title %>" class="task <%= item.data.class %> horizontal center <% if item.task.active: %>active<% end %>" data-key="<%- item.task.key %>">
<div class="priority icon <% if item.task.notify: %>modified<% end %>"></div>
<div class="icon-holder centered">
<div class="priority icon<% if item.task.notify: %> modified<% end %>"></div>
</div>
<div class="name contain-text flex"><%= item.data.head %></div>
<div class="close-task button horizontal centered">
<div class="close close-task icon" title="<%- @T('close') %>" data-type="close"></div>

View file

@ -1459,7 +1459,7 @@ footer {
.task {
height: 38px;
padding: 10px 15px 7px 8px;
padding: 10px 15px 7px 0;
border-bottom: 1px solid #33363e;
cursor: pointer;
position: relative;
@ -1473,9 +1473,13 @@ footer {
text-decoration: none;
}
.task .priority.icon {
margin-top: -2px;
margin-right: 10px;
.task .icon-holder {
width: 30px;
}
.task .icon-holder .icon {
margin-right: 3px;
margin-top: -3px;
}
.task .modified.priority.icon {