Merge branch 'master' of https://github.com/brkcvn/akaunting into responsive-control

This commit is contained in:
Burak Civan
2022-11-03 10:04:31 +03:00
126 changed files with 6412 additions and 4347 deletions

View File

@@ -66,6 +66,33 @@ const app = new Vue({
if (typeof this.form.password !== 'undefined') {
this.form.password = '';
}
if (document.querySelector('[data-tabs-swiper]').childElementCount > 2) {
document.querySelectorAll('[data-tabs-slide]').forEach((item) => {
item.classList.add('swiper-slide');
});
document.querySelector('[data-tabs-swiper]').classList.add('swiper', 'swiper-links');
let html = `
<div class="swiper-wrapper">
${document.querySelector('[data-tabs-swiper]').innerHTML}
</div>
<div class="swiper-button-next top-3 right-0">
<span class="material-icons">chevron_right</span>
</div>
<div class="swiper-button-prev top-3 left-0">
<span class="material-icons">chevron_left</span>
</div>
`;
document.querySelector('[data-tabs-swiper]').innerHTML = html;
}
new Swiper(".swiper-links", {
loop: false,

View File

@@ -191,6 +191,32 @@
@apply font-normal;
}
/* after the upgrade tailwind 3.2.1, this tags font-weight changed. Added this block for now */
/* changelog modal styling for update center */
.change-log-modal .badge {
@apply px-3 py-2 rounded-3xl text-xs font-medium bg-green text-white;
}
.change-log-modal h2 {
@apply text-2xl font-bold text-purple mb-2;
}
.change-log-modal h3 {
@apply text-lg font-bold text-purple mb-2;
}
.change-log-modal ul {
@apply list-disc list-inside mb-2;
}
.change-log-modal li {
@apply text-base text-purple;
}
.change-log-modal a {
@apply text-green underline;
}
/* changelog modal styling for update center */
}
/* menu */