umami/components/common/ButtonGroup.module.css
2020-08-22 22:01:14 -07:00

26 lines
366 B
CSS

.group {
display: inline-flex;
border-radius: 4px;
overflow: hidden;
border: 1px solid var(--gray400);
}
.group .button {
border-radius: 0;
background: var(--gray50);
border-left: 1px solid var(--gray400);
padding: 4px 8px;
}
.group .button:first-child {
border: 0;
}
.group .button + .button {
margin: 0;
}
.selected {
font-weight: 600;
}