From b61ebf67b135cb0d750699542715e37b0164c3e7 Mon Sep 17 00:00:00 2001 From: Avris Date: Wed, 21 Apr 2021 20:19:15 +0200 Subject: [PATCH] nicer [disabled] form --- assets/style.scss | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/assets/style.scss b/assets/style.scss index 2f319714..6f6d7ef6 100644 --- a/assets/style.scss +++ b/assets/style.scss @@ -133,24 +133,6 @@ strike, .text-strike { text-decoration: line-through; } -form { - position: relative; - &::before { - content: ""; - display: none; - opacity: 0; - transition: opacity .5s ease-in-out; - background-color: #000; - position: absolute; - left: -1rem; - top: -1rem; - width: calc(100% + 2rem); - height: calc(100% + 2rem); - z-index: 999; - filter: blur(.5rem); - } -} -form[disabled]::before { - display: block; +form[disabled] { opacity: .5; }