Thomas Wade 08f83d9adf Implement cooldown on frontend
Also make cooldown time dependent on mates.json
2018-10-06 21:08:57 +09:30

70 lines
931 B
CSS

html,
body
{
margin: 0;
padding: 0;
}
.container
{
font-family: 'Arial', sans-serif;
font-size: 40pt;
width: 300px;
height: 400px;
margin-top: calc(50vh - 200px);
margin-right: auto;
margin-left: auto;
}
.above,
.below
{
line-height: 100px;
width: 100%;
text-align: center;
vertical-align: middle;
}
.count
{
font-size: 80pt;
line-height: 200px;
width: 100%;
user-select: none;
transition-duration: .15s;
transition-property: color;
text-align: center;
vertical-align: middle;
}
.count:hover:not(.count[disabled])
{
color: green;
}
.count[disabled]
{
color: #0009;
}
.timeRemainingBar
{
position: relative;
bottom: 10px;
height: 5px;
margin-right: auto;
margin-left: auto;
transition-timing-function: linear;
transition-duration: 1s;
transition-property: width;
background-color: #0009;
}