/** * Layout Styles * * Styles for application layout, sidebar, and main content areas. */ import { css } from 'lit'; export const layoutStyles = css` :host { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; margin: 0; padding: 0; display: block; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--tems-color-bg-base, #fafafa); color: var(--tems-color-text-primary, #2d2d2d); z-index: 1000; overflow: hidden; } .app-layout { display: flex; width: 100vw; height: 100vh; overflow: hidden; position: fixed; top: 0; left: 0; } :host * { box-sizing: border-box; } /* Sidebar Styles */ .sidebar { width: 280px; background: var(--tems-color-bg-sidebar, #ffffff); border-right: 1px solid var(--tems-color-border-light, #e5e5e5); display: flex; flex-direction: column; z-index: 10; box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05); } .sidebar-header { padding: 1.5rem; border-bottom: 1px solid var(--tems-color-border-light, #e5e5e5); background: var(--tems-color-bg-header, #fafafa); } .logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; } .header-controls { display: flex; flex-direction: column; gap: 0.75rem; } .logo-icon { font-size: 1.5rem; color: var(--tems-color-primary, #e91e63); } .logo-text { font-size: 1.25rem; font-weight: 700; color: var(--tems-color-text-primary, #2d2d2d); } .connection-status { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; } .status-indicator { width: 8px; height: 8px; border-radius: 50%; } .status-indicator.connected { background: var(--tems-color-success, #4caf50); } .status-indicator.partial { background: var(--tems-color-warning, #ff9800); } .status-indicator.mock { background: var(--tems-color-info, #2196f3); } .status-text { color: var(--tems-color-text-secondary, #666666); font-weight: 500; } /* Sidebar Navigation */ .sidebar-nav { flex: 1; padding: 1rem 0; overflow-y: auto; } .nav-item { width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; border: none; background: transparent; cursor: pointer; transition: all 0.2s ease; text-align: left; border-left: 3px solid transparent; } .nav-item:hover { background: var(--tems-color-bg-hover, #f5f5f5); border-left-color: var(--tems-color-primary-light, #f8bbd9); } .nav-item.active { background: var(--tems-color-bg-selected, #fce4ec); border-left-color: var(--tems-color-primary, #e91e63); color: var(--tems-color-primary-dark, #ad1457); } .nav-icon { font-size: 1.25rem; min-width: 24px; display: flex; align-items: center; justify-content: center; } .nav-content { display: flex; flex-direction: column; gap: 0.125rem; flex: 1; } .nav-label { font-weight: 600; font-size: 0.9rem; line-height: 1.2; } .nav-description { font-size: 0.75rem; color: var(--tems-color-text-secondary, #666666); line-height: 1.3; } /* Sidebar Footer */ .sidebar-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--tems-color-border-light, #e5e5e5); background: var(--tems-color-bg-footer, #fafafa); } .connection-details { display: flex; flex-direction: column; gap: 0.5rem; } .detail-item { display: flex; flex-direction: column; gap: 0.125rem; } .detail-label { font-size: 0.75rem; color: var(--tems-color-text-secondary, #666666); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; } .detail-value { font-family: monospace; font-size: 0.75rem; color: var(--tems-color-text-primary, #2d2d2d); background: var(--tems-color-bg-code, #f5f5f5); padding: 0.25rem 0.5rem; border-radius: 4px; word-break: break-all; } /* Main Content Area */ .main-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; background: var(--tems-color-bg-content, #ffffff); } .content-header { padding: 2rem 2.5rem 1rem 2.5rem; border-bottom: 1px solid var(--tems-color-border-light, #e5e5e5); background: var(--tems-color-bg-header, #fafafa); } .content-header h1 { margin: 0 0 0.5rem 0; font-size: 2rem; font-weight: 700; color: var(--tems-color-text-primary, #2d2d2d); line-height: 1.2; } .content-header p { margin: 0; color: var(--tems-color-text-secondary, #666666); font-size: 1rem; line-height: 1.5; } .content-body { flex: 1; padding: 2rem 2.5rem; overflow-y: auto; background: var(--tems-color-bg-content, #ffffff); } `;