quantum-ai/static/css/header.css
Claude f2590853ef Implement shared footer and improve header design
- Convert inline CSS to external base.css for better maintainability
- Add comprehensive footer with company info, navigation, and privacy modal
- Update header and footer logos to use logo.png with consistent 60px height
- Add active page highlighting in header navigation
- Fix horizontal scrollbar issues with proper CSS box-sizing
- Update marketplace template to extend base template for consistent layout
- Add responsive design for mobile devices in footer

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-11 03:24:11 +05:30

206 lines
3.4 KiB
CSS

/* Header Styles for NetCop Hub */
.header {
background: white;
padding: 12px 24px;
border-radius: 0;
margin-bottom: 0;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
border-bottom: 1px solid #e5e7eb;
}
.header-left {
display: flex;
align-items: center;
gap: 40px;
}
.logo-section {
display: flex;
align-items: center;
gap: 12px;
text-decoration: none;
color: inherit;
}
.logo-img {
width: auto;
height: 60px;
border-radius: 0;
object-fit: contain;
}
.logo-text {
display: flex;
flex-direction: column;
gap: 2px;
}
.logo-title {
font-size: 18px;
font-weight: 700;
color: #1e3a8a;
margin: 0;
line-height: 1.1;
letter-spacing: -0.025em;
}
.logo-subtitle {
font-size: 10px;
color: #6b7280;
margin: 0;
line-height: 1.2;
font-weight: 500;
letter-spacing: 0.05em;
}
.header-nav {
display: flex;
gap: 32px;
align-items: center;
}
.nav-link {
text-decoration: none;
color: #6b7280;
font-weight: 500;
font-size: 16px;
padding: 8px 0;
border-radius: 0;
transition: all 0.2s ease;
position: relative;
}
.nav-link:hover {
color: #3b82f6;
}
.nav-link:hover::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
right: 0;
height: 2px;
background: #3b82f6;
}
.user-info {
display: flex;
align-items: center;
gap: 15px;
flex-wrap: wrap;
}
.user-welcome {
color: #374151;
font-weight: 500;
margin: 0;
}
.balance {
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
color: white;
padding: 8px 16px;
border-radius: 20px;
font-weight: 600;
font-size: 14px;
box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
text-decoration: none;
display: inline-block;
transition: all 0.2s ease;
}
.balance:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
color: white;
}
.auth-links {
display: flex;
gap: 15px;
align-items: center;
}
.auth-links a {
text-decoration: none;
color: #6b7280;
font-weight: 500;
padding: 8px 12px;
border-radius: 6px;
transition: all 0.2s ease;
}
.auth-links a:hover {
color: #3b82f6;
background: rgba(59, 130, 246, 0.05);
}
.auth-links a[href*="logout"] {
color: #ef4444;
}
.auth-links a[href*="logout"]:hover {
color: #dc2626;
background: rgba(239, 68, 68, 0.05);
}
/* Responsive Design */
@media (max-width: 768px) {
.header {
flex-direction: column;
gap: 15px;
text-align: center;
}
.header-left {
justify-content: center;
}
.logo-subtitle {
display: none;
}
.header-nav {
flex-wrap: wrap;
justify-content: center;
}
.user-info {
justify-content: center;
}
.auth-links {
flex-wrap: wrap;
justify-content: center;
}
}
@media (max-width: 480px) {
.header-left {
flex-direction: column;
gap: 10px;
}
.logo-img {
width: auto;
height: 40px;
}
.logo-title {
font-size: 18px;
}
.header-nav {
gap: 10px;
}
.nav-link {
padding: 6px 10px;
font-size: 14px;
}
}