Commit ac148c50 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

style counters on navbar. minor ui changes

parent b7ea4e06e94f
......@@ -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;
......
......@@ -5,7 +5,7 @@
*/
.ui_basic {
.separator {
background: white;
background: #F9F9F9;
border-left: 1px solid #DDD;
}
}
......@@ -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
......
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