aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/button-group/index.scss
blob: 29713c75bcdd8eb3e68240b0caaf4b8738cc8c0b (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
35
36
37
38
.button-group {
  display: flex;
  justify-content: center;
  align-items: center;

  &__button {
    font-family: Roboto;
    font-size: 1rem;
    color: $tundora;
    border-style: solid;
    border-color: $alto;
    border-width: 1px 1px 1px;
    border-left: 0;
    flex: 1;
    padding: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    &:first-child {
      border-left: 1px solid $alto;
      border-radius: 4px 0 0 4px;
    }

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

    &--active {
      background-color: $dodger-blue;
      color: $white;
    }

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