Line 326: | Line 326: | ||
display:none; | display:none; | ||
padding-left: 15px; | padding-left: 15px; | ||
− | |||
} | } | ||
#sidebar ul ul.sub li.active{ | #sidebar ul ul.sub li.active{ | ||
display: block; | display: block; | ||
− | |||
− | |||
} | } | ||
Line 427: | Line 424: | ||
background: rgba(255,255,255,0.3) | background: rgba(255,255,255,0.3) | ||
} | } | ||
+ | |||
+ | button.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; | ||
+ | } | ||
+ | |||
+ | button.accordion.active, button.accordion:hover { | ||
+ | background-color: #ddd; | ||
+ | } | ||
+ | |||
+ | button.accordion:after { | ||
+ | content: '\002B'; | ||
+ | color: #777; | ||
+ | font-weight: bold; | ||
+ | float: right; | ||
+ | margin-left: 5px; | ||
+ | } | ||
+ | |||
+ | button.accordion.active:after { | ||
+ | content: "\2212"; | ||
+ | } | ||
+ | |||
+ | div.panel { | ||
+ | padding: 0 18px; | ||
+ | background-color: white; | ||
+ | max-height: 0; | ||
+ | overflow: hidden; | ||
+ | transition: max-height 0.2s ease-out; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Revision as of 13:20, 4 May 2017