This commit is contained in:
fuenmao
2026-09-21 16:52:32 +08:00
parent 8ce6bec02d
commit 23cae3fda9
3 changed files with 123 additions and 7 deletions
+21 -1
View File
@@ -179,8 +179,17 @@ button { cursor: pointer; }
.plan-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.plan-heading span { color: #b1813f; font-size: 12px; text-align: right; }
.plan-item p, .scene-row p { margin: 7px 0 0; color: #75847f; font-size: 13px; line-height: 1.6; }
.status-dot { color: #a27639 !important; }
.status-dot { color: #a27639 !important; text-align: right; }
.status-dot.online { color: #1c806a !important; }
.device-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 12px; }
.device-pill { display: flex; align-items: center; gap: 9px; padding: 11px 12px; border: 1px solid #e4ebe7; border-radius: 13px; background: #fbfcfa; }
.device-pill > span { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #2c9a7d; box-shadow: 0 0 0 4px rgba(44,154,125,.12); }
.device-pill.offline > span { background: #b5bdb9; box-shadow: none; }
.device-pill strong, .device-pill small { display: block; }
.device-pill strong { font-size: 13px; }
.device-pill small { margin-top: 3px; color: #87928e; font-size: 11px; }
.scene-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px; border-radius: 14px; background: #f6f7f3; }
.scene-actions { display: flex; gap: 8px; }
.scene-row button {
white-space: nowrap;
flex-shrink: 0;
@@ -195,6 +204,13 @@ button { cursor: pointer; }
transition: .2s;
}
.scene-row button:active { background: var(--green); color: #fff; }
.scene-row button.secondary { color: #7d684b; border-color: rgba(125,104,75,.2); background: #f4eee4; }
.scene-row button:disabled { cursor: not-allowed; opacity: .5; }
.environment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.environment-grid div { padding: 10px; border-radius: 12px; background: #f8f8f4; text-align: center; }
.environment-grid small, .environment-grid strong { display: block; }
.environment-grid small { color: #89938f; font-size: 10px; }
.environment-grid strong { margin-top: 4px; color: var(--deep); font-size: 14px; }
.medical-note { max-width: 760px; margin: 24px auto; color: #969e9b; font-size: 11px; text-align: center; }
.loading-card { color: #73817d; text-align: center; }
@@ -203,4 +219,8 @@ button { cursor: pointer; }
.auth-card { margin-top: -54px; }
.plan-heading { display: block; }
.plan-heading span { display: block; margin-top: 5px; text-align: left; }
.device-grid { grid-template-columns: 1fr; }
.scene-row { align-items: flex-start; flex-direction: column; }
.scene-actions { width: 100%; }
.scene-actions button { flex: 1; }
}