- Background: Vibrant orange gradient (FF6B35 → F7931E)
- Modern & Energetic: Represents vitality and health
- Professional: Medical-grade aesthetics with warm tones
Click to Navigate:
- HIGH RISK card → Jumps to all high-risk variants
- MODERATE RISK card → Scrolls to moderate variants
- LOW RISK card → Shows low-risk variants
Features:
- Smooth scroll animation
- Highlight effect when navigating
- Hover effects with elevation
- Visual feedback on interaction
Location: Bottom-right corner
Hover to Expand:
🔗 Share Link
📥 Download PDF
🖨️ Print
⚙️ [Main Button]
Actions:
- Copies current URL to clipboard
- Shows success notification
- Perfect for sharing reports with doctors
- Instant feedback
- Opens print dialog with "Save as PDF" hint
- Preserves all formatting and colors
- Print-optimized layout
- Professional report quality
- Opens print preview directly
- Clean print layout (hides FAB)
- Page break optimization
- Professional formatting
- Hover effects on all interactive elements
- Smooth animations for scrolling
- Highlight pulse when navigating to variants
- Toast notifications for actions
- Works on desktop, tablet, mobile
- Touch-friendly on mobile devices
- Scales beautifully on all screen sizes
- Print-optimized layout
- High contrast text
- Clear visual hierarchy
- Keyboard navigation support
- Screen reader friendly
Click on risk card → Scroll to variants → Review details
Hover FAB → Click "Share Link" → Link copied!
Hover FAB → Click "Download PDF" → Print → Save as PDF
Hover FAB → Click "Print" → Select printer
background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);function scrollToRisk(riskLevel) {
// Smooth scroll to first variant
// Highlight all variants of that risk level
// Animate for visual feedback
}.fab-container {
position: fixed;
bottom: 30px;
right: 30px;
z-index: 1000;
}
.fab-container:hover .fab-menu {
display: flex; /* Expand on hover */
}navigator.clipboard.writeText(shareURL)
.then(() => showNotification('✅ Link copied!'));- Main:
#FF6B35(Bright Orange) - Secondary:
#F7931E(Golden Orange) - Hover: Darker shade for depth
- HIGH:
#e74c3c(Red) - Urgent attention - MODERATE:
#f39c12(Amber) - Caution - LOW:
#27ae60(Green) - Safe
- Background Cards: White with subtle shadows
- Text: Dark gray (#333) for readability
- Borders: Risk-level colored accents
- Large tap targets (44px minimum)
- Swipe-friendly scrolling
- No hover-dependent features (mobile alternatives)
- Lightweight CSS animations
- Optimized JavaScript
- Fast rendering
- Minimal dependencies
- All analysis runs in browser
- No external server calls
- Data stays on your device
- HIPAA-friendly design
- URL contains no sensitive data
- File-based, not server-based
- User controls sharing
- Can be password-protected (future)
- Dark mode toggle
- Export to JSON/CSV
- Comparison mode (multiple VCFs)
- Interactive charts (Chart.js)
- Voice-over summary
- Multi-language support (Hindi, Tamil, etc.)
- QR code for mobile sharing
- Email report functionality
- Bookmark specific variants
- Notes/annotations feature
1. Generate report from VCF
2. Click "Share Link"
3. Send link to doctor
4. Doctor reviews before appointment
1. Open report in browser
2. Click "Download PDF"
3. Save to health records folder
4. Archive for future reference
1. Click "HIGH RISK" card
2. Review all critical variants
3. Take notes on recommendations
4. Print summary for records
Edit web_demo.py:
background: linear-gradient(135deg, #YOUR_COLOR 0%, #YOUR_COLOR2 100%);.fab-container {
bottom: 30px; /* Distance from bottom */
right: 30px; /* Distance from right */
}function customAction() {
// Your code here
showNotification('✅ Custom action completed!');
}// Can integrate Google Analytics or custom tracking
function trackAction(action) {
// ga('send', 'event', 'Report', action);
}- Hover over variant cards for detailed info
- Click "Learn More" for expanded sections
- Color-coded risk levels for quick scanning
- Evidence-based suggestions
- Actionable next steps
- Links to relevant resources
- ✅ Chrome/Edge (90+)
- ✅ Firefox (88+)
- ✅ Safari (14+)
- ✅ Opera (76+)
- CSS Grid & Flexbox
- Clipboard API
- Smooth Scroll
- CSS Animations
- ES6 JavaScript
MIT License - Free for research and educational use
Generated by: Dirghayu v0.2.0
Platform: India-First Longevity Genomics
Theme: Orange Vitality Edition 🍊