Thanks guys...
But It's not yet solved...
First of all, I downgraded gtk+ libraries to 3.20.6...
----
treeview row:selected {
background-color: #000;
}
treeview row:nth-child(even) {
background-color: #bd0814;
}
-----
And then copied this gtk.css to /usr/share/themes/Adwaita/gtk-3.0/
Result: neither bar nor background row colors changed...
I'm working on a Debian GNU/Linux, Stretch, ie. currently at testing stage.
2016-07-01 22:10 GMT+02:00 Emmanuele Bassi <ebassi@xxxxxxxxx>:
For GTK+ >= 3.20, replace "GtkTreeView" with "treeview".Ciao,Emmanuele.
On Friday, 1 July 2016, Glus Xof <gtglus@xxxxxxxxx> wrote:2016-07-01 15:02 GMT+02:00 Stefan Salewski <mail@xxxxxxxxxxxx>:On Fri, 2016-07-01 at 12:06 +0200, Glus Xof wrote:
> Hi guys,
>
> I'm looking for the CSS sentence to change the GtkTreeView Bar
> Color... I
> mean the selection bar that is set like blue in Adwaita default theme
> (in
> gtk+-3.0 style).
>
> I tested unsuccesfully with
>
> GtkTreeView :selected {background-color: #...}
>
> But I don't see any reference documentation for that...
>
Google or GtkInspector may help.
For my gtk 3.18 this entry makes the blue bars black:The Stefan's proposed solution doesn't run for me.... and I don't understand why...The bar color remains blue... even if a gtk.css file at ~/.config/gtk-3.0 with the same exact content has been created.$ cat ~/.config/gtk-3.0/gtk.css
GtkTreeView row:selected {
background-color: #000;
}My library versions are:$ pkg-config --modversion gtk+-3.0
3.21.3$ pkg-config --modversion gtkmm-3.0
3.21.3And don't know what additional data you may need...Glus
--
https://www.bassi.io
[@] ebassi [@gmail.com]
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list