{% extends "base.html" %} {% block title %}{{ vendor.name }} — Vendors{% endblock %} {% block styles %} .vendor-edit-page { max-width: 680px; } .edit-header { margin-bottom: 1.5rem; } .breadcrumb-link { font-family: var(--serif-body); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; } .breadcrumb-link:hover { text-decoration: underline; } .page-title { font-family: var(--serif-display); font-size: clamp(1.4rem, 4vw, 1.8rem); font-weight: 400; margin: 0.4rem 0 0; border: none; padding: 0; } /* ── Shared field styles ─────────────────────────────────────── */ .edit-section { border-top: 1px solid rgba(42,77,58,0.15); padding: 1.5rem 0; } .section-heading { font-family: var(--serif-body); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin: 0 0 1rem; border: none; padding: 0; } .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; margin-bottom: 1rem; } @media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } } .field { display: flex; flex-direction: column; gap: 0.3rem; } .field label { font-family: var(--serif-body); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); } .field input { font-family: var(--serif-body); font-size: 0.95rem; padding: 0.4rem 0.6rem; border: 1px solid rgba(42,77,58,0.25); border-radius: 2px; background: #fff; color: inherit; width: 100%; } .field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; } .form-actions { display: flex; gap: 0.75rem; align-items: center; padding-top: 0.75rem; } /* ── Labels table ────────────────────────────────────────────── */ .labels-table td { vertical-align: middle; } .label-edit-form { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; } .label-edit-form input { font-family: var(--serif-body); font-size: 0.9rem; padding: 0.3rem 0.5rem; border: 1px solid rgba(42,77,58,0.25); border-radius: 2px; background: #fff; color: inherit; } .label-edit-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; } .label-name-input { width: 160px; } .label-url-input { width: 220px; } /* ── Danger zone ─────────────────────────────────────────────── */ .danger-zone { margin-top: 2rem; border-top: 1px solid rgba(139,35,32,0.25); padding-top: 1.5rem; } .danger-inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; } .danger-inner p { font-size: 0.88rem; color: var(--muted); margin: 0; flex: 1; min-width: 200px; } /* ── Buttons ─────────────────────────────────────────────────── */ .btn { font-family: var(--serif-body); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.45rem 1.1rem; border-radius: 2px; border: 1px solid transparent; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; white-space: nowrap; } .btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); } .btn--primary:hover { background: #1e3829; } .btn--ghost { background: none; color: var(--accent); border-color: rgba(42,77,58,0.3); } .btn--ghost:hover { background: rgba(42,77,58,0.06); } .btn--danger { background: none; color: var(--red); border-color: rgba(139,35,32,0.4); } .btn--danger:hover { background: #fdecea; } .btn--small { font-size: 0.72rem; padding: 0.3rem 0.75rem; } {% endblock %} {% block content %}
| Name | Website | Garments | |
|---|---|---|---|
No labels yet.
{% endif %} {# Add label #}Delete this vendor. Blocked if any garments still reference it.