Use table row highlighting instead of images for deliniating query fragments. Fixes bug #11877.

This commit is contained in:
Colin Kuskie 2010-09-20 14:25:18 -07:00
parent e549df1b47
commit 1d7bd4e524
3 changed files with 10 additions and 6 deletions

View file

@ -14,6 +14,7 @@
- fixed #11866: Default ordering for Zip files is wrong - fixed #11866: Default ordering for Zip files is wrong
- fixed: typo in the Gallery Add Archive default templateId. - fixed: typo in the Gallery Add Archive default templateId.
- fixed #11876: packing templates, snippets, headtags removes conditional CSS comments - fixed #11876: packing templates, snippets, headtags removes conditional CSS comments
- fixed #11877: Criteria Builder on "shortcut by alternate criteria" gets ugly with many checkbox items
7.10.0 7.10.0
- fixed #11812: Checking www_ajaxSave's response in the cart js, urlencoding post parameters - fixed #11812: Checking www_ajaxSave's response in the cart js, urlencoding post parameters

View file

@ -157,8 +157,9 @@ sub _drawQueryBuilder {
# Table row with field info # Table row with field info
my $disabled = $self->{_disabled}; my $disabled = $self->{_disabled};
my $odd_row = $i % 2 ? q{class="qbtr_alt"} : "";
$output .= qq| $output .= qq|
<tr> <tr $odd_row>
<td class="qbtdleft"><p class="qbfieldLabel">$fieldLabel</p></td> <td class="qbtdleft"><p class="qbfieldLabel">$fieldLabel</p></td>
<td class="qbtd"> <td class="qbtd">
$opField $opField

View file

@ -1,20 +1,22 @@
.qbtr_alt {
background-color:#DCE4EE;
}
.qbtd { .qbtd {
height: 20px;
background-image: url(hline.gif);
padding-left: 5px; padding-left: 5px;
padding-right: 5px; padding-right: 5px;
height: 20px;
} }
.qbtdleft { .qbtdleft {
height: 20px;
background-image: url(hline.gif);
padding-right: 5px; padding-right: 5px;
height: 20px;
} }
.qbtdright { .qbtdright {
height: 20px;
background-image: url(vline.gif); background-image: url(vline.gif);
background-repeat: repeat-y; background-repeat: repeat-y;
height: 20px;
align: right; align: right;
} }