Add styles for remote reboot section in SettingsPanel

This commit is contained in:
MayaTheShy
2026-03-22 03:16:20 -04:00
parent 62f67b7893
commit c65fd67b8e

View File

@@ -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 {