From 4e5f27a5b1428b9ad190a87a6bf0d4fe187387c9 Mon Sep 17 00:00:00 2001 From: Joris Guyonvarch Date: Mon, 16 Mar 2015 20:37:44 +0100 Subject: Adding a remove button to delete a timer --- design/design.css | 25 +++++++++++++++++-------- design/reset.css | 5 +++++ 2 files changed, 22 insertions(+), 8 deletions(-) (limited to 'design') 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; +} -- cgit v1.2.3