From ea9ef88aa42a0b9ceb28b580ab4e3a72e31a9282 Mon Sep 17 00:00:00 2001 From: Vladyslav Hroshev Date: Fri, 4 Jul 2025 22:47:41 +0300 Subject: [PATCH] Fixed #63 styles for system actions in search --- theme/gnome-shell/.css/apps.css | 12 +++++++++++- theme/gnome-shell/.css/search.css | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/theme/gnome-shell/.css/apps.css b/theme/gnome-shell/.css/apps.css index dc3f8f7..a31c52f 100644 --- a/theme/gnome-shell/.css/apps.css +++ b/theme/gnome-shell/.css/apps.css @@ -3,10 +3,10 @@ /* apps / folders / apps & folders in search */ .app-well-app .overview-icon, .app-well-app.app-folder, -.grid-search-result .overview-icon, .app-folder.grid-search-result .overview-icon, #dash .dash-item-container .overview-tile .overview-icon, #dash .dash-item-container .show-apps .overview-icon, /* 46+ */ +.grid-search-result, /* systems actions in search results (e.g. logout, suspend) */ .overview-tile { /* 46+ */ box-shadow: inset 0 0 0 0px rgba(255, 255, 255, 0); /* fix default dash focused box-shadow*/ transition-duration: 100ms; @@ -38,12 +38,21 @@ box-shadow: inset 0 0 0 1px BORDER-SHADOW; } +/* icon of systems action in search results (e.g. logout, suspend) */ +.system-action-icon { + background-color: ACCENT-OPACITY-COLOR; + color: TEXT-PRIMARY-COLOR; + border-radius: 99px; + box-shadow: inset 0 0 0 2px BORDER-SHADOW; +} .app-well-app:hover .overview-icon, .app-well-app:focus .overview-icon, .app-well-app:selected .overview-icon, .show-apps:hover .overview-icon, .show-apps:focus .overview-icon, +.grid-search-result:hover, +.grid-search-result:focus, .overview-tile:hover, .overview-tile:focus, .overview-tile:selected { @@ -51,6 +60,7 @@ box-shadow: inset 0 0 0 1px BORDER-SHADOW; } +.grid-search-result:focus, .overview-tile:focus { box-shadow: inset 0 0 0 2px ACCENT-SECONDARY-COLOR !important; } diff --git a/theme/gnome-shell/.css/search.css b/theme/gnome-shell/.css/search.css index 6aab9f6..49120c2 100644 --- a/theme/gnome-shell/.css/search.css +++ b/theme/gnome-shell/.css/search.css @@ -26,7 +26,7 @@ .list-search-result, .search-provider-icon { background-color: transparent; - border-radius: 12px; + border-radius: 10px; } /* search result listitem -> item title (with leading icon) */