From edbc309a7e6565d9fcd85d0529498679d473099b Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Sun, 7 Jan 2024 16:52:15 -0500 Subject: fix want#1: add treeview odd line colors --- README.md | 1 + src/usr/share/themes/bgstack15-red/gtk-3.0/gtk.css | 24 ++++++++++++++++++++++ src/usr/share/themes/bgstack15-red/index.theme | 2 +- 3 files changed, 26 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fc41fcb..1d789c7 100644 --- a/README.md +++ b/README.md @@ -14,3 +14,4 @@ See [fluxbox-themes-stackrpms](https://gitlab.com/bgstack15/fluxbox-themes-stack # Changelog 2022-10-05 fix #3: Fix gtk2 gtkrc automnemonics +2024-01-07 fix want#1: Add treeview odd/even line colors diff --git a/src/usr/share/themes/bgstack15-red/gtk-3.0/gtk.css b/src/usr/share/themes/bgstack15-red/gtk-3.0/gtk.css index ae16a7d..4123ac1 100644 --- a/src/usr/share/themes/bgstack15-red/gtk-3.0/gtk.css +++ b/src/usr/share/themes/bgstack15-red/gtk-3.0/gtk.css @@ -4371,3 +4371,27 @@ filechooser placessidebar.sidebar scrollbar, @define-color wm_icon_unfocused_bg #B6B8C0; @define-color wm_icon_hover_bg #7A7F8B; @define-color wm_icon_active_bg #ffffff; + +/* Begin Treeview styling */ +/* + * Directly from https://github.com/lah7/gtk3-classic/wiki/Treeview:-Alternating-Colours-CSS + */ +treeview.view { + background-color: #ffffff; +} +treeview.view.even, +treeview.view.sorted.odd { + background-color: #eeeeee; +} +treeview.view.sorted.even { + background-color: #dddddd; +} +treeview.view:selected, +treeview.view.sorted:selected { + background-color: @theme_selected_bg_color; + color: @theme_selected_fg_color; +} +.caja-side-pane treeview.view.even:not(:selected) { + background-color: #ffffff; +} +/* End Treeview styling */ diff --git a/src/usr/share/themes/bgstack15-red/index.theme b/src/usr/share/themes/bgstack15-red/index.theme index 8281be1..b7129fa 100644 --- a/src/usr/share/themes/bgstack15-red/index.theme +++ b/src/usr/share/themes/bgstack15-red/index.theme @@ -7,6 +7,6 @@ Encoding=UTF-8 [X-GNOME-Metatheme] GtkTheme=bgstack15-red MetacityTheme=bgstack15-red -IconTheme=gnome +IconTheme=Numix-Circle CursorTheme=Adwaita ButtonLayout=menu:minimize,maximize,close -- cgit