diff options
author | Marco Cyriacks <marco@cyriacks.net> | 2015-02-17 22:52:03 +0300 |
---|---|---|
committer | Marco Cyriacks <marco@cyriacks.net> | 2015-02-17 22:52:03 +0300 |
commit | 57e91940dd719564f395116c7d91870396b0d58b (patch) | |
tree | fb8e8177d9c4a0357ff2f72524a16c09832445cd /app | |
parent | 55a906f643b5d52722597f18f2f8e417e92dab6b (diff) |
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).
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/sections/dashboard.scss | 9 | ||||
-rw-r--r-- | app/views/dashboard/_groups.html.haml | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/app/assets/stylesheets/sections/dashboard.scss b/app/assets/stylesheets/sections/dashboard.scss index 77d403cc687..feb9a4ad295 100644 --- a/app/assets/stylesheets/sections/dashboard.scss +++ b/app/assets/stylesheets/sections/dashboard.scss @@ -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%; } diff --git a/app/views/dashboard/_groups.html.haml b/app/views/dashboard/_groups.html.haml index ddf44270802..e3df43d8892 100644 --- a/app/views/dashboard/_groups.html.haml +++ b/app/views/dashboard/_groups.html.haml @@ -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 |