This commit is contained in:
2026-05-07 13:16:20 +02:00
parent 98780906c4
commit b805dc6e7e
9 changed files with 964 additions and 1334 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
{"version":3,"sources":["main.scss"],"names":[],"mappings":"AAAA,8BACC,YAAA,CACA,kBAAA,CACA,WAAA,CAGD,oCACC,SAAA,CACA,YAAA,CACA,eAAA,CAIA,2DACC,YAAA,CACA,qBAAA,CACA,iBAAA,CAED,0DACC,oBAAA,CACA,aAAA,CACA,aAAA,CAED,2DACC,WAAA,CACA,UAAA,CAED,yDACC,QAAA,CAED,2DACC,aAAA,CACA,QAAA,CAED,+DACC,QAAA,CAED,yFACC,0BAAA,CACA,cAAA,CAED,2FACC,kBAAA,CACA,gBAAA,CAED,0FACC,4BAAA,CACA,qBAAA,CACA,iBAAA,CAED,wFACC,4BAAA,CACA,6BAAA,CACA,iBAAA,CAED,mDACC,oGACC,0BAAA,CACA,cAAA,CAED,sGACC,kBAAA,CACA,gBAAA,CAED,qGACC,4BAAA,CACA,qBAAA,CACA,iBAAA,CAED,mGACC,4BAAA,CACA,6BAAA,CACA,iBAAA,CAAA,CAGF,+CACC,gGACC,0BAAA,CACA,cAAA,CAED,kGACC,kBAAA,CACA,gBAAA,CAED,iGACC,4BAAA,CACA,qBAAA,CACA,iBAAA,CAED,+FACC,4BAAA,CACA,6BAAA,CACA,iBAAA,CAAA,CAGF,qDACC,sGACC,0BAAA,CACA,cAAA,CAED,wGAEC,kBAAA,CACA,gBAAA,CAED,uGAEC,4BAAA,CACA,qBAAA,CACA,iBAAA,CAED,qGACC,4BAAA,CACA,6BAAA,CACA,iBAAA,CAAA,CAGF,+CACC,gGACC,0BAAA,CACA,cAAA,CAED,kGACC,kBAAA,CACA,gBAAA,CAED,iGACC,4BAAA,CACA,qBAAA,CACA,iBAAA,CAED,+FACC,4BAAA,CACA,6BAAA,CACA,iBAAA,CAAA,CAGF,qDACC,sGACC,0BAAA,CACA,cAAA,CAED,wGAEC,kBAAA,CACA,gBAAA,CAED,uGAEC,4BAAA,CACA,qBAAA,CACA,iBAAA,CAED,qGACC,4BAAA,CACA,6BAAA,CACA,iBAAA,CAAA,CAGF,+CACC,gGACC,0BAAA,CACA,cAAA,CAED,kGACC,kBAAA,CACA,gBAAA,CAED,iGACC,4BAAA,CACA,qBAAA,CACA,iBAAA,CAED,+FACC,4BAAA,CACA,6BAAA,CACA,iBAAA,CAAA","file":"main.css"}

View File

