theme: Specify the weight, not the font, for header bar titles

Using `font: Bold` will override the font with whatever the system
resolves a `Bold` font name to, including the font's own default size.

We want the font weight to be bold, but we want the default font name
and size to come from the GtkSettings:font-name property, like we do for
the rest of the system.
This commit is contained in:
Emmanuele Bassi 2014-08-28 11:17:10 +01:00
parent 974807fae9
commit 80f4dffa76
3 changed files with 3 additions and 3 deletions

View File

@ -946,7 +946,7 @@ GtkComboBox {
} }
.title { .title {
font: Bold; font-weight: bold;
padding: 0px 12px; padding: 0px 12px;
} }
.subtitle { .subtitle {

View File

@ -1134,7 +1134,7 @@ GtkComboBox {
box-shadow: inset 0 1px rgba(238, 238, 236, 0.1); } box-shadow: inset 0 1px rgba(238, 238, 236, 0.1); }
.titlebar .title, GtkCalendar.header .title, .titlebar .title, GtkCalendar.header .title,
.header-bar .title { .header-bar .title {
font: Bold; font-weight: bold;
padding: 0px 12px; } padding: 0px 12px; }
.titlebar .subtitle, GtkCalendar.header .subtitle, .titlebar .subtitle, GtkCalendar.header .subtitle,
.header-bar .subtitle { .header-bar .subtitle {

View File

@ -1126,7 +1126,7 @@ GtkComboBox {
box-shadow: inset 0 1px white; } box-shadow: inset 0 1px white; }
.titlebar .title, GtkCalendar.header .title, .titlebar .title, GtkCalendar.header .title,
.header-bar .title { .header-bar .title {
font: Bold; font-weight: bold;
padding: 0px 12px; } padding: 0px 12px; }
.titlebar .subtitle, GtkCalendar.header .subtitle, .titlebar .subtitle, GtkCalendar.header .subtitle,
.header-bar .subtitle { .header-bar .subtitle {