format sidebar actions

This commit is contained in:
Felix Niklas 2014-11-14 14:26:02 +01:00
parent 21b198c8e5
commit c14a7a07d9
2 changed files with 8 additions and 2 deletions

View file

@ -1,7 +1,8 @@
<% for item in @items: %> <% for item in @items: %>
<div class="sidebar bottom-form-shadow flex hide" data-tab="<%= item.name %>"> <div class="sidebar bottom-form-shadow flex hide" data-tab="<%= item.name %>">
<div class="horizontal center"> <div class="horizontal center">
<h2 class="flex u-textTruncate"><%- @T( item.head ) %><div class="js-actions"></div></h2> <h2 class="u-textTruncate"><%- @T( item.head ) %></h2>
<div class="sidebar-actions js-actions flex"></div>
<div class="tabsSidebar-close centered u-clickable"> <div class="tabsSidebar-close centered u-clickable">
<div class="arrow-right icon"></div> <div class="arrow-right icon"></div>
</div> </div>

View file

@ -3351,7 +3351,12 @@ footer {
} }
.tabsSidebar .sidebar h2 { .tabsSidebar .sidebar h2 {
margin: 5px 0 0; margin: 0 0 -1px;
line-height: 1;
}
.tabsSidebar .sidebar-actions {
padding-left: 8px;
} }
.tabsSidebar-close { .tabsSidebar-close {