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
// Curated safe disk-reclaim modal (components/monitoring/DiskReclaimModal.jsx).
// Reuses .sk-modal geometry; this file only styles the candidate list.

.disk-reclaim__state {
    padding: $spacing-lg 0;
    text-align: center;
    color: $text-muted;
    font-size: $text-xs;

    &--error p {
        color: var(--amber);
        margin-bottom: $spacing-sm;
    }
}

.disk-reclaim__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.disk-reclaim__item {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        'title size'
        'detail size';
    column-gap: $spacing-md;
    row-gap: $space-hair;
    padding: $spacing-sm 0;

    & + & {
        border-top: 1px solid $border-color;
    }
}

.disk-reclaim__item-title {
    grid-area: title;
    font-weight: $font-weight-medium;
}

.disk-reclaim__item-detail {
    grid-area: detail;
    font-size: $text-xs;
    color: $text-muted;
}

.disk-reclaim__item-size {
    grid-area: size;
    align-self: center;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.disk-reclaim__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: $spacing-sm;
    padding-top: $spacing-md;
    border-top: 2px solid $border-color;
    font-weight: $font-weight-semibold;
}