@vaadin/select
Version:
vaadin-select
37 lines (31 loc) • 699 B
JavaScript
/**
* @license
* Copyright (c) 2017 - 2025 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import { css } from 'lit';
export const valueButton = css`
:host {
min-height: 1lh;
outline: none;
overflow: hidden;
white-space: nowrap;
width: 100%;
display: flex;
align-items: center;
}
::slotted(*) {
padding: 0;
cursor: inherit;
}
.vaadin-button-container,
[part='label'] {
display: contents;
}
:host([placeholder]) {
color: var(--vaadin-input-field-placeholder-color, var(--vaadin-text-color-secondary));
}
:host([disabled]) {
pointer-events: none;
}
`;