umami/components/common/ButtonGroup.module.css

32 lines
486 B
CSS
Raw Normal View History

2020-08-23 07:01:14 +02:00
.group {
display: inline-flex;
border-radius: 4px;
overflow: hidden;
border: 1px solid var(--base500);
2020-08-23 07:01:14 +02:00
}
.group .button {
border-radius: 0;
color: var(--base800);
background: var(--base50);
border-left: 1px solid var(--base500);
2020-08-23 07:01:14 +02:00
padding: 4px 8px;
}
.group .button:first-child {
border: 0;
}
2020-08-28 03:44:20 +02:00
.group .button:hover {
background: var(--base100);
2020-08-28 03:44:20 +02:00
}
2020-08-23 07:01:14 +02:00
.group .button + .button {
margin: 0;
}
2020-09-20 10:33:39 +02:00
.group .button.selected {
color: var(--base900);
2020-08-23 07:01:14 +02:00
font-weight: 600;
}