Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Zebra striping in folder pane

more options

Running TB 128.12.0esr on Linux Mint. I can get striping in my Classic View thread pane with:

  1. threadPane tr:nth-of-type(odd) {
 background-color: rgb(215,215,215) !important; 

}

But how can I achieve the same effect in the folder pane? I have tried replacing threadPane with folderPane or folderTree but no luck.

In Developer Toolbox the selector for the folder list appears to be is(ul, ol)[role="tree"] but I don't know how to create a striping rule from that.

Running TB 128.12.0esr on Linux Mint. I can get striping in my Classic View thread pane with: #threadPane tr:nth-of-type(odd) { background-color: rgb(215,215,215) !important; } But how can I achieve the same effect in the folder pane? I have tried replacing threadPane with folderPane or folderTree but no luck. In Developer Toolbox the selector for the folder list appears to be is(ul, ol)[role="tree"] but I don't know how to create a striping rule from that.

Chosen solution

Zebra striping for the Folder Pane.

#folderTree li[is="folder-tree-row"]:nth-child(2n) > div.container {
  background-image: linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.20)) !important;}
Read this answer in context 👍 1

All Replies (2)

more options

Chosen Solution

Zebra striping for the Folder Pane.

#folderTree li[is="folder-tree-row"]:nth-child(2n) > div.container {
  background-image: linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.20)) !important;}

Helpful?

more options

Thanks this worked perfectly.

Helpful?

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.