From 5cc159636395bbbc8e20266e073ecb2d8ad0bbba Mon Sep 17 00:00:00 2001 From: Theo Reichert Date: Fri, 17 Nov 2023 00:31:02 +0100 Subject: [PATCH] Fix template and css for calender --- .../resources/static/resources/css/style.css | 14 ++++++++++- .../resources/templates/orders_calender.html | 24 +------------------ 2 files changed, 14 insertions(+), 24 deletions(-) diff --git a/src/main/resources/static/resources/css/style.css b/src/main/resources/static/resources/css/style.css index 3e93e1d..51d79be 100644 --- a/src/main/resources/static/resources/css/style.css +++ b/src/main/resources/static/resources/css/style.css @@ -4,11 +4,23 @@ max-width: 24rem; } -.calendar { +.calendar table { border-collapse: separate; + background-color: lightgrey; + align: center; } .calendar th, .calendar td { font-weight: bold; + vertical-align: top; +} + +.calendar td:hover { + background-color: azure; + scale: 1.04; + transition-delay: 0s; + transition-duration: 0.2s; + transition-property: scale; + transition-timing-function: ease; } diff --git a/src/main/resources/templates/orders_calender.html b/src/main/resources/templates/orders_calender.html index 0ad20c9..9f5dfa9 100644 --- a/src/main/resources/templates/orders_calender.html +++ b/src/main/resources/templates/orders_calender.html @@ -7,32 +7,11 @@
- - - - - - +
- - - - - -
-
-