@@ -1,180 +0,0 @@
.elementor-vertical-separator {
display: flex;
align-items: center;
height: 100%;
}
.elementor-vertical-separator__line {
width: 1px;
height: 100px;
background: #000;
}
.elementor-widget-number-box {
.elementor-number-box-wrapper {
display: flex;
flex-direction: column;
text-align: center;
}
.elementor-number-box-number {
display: inline-block;
flex: 0 0 auto;
line-height: 0;
}
.elementor-number-box-content {
flex-grow: 1;
width: 100%;
}
.elementor-number-box-title {
margin: 0;
}
.elementor-number-box-title a {
color: inherit;
margin: 0;
}
.elementor-number-box-description {
margin: 0;
}
&.elementor-position-inline-end .elementor-number-box-wrapper {
flex-direction: row-reverse;
text-align: end;
}
&.elementor-position-inline-start .elementor-number-box-wrapper {
flex-direction: row;
text-align: start;
}
&.elementor-position-block-start .elementor-number-box-wrapper {
align-items: unset !important;
flex-direction: column;
text-align: center;
}
&.elementor-position-block-end .elementor-number-box-wrapper {
align-items: unset !important;
flex-direction: column-reverse;
text-align: center;
}
@media (min-width: ELEMENTOR_SCREEN_WIDESCREEN_MIN) {
&.elementor-widescreen-position-inline-end .elementor-number-box-wrapper {
flex-direction: row-reverse;
text-align: end;
}
&.elementor-widescreen-position-inline-start .elementor-number-box-wrapper {
flex-direction: row;
text-align: start;
}
&.elementor-widescreen-position-block-start .elementor-number-box-wrapper {
align-items: unset !important;
flex-direction: column;
text-align: center;
}
&.elementor-widescreen-position-block-end .elementor-number-box-wrapper {
align-items: unset !important;
flex-direction: column-reverse;
text-align: center;
}
}
@media (max-width: ELEMENTOR_SCREEN_LAPTOP_MAX) {
&.elementor-laptop-position-inline-end .elementor-number-box-wrapper {
flex-direction: row-reverse;
text-align: end;
}
&.elementor-laptop-position-inline-start .elementor-number-box-wrapper {
flex-direction: row;
text-align: start;
}
&.elementor-laptop-position-block-start .elementor-number-box-wrapper {
align-items: unset !important;
flex-direction: column;
text-align: center;
}
&.elementor-laptop-position-block-end .elementor-number-box-wrapper {
align-items: unset !important;
flex-direction: column-reverse;
text-align: center;
}
}
@media (max-width: ELEMENTOR_SCREEN_TABLET_EXTRA_MAX) {
&.elementor-tablet_extra-position-inline-end .elementor-number-box-wrapper {
flex-direction: row-reverse;
text-align: end;
}
&.elementor-tablet_extra-position-inline-start
.elementor-number-box-wrapper {
flex-direction: row;
text-align: start;
}
&.elementor-tablet_extra-position-block-start
.elementor-number-box-wrapper {
align-items: unset !important;
flex-direction: column;
text-align: center;
}
&.elementor-tablet_extra-position-block-end .elementor-number-box-wrapper {
align-items: unset !important;
flex-direction: column-reverse;
text-align: center;
}
}
@media (max-width: ELEMENTOR_SCREEN_TABLET_MAX) {
&.elementor-tablet-position-inline-end .elementor-number-box-wrapper {
flex-direction: row-reverse;
text-align: end;
}
&.elementor-tablet-position-inline-start .elementor-number-box-wrapper {
flex-direction: row;
text-align: start;
}
&.elementor-tablet-position-block-start .elementor-number-box-wrapper {
align-items: unset !important;
flex-direction: column;
text-align: center;
}
&.elementor-tablet-position-block-end .elementor-number-box-wrapper {
align-items: unset !important;
flex-direction: column-reverse;
text-align: center;
}
}
@media (max-width: ELEMENTOR_SCREEN_MOBILE_EXTRA_MAX) {
&.elementor-mobile_extra-position-inline-end .elementor-number-box-wrapper {
flex-direction: row-reverse;
text-align: end;
}
&.elementor-mobile_extra-position-inline-start
.elementor-number-box-wrapper {
flex-direction: row;
text-align: start;
}
&.elementor-mobile_extra-position-block-start
.elementor-number-box-wrapper {
align-items: unset !important;
flex-direction: column;
text-align: center;
}
&.elementor-mobile_extra-position-block-end .elementor-number-box-wrapper {
align-items: unset !important;
flex-direction: column-reverse;
text-align: center;
}
}
@media (max-width: ELEMENTOR_SCREEN_MOBILE_MAX) {
&.elementor-mobile-position-inline-end .elementor-number-box-wrapper {
flex-direction: row-reverse;
text-align: end;
}
&.elementor-mobile-position-inline-start .elementor-number-box-wrapper {
flex-direction: row;
text-align: start;
}
&.elementor-mobile-position-block-start .elementor-number-box-wrapper {
align-items: unset !important;
flex-direction: column;
text-align: center;
}
&.elementor-mobile-position-block-end .elementor-number-box-wrapper {
align-items: unset !important;
flex-direction: column-reverse;
text-align: center;
}
}
}

View File

