Update 13.09.2020

This commit is contained in:
Denys Konovalov
2020-09-13 09:59:08 +02:00
parent 25e2011db3
commit d835131cef
75 changed files with 473 additions and 1002 deletions

View File

@ -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";
}
});
}

View File

@ -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;
}

View File

@ -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';