IMprove stat-graph css

This commit is contained in:
Dmitriy Zaporozhets 2013-06-11 09:36:15 +03:00
parent 7b5d68f0a7
commit 9e2c8d9476
2 changed files with 7 additions and 16 deletions

View file

@ -1,5 +1,4 @@
.tint-box { .tint-box {
border-radius: 6px;
background: #f3f3f3; background: #f3f3f3;
position: relative; position: relative;
margin-bottom: 10px; margin-bottom: 10px;
@ -16,13 +15,11 @@
} }
#contributors .person { #contributors .person {
-moz-box-sizing: border-box; &:nth-child(even) {
box-sizing: border-box; float: right;
}
float: left; float: left;
border-radius: 2px; margin-top: 10px;
margin: 3px;
padding: 7px;
border: 1px solid #ddd;
} }
.contributors-list { .contributors-list {
@ -33,7 +30,7 @@
#contributors .person .spark { #contributors .person .spark {
display: block; display: block;
background: #f7f7f7; background: #f3f3f3;
} }
#contributors .person .area-contributor { #contributors .person .area-contributor {
@ -49,9 +46,3 @@
shape-rendering: crispedges; shape-rendering: crispedges;
stroke-dasharray: 3 3; stroke-dasharray: 3 3;
} }
.right{
float: right;
display: inline-block;
margin-top: 5px;
}

View file

@ -5,12 +5,12 @@
.stat-graph .stat-graph
.header.clearfix .header.clearfix
.right .pull-right
%select %select
%option{:value => "commits"} Commits %option{:value => "commits"} Commits
%option{:value => "additions"} Additions %option{:value => "additions"} Additions
%option{:value => "deletions"} Deletions %option{:value => "deletions"} Deletions
%h3#date_header %h3#date_header.page_title
%input#brush_change{:type => "hidden"} %input#brush_change{:type => "hidden"}
.graphs .graphs
#contributors-master #contributors-master