@@ -0,0 +1,117 @@
(function () {
'use strict';
var activeModal = null;
var activeButton = null;
function getFocusableElements(container) {
return Array.prototype.slice.call(
container.querySelectorAll('a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])')
);
}
function openPopup(button) {
var widget = button.closest('.ea-popup-widget');
var modal = widget ? widget.querySelector('[data-ea-popup-modal]') : null;
if (!modal) {
return;
}
activeModal = modal;
activeButton = button;
if (typeof modal.showModal === 'function' && !modal.open) {
modal.showModal();
} else if (!modal.open) {
modal.setAttribute('open', '');
}
modal.classList.add('is-open');
modal.setAttribute('aria-hidden', 'false');
button.setAttribute('aria-expanded', 'true');
document.body.classList.add('ea-popup-lock');
var focusable = getFocusableElements(modal);
if (focusable.length) {
focusable[0].focus();
}
}
function closePopup(modal) {
if (!modal) {
return;
}
modal.classList.remove('is-open');
modal.setAttribute('aria-hidden', 'true');
if (typeof modal.close === 'function' && modal.open) {
modal.close();
} else {
modal.removeAttribute('open');
}
if (activeButton) {
activeButton.setAttribute('aria-expanded', 'false');
activeButton.focus();
}
document.body.classList.remove('ea-popup-lock');
activeModal = null;
activeButton = null;
}
function trapFocus(event) {
if (!activeModal || event.key !== 'Tab') {
return;
}
var focusable = getFocusableElements(activeModal);
if (!focusable.length) {
event.preventDefault();
return;
}
var first = focusable[0];
var last = focusable[focusable.length - 1];
if (event.shiftKey && document.activeElement === first) {
event.preventDefault();
last.focus();
} else if (!event.shiftKey && document.activeElement === last) {
event.preventDefault();
first.focus();
}
}
document.addEventListener('click', function (event) {
var openButton = event.target.closest('.ea-popup-button');
var closeButton = event.target.closest('[data-ea-popup-close]');
if (openButton) {
event.preventDefault();
openPopup(openButton);
return;
}
if (closeButton) {
event.preventDefault();
closePopup(closeButton.closest('[data-ea-popup-modal]'));
return;
}
if (event.target.matches('[data-ea-popup-modal]')) {
closePopup(event.target);
}
});
document.addEventListener('keydown', function (event) {
if (event.key === 'Escape' && activeModal) {
closePopup(activeModal);
return;
}
trapFocus(event);
});
})();

View File

@@ -0,0 +1,163 @@
$popup-button-bg: #1f7a8c;
$popup-button-bg-hover: #195f6d;
$popup-button-color: #fff;
$popup-overlay-bg: rgba(0, 0, 0, 0.55);
$popup-box-bg: #fff;
$popup-box-color: #1a1a1a;
$popup-close-color: #333;
$popup-close-color-hover: #111;
$popup-transition: 0.2s ease;
$popup-z-index: 2147483647;
.ea-popup-widget {
display: block;
}
.ea-popup-button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
min-height: 44px;
padding: 12px 24px;
border: 1px solid transparent;
border-radius: 4px;
background: $popup-button-bg;
color: $popup-button-color;
font: inherit;
line-height: 1.2;
text-align: center;
text-decoration: none;
cursor: pointer;
transition:
background-color $popup-transition,
border-color $popup-transition,
color $popup-transition,
box-shadow $popup-transition,
transform $popup-transition;
&:hover,
&:focus {
background: $popup-button-bg-hover;
color: $popup-button-color;
text-decoration: none;
}
&:focus-visible {
outline: 2px solid currentColor;
outline-offset: 3px;
}
}
.ea-popup-modal {
position: fixed;
inset: 0;
z-index: $popup-z-index;
width: 100vw;
max-width: none;
height: 100vh;
max-height: none;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
border: 0;
background: $popup-overlay-bg;
opacity: 0;
visibility: hidden;
pointer-events: none;
transition: opacity $popup-transition, visibility $popup-transition;
&:not([open]) {
display: none;
}
&.is-open {
display: flex;
opacity: 1;
visibility: visible;
pointer-events: auto;
.ea-popup-dialog {
transform: translateY(0);
}
}
&::backdrop {
background: transparent;
}
}
.ea-popup-dialog {
position: relative;
width: 100%;
margin: auto;
max-width: 720px;
max-height: calc(100vh - 48px);
overflow: auto;
padding: 32px;
border-radius: 8px;
background: $popup-box-bg;
color: $popup-box-color;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
transform: translateY(12px);
transition: transform $popup-transition;
}
.ea-popup-close {
position: absolute;
top: 12px;
right: 12px;
display: inline-flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
padding: 0;
border: 0;
border-radius: 50%;
background: transparent;
color: $popup-close-color;
font-size: 28px;
line-height: 1;
cursor: pointer;
&:hover,
&:focus {
background: rgba(0, 0, 0, 0.08);
color: $popup-close-color-hover;
}
&:focus-visible {
outline: 2px solid currentColor;
outline-offset: 3px;
}
}
.ea-popup-content {
padding-right: 20px;
> :first-child {
margin-top: 0;
}
> :last-child {
margin-bottom: 0;
}
}
body.ea-popup-lock {
overflow: hidden;
}
@media (max-width: 767px) {
.ea-popup-modal {
padding: 16px;
}
.ea-popup-dialog {
max-height: calc(100vh - 32px);
padding: 28px 22px;
}
}