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.

fix(monitoring): restore missing disk-reclaim stylesheet (unbreaks build)

Juan Denis7b7779a6b234
diff --git a/frontend/src/styles/components/disk-reclaim.scss b/frontend/src/styles/components/disk-reclaim.scss
new file mode 100644
index 00000000..d129c4d1
--- /dev/null
+++ b/frontend/src/styles/components/disk-reclaim.scss
@@ -0,0 +1,75 @@
+// ------------------------------------------------------------
+// Disk reclaim modal (monitoring) — curated safe-cleanup list.
+// Styles for components/monitoring/DiskReclaimModal.jsx.
+//
+// Compiled standalone by Vite (imported from the component, not
+// through main.scss), so design tokens are referenced as CSS
+// custom properties / literal px, never SCSS $variables.
+// ------------------------------------------------------------
+.disk-reclaim {
+ &__state {
+ margin: 16px 0;
+ color: var(--text-dim);
+ font-size: 13px;
+
+ &--error p {
+ margin: 0 0 8px;
+ color: var(--red);
+ }
+ }
+
+ &__list {
+ list-style: none;
+ margin: 0 0 12px;
+ padding: 0;
+ display: flex;
+ flex-direction: column;
+ }
+
+ &__item {
+ display: flex;
+ align-items: baseline;
+ gap: 8px;
+ padding: 8px 0;
+ border-bottom: 1px solid var(--border-soft);
+
+ &:last-child { border-bottom: none; }
+ }
+
+ &__item-title {
+ flex-shrink: 0;
+ font-size: 13px;
+ font-weight: 550;
+ color: var(--text);
+ }
+
+ &__item-detail {
+ flex: 1;
+ min-width: 0;
+ font-size: 12px;
+ color: var(--text-faint);
+ }
+
+ &__item-size {
+ font-family: var(--mono);
+ font-size: 12px;
+ color: var(--text);
+ }
+
+ &__total {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding-top: 12px;
+ border-top: 1px solid var(--border-strong);
+ font-size: 13px;
+ color: var(--text-dim);
+ }
+
+ &__total-size {
+ font-family: var(--mono);
+ font-size: 14px;
+ font-weight: 600;
+ color: var(--text);
+ }
+}