From 97eb397a8e04b46ec261d0e2e4c6c815ba53d5dd Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Wed, 19 Oct 2022 22:34:34 +0000 Subject: [PATCH] Add CSS classes --- public/css/app.css | 24 +++++++++++++++++++++--- resources/views/tracker.blade.php | 9 ++++++--- 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/public/css/app.css b/public/css/app.css index 8e690b2..3d68bf5 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -38,6 +38,11 @@ details h2 { * Layout */ +.page-header { + background-color: #a4ecfc; + border-bottom: 5px solid black; +} + .other-links { display: block; margin: auto; @@ -86,16 +91,29 @@ details h2 { grid-column-end: 3; } -details { +.checkin { border-top: 1px solid black; padding: 1em 0; } -details[open] summary { +.checkin__summary { + cursor: pointer; +} + +.checkin[open] .checkin__summary { + margin-bottom: 1em; + border-bottom: 1px solid gray; +} + +.checkin__meta { + margin: 0; +} + +.checkin[open] .checkin__meta { margin-bottom: 1em; } -#checkinList li:first-child details { +#checkinList li:first-child .checkin { border-top: none; } diff --git a/resources/views/tracker.blade.php b/resources/views/tracker.blade.php index ccb7e2f..0edf338 100644 --- a/resources/views/tracker.blade.php +++ b/resources/views/tracker.blade.php @@ -17,7 +17,7 @@ -
+