From 9a7e8832f518c0e80f3b00157e50d94d4e8ea27f Mon Sep 17 00:00:00 2001 From: Sam Hewitt Date: Tue, 4 Apr 2023 15:09:57 -0230 Subject: style: Add HC outlines for list view Grid view selections feature a border for increased visibility. Our list view lacks that because it adds custom padding, so we need to add it as a custom style. Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2909 --- src/resources/style-hc.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/resources/style-hc.css b/src/resources/style-hc.css index 54e2cff89..adeb2a520 100644 --- a/src/resources/style-hc.css +++ b/src/resources/style-hc.css @@ -14,3 +14,14 @@ .disk-space-free { color: alpha(currentColor, 0.3); } + +.nautilus-list-view columnview > listview > row.activatable:hover, +.nautilus-grid-view gridview > child.activatable:hover { + box-shadow: inset 0 0 0 1px @borders; +} + +.nautilus-list-view columnview > listview > row:selected, +.nautilus-grid-view gridview > child:selected { + box-shadow: inset 0 0 0 1px alpha(@accent_color, .6); +} + -- cgit v1.2.1