@vaadin/vaadin-lumo-styles
Version:
Lumo is a design system foundation for modern web applications, used by Vaadin components
37 lines (30 loc) • 941 B
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_time-picker {
:host([opened]) {
pointer-events: auto;
}
[part~='toggle-button'] {
cursor: pointer;
}
[part~='toggle-button']::before {
content: var(--lumo-icons-clock);
}
/* See https://github.com/vaadin/vaadin-time-picker/issues/145 */
:host([dir='rtl']) [part='input-field'] {
direction: ltr;
}
:host([dir='rtl']) [part='input-field'] ::slotted(input) {
--_lumo-text-field-overflow-mask-image: linear-gradient(to left, transparent, #000 1.25em);
}
:host([dir='rtl']) [part='input-field'] ::slotted(input:placeholder-shown) {
--_lumo-text-field-overflow-mask-image: none;
}
:host([dir='rtl']) [part='input-field'] ::slotted(input)::placeholder {
direction: rtl;
text-align: left;
}
}