From c15cedbb57d2e44c862c27374de54d469d0d1f6a Mon Sep 17 00:00:00 2001
From: Tom Teichler <tom.teichler@teckids.org>
Date: Sun, 27 Oct 2019 15:08:18 +0100
Subject: [PATCH] Fix color of table.

---
 .../alsijil/static/css/alsijil/full_register.css  | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/biscuit/apps/alsijil/static/css/alsijil/full_register.css b/biscuit/apps/alsijil/static/css/alsijil/full_register.css
index cfcc33406..ff1e2558b 100644
--- a/biscuit/apps/alsijil/static/css/alsijil/full_register.css
+++ b/biscuit/apps/alsijil/static/css/alsijil/full_register.css
@@ -129,22 +129,21 @@ th.lessons-day-head {
   transform: rotate(-180deg);
 }
 
-tr.lesson-substituted {
-  background-color: #ffc107;
-}
-
-tr.lesson-cancelled {
-  background-color: #dc3545;
+tr.lesson-cancelled td.subj {
+  text-decoration: line-through;
 }
 
 tr.lesson-cancelled td {
-  text-decoration: line-through:
+  background-color: #dc3545;
 }
-
 tr.lesson-substituted td.lesson-subj {
   text-decoration: line-through;
 }
 
+tr.lesson-substituted td {
+  background-color: #ffc107;
+}
+
 td.lesson-notes {
   font-size: 80%;
 }
-- 
GitLab