Update 13.09.2020
This commit is contained in:
@ -121,3 +121,18 @@
|
||||
|
||||
|
||||
})(jQuery);
|
||||
|
||||
var acc = document.getElementsByClassName("accordion");
|
||||
var i;
|
||||
|
||||
for (i = 0; i < acc.length; i++) {
|
||||
acc[i].addEventListener("click", function() {
|
||||
this.classList.toggle("active");
|
||||
var panel = this.nextElementSibling;
|
||||
if (panel.style.maxHeight) {
|
||||
panel.style.maxHeight = null;
|
||||
} else {
|
||||
panel.style.maxHeight = panel.scrollHeight + "px";
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -404,3 +404,20 @@ textarea.form-control{
|
||||
width: 85px;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
summary {
|
||||
font-weight: bold;
|
||||
margin: -.5em -.5em 0;
|
||||
padding: .5em;
|
||||
font-size: 20px;
|
||||
|
||||
}
|
||||
|
||||
details[open] {
|
||||
padding: .5em;
|
||||
}
|
||||
|
||||
details[open] summary {
|
||||
border-bottom: 1px solid #aaa;
|
||||
margin-bottom: .5em;
|
||||
}
|
||||
|
@ -13,5 +13,5 @@ $gray: #f8f8f8;
|
||||
|
||||
// Font Variables
|
||||
$primary-font: 'Fira Sans', sans-serif;
|
||||
$secondary-font: 'Fira Sans';
|
||||
$secondary-font: 'Fira Sans Heavy';
|
||||
$icon-font: 'themify';
|
||||
|
Reference in New Issue
Block a user