Created
August 5, 2010 20:38
-
-
Save chriseppstein/510337 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.bar | |
.fill{:style => "width: #{(percent_full*100).round}%"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$bar-fill-color: #A9C13B | |
.bar | |
border: 1px solid #666 | |
margin-top: 0.25em | |
.fill | |
height: 1.333em | |
background: $bar-fill-color | |
+linear-gradient(color-stops($bar-fill-color, darken($bar-fill-color, 25%))) | |
.bar, .fill | |
+border-radius(3px) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think .fill should have 2px border-radius. Currently you see a small white pixel in the corner.