mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-23 11:42:21 +00:00
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]>
This commit is contained in:
1 parent
1711b4b456
commit
52dd576769
12 files changed
+303
-23
No files matched your search
@@ -0,0 +1,16 @@
|
||||
/* 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;
|
||||
}
|
||||
Reference in new issue
Block a user