tenseleyflow/shithub / 3eb4e8b

Browse files

Add code tree row hover state

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
3eb4e8bb94085a27cb97964d157ceb0a77ab05f2
Parents
8978470
Tree
770c83e

1 changed file

StatusFile+-
M internal/web/static/css/shithub.css 5 0
internal/web/static/css/shithub.cssmodified
@@ -5723,8 +5723,13 @@ button.shithub-repo-action {
57235723
   padding: 0.5rem 0.75rem;
57245724
   border-bottom: 1px solid var(--border-default);
57255725
   vertical-align: middle;
5726
+  transition: background-color 80ms ease-out;
57265727
 }
57275728
 .shithub-tree tr:last-child td { border-bottom: 0; }
5729
+.shithub-tree tbody tr:hover td,
5730
+.shithub-tree tbody tr:focus-within td {
5731
+  background-color: var(--canvas-subtle);
5732
+}
57285733
 .shithub-tree-icon { width: 36px; color: var(--fg-muted); padding-right: 0; }
57295734
 .shithub-tree-icon svg { display: block; }
57305735
 .shithub-tree-name {