blob: 03befedcb3a1fad7f22d1620a973ed7444c58e52 (
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
49
50
51
52
53
54
55
56
57
58
59
60
|
@import './config.scss';
.theme__dark {
.content-tabs {
.content-tabs__content {
background: $dark-theme-gray-darker;
}
.content-tabs__tabs {
.content-tabs__item {
background: $dark-theme-gray;
color: #FFF;
border: 0;
}
}
}
}
.content-tabs {
.content-tabs__tabs {
border-top-left-radius: $theme-border-radius-small;
border-top-right-radius: $theme-border-radius-small;
display: flex;
overflow: hidden;
.content-tabs__item {
background: linear-gradient($theme-gray-lightest 80%, darken($theme-gray-lightest, 3%));
border-right: 1px solid $theme-gray-lighter;
color: $theme-gray-dark;
flex: 1;
padding: 10px;
transition: background $theme-transition-time;
&:last-of-type { border-right: 0; }
&.is-active {
background: $theme-brand-primary;
box-shadow: none;
color: #FFF;
}
}
}
.content-tabs__content {
background: $theme-gray-lightest;
border-bottom-left-radius: $theme-border-radius-small;
border-bottom-right-radius: $theme-border-radius-small;
padding: 20px 20px;
.content-tabs__item {
display: none;
top: 0;
&.is-active { display: block; }
}
.franz-form__input-wrapper { background: #FFF; }
.franz-form__field:last-of-type { margin-bottom: 0; }
}
}
|