aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/button-group/index.scss
blob: b7988fe283ac281c4a2bc85a4d0594b727dd5d29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.button-group {
  display: flex;
  justify-content: center;
  align-items: center;

  &__button {
    font-family: Overpass;
    font-size: 1rem;
    color: $black;
    border-left: 0;
    flex: 1;
    padding: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    &:first-child {
      border-radius: 4px 0 0 4px;
    }

    &:last-child {
      border-radius: 0 4px 4px 0;
    }

    &--active {
      background-color: $black;
      color: $white;
    }

    &:disabled {
      opacity: .5;
    }
  }
}