agy / index.css
Nanny7's picture
feat: initial clean LFS commit of showcase
bbfeecb
Raw
History Blame Contribute Delete
20.7 kB
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Noto+Sans+TC:wght@300;400;500;700;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');
:root {
--bg-color: #080c14;
--card-bg: rgba(16, 22, 36, 0.7);
--card-border: rgba(255, 255, 255, 0.08);
--text-main: #f1f5f9;
--text-muted: #94a3b8;
--text-dark: #64748b;
/* Accent Colors */
--accent-cyan: #06b6d4;
--accent-cyan-glow: rgba(6, 182, 212, 0.15);
--accent-blue: #3b82f6;
--accent-blue-glow: rgba(59, 130, 246, 0.15);
--accent-amber: #f59e0b;
--accent-amber-glow: rgba(245, 158, 11, 0.15);
--accent-emerald: #10b981;
--accent-emerald-glow: rgba(16, 185, 129, 0.15);
--accent-rose: #f43f5e;
--accent-rose-glow: rgba(244, 63, 94, 0.15);
--font-sans: 'Outfit', 'Noto Sans TC', sans-serif;
--font-mono: 'JetBrains Mono', monospace;
--sidebar-width: 280px;
--header-height: 70px;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: var(--bg-color);
color: var(--text-main);
font-family: var(--font-sans);
min-height: 100vh;
display: flex;
overflow: hidden;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: rgba(8, 12, 20, 0.5);
}
::-webkit-scrollbar-thumb {
background: rgba(148, 163, 184, 0.2);
border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--accent-cyan);
}
/* Glassmorphism Panel styles */
.glass-panel {
background: var(--card-bg);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid var(--card-border);
border-radius: 16px;
box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-panel:hover {
border-color: rgba(255, 255, 255, 0.12);
}
/* Main Dashboard Layout */
.dashboard-container {
display: flex;
width: 100vw;
height: 100vh;
overflow: hidden;
background: radial-gradient(circle at 50% 0%, #0e1726 0%, #05080f 100%);
}
/* Sidebar Navigation */
.sidebar {
width: var(--sidebar-width);
height: 100%;
background: rgba(10, 15, 26, 0.85);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-right: 1px solid var(--card-border);
display: flex;
flex-direction: column;
z-index: 100;
flex-shrink: 0;
transition: transform 0.3s ease;
}
.sidebar-header {
padding: 24px;
display: flex;
align-items: center;
gap: 12px;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.sidebar-logo {
width: 38px;
height: 38px;
border-radius: 10px;
background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}
.sidebar-logo svg {
width: 22px;
height: 22px;
color: white;
}
.sidebar-title-container h2 {
font-size: 18px;
font-weight: 900;
letter-spacing: 0.5px;
background: linear-gradient(to right, #00f2fe, #4facfe);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.sidebar-title-container p {
font-size: 10px;
color: var(--text-muted);
font-family: var(--font-mono);
text-transform: uppercase;
margin-top: 1px;
}
.sidebar-menu {
flex: 1;
padding: 20px 14px;
display: flex;
flex-direction: column;
gap: 6px;
overflow-y: auto;
}
.menu-item {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 16px;
color: var(--text-muted);
text-decoration: none;
font-size: 14px;
font-weight: 500;
border-radius: 12px;
transition: all 0.2s ease;
cursor: pointer;
border: 1px solid transparent;
}
.menu-item svg {
width: 18px;
height: 18px;
transition: transform 0.2s ease;
}
.menu-item:hover {
color: var(--text-main);
background: rgba(255, 255, 255, 0.04);
}
.menu-item:hover svg {
transform: translateX(2px);
}
.menu-item.active {
color: #white;
background: linear-gradient(90deg, rgba(6, 182, 212, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
border-color: rgba(6, 182, 212, 0.3);
box-shadow: 0 4px 15px rgba(6, 182, 212, 0.05);
}
.menu-item.active svg {
color: var(--accent-cyan);
}
.sidebar-footer {
padding: 20px;
border-top: 1px solid rgba(255, 255, 255, 0.05);
font-size: 11px;
color: var(--text-dark);
text-align: center;
font-family: var(--font-mono);
}
/* App Main Body */
.main-content {
flex: 1;
height: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
position: relative;
}
/* Header */
.top-header {
height: var(--header-height);
padding: 0 32px;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
background: rgba(10, 15, 26, 0.3);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
z-index: 10;
flex-shrink: 0;
}
.header-title h3 {
font-size: 18px;
font-weight: 800;
color: white;
}
.header-title p {
font-size: 12px;
color: var(--text-muted);
}
.header-badge {
display: flex;
align-items: center;
gap: 8px;
background: rgba(6, 182, 212, 0.1);
border: 1px solid rgba(6, 182, 212, 0.2);
padding: 6px 14px;
border-radius: 99px;
font-size: 12px;
font-weight: 600;
color: var(--accent-cyan);
}
.header-badge span.pulse-dot {
width: 8px;
height: 8px;
background-color: var(--accent-cyan);
border-radius: 50%;
box-shadow: 0 0 10px var(--accent-cyan);
animation: pulse-ring 2s infinite;
}
/* Scrollable Viewport Container */
.viewport-container {
flex: 1;
padding: 32px;
overflow-y: auto;
position: relative;
}
/* Tab Sections */
.tab-section {
display: none;
animation: fadeIn 0.4s ease-out forwards;
}
.tab-section.active {
display: block;
}
/* Grid Systems */
.grid-container {
display: grid;
grid-template-columns: repeat(12, 1fr);
gap: 24px;
}
.col-12 { grid-column: span 12; }
.col-8 { grid-column: span 8; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
@media (max-width: 1024px) {
.col-8, .col-6, .col-4 {
grid-column: span 12;
}
}
/* General CSS components */
h4.section-title {
font-size: 20px;
font-weight: 800;
margin-bottom: 24px;
color: white;
display: flex;
align-items: center;
gap: 10px;
}
h4.section-title::before {
content: '';
width: 4px;
height: 20px;
background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-blue));
border-radius: 2px;
display: inline-block;
}
/* CSS Cards */
.card-padding {
padding: 24px;
}
.card-title {
font-size: 16px;
font-weight: 700;
color: white;
margin-bottom: 16px;
display: flex;
align-items: center;
justify-content: space-between;
}
.text-content {
font-size: 14px;
line-height: 1.6;
color: var(--text-muted);
}
.text-content p {
margin-bottom: 12px;
}
/* Overview Dashboard Components */
.ppt-grid-card {
height: 100%;
cursor: pointer;
overflow: hidden;
position: relative;
}
.ppt-grid-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
opacity: 0.7;
}
.ppt-grid-card:hover {
transform: translateY(-4px);
border-color: rgba(6, 182, 212, 0.3);
box-shadow: 0 15px 30px -10px rgba(6, 182, 212, 0.15);
}
.ppt-tag {
display: inline-block;
padding: 4px 10px;
background: rgba(59, 130, 246, 0.1);
border: 1px solid rgba(59, 130, 246, 0.2);
color: #60a5fa;
font-size: 11px;
font-weight: 700;
border-radius: 6px;
margin-bottom: 12px;
text-transform: uppercase;
font-family: var(--font-mono);
}
.ppt-grid-card:nth-child(2) .ppt-tag {
background: rgba(16, 185, 129, 0.1);
border-color: rgba(16, 185, 129, 0.2);
color: #34d399;
}
.ppt-grid-card:nth-child(3) .ppt-tag {
background: rgba(245, 158, 11, 0.1);
border-color: rgba(245, 158, 11, 0.2);
color: #fbbf24;
}
.ppt-grid-card:nth-child(4) .ppt-tag {
background: rgba(244, 63, 94, 0.1);
border-color: rgba(244, 63, 94, 0.2);
color: #f87171;
}
.ppt-title {
font-size: 15px;
font-weight: 800;
color: white;
line-height: 1.4;
margin-bottom: 12px;
min-height: 42px;
}
.ppt-info {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 12px;
color: var(--text-dark);
font-family: var(--font-mono);
border-top: 1px solid rgba(255, 255, 255, 0.05);
padding-top: 12px;
margin-top: 8px;
}
.view-btn {
background: transparent;
border: none;
color: var(--accent-cyan);
font-size: 13px;
font-weight: 700;
display: flex;
align-items: center;
gap: 6px;
cursor: pointer;
transition: all 0.2s ease;
}
.view-btn:hover {
color: var(--text-main);
}
/* Slide Viewer System */
.slide-layout-wrapper {
display: flex;
gap: 24px;
height: calc(100vh - 160px);
}
.slide-selector-pane {
width: 250px;
display: flex;
flex-direction: column;
flex-shrink: 0;
height: 100%;
}
.slide-selector-header {
padding: 16px;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.ppt-selector-dropdown {
width: 100%;
background: rgba(8, 12, 20, 0.8);
border: 1px solid var(--card-border);
color: white;
padding: 10px 14px;
border-radius: 10px;
font-weight: 600;
font-size: 13px;
cursor: pointer;
outline: none;
}
.slide-thumbnails-list {
flex: 1;
overflow-y: auto;
padding: 12px;
display: flex;
flex-direction: column;
gap: 10px;
}
.thumb-item {
padding: 10px 14px;
background: rgba(255, 255, 255, 0.02);
border: 1px solid transparent;
border-radius: 10px;
cursor: pointer;
transition: all 0.2s ease;
}
.thumb-item:hover {
background: rgba(255, 255, 255, 0.05);
}
.thumb-item.active {
background: rgba(6, 182, 212, 0.06);
border-color: rgba(6, 182, 212, 0.3);
}
.thumb-num {
font-family: var(--font-mono);
font-size: 11px;
font-weight: 700;
color: var(--accent-cyan);
margin-bottom: 4px;
display: block;
}
.thumb-title {
font-size: 12px;
color: var(--text-main);
font-weight: 600;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.slide-viewer-pane {
flex: 1;
display: flex;
flex-direction: column;
height: 100%;
gap: 20px;
}
.slide-display-card {
flex: 1;
position: relative;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
background: #020408;
border-radius: 16px;
border: 1px solid var(--card-border);
}
.slide-display-card img {
max-width: 95%;
max-height: 95%;
object-contain: fit;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
border-radius: 4px;
transition: transform 0.3s ease;
cursor: zoom-in;
}
.slide-fullscreen-btn {
position: absolute;
top: 16px;
right: 16px;
width: 36px;
height: 36px;
border-radius: 10px;
background: rgba(16, 22, 36, 0.8);
border: 1px solid var(--card-border);
color: white;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 5;
transition: all 0.2s ease;
}
.slide-fullscreen-btn:hover {
background: var(--accent-cyan);
border-color: var(--accent-cyan);
}
.slide-info-card {
height: 200px;
display: flex;
overflow: hidden;
flex-shrink: 0;
}
.slide-info-text {
flex: 1;
padding: 20px;
overflow-y: auto;
border-right: 1px solid rgba(255, 255, 255, 0.05);
}
.slide-info-takeaway {
width: 300px;
padding: 20px;
overflow-y: auto;
background: rgba(8, 12, 20, 0.3);
}
.slide-info-card h5 {
font-size: 14px;
font-weight: 800;
color: white;
margin-bottom: 12px;
display: flex;
align-items: center;
gap: 8px;
}
.slide-info-card ul {
list-style: none;
}
.slide-info-card li {
font-size: 13px;
color: var(--text-muted);
line-height: 1.6;
margin-bottom: 8px;
position: relative;
padding-left: 14px;
}
.slide-info-card li::before {
content: '';
position: absolute;
left: 0;
top: 7px;
width: 5px;
height: 5px;
border-radius: 50%;
background-color: var(--accent-cyan);
}
.slide-viewer-controls {
display: flex;
align-items: center;
justify-content: space-between;
background: rgba(16, 22, 36, 0.5);
border: 1px solid var(--card-border);
padding: 10px 20px;
border-radius: 12px;
flex-shrink: 0;
}
.nav-btn {
background: rgba(255, 255, 255, 0.03);
border: 1px solid var(--card-border);
color: white;
padding: 8px 16px;
border-radius: 8px;
cursor: pointer;
font-weight: 700;
font-size: 13px;
display: flex;
align-items: center;
gap: 6px;
transition: all 0.2s ease;
}
.nav-btn:hover:not(:disabled) {
background: rgba(255, 255, 255, 0.08);
}
.nav-btn:disabled {
opacity: 0.3;
cursor: not-allowed;
}
/* Simulator System (Blind Zone warning lead time calculator) */
.input-group {
margin-bottom: 20px;
}
.input-label {
display: flex;
justify-content: space-between;
font-size: 13px;
font-weight: 700;
color: var(--text-muted);
margin-bottom: 8px;
}
.input-label span.value-display {
color: var(--accent-cyan);
font-family: var(--font-mono);
font-weight: 700;
}
.input-slider {
width: 100%;
height: 6px;
background: rgba(0, 0, 0, 0.5);
border-radius: 99px;
outline: none;
appearance: none;
cursor: pointer;
accent-color: var(--accent-cyan);
}
.calculator-summary-box {
background: rgba(6, 182, 212, 0.04);
border: 1px solid rgba(6, 182, 212, 0.15);
border-radius: 12px;
padding: 20px;
margin-top: 24px;
}
.lead-time-large-display {
font-size: 48px;
font-weight: 900;
color: var(--accent-cyan);
font-family: var(--font-mono);
text-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
margin-bottom: 8px;
text-align: center;
}
.lead-time-large-display span {
font-size: 20px;
font-weight: 700;
margin-left: 4px;
text-shadow: none;
}
.warning-status-alert {
text-align: center;
font-size: 14px;
font-weight: 800;
padding: 8px 12px;
border-radius: 8px;
margin-top: 12px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.status-safe {
background: rgba(16, 185, 129, 0.15);
border: 1px solid rgba(16, 185, 129, 0.3);
color: #34d399;
}
.status-blind {
background: rgba(244, 63, 94, 0.15);
border: 1px solid rgba(244, 63, 94, 0.3);
color: #f87171;
}
/* Blind zone graphics */
.blind-zone-canvas-wrapper {
width: 100%;
height: 380px;
background: #020408;
border-radius: 12px;
border: 1px solid var(--card-border);
overflow: hidden;
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
.blind-zone-canvas-wrapper canvas {
width: 100%;
height: 100%;
}
/* Agent Swarm System Visualizer */
.agent-swarm-wrapper {
position: relative;
width: 100%;
height: 480px;
background: #020408;
border-radius: 16px;
border: 1px solid var(--card-border);
overflow: hidden;
cursor: grab;
}
.agent-card-overlay {
position: absolute;
bottom: 24px;
left: 24px;
right: 24px;
background: rgba(10, 15, 26, 0.9);
border: 1px solid var(--card-border);
border-radius: 14px;
padding: 20px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
display: flex;
gap: 16px;
align-items: flex-start;
z-index: 10;
}
.agent-icon-box {
width: 48px;
height: 48px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.agent-details h4 {
font-size: 15px;
font-weight: 800;
color: white;
margin-bottom: 4px;
display: flex;
align-items: center;
gap: 10px;
}
.agent-details h4 span.agent-role-badge {
font-size: 10px;
font-family: var(--font-mono);
padding: 2px 8px;
border-radius: 4px;
font-weight: 700;
text-transform: uppercase;
}
.agent-details p {
font-size: 13px;
color: var(--text-muted);
line-height: 1.5;
}
/* Search engine layout */
.search-container {
display: flex;
flex-direction: column;
gap: 20px;
height: calc(100vh - 160px);
}
.search-input-box {
position: relative;
width: 100%;
}
.search-input-box input {
width: 100%;
background: rgba(16, 22, 36, 0.7);
border: 1px solid var(--card-border);
color: white;
padding: 16px 20px 16px 54px;
border-radius: 14px;
font-size: 15px;
font-weight: 600;
outline: none;
transition: all 0.3s ease;
backdrop-filter: blur(10px);
}
.search-input-box input:focus {
border-color: var(--accent-cyan);
box-shadow: 0 0 20px var(--accent-cyan-glow);
}
.search-input-box svg {
position: absolute;
top: 17px;
left: 20px;
width: 20px;
height: 20px;
color: var(--text-muted);
}
.search-results-viewport {
flex: 1;
overflow-y: auto;
padding-right: 8px;
display: flex;
flex-direction: column;
gap: 16px;
}
.search-result-card {
display: flex;
gap: 20px;
cursor: pointer;
}
.search-result-card:hover {
border-color: rgba(6, 182, 212, 0.3);
background: rgba(255, 255, 255, 0.02);
}
.result-image-box {
width: 160px;
height: 100px;
background: #020408;
border-radius: 10px;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.05);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.result-image-box img {
max-width: 95%;
max-height: 95%;
object-fit: contain;
}
.result-content-box {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
min-width: 0;
}
.result-meta {
font-size: 11px;
font-family: var(--font-mono);
font-weight: 700;
color: var(--accent-cyan);
margin-bottom: 6px;
}
.result-title {
font-size: 14px;
font-weight: 700;
color: white;
margin-bottom: 6px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.result-snippet {
font-size: 12.5px;
color: var(--text-muted);
line-height: 1.5;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.no-results-view {
text-align: center;
padding: 60px 20px;
color: var(--text-dark);
}
.no-results-view svg {
width: 48px;
height: 48px;
margin-bottom: 16px;
opacity: 0.5;
}
/* Fullscreen lightroom modal */
.lightroom-modal {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(2, 4, 8, 0.95);
backdrop-filter: blur(12px);
z-index: 1000;
display: none;
align-items: center;
justify-content: center;
cursor: zoom-out;
animation: fadeIn 0.2s ease-out forwards;
}
.lightroom-modal img {
max-width: 95vw;
max-height: 90vh;
object-fit: contain;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
border-radius: 6px;
}
.lightroom-close-btn {
position: absolute;
top: 24px;
right: 24px;
width: 48px;
height: 48px;
border-radius: 50%;
background: rgba(16, 22, 36, 0.8);
border: 1px solid var(--card-border);
color: white;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s ease;
}
.lightroom-close-btn:hover {
background: var(--accent-rose);
border-color: var(--accent-rose);
}
/* Animations */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(6px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-ring {
0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.5); }
70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(6, 182, 212, 0); }
100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}
/* Download Center */
.download-card {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 24px;
background: rgba(255, 255, 255, 0.02);
border: 1px solid var(--card-border);
border-radius: 12px;
margin-bottom: 16px;
transition: all 0.2s ease;
}
.download-card:hover {
background: rgba(255, 255, 255, 0.04);
border-color: rgba(59, 130, 246, 0.3);
}
.download-meta {
display: flex;
align-items: center;
gap: 16px;
}
.download-icon {
width: 42px;
height: 42px;
background: rgba(59, 130, 246, 0.15);
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
color: var(--accent-blue);
flex-shrink: 0;
}
.download-details h5 {
font-size: 14px;
font-weight: 700;
color: white;
margin-bottom: 2px;
}
.download-details p {
font-size: 12px;
color: var(--text-dark);
}
.download-action-btn {
background: var(--accent-blue);
color: white;
border: none;
padding: 10px 18px;
border-radius: 8px;
font-size: 13px;
font-weight: 700;
cursor: pointer;
transition: all 0.2s ease;
text-decoration: none;
}
.download-action-btn:hover {
background: #2563eb;
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}