Roundcube Community Forum

 

Alternating Line Colors for In-box

Started by ross.larson, November 13, 2012, 07:29:41 PM

Previous topic - Next topic

ross.larson

Does anyone know how to make alternating colors on in-box with the new "larry" skin? With old default skin it could be done by editing the following lines in the common.css:

/*Alt Lines*/ odd

#messagelist tr.message
{
  background-color: #E6E6F2;
}


#messagelist tr.odd
{
  background-color: #F9F9F9;
}

SKaero

If your using a good browser you can do the following:

#messagelist tr:nth-child(even) td {
  background-color: #F9F9F9;
}

ABerglund

Quote from: SKaero on November 13, 2012, 09:02:44 PM
If your using a good browser you can do the following:

#messagelist tr:nth-child(even) td {
  background-color: #F9F9F9;
}

That works in normal view, but the result is odd in threaded view.
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

SKaero

#3
I don't uses threads so I didn't tested that, if you add the following it should work for threads as well:

#messagelistcontainer #messagelist tr:nth-child(even).thread.expanded td {
  background-color: #E2E2E2;
}

husky83

Where should i put this? common.css is not existent in skins/larry.

SKaero