From 717c49f43c7b2a44726b53c9c2ea9a5782ef6695 Mon Sep 17 00:00:00 2001
From: Bhabesh <bhabesh.mukhopadhyay@nibio.no>
Date: Mon, 6 Jul 2020 11:20:15 +0200
Subject: [PATCH] Table contrast adjusted

css of Odd and Even strips background color overide
---
 .../templates/cydiapomonella/index.html           | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/cydiapomonella/templates/cydiapomonella/index.html b/cydiapomonella/templates/cydiapomonella/index.html
index 0f4878bc..7437c4c0 100644
--- a/cydiapomonella/templates/cydiapomonella/index.html
+++ b/cydiapomonella/templates/cydiapomonella/index.html
@@ -46,11 +46,26 @@
 {% endblock %}
 {% block customCSS %}
     <style>
+        /* Over ride datatable property to maintain default color */
         .navbar-default {
             background-color: #fff;
             border-color:#fff;
         }
+        
+        /* Text align center - used in datatable */
         .colCenter {text-align: center;}
+
+        /* Data table odd stripe color */
+        .table-striped>tbody>tr:nth-child(odd)>td,
+        .table-striped>tbody>tr:nth-child(odd)>th {
+            background-color: #ebf1d4 /* Choose your own color here */
+        }
+ 
+        /* Data table even stripe color */
+        .table-striped>tbody>tr:nth-child(even)>td,
+        .table-striped>tbody>tr:nth-child(even)>th {
+        background-color: #e4ddd6 /* Choose your own color here */
+        }
         
     </style>
 {% endblock %}
-- 
GitLab