-
FEATURED COMPONENTS
First time here? Check out the FAQ!
hi,
can any tell me how to change the background color of list item (both the odd & the other 1) in zk 3.5.1 ?
many thx
I use the following styles in my stylesheet.
/* Even rows in a listbox */
tr.z-list-item, tr.z-row td.z-row-inner, tr.z-row td.z-group-inner,
tr.z-row td.z-group-foot-inner, tr.z-row {
background: #EEEEEE none repeat scroll 0 0;
}
/* Odd rows in a listbox */
tr.odd td.gc, tr.odd, tr.z-listbox-odd, tr.z-grid-odd td.z-row-inner,
tr.z-grid-odd {
background: #FFFFFF none repeat scroll 0 0;
}
/* Unselected rows with the mouse hovering over them */
tr.overd, td.overd, tr.z-list-item-over {
background: #D3DBFC none repeat scroll 0 0;
}
/* Selected rows in a listbox */
tr.seld, td.seld, tr.z-list-item-seld {
background: #B8BFDC none repeat scroll 0 0;
}
/* Selected rows with the mouse hovering over them */
tr.overseld, td.overseld, tr.z-list-item-over-seld {
background: #D3DBFC none repeat scroll 0 0;
}
Asked: 2008-10-30 12:43:06 +0800
Seen: 604 times
Last updated: Nov 11 '11