aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2024-02-03 20:25:52 +0100
committer0neGal <mail@0negal.com>2024-02-03 20:25:52 +0100
commitc1c5c64e36407aefb250236a91253446b3486419 (patch)
tree2c63a97b08e79b5051fbd10e85eeba41696a28df /src/app
parent6c036186d1a1295604966114f052e61ac4c01253 (diff)
downloadViper-c1c5c64e36407aefb250236a91253446b3486419.tar.gz
Viper-c1c5c64e36407aefb250236a91253446b3486419.zip
decreased the opacity of icons for disabled mods
Diffstat (limited to 'src/app')
-rw-r--r--src/app/css/grid.css5
1 files changed, 5 insertions, 0 deletions
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;