37 lines
3.3 KiB
CSS
37 lines
3.3 KiB
CSS
.price-panel { padding: 0; }
|
|
.price-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); min-height: 520px; }
|
|
.price-sidebar { padding: 13px; border-right: 1px solid var(--border-soft); background: var(--panel-soft); }
|
|
.price-sidebar-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
|
|
.price-sidebar-header h2 { margin: 0; font-size: 12px; }
|
|
.price-list { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 6px; }
|
|
.price-row { display: block; min-width: 0; overflow: hidden; padding: 9px 11px; border: 1px solid var(--border); border-radius: 7px; background: var(--bg-primary); cursor: pointer; outline: none; }
|
|
.price-row > div { min-width: 0; overflow: hidden; }
|
|
.price-row:hover { border-color: var(--border-hover); background: var(--bg-hover); }
|
|
.price-row:focus-visible { border-color: var(--primary-active); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 20%, transparent); }
|
|
.price-row.selected { border-color: var(--border-primary); background: var(--bg-tertiary); }
|
|
.price-row .price-name { overflow: hidden; font-size: 11px; font-weight: 600; text-overflow: ellipsis; }
|
|
.price-row small { display: block; margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
|
|
.price-editor { padding: 16px; }
|
|
.price-editor-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
|
|
.price-editor-header h2 { margin: 0; }
|
|
.price-section { margin-bottom: 10px; padding: 13px; border: 1px solid var(--border-soft); border-radius: 8px; background: var(--bg-quinary); }
|
|
.price-section-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
|
|
.price-section-header h3 { margin: 0; font-size: 11px; }
|
|
.price-section-header .inline-check { color: var(--text); }
|
|
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 10px; }
|
|
.price-grid.long-grid { grid-template-columns: repeat(3, minmax(120px, 1fr)); }
|
|
.field, .price-grid label { display: grid; gap: 6px; color: var(--muted); font-size: 10px; }
|
|
.price-model-field { max-width: 480px; }
|
|
.catalog-toolbar { display: flex; align-items: center; gap: 7px; }
|
|
.catalog-toolbar input { flex: 1 1 260px; }
|
|
.catalog-summary { min-height: 17px; margin-bottom: 8px; color: var(--muted); font-size: 10px; }
|
|
.catalog-results { display: grid; gap: 6px; max-height: 250px; margin-top: 8px; overflow-y: auto; }
|
|
.catalog-result { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 9px; border: 1px solid var(--border); border-radius: 7px; background: var(--bg-primary); }
|
|
.catalog-result strong { display: block; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
|
|
.catalog-result small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
|
|
.price-source { min-height: 18px; margin-top: 8px; color: var(--text-tertiary); font-size: 10px; }
|
|
.price-source.catalog-linked { color: var(--text-secondary); }
|
|
.fast-row { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(130px, 220px); align-items: end; gap: 16px; }
|
|
.fast-row .inline-check { align-self: center; color: var(--text); }
|
|
.price-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 3px; }
|