event_class template shared between timeline & grid view

I am colorcoding events in the timeline view based on execution status, which works fine.

The “event_class” template is however shared with the grid_view - which means I have not found a wayt to set a different style for the events as seen in the grid view and for the events as seen in the timeline view.
Is there an easy way to use different styles in the grid view ? Also I would like to use the same style for odd and even rows.

Thanks again.