sudovanilla-website/public/@shoelace-style/shoelace/cdn/chunks/chunk.4MOOA5HL.js
2024-05-13 23:34:06 -04:00

37 lines
808 B
JavaScript

import {
button_styles_default
} from "./chunk.M5IYOV74.js";
import {
i
} from "./chunk.CXZZ2LVK.js";
// src/components/radio-button/radio-button.styles.ts
var radio_button_styles_default = i`
${button_styles_default}
.button__prefix,
.button__suffix,
.button__label {
display: inline-flex;
position: relative;
align-items: center;
}
/* We use a hidden input so constraint validation errors work, since they don't appear to show when used with buttons.
We can't actually hide it, though, otherwise the messages will be suppressed by the browser. */
.hidden-input {
all: unset;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
outline: dotted 1px red;
opacity: 0;
z-index: -1;
}
`;
export {
radio_button_styles_default
};