Hi again,
treeview row:selected {background-color: #cc0000;}
treeview *:selected {background-color: #cc0000;}
Then, this
treeview row:nth-child(odd) {background-color: #ffffff;}
treeview row:nth-child(even) {background-color: #f0f0f0;}
Glus
2016-07-04 16:48 GMT+02:00 Glus Xof <gtglus@xxxxxxxxx>:
2016-07-04 10:25 GMT+02:00 Emmanuele Bassi <ebassi@xxxxxxxxx>:Hi;
On 2 July 2016 at 10:23, Glus Xof <gtglus@xxxxxxxxx> wrote:
> After, I changed the contents of my ~/.config/gtk-3.0/gtk.css, with
>
> ----
> 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/
Why did you do this?
What is it that you're trying to achieve?
If you want to override parts of Adwaita, just use the gtk.css file
inside your home directory. Do not replace system-level files (which
will get blown away the next time you update your system).Using as theme Adwaita and having the following config file
$ cat ~/.config/gtk-3.0/gtk.css...
treeview row:selected {background-color: #cc0000;}I don't experience any change of TreeView Bar color...What's wrong ?GlusAlso, Adwaita is included in the GTK shared library, it's not really a
CSS file on the file system.
Ciao,
Emmanuele.
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list