I like the simplicity of this theme just thought to share that if you want your table output to have alternate coloured rows then add the following to your style.cs file. I simple copied the code from the greenNblack theme.

tr.odd td, tr.even td {
	padding:8px 5px;
	border:1px solid #88B52D;
}

tr.odd td { background:#F3FAE4; }

tr.even td { background:#E0EFC0; }

tr.odd td.active { background:#E6F2CE; }

tr.even td.active { background:#D1E8A4; }

tr.odd td a, tr.odd td { color:#6A8C22; }

tr.even td a, tr.even td, thead th a { color:#344A04 !important; }

.pager { margin-bottom:15px; }

Just modify the colour and other properties properties to suit your needs.

Comments

Eric3’s picture

Nice idea; I'll try that.

Eric3’s picture

Status: Active » Needs review

In the latest build of NoProb for Drupal 6, I implemented this by applying an almost-trasparent PNG to table cells in even rows. This way, tables featuring cells with multiple colours (e.g. Recent log entries) will still be shaded. The only downside is that it won't show up in IE 6 and earlier, although there is non-standard hackery available to get it working there too.

RainDruplets’s picture

@msimanga

Awesome!!! Thanks msimmanga for this soultion. I tried stuff like
.views-view-grid td {
padding: 6px;
}.

but nothing worked. Your solution is neat and effective.

Regards,
Rainy