Commit 5f63c005 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix graph and settings highlight

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 6ef75dc7
......@@ -46,7 +46,7 @@ class @ContributorsGraph
class @ContributorsMasterGraph extends ContributorsGraph
constructor: (@data) ->
@width = $('.container').width() - 70
@width = $('.container').width() - 345
@height = 200
@x = null
@y = null
......@@ -119,7 +119,7 @@ class @ContributorsMasterGraph extends ContributorsGraph
class @ContributorsAuthorGraph extends ContributorsGraph
constructor: (@data) ->
@width = $('.container').width()/2 - 100
@width = $('.container').width()/2 - 225
@height = 200
@x = null
@y = null
......
......@@ -74,14 +74,20 @@ body.project {
.nav-sidebar li a .count {
float: right;
background: #eee;
padding: 2px 8px;
padding: 0px 8px;
@include border-radius(6px);
}
.nav-sidebar li.active a {
color: #333;
background: #EEE;
font-weight: bold;
.nav-sidebar li {
&.active a {
color: #333;
background: #EEE;
font-weight: bold;
&.no-highlight {
background: none;
}
}
}
.nav-sidebar li {
......
......@@ -41,7 +41,7 @@
- if project_nav_tab? :settings
= nav_link(html_options: {class: "#{project_tab_class} separate-item"}) do
= link_to edit_project_path(@project), class: "stat-tab tab " do
= link_to edit_project_path(@project), class: "stat-tab tab no-highlight" do
Settings
%i.fa.fa-angle-down
- if defined?(settings) && settings
......
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