Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

2.4 KB
Raw Blame
@use "../../../styles/mixins";

.modalTitle {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--hi-text);
}

.body {
    :global(.mantine-InputWrapper-label) {
        margin-bottom: 2px;
    }

    :global(.mantine-InputWrapper-description) {
        margin-bottom: 8px;
        line-height: 1.45;
    }
}

.footer {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin: 8px calc(var(--mb-padding, var(--mantine-spacing-md)) * -1) calc(var(--mb-padding, var(--mantine-spacing-md)) * -1);
    padding: 14px var(--mb-padding, var(--mantine-spacing-md));
    border-top: 1px solid var(--hi-color-border);
    background: var(--mantine-color-body, #fff);

    @include mixins.respond-below(sm) {
        flex-direction: column-reverse;

        > * {
            width: 100%;
        }
    }
}

@include mixins.respond-below(sm) {
    .content:has(.footer:not(.footerInline)) {
        display: flex;
        flex-direction: column;
    }

    .body:has(.footer:not(.footerInline)),
    .body > form:has(> .footer:not(.footerInline)) {
        display: flex;
        flex: 1 0 auto;
        flex-direction: column;
    }

    .footer:not(.footerInline) {
        margin-top: auto;
    }
}

.footerInline {
    position: static;
    margin: 8px 0 0;
    padding: 16px 0 0;
}

.footerStart {
    display: flex;
    margin-right: auto;

    @include mixins.respond-below(sm) {
        margin-right: 0;

        > * {
            width: 100%;
        }
    }
}

.brandedHeader {
    background: var(--hi-gradient) !important;
    padding: 30px 24px !important;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.brandedTitle {
    color: white !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), 0 0 20px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
}

.brandedClose {
    color: white !important;
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    &:hover {
        background-color: rgba(255, 255, 255, 0.15) !important;
        transform: rotate(90deg) scale(1.1);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
    
    svg {
        stroke-width: 2.5;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    }
}