feat: update NetworkMembership Protobuf version and add referral code functionality with UI enhancements
Build and Deploy to Production / build-and-deploy (push) Has been cancelled

This commit is contained in:
masoodafar-web
2025-12-26 05:51:24 +03:30
parent 516da671c6
commit 1c61fe6846
4 changed files with 145 additions and 3 deletions
@@ -414,3 +414,69 @@
overflow: visible;
}
}
/* Referral Code Style */
.node-referral {
display: flex;
align-items: center;
gap: 3px;
margin-top: 2px;
padding: 2px 4px;
background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
border-radius: 4px;
cursor: pointer;
transition: all 0.2s ease;
max-width: 100%;
}
.node-referral:hover {
background: linear-gradient(135deg, #ffe0b2 0%, #ffcc80 100%);
transform: scale(1.02);
}
.node-referral .referral-icon {
font-size: 8px;
}
.node-referral .referral-code {
font-size: 8px;
font-weight: 600;
color: #e65100;
font-family: monospace;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* Club Active Badge */
.org-node-card.club-active {
border-right: 3px solid #ff9800;
}
.org-node-card.club-active .node-avatar-sm {
background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}
/* Toast Notification */
.org-chart-toast {
position: fixed;
bottom: 20px;
left: 50%;
transform: translateX(-50%) translateY(100px);
background: #323232;
color: white;
padding: 12px 24px;
border-radius: 8px;
font-size: 14px;
font-family: 'Vazirmatn', sans-serif;
direction: rtl;
z-index: 10000;
opacity: 0;
transition: all 0.3s ease;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.org-chart-toast.show {
transform: translateX(-50%) translateY(0);
opacity: 1;
}