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 ⭐️

847 B
Raw Blame
.legend {
    display: flex;
    gap: 6px 14px;
    font-size: 13px;

    &[data-layout='inline'] {
        flex-wrap: wrap;

        @media (max-width: 768px) {
            flex-wrap: nowrap;
            overflow-x: auto;
        }
    }

    &[data-layout='stacked'] {
        flex-direction: column;
        gap: 6px;
        font-size: 14px;
    }
}

.item {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;

    [data-layout='stacked'] & {
        gap: 8px;
        white-space: normal;
    }
}

.swatch {
    width: 12px;
    height: 12px;
    border-radius: 4px;
    flex: none;
}

.name {
    font-weight: 600;

    [data-layout='stacked'] & {
        flex: 1;
    }
}

.companionSwatch {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1.5px dashed currentColor;
    flex: none;
}