aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2024-01-07 16:52:15 -0500
committerB. Stack <bgstack15@gmail.com>2024-01-07 16:52:15 -0500
commitedbc309a7e6565d9fcd85d0529498679d473099b (patch)
tree5852a6fa609f757d0c46387fdc5474559160902b
parentfix #3 gtk2 automnemonics (diff)
downloadxdg-themes-stackrpms-edbc309a7e6565d9fcd85d0529498679d473099b.tar.gz
xdg-themes-stackrpms-edbc309a7e6565d9fcd85d0529498679d473099b.tar.bz2
xdg-themes-stackrpms-edbc309a7e6565d9fcd85d0529498679d473099b.zip
fix want#1: add treeview odd line colorsHEADmaster
-rw-r--r--README.md1
-rw-r--r--src/usr/share/themes/bgstack15-red/gtk-3.0/gtk.css24
-rw-r--r--src/usr/share/themes/bgstack15-red/index.theme2
3 files changed, 26 insertions, 1 deletions
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
bgstack15