Skip to content

Commit

Permalink
merge, firefox fix, fixing height
Browse files Browse the repository at this point in the history
  • Loading branch information
joshica committed Jan 23, 2013
2 parents 893eb0e + d5a2dd6 commit 95962e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<script type="text/javascript" src="progressbar.js"></script>

<link rel="stylesheet" type="text/css" href="progressbar.css">
<link rel="stylesheet" type="text/css" href="skins/default/progressbar.css">
<link rel="stylesheet" type="text/css" href="skins/tiny-green/progressbar.css">

</head>
<body>


<div id="progressBar" class="default"><div></div></div>
<div id="progressBar" class="tiny-green"><div></div></div>


<script>
Expand Down
8 changes: 2 additions & 6 deletions skins/tiny-green/progressbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

.tiny-green {
position: relative;
height: 16px;
padding: 3px;

background-image:-moz-linear-gradient(53% 13% -90deg,rgb(58,64,80) 0%,rgb(58,64,80) 47%,rgb(46,50,62) 48%,rgb(46,50,62) 100%);
background-image:-webkit-gradient(linear,53% 13%,53% 79%,color-stop(0, rgb(58,64,80)),color-stop(0.47, rgb(58,64,80)),color-stop(0.48, rgb(46,50,62)),color-stop(1, rgb(46,50,62)));
Expand All @@ -19,13 +19,9 @@
}

.tiny-green div {
height: 8px;
position: absolute;
top: 4px;
left: 4px;

font-family: arial;
font-size: 11px;
font-size: 3px;
color: white;
text-align: right;
text-shadow: 0px 0px 2px #000;
Expand Down

0 comments on commit 95962e7

Please sign in to comment.