forked from evoko/zendesk-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_section.scss
53 lines (44 loc) · 802 Bytes
/
_section.scss
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
/***** Section pages *****/
.section {
&-container {
display: flex;
}
&-content {
flex: 1;
}
&-subscribe button {
@extend .button;
&[data-selected='true'] {
@extend .button-primary;
}
}
}
.section-list {
margin: 40px 0;
}
.section-list--collapsed .section-list-item:nth-child(1n + 6) {
display: none;
}
.section-list-item {
border-bottom: 1px solid $border-color;
font-size: $font-size-bigger;
padding: 15px 0;
&:first-child {
border-top: 1px solid $border-color;
}
a {
align-items: center;
color: $text-color;
display: flex;
justify-content: space-between;
}
}
.see-all-sections-trigger {
cursor: pointer;
display: block;
padding: 15px;
text-align: center;
&[aria-hidden='true'] {
display: none;
}
}