Line 949: | Line 949: | ||
− | + | ||
button.accordion { | button.accordion { | ||
background-color: #eee; | background-color: #eee; | ||
Line 956: | Line 956: | ||
padding: 18px; | padding: 18px; | ||
width: 100%; | width: 100%; | ||
− | |||
border: none; | border: none; | ||
+ | text-align: left; | ||
outline: none; | outline: none; | ||
+ | font-size: 15px; | ||
transition: 0.4s; | transition: 0.4s; | ||
} | } | ||
− | |||
button.accordion.active, button.accordion:hover { | button.accordion.active, button.accordion:hover { | ||
background-color: #ddd; | background-color: #ddd; | ||
} | } | ||
− | + | button.accordion:after { | |
+ | content: '\02795'; | ||
+ | font-size: 13px; | ||
+ | color: #777; | ||
+ | float: right; | ||
+ | margin-left: 5px; | ||
+ | } | ||
+ | |||
+ | button.accordion.active:after { | ||
+ | content: "\2796"; | ||
+ | } | ||
+ | |||
div.panel { | div.panel { | ||
padding: 0 18px; | padding: 0 18px; | ||
Line 976: | Line 987: | ||
opacity: 0; | opacity: 0; | ||
} | } | ||
− | |||
− | |||
div.panel.show { | div.panel.show { | ||
opacity: 1; | opacity: 1; | ||
− | max-height: 500px; | + | max-height: 500px; |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
Revision as of 09:04, 14 July 2016