[gnome-themes-standard] Be more careful when overriding titlebar fonts
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Be more careful when overriding titlebar fonts
- Date: Fri, 16 Aug 2013 20:05:43 +0000 (UTC)
commit c62007558814ca7052be6c07c79f4551e0f58277
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Aug 16 13:36:49 2013 -0400
Be more careful when overriding titlebar fonts
The current theme makes any text bold that appears anywhere
in a headerbar (including entries, buttons, etc). To fix that,
GTK+ now adds 'title' and 'subtitle' style classes to the
two labels. This commit makes use of those style classes to
restrict the font changes to just where it is desired.
https://bugzilla.gnome.org/show_bug.cgi?id=706154
themes/Adwaita/gtk-3.0/gtk-widgets.css | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 4119a50..26ff0ce 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -3996,7 +3996,6 @@ GtkBubbleWindow .toolbar {
* CSD *
*******/
.titlebar {
- font: Bold 11;
text-shadow: 0 1px @wm_title_shadow;
padding: 0;
@@ -4009,6 +4008,10 @@ GtkBubbleWindow .toolbar {
border-radius: 10px 10px 0px 0px;
}
+.titlebar .title {
+ font: Bold 11;
+}
+
.titlebar:backdrop {
text-shadow: none;
background-image: none;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]