Add new style to "New group" button

The new group button style was changed to have the same look as the new
project button (green background).
This commit is contained in:
Marco Cyriacks 2015-02-17 20:52:03 +01:00
parent 55a906f643
commit 57e91940dd
2 changed files with 10 additions and 1 deletions

View file

@ -120,6 +120,15 @@
}
}
.dash-new-group {
background: $bg_success;
border: 1px solid $border_success;
a {
color: #FFF;
}
}
.dash-list .str-truncated {
max-width: 72%;
}

View file

@ -3,7 +3,7 @@
.input-group
= search_field_tag :filter_group, nil, placeholder: 'Filter by name', class: 'dash-filter form-control'
- if current_user.can_create_group?
.input-group-addon
.input-group-addon.dash-new-group
= link_to new_group_path, class: "" do
%strong New group
%ul.well-list.dash-list