rdrew
10 months ago
4 changed files with 39 additions and 39 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,36 @@
|
||||
.accordion { |
||||
background-color: #eee; |
||||
color: #444; |
||||
cursor: pointer; |
||||
padding: 18px; |
||||
width: 100%; |
||||
border: none; |
||||
text-align: left; |
||||
outline: none; |
||||
font-size: 15px; |
||||
transition: 0.4s; |
||||
} |
||||
|
||||
.active, .accordion:hover { |
||||
background-color: #ccc; |
||||
} |
||||
|
||||
.panel { |
||||
padding: 0 18px; |
||||
background-color: white; |
||||
max-height: 0; |
||||
overflow: hidden; |
||||
transition: max-height 0.2s ease-out; |
||||
} |
||||
.tbm-item .accordion::before { |
||||
content: ">"; |
||||
margin-right: 10px; |
||||
} |
||||
.tbm-item .accordion.active::before { |
||||
content: "v"; |
||||
margin-right: 10px; |
||||
} |
||||
.accordion { |
||||
margin-bottom:4px; |
||||
} |
||||
|
Loading…
Reference in new issue