blob: e8297408d0e0ce56c2a9e2691498ed22a731f811 (
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
42
43
44
45
46
47
48
|
@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;
@media (prefers-reduced-motion: no-preference) {
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;
}
}
}
|