Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

1.3 KB
Raw Blame
// Runtime-extension failure card. Rendered on an
// extension's routes when its bundle fails to load or its component crashes.
// Deliberately dependency-free styling — it must render even when the extension
// (or the design system it leans on) is the thing that broke.

.sk-ext-failcard {
    display: flex;
    gap: $spacing-md;
    align-items: flex-start;
    max-width: 640px;
    margin: $spacing-xl auto;
    padding: $spacing-lg;
    background: $bg-card;
    border: 1px solid $border-color;
    border-left: 3px solid $color-danger;
    border-radius: $radius-control;

    &__icon {
        flex: 0 0 auto;
        font-size: $text-xl;
        line-height: 1;
        color: $color-danger;
    }

    &__body {
        min-width: 0;
    }

    &__title {
        margin: 0 0 $spacing-xs;
        font-size: $text-md;
        font-weight: $font-weight-semibold;
        color: $text-primary;
    }

    &__desc {
        margin: 0 0 $spacing-sm;
        color: $text-secondary;

        code {
            padding: 0 $space-1;
            background: $bg-hover;
            border-radius: $radius-badge;
            font-size: 0.9em;
        }
    }

    &__reason {
        color: $text-primary;
        font-size: 0.85em;
        word-break: break-word;
    }

    &__hint {
        margin: 0;
        color: $text-muted;
        font-size: $text-sm;
    }
}