Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-01-11 01:31:36

CwF
Member
Registered: 2018-01-28
Posts: 288

Thunar old-style row tint for gtk3

I've searched around and found dead ends..

Using only Adwaita in Debian Bullseye I'm trying to replicate an old style of alternating tinted or colored rows.

I've tried some ~/.config/gtk-3.0/gtk css

/*ZebraLines or LedgerStyle*/
.GtkTreeView row:nth-child(odd) {
    background-color: shade(@base_normal, 0.93);
}

.GtkTreeView row:nth-child(odd):active {
    background-color: shade(@base_active, 0.93);
}

.view row:nth-child(odd):disabled {
    background-color: shade(@base_insensitive, 0.93);
}

.view row:nth-child(odd):hover {
    background-color: shade(@base_prelight, 0.93);
}

.GtkTreeView row:nth-child(odd):selected {
    background-color: shade(@base_selected, 0.93);
}

No bother with the changes, variations of the names and things I've tried, this does not cause any xsession errors, just does nothing...@base_insensitive may be wrong, changed one instance to 'disabled' per xsession error...

I *think* I'm learning the row:nth-child part is legal and ignored? Or do I need to specifically list .thunar widget of some kind?

Offline

#2 2022-01-11 02:14:02

CwF
Member
Registered: 2018-01-28
Posts: 288

Re: Thunar old-style row tint for gtk3

Ok, I'm barking at the wrong tree again...
found on the interwebs

This was removed from Gtk3.19 and later unfortunately

Offline

Board footer

Powered by FluxBB