I think this will do what you are asking for in any "modern" browser except IE8:
mkdir -p /etc/e-smith/templates-custom/etc/e-smith/web/common/css/sme_main.css
cd /etc/e-smith/templates-custom/etc/e-smith/web/common/css/sme_main.css
echo '{
$OUT = <<'EOF';
table.sme-border > tbody tr:nth-child(4n+1) {
background-color: #DDF8F8;
}
EOF
}
' > 51body-trhighlights
expand-template /etc/e-smith/web/common/css/sme_main.css
Notes:
* In Safari, <Shift><click-on-reload> loaded the new style setting. In Firefox (on a mac), the new style settings did not load until I cleared my firefox cache.
* Set the color you want for alternating rows; I've used "DDF8F8" (a light blue background)
* I get a little dizzy looking at strictly alternating rows, so I've set a background on every 4th row using "(4n+1)". You could highlight every other row using "(even)", or every 3rd row using "(3n+1)".
Explanation:
1. Create a custom template fragment in /etc/e-smith/templates-custom/etc/e-smith/web/common/css/sme_main.css named "51body-trhighlights" that sets a custom background-color for some rows of any "sme-border" table in /server-manager (users, ibays, pseudonyms, hosts, etc) using the
css "nth-child" selector.
2. expand the resulting css file /etc/e-smith/web/common/css/sme_main.css