nicer [disabled] form
This commit is contained in:
parent
48d559cda5
commit
b61ebf67b1
|
@ -133,24 +133,6 @@ strike, .text-strike {
|
||||||
text-decoration: line-through;
|
text-decoration: line-through;
|
||||||
}
|
}
|
||||||
|
|
||||||
form {
|
form[disabled] {
|
||||||
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;
|
opacity: .5;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue