
Zebra striping in folder pane
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.
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)
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;}
Thanks this worked perfectly.