1
0
mirror of https://github.com/kremalicious/umami.git synced 2024-12-22 09:13:37 +01:00
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;
2020-08-28 03:44:20 +02:00
border: 1px solid var(--gray500);
2020-08-23 07:01:14 +02:00
}
.group .button {
border-radius: 0;
2020-09-20 10:33:39 +02:00
color: var(--gray800);
2020-08-23 07:01:14 +02:00
background: var(--gray50);
2020-08-28 03:44:20 +02:00
border-left: 1px solid var(--gray500);
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(--gray100);
}
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(--gray900);
2020-08-23 07:01:14 +02:00
font-weight: 600;
}