blob: 45d40b9b18ffa6f794e98a7a0c9fe5f4fac503f2 (
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
|
// Accordions
.accordion {
.accordion-item {
input {
&:checked {
& ~ .accordion-header {
.icon {
transform: rotate(90deg);
transition: all .25s ease;
}
}
& ~ .accordion-body {
max-height: 100rem;
transition: max-height 3s ease;
}
}
}
.accordion-header {
display: block;
padding: 1rem;
.icon {
transition: all .25s ease;
}
}
.accordion-body {
margin-bottom: 1rem;
max-height: 0;
overflow: hidden;
transition: max-height .3s ease;
}
}
}
|