summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Hewitt <sam@snwh.org>2023-04-04 15:09:57 -0230
committerAntónio Fernandes <antoniof@gnome.org>2023-04-15 22:04:49 +0100
commit9a7e8832f518c0e80f3b00157e50d94d4e8ea27f (patch)
tree64c1a99e059c776d2dd539ce837c9c5a9910b59b
parentb33bc6428c11e6fb795a26c166c44b34e1a93615 (diff)
downloadnautilus-9a7e8832f518c0e80f3b00157e50d94d4e8ea27f.tar.gz
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
-rw-r--r--src/resources/style-hc.css11
1 files changed, 11 insertions, 0 deletions
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);
+}
+