diff --git a/app/assets/stylesheets/sections/stat_graph.scss b/app/assets/stylesheets/sections/stat_graph.scss index a0bf8568a75..4baec343d6e 100644 --- a/app/assets/stylesheets/sections/stat_graph.scss +++ b/app/assets/stylesheets/sections/stat_graph.scss @@ -1,5 +1,4 @@ .tint-box { - border-radius: 6px; background: #f3f3f3; position: relative; margin-bottom: 10px; @@ -16,13 +15,11 @@ } #contributors .person { - -moz-box-sizing: border-box; - box-sizing: border-box; + &:nth-child(even) { + float: right; + } float: left; - border-radius: 2px; - margin: 3px; - padding: 7px; - border: 1px solid #ddd; + margin-top: 10px; } .contributors-list { @@ -33,7 +30,7 @@ #contributors .person .spark { display: block; - background: #f7f7f7; + background: #f3f3f3; } #contributors .person .area-contributor { @@ -49,9 +46,3 @@ shape-rendering: crispedges; stroke-dasharray: 3 3; } - -.right{ - float: right; - display: inline-block; - margin-top: 5px; -} diff --git a/app/views/stat_graph/show.html.haml b/app/views/stat_graph/show.html.haml index 21af1153fcf..05bc1436e6d 100644 --- a/app/views/stat_graph/show.html.haml +++ b/app/views/stat_graph/show.html.haml @@ -5,12 +5,12 @@ .stat-graph .header.clearfix - .right + .pull-right %select %option{:value => "commits"} Commits %option{:value => "additions"} Additions %option{:value => "deletions"} Deletions - %h3#date_header + %h3#date_header.page_title %input#brush_change{:type => "hidden"} .graphs #contributors-master