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
// ============================================
// CREDENTIALS DISPLAY COMPONENT
// ============================================

.credentials-box {
    background: $bg-body;
    border: 1px solid $border-subtle;
    border-radius: $radius-card;
    padding: $space-4;
    margin: $space-4 0;

    h4 {
        font-size: $text-base;
        font-weight: $font-weight-semibold;
        margin-bottom: $space-3;
        color: $success;
    }

    .warning {
        font-size: $text-xs;
        color: $warning;
        margin-bottom: $space-3;
        @include flex-start();
        gap: $space-tight;
    }
}

.credential-row {
    @include flex-start();
    gap: $space-3;
    padding: $space-2 0;
    border-bottom: 1px solid $border-subtle;

    &:last-child {
        border-bottom: none;
    }
}

.credential-label {
    font-size: $text-xs;
    color: $text-tertiary;
    min-width: 80px;
}

.credential-value {
    @include mono-text();
    font-size: $text-sm;
    color: $text-primary;
    background: $bg-hover;
    padding: $space-1 $space-2;
    border-radius: $radius-badge;
    flex: 1;
}

.credential-copy {
    background: none;
    border: none;
    color: $text-tertiary;
    cursor: pointer;
    padding: $space-1;
    @include transition(color);

    &:hover {
        color: $accent-primary;
    }
}