From ac148c50b07e298ff3f54147bd3faa0485f7e0a1 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Tue, 14 May 2013 22:45:28 +0300 Subject: [PATCH] style counters on navbar. minor ui changes --- app/assets/stylesheets/sections/nav.scss | 8 ++++---- app/assets/stylesheets/themes/ui_basic.scss | 2 +- 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 514b0b7..7b7bcf8 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 4e34e8b..b0ee94e 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 8bc90a2..f8276c3 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 -- libgit2 0.21.2