From 830cecd7d03ecd49550adb76a578a7ad4005ffe5 Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 23 Feb 2019 00:51:45 +0800 Subject: Add icon and redesign card in todo page. --- .../todo-list-page/todo-list-page.component.css | 31 ++++++++++++---------- 1 file changed, 17 insertions(+), 14 deletions(-) (limited to 'Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.css') diff --git a/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.css b/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.css index 89a0f0ce..ed260d5c 100644 --- a/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.css +++ b/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.css @@ -13,24 +13,19 @@ justify-content: space-between; } -.item-id { - display: inline-block; - text-align: center; - border-radius: 0.2rem; - width: 1.2rem; - height: 1.2rem; -} - -.item-id-open { - background: red; +.item-card { + display: flex; + align-items: center; } -.item-id-closed { - background: green; +.item-img { + padding: 1px; + background: white; + border-radius: 3px; } .item-title { - margin-left: 5px; + padding-left: 5px; color: black; text-decoration: none; } @@ -45,9 +40,17 @@ align-items: center; } -.item-id-sample { +.sample-color-block { border-radius: 0.2em; width: 1em; height: 1em; margin-right: 2px; } + +.sample-color-block-open { + background: tomato; +} + +.sample-color-block-closed { + background: mediumspringgreen; +} -- cgit v1.2.3