From 362c7400eba5d73c708a577b7a4f561d9ba15446 Mon Sep 17 00:00:00 2001 From: Daru13 Date: Sat, 24 Nov 2018 03:22:33 +0100 Subject: [PATCH] Improve the look of the first/last hour slots (for each day). --- event/static/css/calendar.css | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/event/static/css/calendar.css b/event/static/css/calendar.css index 492e58e..9864fb8 100644 --- a/event/static/css/calendar.css +++ b/event/static/css/calendar.css @@ -70,13 +70,24 @@ background-color: #FCFCFC;/* #464646; */ } -#cal-container .cal-time-slot-hour:last-child { +#cal-container .cal-time-slot-hour:first-child { + color: transparent; border-right: 0; } -#cal-container .cal-time-slot.cal-new-day, -#cal-container .cal-time-slot-hour.cal-new-day { - border-left: 2px solid #AAA; +#cal-container .cal-time-slot-hour.cal-last-hour { + padding: 0; + color: transparent; +} + +#cal-container .cal-time-slot.cal-last-hour, +#cal-container .cal-time-slot-hour.cal-last-hour { + border-right: 1px solid #AAA; +} + +#cal-container .cal-time-slot.cal-first-hour, +#cal-container .cal-time-slot-hour.cal-first-hour { + border-left: 1px solid #AAA; } /* Events */