2023-05-24 19:39:52 +00:00
|
|
|
// Search container
|
|
|
|
// We have to put those styles outside `.skin-vector-search-vue`,
|
|
|
|
// as we can't address no-JS modern and Vue enhanced otherwise.
|
|
|
|
.vector-search-box {
|
2024-09-23 19:34:28 +00:00
|
|
|
font-size: @font-size-small;
|
2023-05-24 19:39:52 +00:00
|
|
|
// If this is a flex item, make sure it grows into available space.
|
|
|
|
flex-grow: 1;
|
|
|
|
|
|
|
|
.vector-typeahead-search-container {
|
|
|
|
max-width: @max-width-search;
|
|
|
|
margin-right: @margin-end-search;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-19 07:10:22 +00:00
|
|
|
@media ( min-width: @min-width-breakpoint-desktop-wide ) {
|
2023-05-24 19:39:52 +00:00
|
|
|
.client-js & .vector-search-box.vector-search-box-auto-expand-width {
|
|
|
|
// Ensure search box is aligned with content when it autoexpands (i.e. search thumbnails)
|
|
|
|
margin-left: -@size-search-expand;
|
|
|
|
}
|
|
|
|
}
|