Re: GTK+3 styles and themes

2014-04-01 Thread Liam R E Quin
On Tue, 2014-04-01 at 11:49 +0200, Roland Koebler wrote: > Using custom stylesheets *does* work (although it still seems that > ~/.gtk-3.0.css has no effect under Gnome3); but for some themes and > Gnome3, setting "background-color" doesn't have any effect, but setting > "background" seems to work

Re: GTK+3 styles and themes

2014-04-01 Thread Colomban Wendling
Le 01/04/2014 11:49, Roland Koebler a écrit : > [...] > > Is there any documentation of this? > Especially when to use "background-color" and when to use "background"? > The "GtkCssProvider"-documentation only mentions "background-color". https://bugzilla.gnome.org/show_bug.cgi?id=656461 The pro

Re: GTK+3 styles and themes

2014-04-01 Thread Roland Koebler
Hi, ok, I'm answering my own question -- maybe this is also helpful for someone else: Using custom stylesheets *does* work (although it still seems that ~/.gtk-3.0.css has no effect under Gnome3); but for some themes and Gnome3, setting "background-color" doesn't have any effect, but setting "bac

GTK+3 styles and themes

2014-04-01 Thread Roland Koebler
Hi, in some situations, it's very useful to colorize some widgets, to improve usability, e.g. a red background for invalid entries or buttons in different colors. I know that this should be used rarely, but it *really* improves usability in some cases. In GTK+2, this was possible via modify_bg();