From c1c5c64e36407aefb250236a91253446b3486419 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Sat, 3 Feb 2024 20:25:52 +0100 Subject: decreased the opacity of icons for disabled mods --- src/app/css/grid.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app/css/grid.css b/src/app/css/grid.css index 6cd2232..f0ea4a4 100644 --- a/src/app/css/grid.css +++ b/src/app/css/grid.css @@ -114,10 +114,15 @@ .grid .el .image, .grid .el .image img { width: var(--height); height: var(--height); + transition: opacity 0.2s; margin-right: var(--spacing); border-radius: var(--spacing); } +#modsdiv .el:has(.switch:not(.on)) .image img { + opacity: 0.5; +} + .grid .el .image img.blur { z-index: -1; position: relative; -- cgit v1.2.3