kopia lustrzana https://github.com/shoelace-style/shoelace
39 wiersze
739 B
TypeScript
39 wiersze
739 B
TypeScript
import { css } from 'lit';
|
|
import componentStyles from '../../styles/component.styles';
|
|
import formControlStyles from '../../styles/form-control.styles';
|
|
|
|
export default css`
|
|
${componentStyles}
|
|
${formControlStyles}
|
|
|
|
:host {
|
|
display: block;
|
|
}
|
|
|
|
.form-control {
|
|
border: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.form-control__label {
|
|
padding: 0;
|
|
}
|
|
|
|
.radio-group--required .radio-group__label::after {
|
|
content: var(--sl-input-required-content);
|
|
margin-inline-start: var(--sl-input-required-content-offset);
|
|
}
|
|
|
|
.visually-hidden {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
`;
|