From 6849f469e918cf1a368d238b3f8437bea2e1b37a Mon Sep 17 00:00:00 2001 From: Adrian McEwen Date: Tue, 2 Feb 2021 21:16:56 +0000 Subject: [PATCH] Made the slots selectable. Slots in the past are faded. Part of #9 --- website/static/css/main.css | 14 +++++++++ website/templates/select-a-time.html | 43 +++++++++++++++++----------- 2 files changed, 40 insertions(+), 17 deletions(-) diff --git a/website/static/css/main.css b/website/static/css/main.css index 2b276f5..afbdd03 100644 --- a/website/static/css/main.css +++ b/website/static/css/main.css @@ -1,4 +1,6 @@ +/* I think all the items below are a copy of the FullCalendar.io CSS - AMc */ + /* classes attached to */ .fc-not-allowed, @@ -1427,3 +1429,15 @@ A VERTICAL event color: inherit; /* natural color for navlinks */ } + +/* Optimism-specific customisations */ + +.chosen-booking { + background-color: #87d836; + border-color: #87d836; +} + +.fc-event-past { + background-color: #9dc7f2; +} + diff --git a/website/templates/select-a-time.html b/website/templates/select-a-time.html index 010d3d8..32a4362 100644 --- a/website/templates/select-a-time.html +++ b/website/templates/select-a-time.html @@ -5,11 +5,33 @@