forked from apg/timer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
timer.css
69 lines (59 loc) · 1.01 KB
/
timer.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
@-webkit-keyframes blink {
0% {
color: #fff;
}
25% {
color: #fff;
}
50% {
color: #aa0000;
}
100% {
color: #fff;
}
}
body {
/* font-size: 62.5%;*/
font-family: Liberation Serif, Times;
background: #ffffff;
margin: 0;
padding: 0;
text-align: center;
}
#wrapper {
margin: auto 0;
}
#wrapper.warning {
background: #ff0000;
}
#wrapper.warning #timer.playing {
color: #ffffff;
}
#wrapper.warning #timer.ohshit {
-webkit-animation-name: blink;
-webkit-animation-duration: 1s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
}
#wrapper.warning #timer.paused {
color: #0000aa;
-webkit-animation-name: blink;
-webkit-animation-duration: 1s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
}
#wrapper.warning #timer.stopped {
color: #ffffff;
}
#wrapper.ok #timer.playing {
color: #00aa00;
}
#wrapper.ok #timer.paused {
color: #0000ff;
}
#wrapper.ok #timer.stopped {
color: #ff0000;
}
#sound {
display: none;
}