wigjs
Version:
Minimalistic, scalable, extensible, dependency-less Front-end factory for HTML5 applications
60 lines (54 loc) • 1.1 kB
CSS
.PriceButton {
border: none;
border-radius: .5em;
cursor: pointer;
/*box-shadow: 0 .1em 0 rgba(0, 0, 0, .15);*/
/*color: aliceblue;*/
position: relative;
padding: 0;
outline: none;
min-width: 12em;
min-height: 12em;
width: 50%;
color: #2C3E50;
}
.PriceButton:hover {
background-color: aliceblue;
}
.PriceButton.buy {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.PriceButton.sell {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
/* green */
.PriceButton.green {
border-bottom: 4px solid #1abc9c;
}
.PriceButton.green:hover {
/*background-color: #48c9b0;*/
}
/* red */
.PriceButton.red {
border-bottom: 4px solid #e74c3c;
}
.PriceButton.red:hover {
/*background-color: #ec7063;*/
}
.PriceButton .action {
display: block;
text-transform: uppercase;
position: absolute;
top: .5em;
left: .5em;
font-size: 2em;
}
.PriceButton .price {
font-size: 2.5em;
/*text-shadow: 0 .1em 0 rgba(0, 0, 0, .15);*/
position: absolute;
right: .5em;
bottom: .5em;
}