From 84c851eeb4c13042a928b6b6334675d126931a38 Mon Sep 17 00:00:00 2001 From: SayaAndy Date: Thu, 23 Oct 2025 15:13:40 +0700 Subject: feat: cross out only if explicitly set --- static/input.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'static/input.css') diff --git a/static/input.css b/static/input.css index c3c10fd..739caa3 100644 --- a/static/input.css +++ b/static/input.css @@ -180,8 +180,8 @@ a:hover, .linklike:hover { text-decoration: underline; } -.disabled::before, -.htmx-request::before { +.crossable.disabled::before, +.crossable.htmx-request::before { content: ''; position: absolute; top: 0; @@ -196,8 +196,8 @@ a:hover, .linklike:hover { z-index: 25; } -form.disabled input, -form.htmx-request input { +form.crossable.disabled input, +form.crossable.htmx-request input { filter: grayscale(1); } -- cgit v1.3.1+13