[gtk+] Adwaita: bold size label on font button
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: bold size label on font button
- Date: Thu, 12 May 2016 09:48:07 +0000 (UTC)
commit 16afc59f0420a28c3fba1fa64a186c4af39550f6
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Thu May 12 11:45:34 2016 +0200
Adwaita: bold size label on font button
looks more consistent with other special buttons with icons.
gtk/theme/Adwaita/_common.scss | 3 +++
gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++
gtk/theme/Adwaita/gtk-contained.css | 2 ++
3 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index f931f9b..779f84e 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -763,10 +763,13 @@ button {
}
}
}
+
// hide separators
&.font,
&.file { separator { background-color: transparent; }}
+ &.font { > box > box > label { font-weight: bold; }}
+
// inline-toolbar buttons
.inline-toolbar &, .inline-toolbar &:backdrop {
border-radius: 2px;
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index eb40c69..c5bda20 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -1184,6 +1184,8 @@ button {
button.font separator,
button.file separator {
background-color: transparent; }
+button.font > box > box > label {
+ font-weight: bold; }
.inline-toolbar
button, .inline-toolbar
button:backdrop {
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 2840a0a..6518499 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -1187,6 +1187,8 @@ button {
button.font separator,
button.file separator {
background-color: transparent; }
+button.font > box > box > label {
+ font-weight: bold; }
.inline-toolbar
button, .inline-toolbar
button:backdrop {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]