package.src.vaadin-number-field-styles.js Maven / Gradle / Ivy
/**
* @license
* Copyright (c) 2021 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import { css } from 'lit';
export const numberFieldStyles = css`
:host([readonly]) [part$='button'] {
pointer-events: none;
}
[part='decrease-button']::before {
content: '\\2212';
}
[part='increase-button']::before {
content: '+';
}
[part='decrease-button'],
[part='increase-button'] {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
:host([dir='rtl']) [part='input-field'] {
direction: ltr;
}
`;
© 2015 - 2024 Weber Informatics LLC | Privacy Policy