From 7aa9828cf436de8a0d1f7aab507321eea5ed855a Mon Sep 17 00:00:00 2001 From: ediblerope Date: Mon, 13 Apr 2026 22:41:38 +0100 Subject: [PATCH] Scope search result styling to avoid breaking dash icons The .overview-tile selector was too broad and affected dash app icons. Scoped to .search-section-content to only style search results. Co-Authored-By: Claude Opus 4.6 --- templates/gnome-shell.css | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/templates/gnome-shell.css b/templates/gnome-shell.css index a869c28..0d224bf 100644 --- a/templates/gnome-shell.css +++ b/templates/gnome-shell.css @@ -192,17 +192,20 @@ stage { background-color: {{colors.surface_container_high.default.hex}} !important; } -/* Selected/focused search result highlight */ -.overview-tile:focus, .grid-search-result:focus { - background-color: {{colors.surface_container_high.default.hex}} !important; -} - -.overview-tile, .grid-search-result { +/* Search result tiles (scoped to search section to avoid dash) */ +.search-section-content .overview-tile, +.search-section-content .grid-search-result { background-color: {{colors.surface_container.default.hex}} !important; color: {{colors.on_surface.default.hex}} !important; } -.overview-tile:hover, .grid-search-result:hover { +.search-section-content .overview-tile:hover, +.search-section-content .grid-search-result:hover { + background-color: {{colors.surface_container_high.default.hex}} !important; +} + +.search-section-content .overview-tile:focus, +.search-section-content .grid-search-result:focus { background-color: {{colors.surface_container_high.default.hex}} !important; }