rescored / frontend /src /components /InstrumentTabs.css
calebhan's picture
updated source separation
0dfd298
.instrument-tabs {
display: flex;
gap: 0.5rem;
margin-bottom: 1.5rem;
padding: 0.5rem;
background-color: #f8f9fa;
border-radius: 8px;
overflow-x: auto;
}
.instrument-tabs.single {
justify-content: center;
}
.instrument-badge {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1.5rem;
background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
color: white;
border-radius: 6px;
font-weight: 500;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.instrument-tab {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1.25rem;
border: 2px solid #dee2e6;
border-radius: 6px;
background-color: white;
cursor: pointer;
transition: all 0.2s ease;
font-size: 0.95rem;
font-weight: 500;
white-space: nowrap;
}
.instrument-tab:hover {
border-color: #007bff;
background-color: #f8f9fa;
transform: translateY(-1px);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.instrument-tab.active {
border-color: #007bff;
background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
color: white;
box-shadow: 0 3px 8px rgba(0, 123, 255, 0.3);
}
.instrument-tab.active:hover {
background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
transform: translateY(-1px);
}
.instrument-tab .instrument-icon,
.instrument-badge .instrument-icon {
font-size: 1.25rem;
line-height: 1;
}
.instrument-tab .instrument-label,
.instrument-badge .instrument-label {
font-size: 0.95rem;
}
/* Responsive */
@media (max-width: 600px) {
.instrument-tabs {
gap: 0.25rem;
padding: 0.25rem;
}
.instrument-tab {
padding: 0.5rem 0.75rem;
font-size: 0.85rem;
}
.instrument-tab .instrument-icon {
font-size: 1.1rem;
}
.instrument-tab .instrument-label {
display: none; /* Hide labels on mobile, show icons only */
}
}