@vaadin/vaadin-lumo-styles
Version:
Lumo is a design system foundation for modern web applications, used by Vaadin components
55 lines (46 loc) • 1.39 kB
CSS
/**
* @license
* Copyright (c) 2017 - 2026 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
@media lumo_components_select-overlay {
:host {
align-items: flex-start;
justify-content: flex-start;
--_lumo-item-selected-icon-display: block;
}
/* Small viewport adjustment */
:host([phone]) {
/* stylelint-disable declaration-block-no-redundant-longhand-properties */
top: 0 ;
right: 0 ;
bottom: var(--vaadin-overlay-viewport-bottom, 0) ;
left: 0 ;
/* stylelint-enable declaration-block-no-redundant-longhand-properties */
align-items: stretch;
justify-content: flex-end;
}
:host(:not([phone])) [part='overlay'] {
min-width: var(--vaadin-select-overlay-width, var(--_vaadin-select-overlay-default-width));
}
:host([no-vertical-overlap][top-aligned]) [part='overlay'] {
margin-block-start: var(--lumo-space-xs);
}
:host([no-vertical-overlap][bottom-aligned]) [part='overlay'] {
margin-block-end: var(--lumo-space-xs);
}
:host([theme~='align-left']) {
text-align: left;
}
:host([theme~='align-right']) {
text-align: right;
}
:host([theme~='align-center']) {
text-align: center;
}
@media (forced-colors: active) {
[part='overlay'] {
outline: 3px solid;
}
}
}