[gtk+] Adwaita: initial and hopefully temporary treeview separation lines style
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: initial and hopefully temporary treeview separation lines style
- Date: Thu, 10 Jul 2014 11:54:27 +0000 (UTC)
commit 63c88d501360832a006b5538926f5c311491b94e
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Thu Jul 10 13:53:37 2014 +0200
Adwaita: initial and hopefully temporary treeview separation lines style
gtk/resources/theme/Adwaita/_common.scss | 22 ++++++++++++++++++++
gtk/resources/theme/Adwaita/gtk-contained-dark.css | 19 +++++++++++++++++
gtk/resources/theme/Adwaita/gtk-contained.css | 19 +++++++++++++++++
3 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index 00892b8..261004e 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -829,6 +829,28 @@ GtkComboBox {
/**************
* Tree Views *
**************/
+
+GtkTreeView.view { // all this mess is to theme the treeview grid lines
+ // which reacts to "color", hope to be able to axe this
+ // one day
+ -GtkTreeView-grid-line-width: 1;
+ -GtkTreeView-grid-line-pattern: '';
+ color: $bg_color; // this is actually the line color
+ &:selected { color: $base_color; };
+ &:backdrop {
+ color: $backdrop_bg_color;
+ &:selected { color: $backdrop_base_color; }
+ }
+ column { // this is to override the previously set color...
+ color: $fg_color;
+ &:selected { color: $selected_fg_color; }
+ &:backdrop {
+ color: $backdrop_fg_color;
+ &:selected { color: $backdrop_base_color; };
+ }
+ }
+}
+
column-header {
.button {
@extend %column_header_button;
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 65bd59e..4fe64d3 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -1017,6 +1017,25 @@ GtkComboBox {
/**************
* Tree Views *
**************/
+GtkTreeView.view {
+ -GtkTreeView-grid-line-width: 1;
+ -GtkTreeView-grid-line-pattern: '';
+ color: #393f3f; }
+ GtkTreeView.view:selected {
+ color: #292929; }
+ GtkTreeView.view:backdrop {
+ color: #393f3f; }
+ GtkTreeView.view:backdrop:selected {
+ color: #2c2c2c; }
+ GtkTreeView.view column {
+ color: #eeeeec; }
+ GtkTreeView.view column:selected {
+ color: white; }
+ GtkTreeView.view column:backdrop {
+ color: #c9cbc9; }
+ GtkTreeView.view column:backdrop:selected {
+ color: #2c2c2c; }
+
column-header .button {
color: #8b8b8a;
font-weight: bold;
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index e3f67c5..8c07aa2 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -1009,6 +1009,25 @@ GtkComboBox {
/**************
* Tree Views *
**************/
+GtkTreeView.view {
+ -GtkTreeView-grid-line-width: 1;
+ -GtkTreeView-grid-line-pattern: '';
+ color: #ededed; }
+ GtkTreeView.view:selected {
+ color: white; }
+ GtkTreeView.view:backdrop {
+ color: #ededed; }
+ GtkTreeView.view:backdrop:selected {
+ color: #fcfcfc; }
+ GtkTreeView.view column {
+ color: #2e3436; }
+ GtkTreeView.view column:selected {
+ color: white; }
+ GtkTreeView.view column:backdrop {
+ color: #54595a; }
+ GtkTreeView.view column:backdrop:selected {
+ color: #fcfcfc; }
+
column-header .button {
color: #96999a;
font-weight: bold;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]