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

.theme__dark .franz-form .franz-form__radio {
  border: 1px solid $dark-theme-gray-lighter;
  color: $dark-theme-gray-lightest;

  &.is-selected {
    background: $dark-theme-gray-lighter;
    border: 1px solid $dark-theme-gray-lighter;
    color: $dark-theme-gray-smoke;
  }
}


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

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

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

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

    input { display: none; }
  }
}