fix progress bars by removing border and negative margins

This commit is contained in:
Mark Otto
2012-01-07 23:21:40 -08:00
parent 961c479422
commit d170224457
4 changed files with 45 additions and 107 deletions

View File

@@ -39,16 +39,14 @@
height: 18px;
margin-bottom: 18px;
#gradient > .vertical(#f5f5f5, #f9f9f9);
border: 1px solid #ddd;
.box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
}
// Bar of progress
.progress .bar {
width: 0%;
height: 20px;
margin: -1px;
#gradient > .vertical(#62c462, #57a957);
height: 18px;
margin: ;
#gradient > .vertical(#149bdf, #0480be);
.box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
.box-sizing(border-box);