Files
gods-eye-view/src/ui/styles/search-field.css
T
Sameh KhamisandManjunath Paparaju 52dd576769 Vue kit: UiSearchField for the Context and Layer Finder searches
UiSearchField is the search glyph, a search input with v-model and, with
clearLabel, a UiCloseButton shown while text is typed that clears and
refocuses. tag is div or label; attributes go to the frame, and inputId,
inputClass, autocomplete and spellcheck to the input. Escape stops at the
input and is emitted with its event; focus() focuses the input.

search-field.css holds the declarations both skins had in common (the
frame's flex row, the input's min-width, border and background), moved out
of context-dock.css and layer-finder.css and loaded before them. The
browser's cancel button stays each skin's own.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 00:42:51 -08:00

17 lines
553 B
CSS

/* Core's search fields share their frame's row and their bare input: the
* kit's UiSearchField wears them as .ui-search-field and
* .ui-search-field__input. Each rule selects one class and loads before the
* feature stylesheets, so a feature rule still sets the frame's size,
* surface and focus ring and the input's type, colour, flex and outline. The
* browser's own cancel button is left to each skin. */
.ui-search-field {
display: flex;
align-items: center;
}
.ui-search-field__input {
min-width: 0;
background: none;
border: 0;
}