Add a donation progress bar

This commit is contained in:
Trever Fischer
2012-04-21 12:41:14 -04:00
parent 9dc7d548ae
commit bf23b6f135
6 changed files with 60 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 588 B

BIN
static/css/img/diamond.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

View File

@@ -424,3 +424,41 @@ fieldset {
.topic .avatar {
float: left;
}
#donation-slider {
border: 2px solid black;
margin-bottom: 1em;
padding: 3px;
text-align: center;
}
#donation-progress {
height: 25px;
background-color: #0f0;
background: url(img/diamond-block.png);
position: relative;
}
#donation-progress:after {
height: 25px;
width: 25px;
position: absolute;
right: -15px;
content: "";
background: url(img/diamond.png) center center no-repeat;
}
#donation-text {
font-weight: bold;
vertical-align: middle;
line-height: 25px;
padding: 0px 10px;
text-align: center;
z-index: 1;
color: #fff;
background: url(img/adminium.png);
}
#donation-text a {
color: #fff;
}