From 65d0e89f06a26d882ff8194b84623b762927d7fa Mon Sep 17 00:00:00 2001 From: SimonGschnell Date: Fri, 15 Nov 2024 11:48:55 +0100 Subject: [PATCH] refactor(Stundenplan events css): moves the class definitions of the events to the slot templates and adds little animations --- public/css/Cis4/Cis.css | 12 ++++++++++++ public/js/apps/Cis/Stundenplan.js | 4 ++-- public/js/components/Calendar/Day/Page.js | 2 +- public/js/components/Calendar/Week/Page.js | 2 +- public/js/components/Cis/Mylv/LvMenu.js | 2 +- 5 files changed, 17 insertions(+), 5 deletions(-) diff --git a/public/css/Cis4/Cis.css b/public/css/Cis4/Cis.css index e9343497c..bace22f52 100644 --- a/public/css/Cis4/Cis.css +++ b/public/css/Cis4/Cis.css @@ -462,4 +462,16 @@ html { font-family: var(--fa-style-family, "Font Awesome 6 Free"); font-weight: var(--fa-style, 900); margin-inline-start: 0.5rem; +} + +.fhc-entry:hover{ + background-color:#00649c !important; + color:white !important; + border: none !important; +} + +.fhc-entry { + transition-property: background,color; + transition-duration: 0.3s,0.2s; + transition-timing-function: ease-out,ease-out; } \ No newline at end of file diff --git a/public/js/apps/Cis/Stundenplan.js b/public/js/apps/Cis/Stundenplan.js index ca464a4be..4c575031a 100644 --- a/public/js/apps/Cis/Stundenplan.js +++ b/public/js/apps/Cis/Stundenplan.js @@ -130,14 +130,14 @@ const app = Vue.createApp({