w-aura/src/components/UsersHands/styles.module.scss
Daniil Chemerkin c6b3f492ea hint-palm
2025-03-10 21:31:33 +00:00

86 lines
1.4 KiB
SCSS

.container {
width: 100%;
background: linear-gradient(0.63deg, #E1EBFF 0.53%, rgba(75, 136, 255, 0.31) 0.54%);
border-radius: 18px;
padding: 32px 14px 6px;
margin-top: 16px;
}
.title {
font-family: SF Pro Text;
font-weight: 500;
font-size: 16px;
line-height: 125%;
text-align: center;
vertical-align: middle;
margin-bottom: 21px;
}
.hands {
width: 100%;
display: flex;
justify-content: flex-start;
align-items: center;
overflow-x: auto;
flex-wrap: nowrap;
-webkit-overflow-scrolling: touch;
scrollbar-width: thin;
padding-bottom: 10px;
&>.hand {
position: relative;
width: 56px;
height: 75px;
border-radius: 10px;
overflow: hidden;
flex-shrink: 0;
opacity: 1;
margin-right: 10px;
img {
width: 100%;
height: 100%;
object-fit: cover;
}
&.willBeRemoved {
animation: fadeOut 1s ease-in-out forwards;
animation-delay: 2s;
}
}
}
.svgObjects {
animation: fadeIn 1.5s ease-in-out forwards;
}
.line {
animation-delay: 1.5s;
}
@keyframes fadeIn {
0% {
opacity: 0;
}
99% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes fadeOut {
from {
opacity: 1;
}
to {
opacity: 0;
width: 0;
margin-right: 0;
border-radius: 2px;
}
}