/
handorgel.css
75 lines (64 loc) · 1.33 KB
/
handorgel.css
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
.content-accordion {
border-bottom: 1px solid #eee;
}
.handorgel__header {
display: block;
margin: 0;
}
.handorgel__header__button {
display: block;
width: 100%;
padding: 20px 24px;
margin: 0;
border: none;
border-top: 1px solid #eee;
background-color: #fff;
border-radius: 0;
color: inherit;
cursor: pointer;
font-size: inherit;
text-align: left;
transition: background-color 0.2s ease;
user-select: none;
}
.handorgel__header__button::-moz-focus-inner {
border: 0;
}
.handorgel__content {
display: none;
overflow: hidden;
height: 0;
border-top: 1px solid #eee;
background-color: #f6f6f6;
transition: height 0.1s ease 0.1s;
}
.handorgel__content--open {
display: block;
transition: height 0.2s ease;
}
.handorgel__content--opened {
overflow: visible;
}
.handorgel__content__inner {
padding: 20px 24px;
opacity: 0;
transition: opacity 0.1s ease;
}
.handorgel__content--opened .handorgel__content__inner {
opacity: 1;
transition: opacity 0.3s ease;
}
/* Legacy classes */
.handorgel .accordion {
display: none;
overflow: hidden;
height: 0;
transition: height .2s ease;
}
.handorgel .accordion.open {
display: block;
transition: height .2s ease;
}
.handorgel .accordion.active {
overflow: visible;
}