summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-11 09:36:15 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-11 09:36:15 +0300
commit9e2c8d94766617358d39b81fe42f360e6dc469f8 (patch)
tree105b1171aa609759b5ef4cdacb9609701503e6a4
parent7b5d68f0a7fe2f8c9ef85f2fca10ce3d3bb7e388 (diff)
downloadgitlab-ce-9e2c8d94766617358d39b81fe42f360e6dc469f8.tar.gz
IMprove stat-graph css
-rw-r--r--app/assets/stylesheets/sections/stat_graph.scss19
-rw-r--r--app/views/stat_graph/show.html.haml4
2 files changed, 7 insertions, 16 deletions
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