From 21e03fa179137186ff0c07207db76e84199a4c00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Phillip=20K=C3=BChne?= Date: Thu, 22 Aug 2019 16:48:07 +0200 Subject: [PATCH] Only highlight upcoming entries --- app/static/css/style.css | 8 ++++---- app/templates/main.html | 2 +- app/templates/main_admin.html | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/static/css/style.css b/app/static/css/style.css index e4b8f28..8e3bf3d 100644 --- a/app/static/css/style.css +++ b/app/static/css/style.css @@ -33,22 +33,22 @@ table td { text-overflow: ellipsis; } -tbody tr:first-child { +table.entries tbody tr:first-child { background-color: #007bff80; font-weight: 600; } -tbody tr:nth-child(2) { +table.entries tbody tr:nth-child(2) { background-color: #007bff40; font-weight: 500; } -tbody tr:nth-child(3) { +table.entries tbody tr:nth-child(3) { background-color: #007bff20; font-weight: 400; } -tbody tr:nth-child(4) { +table.entries tbody tr:nth-child(4) { background-color: #007bff10; } diff --git a/app/templates/main.html b/app/templates/main.html index 16da2d0..28072e4 100644 --- a/app/templates/main.html +++ b/app/templates/main.html @@ -4,7 +4,7 @@ {% block title %}Warteliste{% endblock %} {% block content %} Eintragen - -