mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-28 14:16:41 +07:00
63 lines
949 B
SCSS
63 lines
949 B
SCSS
@import "src/styles/variables";
|
|
|
|
@keyframes move_1 {
|
|
0% {
|
|
transform: scale(0) translate(0, 0);
|
|
opacity: 0;
|
|
}
|
|
|
|
50% {
|
|
transform: scale(1) translate(5px, -5px);
|
|
opacity: 1;
|
|
}
|
|
|
|
100% {
|
|
transform: scale(1.2) translate(-5px, -10px);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
|
|
@keyframes move_2 {
|
|
0% {
|
|
transform: scale(0) translate(0, 0);
|
|
opacity: 0;
|
|
}
|
|
|
|
50% {
|
|
transform: scale(1) translate(-5px, -5px);
|
|
opacity: 1;
|
|
}
|
|
|
|
100% {
|
|
transform: scale(1.6) translate(5px, -10px);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.button {
|
|
|
|
}
|
|
|
|
.lab_wrapper {
|
|
position: relative;
|
|
bottom: -2px;
|
|
|
|
.button:hover & {
|
|
&:before,&:after {
|
|
content: ' ';
|
|
position: absolute;
|
|
top: 1px;
|
|
left: 10px;
|
|
width: 2px;
|
|
height: 2px;
|
|
box-shadow: white 0 0 0 2px;
|
|
border-radius: 4px;
|
|
animation: move_1 0.5s infinite linear;
|
|
}
|
|
|
|
&:after {
|
|
animation: move_2 0.5s -0.25s infinite linear;
|
|
}
|
|
}
|
|
}
|