@stories-js/core
Version:
Stories web components to build stories
42 lines (37 loc) • 719 B
CSS
button {
align-items: center;
background: transparent;
border: none;
border-radius: 4px;
color: inherit;
cursor: pointer;
display: inline-flex;
font-size: 13px;
font-weight: bold;
height: 28px;
justify-content: center;
margin-top: 6px;
padding: 8px 7px;
}
/* button > svg {
width: 14px;
}; */
button:hover, button:focus-visible {
color: var(--color-hover);
background: var(--background-hover);
opacity: var(--background-hover-opacity);
}
button:focus-visible {
outline: auto;
}
button:focus:not(:focus-visible) {
outline: "none";
}
button.active {
color: var(--color-hover);
background: var(--background-hover);
}
button.disabled {
opacity: 0.5;
cursor: not-allowed;
}