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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Jonathan Druart 2014-12-02 10:51:08 +01:00 committed by Tomas Cohen Arazi
parent 4958a8a0f6
commit 57ac4a126b
2 changed files with 14 additions and 2 deletions

View file

@ -246,8 +246,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;
}

View file

@ -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>