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.

796 B
Raw Blame
// Shared connection status indicator.

.conn-status {
    gap: $space-2;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: $space-hair $space-2;
    border: 1px solid $border-subtle;
    border-radius: $radius-full;
    font-size: $text-xs;
    font-weight: $font-weight-medium;
    color: $text-tertiary;
    white-space: nowrap;

    .conn-status__dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        flex-shrink: 0;
    }

    &--live .conn-status__dot {
        background: $success;
        box-shadow: none;
    }

    &--down .conn-status__dot {
        background: $warning;
        box-shadow: none;
    }

    &--ok {
        @include status-variant($success, $success-bg);
        border-color: $success-border;
    }
}