import { css } from 'lit'; /** The dropdown of a search-as-you-type box (its spinner, listbox, options and empty row), shared by the city search and the identifier picker so the two read as one family. */ export const comboboxStyles = css` .spinner { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; border: 2px solid var(--roxy-muted, #71717a); border-top-color: transparent; border-radius: 50%; animation: roxy-spin 700ms linear infinite; } @keyframes roxy-spin { to { transform: translateY(-50%) rotate(360deg); } } @media (prefers-reduced-motion: reduce) { .spinner { animation: none; } } .results { position: absolute; z-index: 50; top: calc(100% + 4px); left: 0; right: 0; /* Reset the UA