Commit fb765765 authored by Balló György's avatar Balló György Committed by Alberts Muktupāvels

theme: set font settings directly on label

Otherwise it's ignored.

https://bugzilla.gnome.org/show_bug.cgi?id=764867
parent 9814d539
...@@ -1784,6 +1784,8 @@ calendar_window_class_init (CalendarWindowClass *klass) ...@@ -1784,6 +1784,8 @@ calendar_window_class_init (CalendarWindowClass *klass)
"Whether the window should offer access to preferences", "Whether the window should offer access to preferences",
FALSE, FALSE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
gtk_widget_class_set_css_name (gobject_class, "gp-calendar-window");
} }
static void static void
......
...@@ -6,20 +6,23 @@ panel-plug { ...@@ -6,20 +6,23 @@ panel-plug {
.gnome-panel-menu-bar, .gnome-panel-menu-bar,
panel-applet > menubar, panel-applet > menubar,
clock-box { clock-box {
font: regular;
background: transparent; background: transparent;
color: #ffffff;
box-shadow: none; box-shadow: none;
} }
.gnome-panel-menu-bar menu,
panel-applet > menubar menu {
font: regular;
}
.gnome-panel-menu-bar menuitem:hover, .gnome-panel-menu-bar menuitem:hover,
panel-applet > menubar menuitem:hover { panel-applet > menubar menuitem:hover {
background-color: #215d9c; background-color: #215d9c;
}
.gnome-panel-menu-bar > menuitem > label,
panel-applet > menubar > menuitem > label,
clock-box label,
gp-calendar-window label,
#tasklist-button label,
#clock-applet-button label,
#showdesktop-button label {
font: regular;
color: #ffffff; color: #ffffff;
} }
...@@ -27,7 +30,6 @@ panel-applet > menubar menuitem:hover { ...@@ -27,7 +30,6 @@ panel-applet > menubar menuitem:hover {
#clock-applet-button, #clock-applet-button,
#showdesktop-button { #showdesktop-button {
padding: 0px 4px; padding: 0px 4px;
color: #ffffff;
border: 0; border: 0;
border-radius: 0; border-radius: 0;
} }
......
...@@ -6,20 +6,28 @@ panel-plug { ...@@ -6,20 +6,28 @@ panel-plug {
.gnome-panel-menu-bar, .gnome-panel-menu-bar,
panel-applet > menubar, panel-applet > menubar,
clock-box { clock-box {
font: regular;
background: transparent; background: transparent;
color: #000000;
box-shadow: none; box-shadow: none;
} }
.gnome-panel-menu-bar menu,
panel-applet > menubar menu {
font: regular;
}
.gnome-panel-menu-bar menuitem:hover, .gnome-panel-menu-bar menuitem:hover,
panel-applet > menubar menuitem:hover { panel-applet > menubar menuitem:hover {
background-color: #4a90d9; background-color: #4a90d9;
}
.gnome-panel-menu-bar > menuitem > label,
panel-applet > menubar > menuitem > label,
clock-box label,
gp-calendar-window label,
#tasklist-button label,
#clock-applet-button label,
#showdesktop-button label {
font: regular;
color: #000000;
}
.gnome-panel-menu-bar > menuitem:hover > label,
panel-applet > menubar > menuitem:hover > label {
color: #ffffff; color: #ffffff;
} }
...@@ -27,7 +35,6 @@ panel-applet > menubar menuitem:hover { ...@@ -27,7 +35,6 @@ panel-applet > menubar menuitem:hover {
#clock-applet-button, #clock-applet-button,
#showdesktop-button { #showdesktop-button {
padding: 0px 4px; padding: 0px 4px;
color: #000000;
border: 0; border: 0;
border-radius: 0; border-radius: 0;
} }
......
...@@ -5,28 +5,38 @@ panel-plug { ...@@ -5,28 +5,38 @@ panel-plug {
.gnome-panel-menu-bar, .gnome-panel-menu-bar,
panel-applet > menubar { panel-applet > menubar {
font: regular;
background: transparent; background: transparent;
color: #000000;
box-shadow: none; box-shadow: none;
} }
.gnome-panel-menu-bar menu,
panel-applet > menubar menu {
font: regular;
}
.gnome-panel-menu-bar menuitem:hover, .gnome-panel-menu-bar menuitem:hover,
panel-applet > menubar menuitem:hover { panel-applet > menubar menuitem:hover {
background-color: #000000; background-color: #000000;
}
.gnome-panel-menu-bar > menuitem > label,
panel-applet > menubar > menuitem > label,
clock-box label,
gp-calendar-window label,
#tasklist-button label,
#clock-applet-button label,
#showdesktop-button label {
font: regular;
color: #000000;
}
.gnome-panel-menu-bar > menuitem:hover > label,
panel-applet > menubar > menuitem:hover > label,
.gnome-panel-menu-bar > menuitem:hover > image,
panel-applet > menubar > menuitem:hover > image {
color: #ffffff; color: #ffffff;
} }
#tasklist-button, #tasklist-button,
#clock-applet-button, #clock-applet-button,
#showdesktop-button { #showdesktop-button {
padding: 0px 4px; padding: 0px 4px;
color: #000000;
border: 0; border: 0;
border-radius: 0; border-radius: 0;
} }
...@@ -35,6 +45,11 @@ panel-applet > menubar menuitem:hover { ...@@ -35,6 +45,11 @@ panel-applet > menubar menuitem:hover {
#clock-applet-button:checked, #clock-applet-button:checked,
#showdesktop-button:checked { #showdesktop-button:checked {
background-color: #000000; background-color: #000000;
}
#tasklist-button:checked label,
#clock-applet-button:checked label,
#showdesktop-button:checked label {
color: #ffffff; color: #ffffff;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment