Commit ac148c50 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

style counters on navbar. minor ui changes

parent 9a94f5eb
...@@ -10,17 +10,17 @@ ...@@ -10,17 +10,17 @@
top: 3px; top: 3px;
overflow: hidden; overflow: hidden;
.count { .count {
position: relative; font-weight: normal;
top: -1px;
display: inline-block; display: inline-block;
height: 15px; height: 15px;
margin: 0 0 0 5px; padding: 1px 6px;
padding: 0 8px 1px 8px;
height: auto; height: auto;
font-size: 0.82em; font-size: 0.82em;
line-height: 14px; line-height: 14px;
text-align: center; text-align: center;
color: #777; color: #777;
background: #eee;
@include border-radius(8px);
} }
.label { .label {
background: $hover; background: $hover;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
*/ */
.ui_basic { .ui_basic {
.separator { .separator {
background: white; background: #F9F9F9;
border-left: 1px solid #DDD; border-left: 1px solid #DDD;
} }
} }
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
- unless @project.empty_repo? - unless @project.empty_repo?
- if can?(current_user, :fork_project, @project) && @project.namespace != current_user.namespace - if can?(current_user, :fork_project, @project) && @project.namespace != current_user.namespace
- if current_user.already_forked?(@project) - 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 Forked
- else - else
= link_to fork_project_path(@project), title: "Fork", class: "btn grouped", method: "POST" do = link_to fork_project_path(@project), title: "Fork", class: "btn grouped", method: "POST" do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment