SinJR's picture
build a viewer for medical models such as tf,pt,onnx,etc...
2c6db99 verified
Raw History Blame Contribute Delete
1.5 kB
/* Base styles */
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
color: #1f2937;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
background: #d1d5db;
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: #9ca3af;
}
/* Animation for loading */
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.animate-spin {
animation: spin 1s linear infinite;
}
/* Custom file upload hover effect */
input[type="file"] + div:hover {
border-color: #f59e0b;
background-color: rgba(245, 158, 11, 0.05);
}
/* Transition effects */
.transition-colors {
transition-property: background-color, border-color, color, fill, stroke;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
/* Model controls styling */
.model-controls {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
}
.model-controls button {
display: flex;
align-items: center;
gap: 0.25rem;
padding: 0.5rem 1rem;
border-radius: 0.5rem;
font-size: 0.875rem;
line-height: 1.25rem;
transition: all 0.2s ease;
}
/* Responsive adjustments */
@media (max-width: 1024px) {
.model-controls {
justify-content: center;
}
}