hm_ai_qc_report_tool/static/css/tabs.css
nickviljoen e6f3e9387e Add modular architecture, core framework, and web UI
New blueprint-based module system (hm_qc, video_qc, video_master,
reporting), core framework (database, config, templates), and
unified web interface with progress tracking and tab navigation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 11:39:04 +02:00

221 lines
4.8 KiB
CSS

/**
* Tab Navigation Styles for HM QC Platform
*/
/* ============================================
Tab Container
============================================ */
.hm-tabs {
background-color: #ffffff;
border-bottom: 3px solid var(--hm-yellow, #FFDD00);
padding: 0;
margin: 0;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
/* ============================================
Tab Items
============================================ */
.hm-tabs .nav-item {
margin: 0;
}
.hm-tabs .nav-link {
color: #6c757d;
font-weight: 600;
font-size: 1rem;
padding: 1rem 1.5rem;
border: none;
border-bottom: 3px solid transparent;
transition: all 0.3s ease;
display: flex;
align-items: center;
background-color: transparent;
}
.hm-tabs .nav-link:hover {
color: var(--hm-black, #000000);
background-color: #f8f9fa;
border-bottom-color: var(--hm-yellow, #FFDD00);
}
.hm-tabs .nav-link.active {
color: var(--hm-black, #000000);
background-color: var(--hm-yellow, #FFDD00);
border-bottom: 3px solid var(--hm-black, #000000);
font-weight: 700;
}
.hm-tabs .nav-link.active:hover {
background-color: var(--hm-yellow, #FFDD00);
border-bottom-color: var(--hm-black, #000000);
}
/* ============================================
Icons in Tabs
============================================ */
.hm-tabs .nav-link i {
font-size: 1.1rem;
}
/* ============================================
BETA Badge in Tabs
============================================ */
.beta-badge {
font-size: 0.65rem;
padding: 0.25rem 0.5rem;
vertical-align: middle;
border-radius: 3px;
font-weight: 700;
letter-spacing: 0.5px;
animation: pulse-beta 2s ease-in-out infinite;
}
@keyframes pulse-beta {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.7;
}
}
.hm-tabs .nav-link.active .beta-badge {
background-color: var(--hm-black, #000000) !important;
color: var(--hm-yellow, #FFDD00) !important;
animation: none; /* Stop pulsing when active */
}
/* ============================================
Tab Content Transitions
============================================ */
.tab-content-wrapper {
animation: fadeIn 0.3s ease-in;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* ============================================
Coming Soon Overlay (for unimplemented tabs)
============================================ */
.coming-soon-overlay {
position: relative;
}
.coming-soon-overlay::before {
content: "Coming Soon";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: var(--hm-yellow, #FFDD00);
color: var(--hm-black, #000000);
padding: 1rem 2rem;
border-radius: 8px;
font-weight: 700;
font-size: 1.5rem;
z-index: 100;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.coming-soon-overlay::after {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(255, 255, 255, 0.9);
z-index: 99;
}
/* ============================================
Module Indicator
============================================ */
.module-indicator {
display: inline-block;
padding: 0.5rem 1rem;
background-color: var(--hm-black, #000000);
color: var(--hm-yellow, #FFDD00);
border-radius: 4px;
font-weight: 600;
font-size: 0.9rem;
margin-bottom: 1rem;
}
/* ============================================
Responsive Tabs
============================================ */
@media (max-width: 768px) {
.hm-tabs .nav-link {
padding: 0.75rem 1rem;
font-size: 0.9rem;
}
.hm-tabs .nav-link i {
font-size: 1rem;
}
/* Hide icon text on mobile, keep icons */
.hm-tabs .nav-link {
justify-content: center;
}
.beta-badge {
font-size: 0.6rem;
padding: 0.2rem 0.4rem;
}
}
@media (max-width: 576px) {
/* Stack tabs vertically on very small screens */
.hm-tabs {
flex-direction: column;
}
.hm-tabs .nav-item {
width: 100%;
}
.hm-tabs .nav-link {
justify-content: flex-start;
border-bottom: 1px solid #dee2e6;
}
.hm-tabs .nav-link.active {
border-left: 4px solid var(--hm-yellow, #FFDD00);
border-bottom: 1px solid #dee2e6;
}
}
/* ============================================
Disabled Tab State
============================================ */
.hm-tabs .nav-link.disabled {
color: #adb5bd;
cursor: not-allowed;
opacity: 0.6;
}
.hm-tabs .nav-link.disabled:hover {
background-color: transparent;
border-bottom-color: transparent;
}