[gtk+] Adwaita: Set background color of header buttons
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: Set background color of header buttons
- Date: Thu, 10 Jul 2014 23:37:15 +0000 (UTC)
commit c3b20e3d11481d5b9c7cc32ba323d1b543c47513
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jul 10 19:36:26 2014 -0400
Adwaita: Set background color of header buttons
Without a background, one can see titles shine through when
resizable columns are squeezed.
gtk/resources/theme/Adwaita/_common.scss | 1 +
gtk/resources/theme/Adwaita/gtk-contained-dark.css | 1 +
gtk/resources/theme/Adwaita/gtk-contained.css | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index 8330ab6..09a1c70 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -868,6 +868,7 @@ column-header {
@extend %column_header_button;
$_column_header_color: mix($fg_color,$base_color,50%);
color: $_column_header_color;
+ background-color: $base_color;
font-weight: bold;
text-shadow: none;
box-shadow: none;
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 2646c77..93ac0f0 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -1051,6 +1051,7 @@ GtkTreeView.view {
column-header .button {
color: #8b8b8a;
+ background-color: #292929;
font-weight: bold;
text-shadow: none;
box-shadow: none; }
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index 69d576e..17b56b1 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -1043,6 +1043,7 @@ GtkTreeView.view {
column-header .button {
color: #96999a;
+ background-color: white;
font-weight: bold;
text-shadow: none;
box-shadow: none; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]