Added a new animation to the Dialog styles.sass
This commit is contained in:
parent
fd55556741
commit
7f39b9a687
@ -16,6 +16,7 @@
|
|||||||
position: absolute
|
position: absolute
|
||||||
z-index: 11
|
z-index: 11
|
||||||
padding: 0 0 1rem 0
|
padding: 0 0 1rem 0
|
||||||
|
animation: dialogFade 0.3s
|
||||||
|
|
||||||
.dialog-header
|
.dialog-header
|
||||||
display: flex
|
display: flex
|
||||||
@ -53,3 +54,26 @@
|
|||||||
svg:nth-child(2)
|
svg:nth-child(2)
|
||||||
color: $error
|
color: $error
|
||||||
cursor: pointer
|
cursor: pointer
|
||||||
|
|
||||||
|
.dialog-closed
|
||||||
|
opacity: 0
|
||||||
|
animation: dialogFadeOut 0.3s
|
||||||
|
display: none
|
||||||
|
|
||||||
|
@keyframes dialogFadeOut
|
||||||
|
from
|
||||||
|
transform: scale(1)
|
||||||
|
opacity: 1
|
||||||
|
display: block
|
||||||
|
to
|
||||||
|
transform: scale(0)
|
||||||
|
opacity: 0
|
||||||
|
display: none
|
||||||
|
|
||||||
|
@keyframes dialogFade
|
||||||
|
from
|
||||||
|
transform: scale(0)
|
||||||
|
opacity: 0
|
||||||
|
to
|
||||||
|
transform: scale(1)
|
||||||
|
opacity: 1
|
Loading…
x
Reference in New Issue
Block a user