mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-14 15:16:04 +10:00
Fix graph and settings highlight
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user