From 824184ea42a5ae22010c2952c93067a17cd5b9b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Phillip=20K=C3=BChne?= Date: Fri, 13 Dec 2019 15:30:56 +0100 Subject: [PATCH] Fix CSS Resolves #2 --- backend/app/static/css/style.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/app/static/css/style.css b/backend/app/static/css/style.css index 8e3bf3d..b7088b6 100644 --- a/backend/app/static/css/style.css +++ b/backend/app/static/css/style.css @@ -33,22 +33,22 @@ table td { text-overflow: ellipsis; } -table.entries tbody tr:first-child { +table.entries tbody tr[data-index="0"] { background-color: #007bff80; font-weight: 600; } -table.entries tbody tr:nth-child(2) { +table.entries tbody tr[data-index="1"] { background-color: #007bff40; font-weight: 500; } -table.entries tbody tr:nth-child(3) { +table.entries tbody tr[data-index="2"] { background-color: #007bff20; font-weight: 400; } -table.entries tbody tr:nth-child(4) { +table.entries tbody tr[data-index="3"] { background-color: #007bff10; }