diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-14 23:45:28 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-14 23:45:28 +0400 |
commit | ac148c50b07e298ff3f54147bd3faa0485f7e0a1 (patch) | |
tree | e68669a5d46553dd1293cca61b6d5262a3816084 /app | |
parent | 9a94f5eb73b02f1a036d632989e901eaba2f1efa (diff) |
style counters on navbar. minor ui changes
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/sections/nav.scss | 8 | ||||
-rw-r--r-- | app/assets/stylesheets/themes/ui_basic.scss | 2 | ||||
-rw-r--r-- | app/views/projects/_clone_panel.html.haml | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/app/assets/stylesheets/sections/nav.scss b/app/assets/stylesheets/sections/nav.scss index 514b0b7c69f..7b7bcf807b5 100644 --- a/app/assets/stylesheets/sections/nav.scss +++ b/app/assets/stylesheets/sections/nav.scss @@ -10,17 +10,17 @@ top: 3px; overflow: hidden; .count { - position: relative; - top: -1px; + font-weight: normal; display: inline-block; height: 15px; - margin: 0 0 0 5px; - padding: 0 8px 1px 8px; + padding: 1px 6px; height: auto; font-size: 0.82em; line-height: 14px; text-align: center; color: #777; + background: #eee; + @include border-radius(8px); } .label { background: $hover; diff --git a/app/assets/stylesheets/themes/ui_basic.scss b/app/assets/stylesheets/themes/ui_basic.scss index 4e34e8b1b6b..b0ee94ef34a 100644 --- a/app/assets/stylesheets/themes/ui_basic.scss +++ b/app/assets/stylesheets/themes/ui_basic.scss @@ -5,7 +5,7 @@ */ .ui_basic { .separator { - background: white; + background: #F9F9F9; border-left: 1px solid #DDD; } } diff --git a/app/views/projects/_clone_panel.html.haml b/app/views/projects/_clone_panel.html.haml index 8bc90a264d7..f8276c3c2b6 100644 --- a/app/views/projects/_clone_panel.html.haml +++ b/app/views/projects/_clone_panel.html.haml @@ -7,7 +7,7 @@ - unless @project.empty_repo? - if can?(current_user, :fork_project, @project) && @project.namespace != current_user.namespace - if current_user.already_forked?(@project) - = link_to project_path(current_user.fork_of(@project)), class: 'btn grouped success' do + = link_to project_path(current_user.fork_of(@project)), class: 'btn grouped btn-primary' do Forked - else = link_to fork_project_path(@project), title: "Fork", class: "btn grouped", method: "POST" do |