/* * Form controls shared by the job tracker's components (JobApplications.vue and * the JobReferences / JobApplicationForm components it renders). * * These lived in JobApplications.vue's scoped block until the page was split. * Scoped styles stop at a child component's root element, so the inputs inside * the children would have lost them; this file is imported by each component * instead. It is unscoped, so every selector is prefixed with the page's * `.ja-root` class — which also keeps the specificity at (0,2,0), the same as * the scoped originals, so they still beat CVLayout's `.cv-layout input`. * * Colours are the paper palette from CVLayout.vue. */ .ja-root .ja-input { padding: 0.35rem 0.6rem; border: 1px solid var(--color-line); border-radius: 4px; font-size: 0.85rem; background: var(--color-paper); flex: 1; min-width: 120px; } .ja-root .ja-input:focus { outline: none; border-color: var(--color-ink-muted); } .ja-root .ja-select { cursor: pointer; } .ja-root .ja-input-sm { padding: 0.2rem 0.4rem; font-size: 0.8rem; width: 100%; min-width: 0; }