aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/radio.scss
blob: 644478cd64266649f2cfad478e3b538e91708948 (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
@import './config.scss';

.franz-form {
  .franz-form__radio-wrapper {
    display: flex;
  }

  .franz-form__radio {
    // background: $theme-gray-lightest;
    border: 2px solid $theme-gray-lighter;
    color: $theme-gray;
    padding: 11px;
    margin-right: 20px;
    text-align: center;
    border-radius: $theme-border-radius-small;
    flex: 1;
    box-shadow: $theme-inset-shadow;
    transition: background $theme-transition-time;

    &:last-of-type {
      margin-right: 0;
    }

    &.is-selected {
      border: 2px solid $theme-brand-primary;
      background: #FFF;
      color: $theme-brand-primary;
    }

    input {
      display: none;
    }
  }
}