I'm trying to beautify my program made with Quickly using CSS. I found documentation http://developer.gnome.org/gtk3/3.4/GtkCssProvider.html and very useful blog post http://erikos.sweettimez.de/2011/11/24/gtk-3-theme-style-your-applications-2/
According to the above I should be able to use ID selectors, for example:
#nameofmywidget {
font: Ubuntu 12;
}
Unfortunately this does not work. Only working way for me is using:
GtkEntry {
font: Ubuntu 12;
}
or:
.entry {
font: Ubuntu 12;
}
but it's to generic.
Apart from that I'm not able to change GtkEntry
and GtkButton
backgrounds. Any help much appreciated.
---------------------EDIT--------------------
I found a way to change GtkEntry
and GtkButton
background colours. Instead of using:
GtkEntry, GtkButton {
background-color: #ffffff;
}
I've used:
GtkEntry, GtkButton {
background: #ffffff;
}