CoastalCommitsPastes/client/app/components/button/button.module.css
2022-11-12 00:58:21 -08:00

53 lines
747 B
CSS

.button:root {
--hover: var(--bg);
--hover-bg: var(--fg);
}
.button {
user-select: none;
cursor: pointer;
border-radius: var(--radius);
border: 1px solid var(--border);
padding: var(--gap-half) var(--gap);
}
.button:hover,
.button:focus {
outline: none;
color: var(--hover);
background: var(--hover-bg);
border: var(--);
}
.button[disabled] {
cursor: not-allowed;
background: var(--lighter-gray);
color: var(--gray);
}
.secondary {
background: var(--bg);
color: var(--fg);
}
.primary {
background: var(--fg);
color: var(--bg);
}
.icon {
display: inline-block;
width: 1em;
height: 1em;
vertical-align: middle;
}
.iconRight {
margin-left: var(--gap-half);
}
.icon svg {
display: block;
width: 100%;
height: 100%;
}