Commit ac148c50b07e298ff3f54147bd3faa0485f7e0a1
1 parent
9a94f5eb
Exists in
master
and in
4 other branches
style counters on navbar. minor ui changes
Showing
3 changed files
with
6 additions
and
6 deletions
Show diff stats
app/assets/stylesheets/sections/nav.scss
... | ... | @@ -10,17 +10,17 @@ |
10 | 10 | top: 3px; |
11 | 11 | overflow: hidden; |
12 | 12 | .count { |
13 | - position: relative; | |
14 | - top: -1px; | |
13 | + font-weight: normal; | |
15 | 14 | display: inline-block; |
16 | 15 | height: 15px; |
17 | - margin: 0 0 0 5px; | |
18 | - padding: 0 8px 1px 8px; | |
16 | + padding: 1px 6px; | |
19 | 17 | height: auto; |
20 | 18 | font-size: 0.82em; |
21 | 19 | line-height: 14px; |
22 | 20 | text-align: center; |
23 | 21 | color: #777; |
22 | + background: #eee; | |
23 | + @include border-radius(8px); | |
24 | 24 | } |
25 | 25 | .label { |
26 | 26 | background: $hover; | ... | ... |
app/assets/stylesheets/themes/ui_basic.scss
app/views/projects/_clone_panel.html.haml
... | ... | @@ -7,7 +7,7 @@ |
7 | 7 | - unless @project.empty_repo? |
8 | 8 | - if can?(current_user, :fork_project, @project) && @project.namespace != current_user.namespace |
9 | 9 | - if current_user.already_forked?(@project) |
10 | - = link_to project_path(current_user.fork_of(@project)), class: 'btn grouped success' do | |
10 | + = link_to project_path(current_user.fork_of(@project)), class: 'btn grouped btn-primary' do | |
11 | 11 | Forked |
12 | 12 | - else |
13 | 13 | = link_to fork_project_path(@project), title: "Fork", class: "btn grouped", method: "POST" do | ... | ... |