From 54d18f496875de19d5c37ce858dc41e9db21ea46 Mon Sep 17 00:00:00 2001 From: insects Date: Wed, 12 Mar 2025 12:43:43 +0100 Subject: [PATCH] feat: highlight rows on hover --- app/assets/stylesheets/application.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 080f0bb..027f1a1 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -62,6 +62,12 @@ main { padding-left: 10px; background-color: #3D9970; color: white; + transition: .1s linear background-color; +} + +#nm-list section:hover, +#nm-list section.missing_reqs:hover { + background-color: rgba(61, 153, 112, 0.9); } #nm-list section.missing_reqs { @@ -80,6 +86,10 @@ main { color: #63f0fd; } +#nm-list section.popped:hover { + background-color: rgba(181, 68, 58, 0.9); +} + #nm-list section div.button { height: 100%; }