blob: c96bc71be5e710240cf00eb12a6d90d7dbb0f66b (
plain)
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
|
.accordion {
display: flex;
flex-direction: column;
.accordion-header {
display: flex;
flex-direction: row;
cursor: pointer;
margin-bottom: 10px;
.svg-icon-wrapper {
margin-right: 20px;
transition: transform .4s;
&.down {
transform: rotate(180deg);
}
}
}
.accordion-body {
padding-left: 10px;
opacity: 0;
overflow-y: hidden;
max-height: 0;
transition: max-height .3s cubic-bezier(0, 1.18, 1, 1), opacity 0.33s linear;
&.open {
opacity: 1;
max-height: 100%;
}
}
}
|