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 --- src/usr/share/themes/bgstack15-red/gtk-3.0/gtk.css | 24 ++++++++++++++++++++++ src/usr/share/themes/bgstack15-red/index.theme | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) (limited to 'src/usr/share') 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