diff options
author | crupest <crupest@outlook.com> | 2019-02-23 00:51:45 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-02-23 00:51:45 +0800 |
commit | 8b72c82efc63dd781635a939a93982ec693b6930 (patch) | |
tree | 7ae9593aa65a091f83492c67244f9743b5cfc461 /Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.css | |
parent | e236b5064cd62f40bc910fafe48ac4b9701a4bcd (diff) | |
download | timeline-8b72c82efc63dd781635a939a93982ec693b6930.tar.gz timeline-8b72c82efc63dd781635a939a93982ec693b6930.tar.bz2 timeline-8b72c82efc63dd781635a939a93982ec693b6930.zip |
Add icon and redesign card in todo page.
Diffstat (limited to 'Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.css')
-rw-r--r-- | Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.css | 31 |
1 files changed, 17 insertions, 14 deletions
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; +} |