From e76401c79372f237164ff17a642b47e31d5d7bfe Mon Sep 17 00:00:00 2001
From: Jonathan Druart <jonathan.druart@biblibre.com>
Date: Tue, 2 Dec 2014 10:51:08 +0100
Subject: [PATCH] [PASSED QA] Bug 13369: table should been highlighted correctly when row are grouped
The css used to highlight the rows comes from staff-global.css
We need a more specific rule to be used.
Test plan:
Go on the fund list view and confirm that the rows are correctly
highlighted.
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
---
koha-tmpl/intranet-tmpl/prog/en/css/datatables.css | 14 +++++++++++++-
.../prog/en/modules/admin/aqbudgets.tt | 2 +-
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/datatables.css b/koha-tmpl/intranet-tmpl/prog/en/css/datatables.css
index f7239fe..e70a5a8 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/css/datatables.css
+++ b/koha-tmpl/intranet-tmpl/prog/en/css/datatables.css
@@ -241,8 +241,20 @@ span.filter_column > input.text_filter {
}
/* Row grouping */
-td.group {
+td.group,
+table.group td.group {
background-color: #D1CFD0;
border-bottom: 2px solid #A19B9E;
border-top: 2px solid #A19B9E;
}
+
+table.group tr.odd td {
+ background-color : #F3F3F3;
+ border : 1px solid #BCBCBC;
+ border-right : 1px solid #BCBCBC;
+}
+
+table.group tr.even td {
+ background-color: #FFF;
+ border-right : 1px solid #BCBCBC;
+}
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt
index 5da1b50..2adf469 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt
@@ -273,7 +273,7 @@ var MSG_PARENT_BENEATH_BUDGET = "- " + _("New budget-parent is beneath budget")
[% IF budgets %]
-<table id="budgeth">
+<table id="budgeth" class="group">
[% UNLESS budget_period_id %]
<caption>
<span class="actions"><a href="#" id="expand_all">Expand all</a>
--
1.7.2.5