diff options
author | Joris Guyonvarch | 2015-03-16 20:37:44 +0100 |
---|---|---|
committer | Joris Guyonvarch | 2015-03-16 20:37:44 +0100 |
commit | 4e5f27a5b1428b9ad190a87a6bf0d4fe187387c9 (patch) | |
tree | 726182399610921064223cd0dd2b868a9ca710f8 /design | |
parent | cd3b37adebca99138fad1acca37908183036ace9 (diff) |
Adding a remove button to delete a timer
Diffstat (limited to 'design')
-rw-r--r-- | design/design.css | 25 | ||||
-rw-r--r-- | design/reset.css | 5 |
2 files changed, 22 insertions, 8 deletions
diff --git a/design/design.css b/design/design.css index 245e498..b6047d8 100644 --- a/design/design.css +++ b/design/design.css @@ -28,23 +28,32 @@ h1 { } .timer { - font-size: 26px; - line-height: 26px; + line-height: 50px; + height: 50px; } .block { display: inline-block; + background-color: #DDDDDD; + text-align: center; + height: 50px; +} + +.timer.isRunning > .name { + background-color: green; +} + +.timer > button.name { width: 200px; - background-color: #EEEEEE; - padding: 5px; + border: none; } -.timerTime { - cursor: pointer; +.timer > .time { + width: 100px; } -.isRunning { - background-color: green; +.timer > button.remove { + border: none; } .timer:not(last-child) { diff --git a/design/reset.css b/design/reset.css index a70d2bc..419794c 100644 --- a/design/reset.css +++ b/design/reset.css @@ -53,3 +53,8 @@ html { *, *:before, *:after { box-sizing: inherit; } + +button { + cursor: pointer; + box-sizing: border-box; +} |