129 lines
2.1 KiB
CSS
129 lines
2.1 KiB
CSS
.loyaltyIcon {
|
|
position: relative;
|
|
width: 24px;
|
|
height: 24px;
|
|
margin-left: -2px;
|
|
top: 2px;
|
|
}
|
|
|
|
.loyaltyContainer {
|
|
background-color: var(--secondary-background);
|
|
border: none;
|
|
margin-bottom: 1rem;
|
|
margin: 0 16px 20px 16px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.loyaltyContainer :global(.ant-card-body) {
|
|
padding: 12px 16px !important;
|
|
border: none;
|
|
border-radius: 0px;
|
|
}
|
|
|
|
.loyaltyCard {
|
|
border-radius: 0px !important;
|
|
border: none;
|
|
}
|
|
|
|
.presentIcon {
|
|
display: flex;
|
|
position: relative;
|
|
top: -1;
|
|
margin-left: -4px;
|
|
}
|
|
|
|
.presentIconItem {
|
|
background-image: url(/empty-dish.png);
|
|
background-size: cover;
|
|
background-position: center;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 6px;
|
|
border: none;
|
|
margin-left: 0px;
|
|
}
|
|
|
|
:global(.darkApp) .loyaltyIcon path {
|
|
fill: none !important;
|
|
stroke: var(--primary) !important;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
:global(.rtl) .loyaltyIcon {
|
|
margin-right: -2px;
|
|
}
|
|
|
|
:global(.rtl) .presentIcon {
|
|
margin-right: -4px;
|
|
}
|
|
|
|
:global(.rtl) .presentIconItem {
|
|
margin-right: 0px;
|
|
}
|
|
|
|
.congratulationsContainer {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 8px;
|
|
padding: 8px 12px;
|
|
background: linear-gradient(135deg, var(--primary), #fa0505);
|
|
border-radius: 8px;
|
|
animation: celebrate 0.6s ease-in-out;
|
|
}
|
|
|
|
.congratulationsIcon {
|
|
color: var(--secondary-background);
|
|
font-size: 18px;
|
|
animation: bounce 1s infinite;
|
|
}
|
|
|
|
.congratulationsText {
|
|
color: var(--secondary-background);
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
margin: 0;
|
|
}
|
|
|
|
.congratulationsSubtext {
|
|
color: var(--secondary-background);
|
|
font-weight: 400;
|
|
font-size: 12px;
|
|
margin: 0;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
@keyframes celebrate {
|
|
0% {
|
|
transform: scale(0.8);
|
|
opacity: 0;
|
|
}
|
|
50% {
|
|
transform: scale(1.05);
|
|
}
|
|
100% {
|
|
transform: scale(1);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes bounce {
|
|
0%,
|
|
20%,
|
|
50%,
|
|
80%,
|
|
100% {
|
|
transform: translateY(0);
|
|
}
|
|
40% {
|
|
transform: translateY(-3px);
|
|
}
|
|
60% {
|
|
transform: translateY(-2px);
|
|
}
|
|
}
|
|
|
|
:global(.darkApp) .congratulationsContainer {
|
|
background: linear-gradient(135deg, var(--primary), #fa0505);
|
|
}
|