/* ============================================================ Fusion WooCommerce — Layout-Only Styles All colors are inherited from Odoo's compiled theme. No CSS custom properties for colors — Odoo handles theming via SCSS compilation, not Bootstrap's data-bs-theme. ============================================================ */ /* ---------------------------------------------------------- Tab navigation ---------------------------------------------------------- */ .woo-tabs { display: flex; gap: 4px; border-bottom: 2px solid; border-color: inherit; margin-bottom: 16px; } .woo-tab { padding: 8px 20px; cursor: pointer; font-weight: 500; opacity: 0.6; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; background: none; color: inherit; transition: opacity 0.15s, border-color 0.15s; } .woo-tab:hover { opacity: 0.85; } .woo-tab.active { opacity: 1; font-weight: 600; border-bottom-color: currentColor; } /* ---------------------------------------------------------- Top bar / stats ---------------------------------------------------------- */ .woo-topbar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid; border-color: inherit; flex-wrap: wrap; } .woo-topbar select, .woo-topbar input { border: 1px solid; border-color: inherit; border-radius: 6px; padding: 6px 10px; font-size: 0.875rem; background: inherit; color: inherit; } .woo-stat { display: flex; flex-direction: column; align-items: center; padding: 4px 14px; border-left: 1px solid; border-color: inherit; } .woo-stat-value { font-size: 1.25rem; font-weight: 700; } .woo-stat-label { font-size: 0.7rem; opacity: 0.6; text-transform: uppercase; letter-spacing: 0.04em; } /* ---------------------------------------------------------- Search bar ---------------------------------------------------------- */ .woo-search-wrap { position: relative; display: inline-flex; align-items: center; } .woo-search-wrap .woo-search-icon { position: absolute; left: 10px; opacity: 0.5; font-size: 14px; pointer-events: none; } .woo-search-input { padding: 6px 10px 6px 32px; border: 1px solid; border-color: inherit; border-radius: 6px; font-size: 0.875rem; width: 240px; background: inherit; color: inherit; } .woo-search-input:focus { outline: none; box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1); } .woo-search-input::placeholder { opacity: 0.5; } /* ---------------------------------------------------------- Tables ---------------------------------------------------------- */ .woo-table-wrap { overflow-x: auto; border: 1px solid; border-color: inherit; border-radius: 6px; } .woo-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; margin-bottom: 0; } .woo-table th { padding: 10px 12px; text-align: left; font-weight: 600; border-bottom: 2px solid; border-color: inherit; white-space: nowrap; opacity: 0.85; } .woo-table td { padding: 9px 12px; border-bottom: 1px solid; border-color: inherit; vertical-align: middle; } .woo-table tbody tr:last-child td { border-bottom: none; } .woo-table tr:hover td { opacity: 0.9; } .woo-table tr.selected td { font-weight: 500; } /* ---------------------------------------------------------- Split view (unmatched tab) ---------------------------------------------------------- */ .woo-split { display: grid; grid-template-columns: 1fr 40px 1fr; gap: 0; align-items: start; } .woo-split-panel { border: 1px solid; border-color: inherit; border-radius: 8px; overflow: hidden; } .woo-split-panel-header { padding: 10px 14px; font-weight: 600; border-bottom: 1px solid; border-color: inherit; display: flex; justify-content: space-between; align-items: center; } .woo-split-divider { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 60px; gap: 8px; opacity: 0.5; font-size: 1.2rem; } .woo-split-list { max-height: 480px; overflow-y: auto; } .woo-split-item { padding: 10px 14px; cursor: pointer; border-bottom: 1px solid; border-color: inherit; transition: opacity 0.1s; } .woo-split-item:last-child { border-bottom: none; } .woo-split-item:hover { opacity: 0.8; } .woo-split-item.selected { font-weight: 600; } .woo-split-item-name { font-weight: 500; } .woo-split-item-sub { font-size: 0.75rem; opacity: 0.6; margin-top: 1px; } /* ---------------------------------------------------------- Map actions bar ---------------------------------------------------------- */ .woo-map-actions { display: flex; gap: 8px; padding: 10px 0 14px; flex-wrap: wrap; border-bottom: 1px solid; border-color: inherit; margin-bottom: 14px; } /* ---------------------------------------------------------- Dashboard cards ---------------------------------------------------------- */ .woo-dashboard { padding: 20px; } .woo-dashboard-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 4px; } .woo-dashboard-subtitle { font-size: 0.875rem; opacity: 0.6; margin-bottom: 24px; } .woo-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-bottom: 24px; } .woo-card { border: 1px solid; border-color: inherit; border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 6px; } .woo-card-clickable { cursor: pointer; } .woo-card-clickable:hover { opacity: 0.85; } .woo-card-icon { font-size: 1.6rem; margin-bottom: 4px; } .woo-card-value { font-size: 2rem; font-weight: 700; line-height: 1; } .woo-card-label { font-size: 0.8rem; opacity: 0.6; text-transform: uppercase; letter-spacing: 0.04em; } .woo-card-sub { font-size: 0.78rem; opacity: 0.5; margin-top: 2px; } .woo-card-pending { border-left-width: 4px; border-left-style: solid; } .woo-card-errors { border-left-width: 4px; border-left-style: solid; } .woo-card-mapped { border-left-width: 4px; border-left-style: solid; } .woo-card-sync { border-left-width: 4px; border-left-style: solid; } /* ---------------------------------------------------------- Progress bar ---------------------------------------------------------- */ .woo-progress-wrap { border-radius: 6px; height: 8px; overflow: hidden; margin-top: 6px; opacity: 0.15; background: currentColor; } .woo-progress-bar { height: 100%; border-radius: 6px; transition: width 0.4s ease; } /* ---------------------------------------------------------- Loading spinner ---------------------------------------------------------- */ .woo-loading { display: flex; align-items: center; justify-content: center; padding: 40px; opacity: 0.6; gap: 10px; font-size: 0.9rem; } .woo-spinner { width: 20px; height: 20px; border: 2px solid currentColor; opacity: 0.3; border-top-color: currentColor; border-radius: 50%; animation: woo-spin 0.7s linear infinite; } @keyframes woo-spin { to { transform: rotate(360deg); } } /* ---------------------------------------------------------- Empty states ---------------------------------------------------------- */ .woo-empty { text-align: center; padding: 48px 20px; opacity: 0.5; } .woo-empty-icon { font-size: 2.5rem; margin-bottom: 10px; } .woo-empty-text { font-size: 0.9rem; } /* ---------------------------------------------------------- Quick actions ---------------------------------------------------------- */ .woo-quick-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; } /* ---------------------------------------------------------- Section header ---------------------------------------------------------- */ .woo-section-title { font-size: 1rem; font-weight: 600; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid; border-color: inherit; } /* ---------------------------------------------------------- Checkbox column ---------------------------------------------------------- */ .woo-table th.woo-check-col, .woo-table td.woo-check-col { width: 36px; text-align: center; } /* ---------------------------------------------------------- Utility classes ---------------------------------------------------------- */ .woo-code { font-family: monospace; font-size: 0.85em; padding: 1px 6px; border-radius: 4px; opacity: 0.8; } /* ---------------------------------------------------------- Pagination ---------------------------------------------------------- */ .woo-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 0; border-top: 1px solid; border-color: inherit; margin-top: 4px; } .woo-pagination-info { font-size: 0.85rem; opacity: 0.6; } /* ---------------------------------------------------------- Icon buttons (sync arrows) ---------------------------------------------------------- */ .woo-btn-icon { background: none; border: none; cursor: pointer; padding: 2px 4px; opacity: 0.5; font-size: 0.8rem; border-radius: 4px; color: inherit; transition: opacity 0.15s; } .woo-btn-icon:hover { opacity: 1; } /* Product link to WooCommerce */ .woo-product-link { text-decoration: none; } .woo-product-link:hover { text-decoration: underline; } .woo-external-icon { font-size: 0.7rem; opacity: 0.5; } .woo-product-link:hover .woo-external-icon { opacity: 1; } /* Sale price highlight */ .woo-sale-price { font-weight: 600; } .woo-price-sync-col { width: 60px; white-space: nowrap; } /* ---------------------------------------------------------- Editable price cells ---------------------------------------------------------- */ .woo-editable-cell { cursor: pointer; position: relative; } .woo-editable-cell:hover { opacity: 0.8; } .woo-margin-cell { font-weight: 600; } .woo-edit-input { width: 90px; padding: 2px 6px; border: 2px solid; border-color: inherit; border-radius: 4px; font-size: 0.85rem; text-align: right; background: inherit; color: inherit; outline: none; } .woo-edit-input-text { text-align: left; width: 120px; } /* Clear errors button inside dashboard card */ .woo-clear-btn { font-size: 0.72rem; padding: 1px 8px; }