Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was looking at the gtk-widgets.css files in Ambiance and Radiance (/usr/share/themes/theme_name/gtk-3.0/) after the recent light-themes update. One difference I noted in the section titled notebook is given below.


.notebook tab:active {
    color: @fg_color;

.notebook tab {
    color: shade (@bg_color, 0.48);


.notebook tab GtkLabel:active {
    color: @fg_color;

.notebook tab GtkLabel {
    color: shade (@bg_color, 0.48);

Radiance has GtkLabel but Ambiance doesn't. My question is: does anyone know the significance of GtkLabel, and why one theme has it and the other doesn't?

share|improve this question
up vote 1 down vote accepted

I updated my system recently and my gtk-widgets.css are the same in this part, for Ambiance or Radiance.

Although GtkLabel is invoked to set attributes that may differ from the default pattern, so it was used to modify some defaults of tabs that may fit Ambiance, but not Radiance.

When calling gtk.Notebook you don't need to specify an attribute, it will be used a default pattern, but in case of Radiance they wanted to set a different attribute from the deafult, so they called GtkLabel that was specified prior in the css:

 * label *
GtkLabel:insensitive {
    background-color: transparent;

Defining the background-color of widgets that use GtkLabel (widget that displays a small amount of text) on it, such as gtk.Notebook (a tabbed notebook container).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.