muharni/resources/public/style.css
Simon Brooke 353e37cff5
Some user interface improvements
Close control on popup, progress bar when recording.
2022-09-18 18:27:53 +01:00

97 lines
1.4 KiB
CSS

body {
padding: 0 5%;
}
table {
margin: auto;
}
td,
th {
width: 7%;
border: thin solid silver;
text-align: center;
}
td:hover {
background-color: silver;
}
th {
background-color: silver;
}
.character-table {
position: relative
}
.entry {
font-size: 3em;
}
.progressbar {
width: 80%;
margin: 25px auto;
border: solid 1px #000;
}
.progressbar .inner {
height: 15px;
animation: progressbar-countdown;
/* Placeholder, this will be updated using javascript */
animation-duration: 40s;
/* We stop in the end */
animation-iteration-count: 1;
/* Stay on pause when the animation is finished finished */
animation-fill-mode: forwards;
/* We start paused, we start the animation using javascript */
animation-play-state: paused;
/* We want a linear animation, ease-out is standard */
animation-timing-function: linear;
}
@keyframes progressbar-countdown {
0% {
width: 100%;
background: #0F0;
}
100% {
width: 0%;
background: #F00;
}
}
#bug {
width: 1em;
height: 1em;
}
#closebox {
color: red;
float: right;
}
#footer {
margin-top: 2em;
border-top: thin solid gray;
text-align: center;
font-size: 0.8em;
}
#footer p {
margin: 0;
padding: 0.25em;
}
#popup {
position: absolute;
display: none;
background-color: whitesmoke;
z-index: 10;
}
#record-stop {
color: red;
}