aboutsummaryrefslogtreecommitdiff
path: root/design/design.css
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-03-19 00:55:50 +0100
committerJoris Guyonvarch2015-03-19 01:00:22 +0100
commitaf9465f928f28344aa59a407adb21e5ac047a0f9 (patch)
tree903327b8b8053933b95e2766b115ee48ecce9ef8 /design/design.css
parent7ca7887ae82c09270869ed6737f94a99e210665c (diff)
Adding a Ringing state that animate the color, does not ring a sound for the moment
Diffstat (limited to 'design/design.css')
-rw-r--r--design/design.css23
1 files changed, 19 insertions, 4 deletions
diff --git a/design/design.css b/design/design.css
index ac34f6f..257a017 100644
--- a/design/design.css
+++ b/design/design.css
@@ -5,15 +5,17 @@
height: 150px;
line-height: 150px;
font-size: 70px;
- padding-left: 50px;
}
-.title > h1 {
+.title > button.title {
letter-spacing: 10px;
- float: left;
+ border: none;
+ padding-left: 50px;
+ padding-right: 50px;
+ font-family: "DejaVu Serif";
}
-.title > button {
+.title > button.addTimer {
float: right;
color: white;
border: 5px solid white;
@@ -43,6 +45,19 @@
border-radius: 2px;
}
+@keyframes ringing {
+ 30% {
+ background-color: #FED5AE;
+ }
+ 100% {
+ background-color: #FED5AE;
+ }
+}
+
+.timer.isRinging > :not(.remove) {
+ animation: ringing 2s linear infinite alternate;
+}
+
.timer.isRunning > .time {
color: #33AA22;
}