// Targo Ops — Global styles :root { // Shared dark palette (sidebar + dispatch) --ops-sidebar-bg: #111422; --ops-sidebar-hover: rgba(255,255,255,0.06); --ops-sidebar-border: rgba(255,255,255,0.06); --ops-sidebar-text: rgba(255,255,255,0.55); --ops-sidebar-text-active: #ffffff; // Accent & semantic --ops-accent: #6366f1; --ops-success: #10b981; --ops-warning: #f59e0b; --ops-danger: #ef4444; // Light content area --ops-bg-hover: #eef2ff; --ops-bg-light: #f8fafc; --ops-bg: #f8fafc; --ops-surface: #ffffff; --ops-border: #e2e8f0; --ops-text: #1e293b; --ops-text-muted: #64748b; // Legacy alias --ops-primary: #111422; } body { background: var(--ops-bg); color: var(--ops-text); } // ── Sidebar ───────────────────────────────────────────────────────────────── .ops-sidebar { background: var(--ops-sidebar-bg) !important; border-right: 1px solid var(--ops-sidebar-border) !important; transition: width 0.2s ease; // Kill Quasar's default white border &.q-drawer--bordered { border-right-color: var(--ops-sidebar-border) !important; } .q-list { padding-top: 0; } .q-item { color: var(--ops-sidebar-text); border-radius: 8px; margin: 2px 8px; min-height: 40px; transition: all 0.15s ease; &:hover { background: var(--ops-sidebar-hover); color: rgba(255,255,255,0.8); } &.active-link { color: var(--ops-sidebar-text-active); background: var(--ops-accent); } } .q-separator--dark { background: var(--ops-sidebar-border) !important; } // Collapsed state &.ops-sidebar-mini { .q-item { margin: 2px 6px; padding: 8px 0; justify-content: center; .q-item__section--avatar { min-width: unset; padding-right: 0; } } } } // Sidebar bottom section .ops-sidebar-bottom { position: absolute; bottom: 0; left: 0; right: 0; padding: 8px 0; border-top: 1px solid var(--ops-sidebar-border); .q-item { color: var(--ops-sidebar-text); font-size: 0.78rem; &:hover { color: rgba(255,255,255,0.8); } } } .ops-collapse-btn { color: var(--ops-sidebar-text) !important; opacity: 0.7; &:hover { opacity: 1; } } // ── Mobile header ─────────────────────────────────────────────────────────── .ops-mobile-header { background: var(--ops-sidebar-bg) !important; border-bottom: 1px solid var(--ops-sidebar-border) !important; } // ── Desktop top bar ───────────────────────────────────────────────────────── .ops-topbar { display: flex; align-items: center; padding: 8px 24px; border-bottom: 1px solid var(--ops-border); background: var(--ops-surface); position: relative; } // ── Cards ─────────────────────────────────────────────────────────────────── .ops-card { background: var(--ops-surface); border: 1px solid var(--ops-border); border-radius: 12px; padding: 16px; } // ── Stat cards ────────────────────────────────────────────────────────────── .ops-stat { text-align: center; .ops-stat-value { font-size: 1.8rem; font-weight: 700; line-height: 1.2; } .ops-stat-label { font-size: 0.8rem; color: var(--ops-text-muted); text-transform: uppercase; letter-spacing: 0.05em; } } // ── Data tables ───────────────────────────────────────────────────────────── .ops-table { .q-table__top { padding: 8px 16px; } th { font-weight: 600; color: var(--ops-text-muted); font-size: 0.75rem; text-transform: uppercase; } td { font-size: 0.875rem; } } // ── Status badges ─────────────────────────────────────────────────────────── .ops-badge { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; &.active { background: #d1fae5; color: #065f46; } &.inactive { background: #fee2e2; color: #991b1b; } &.draft { background: #e0e7ff; color: #3730a3; } &.open { background: #fef3c7; color: #92400e; } &.closed { background: #f1f5f9; color: #475569; } } // ── Search bar ────────────────────────────────────────────────────────────── .ops-search { .q-field__control { border-radius: 10px; background: var(--ops-surface); border: 1px solid var(--ops-border); } } .ops-search-dark { .q-field__control { border-radius: 10px; background: rgba(255,255,255,0.06); border: 1px solid var(--ops-sidebar-border); } .q-field__native { color: #fff; } } // ── Search results dropdown ──────────────────────────────────────────────── .ops-search-results { background: #fff; border: 1px solid var(--ops-border); border-top: none; border-radius: 0 0 10px 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); max-height: 400px; overflow-y: auto; } .ops-search-results-desktop { position: absolute; top: 100%; left: 0; right: 0; z-index: 9999; } .ops-search-result { display: flex; align-items: center; padding: 10px 14px; cursor: pointer; transition: background 0.1s; &:hover, &.ops-search-highlighted { background: #f1f5f9; } &:not(:last-child) { border-bottom: 1px solid #f1f5f9; } } .ops-search-title { font-size: 0.875rem; font-weight: 600; color: var(--ops-text); line-height: 1.2; } .ops-search-sub { font-size: 0.75rem; color: var(--ops-text-muted); } .ops-search-type { font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ops-text-muted); margin-left: auto; white-space: nowrap; } // ── ERP links ────────────────────────────────────────────────────────────── .erp-link { color: var(--ops-accent, #6366f1); text-decoration: none; cursor: pointer; &:hover { text-decoration: underline; } } // ── Clickable table rows ─────────────────────────────────────────────────── .clickable-table :deep(tbody tr) { cursor: pointer; &:hover td { background: var(--ops-bg-hover, #eef2ff) !important; } } // ── Sticky Convos panel (right column) ───────────────────────────────────── .convos-sticky { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: hidden; display: flex; flex-direction: column; .chatter-panel { display: flex; flex-direction: column; max-height: calc(100vh - 32px); overflow: hidden; .chatter-timeline { flex: 1; overflow-y: auto; } } }