From ea54af6bc8d934429e78da1af85b3378793a46e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Philipp=20Sch=C3=BCttl=C3=B6ffel?=
 <schuettloeffel@zqs.uni-hannover.de>
Date: Thu, 28 Mar 2024 08:18:47 +0000
Subject: [PATCH] =?UTF-8?q?Resolve=20"Terminkalender/Stundenplan:=20nur=20?=
 =?UTF-8?q?15=20Farben=20verf=C3=BCgbar"?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Closes #3909

Merge request studip/studip!2765
---
 .../assets/stylesheets/less/schedule.less     | 42 +++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/resources/assets/stylesheets/less/schedule.less b/resources/assets/stylesheets/less/schedule.less
index bdb9b25e826..096ffb6a45f 100644
--- a/resources/assets/stylesheets/less/schedule.less
+++ b/resources/assets/stylesheets/less/schedule.less
@@ -265,6 +265,15 @@ td.schedule-adminbind {
         &.schedule-category15 {
             background-color: @calendar-category-15;
         }
+        &.schedule-category16 {
+            background-color: $calendar-category-16;
+        }
+        &.schedule-category17 {
+            background-color: $calendar-category-17;
+        }
+        &.schedule-category18 {
+            background-color: $calendar-category-18;
+        }
         &.schedule-category255 {
             background-color: @calendar-category-255;
         }
@@ -439,5 +448,38 @@ div.schedule_entry {
                 color: contrast(@calendar-category-15-aux, black, white);
             }
         }
+        &.schedule-category16 {
+            background-color: $calendar-category-16-aux;
+            border: 1px solid $calendar-category-16;
+            dt {
+                background-color: $calendar-category-16;
+                color: contrast($calendar-category-16, $black, $white);
+            }
+            dd {
+                color: contrast($calendar-category-16-aux, $black, $white);
+            }
+        }
+        &.schedule-category17 {
+            background-color: $calendar-category-17-aux;
+            border: 1px solid $calendar-category-17;
+            dt {
+                background-color: $calendar-category-17;
+                color: contrast($calendar-category-17, $black, $white);
+            }
+            dd {
+                color: contrast($calendar-category-17-aux, $black, $white);
+            }
+        }
+        &.schedule-category18 {
+            background-color: $calendar-category-18-aux;
+            border: 1px solid $calendar-category-18;
+            dt {
+                background-color: $calendar-category-18;
+                color: contrast($calendar-category-18, $black, $white);
+            }
+            dd {
+                color: contrast($calendar-category-18-aux, $black, $white);
+            }
+        }
     }
 }
-- 
GitLab