Add a donation progress bar
This commit is contained in:
BIN
static/css/img/diamond-block.png
Normal file
BIN
static/css/img/diamond-block.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 588 B |
BIN
static/css/img/diamond.png
Normal file
BIN
static/css/img/diamond.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 314 B |
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user