From c65fd67b8eeb2969b92702c28109feed8465e486 Mon Sep 17 00:00:00 2001 From: MayaTheShy Date: Sun, 22 Mar 2026 03:16:20 -0400 Subject: [PATCH] Add styles for remote reboot section in SettingsPanel --- web/client/src/components/SettingsPanel.css | 75 +++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/web/client/src/components/SettingsPanel.css b/web/client/src/components/SettingsPanel.css index 958588f..4db790a 100644 --- a/web/client/src/components/SettingsPanel.css +++ b/web/client/src/components/SettingsPanel.css @@ -200,6 +200,81 @@ line-height: 1; } +/* === Remote Reboot Section === */ + +.reboot-status { + font-size: 0.65rem; + padding: 0.4rem 0.6rem; + margin-bottom: 0.6rem; + background: #1a1f2e; + border: 2px solid #3a4a6a; + color: var(--mc-text-aqua); + text-align: center; +} + +.reboot-grid { + display: flex; + flex-direction: column; + gap: 0.375rem; +} + +.reboot-target { + display: flex; + align-items: center; + justify-content: space-between; + gap: 0.5rem; + padding: 0.5rem 0.625rem; + background: #222; + border: 2px solid #3a3a3a; + transition: border-color 0.15s; +} + +.reboot-target:hover { + border-color: #555; +} + +.reboot-target-info { + display: flex; + flex-direction: column; + gap: 0.1rem; + min-width: 0; + flex: 1; +} + +.reboot-target-label { + font-size: 0.7rem; + color: var(--mc-text-white); +} + +.reboot-target-desc { + font-size: 0.55rem; + color: var(--mc-text-gray); +} + +.reboot-btn { + flex-shrink: 0; +} + +.reboot-confirm-actions { + display: flex; + gap: 0.25rem; + flex-shrink: 0; +} + +.mc-btn.red { + border-color: #aa3333; + color: var(--mc-text-red); + background: linear-gradient(180deg, #5a2020, #3a1010); + box-shadow: + inset 1px 1px 0 #7a3030, + inset -1px -1px 0 #2a0808; +} + +.mc-btn.red:hover { + background: linear-gradient(180deg, #7a3030, #4a1818); + color: #ff6666; +} + /* === Settings gear button (in header) === */ .settings-gear {