diff --git a/assets/style.scss b/assets/style.scss index 654d7fa3..2f319714 100644 --- a/assets/style.scss +++ b/assets/style.scss @@ -132,3 +132,25 @@ blockquote { 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; + opacity: .5; +} diff --git a/components/Login.vue b/components/Login.vue index f5a7eb6d..397d4d0f 100644 --- a/components/Login.vue +++ b/components/Login.vue @@ -3,7 +3,7 @@
-
+

user.login.why @@ -40,7 +40,7 @@

- +