916 lines
67 KiB
CSS
916 lines
67 KiB
CSS
:root {
|
|
color-scheme: dark;
|
|
--bg: #151515;
|
|
--canvas: #181818;
|
|
--surface: #1c1c1c;
|
|
--surface-2: #222222;
|
|
--surface-3: #282828;
|
|
--surface-muted: #202020;
|
|
--input-bg: #181818;
|
|
--nav-bg: #171717;
|
|
--dialog-bg: #1c1c1c;
|
|
--line: #2c2c2c;
|
|
--border: #2c2c2c;
|
|
--line-strong: #3a3a3a;
|
|
--text: #ededed;
|
|
--text-soft: #d4d4d4;
|
|
--muted: #a1a1aa;
|
|
--muted-2: #737373;
|
|
--muted-strong: #b5b5bd;
|
|
--accent: #3ecf8e;
|
|
--accent-strong: #46d99a;
|
|
--accent-soft: rgba(62, 207, 142, .10);
|
|
--accent-border: rgba(62, 207, 142, .36);
|
|
--accent-text: #06281a;
|
|
--danger: #f87171;
|
|
--danger-soft: rgba(248, 113, 113, .10);
|
|
--warning: #fbbf24;
|
|
--warning-soft: rgba(251, 191, 36, .10);
|
|
--info: #60a5fa;
|
|
--blue: #3b82f6;
|
|
--teal: #2dd4bf;
|
|
--purple: #a78bfa;
|
|
--orange: #fb923c;
|
|
--backdrop: rgba(0, 0, 0, .68);
|
|
--grid: rgba(255, 255, 255, .07);
|
|
--scroll-thumb: #444444;
|
|
--scroll-thumb-hover: #575757;
|
|
--radius: 22px;
|
|
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
}
|
|
:root[data-theme="light"] {
|
|
color-scheme: light;
|
|
--bg: #f8faf9;
|
|
--canvas: #f8faf9;
|
|
--surface: #ffffff;
|
|
--surface-2: #f5f6f6;
|
|
--surface-3: #eef0ef;
|
|
--surface-muted: #f6f7f7;
|
|
--input-bg: #ffffff;
|
|
--nav-bg: #ffffff;
|
|
--dialog-bg: #ffffff;
|
|
--line: #e5e7e6;
|
|
--border: #e5e7e6;
|
|
--line-strong: #d4d7d5;
|
|
--text: #1c1c1c;
|
|
--text-soft: #3f3f46;
|
|
--muted: #71717a;
|
|
--muted-2: #a1a1aa;
|
|
--muted-strong: #52525b;
|
|
--accent: #24b47e;
|
|
--accent-strong: #1ea672;
|
|
--accent-soft: rgba(36, 180, 126, .09);
|
|
--accent-border: rgba(36, 180, 126, .32);
|
|
--accent-text: #ffffff;
|
|
--danger: #dc5f5f;
|
|
--danger-soft: rgba(220, 95, 95, .08);
|
|
--warning: #b7791f;
|
|
--warning-soft: rgba(183, 121, 31, .08);
|
|
--info: #2563eb;
|
|
--blue: #2563eb;
|
|
--teal: #0f9f8f;
|
|
--purple: #7c3aed;
|
|
--orange: #c56b21;
|
|
--backdrop: rgba(23, 23, 23, .32);
|
|
--grid: rgba(24, 24, 27, .08);
|
|
--scroll-thumb: #c8ccca;
|
|
--scroll-thumb-hover: #aeb3b0;
|
|
}
|
|
* { box-sizing: border-box; }
|
|
html, body { background: var(--bg); }
|
|
body { margin: 0; min-height: 100vh; color: var(--text); }
|
|
button, input, select { font: inherit; }
|
|
button { cursor: pointer; }
|
|
button:disabled { opacity: .5; cursor: wait; }
|
|
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; padding: 12px max(18px, env(safe-area-inset-left)); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--nav-bg) 94%, transparent); backdrop-filter: blur(14px); }
|
|
.brand { display: flex; align-items: center; min-width: 0; }
|
|
.brand strong, .brand small { display: block; }
|
|
.brand strong { font-size: 15px; letter-spacing: -.01em; white-space: nowrap; }
|
|
.brand small { margin-top: 2px; color: var(--muted); font-size: 11px; }
|
|
.brand.large { margin-bottom: 1rem; }
|
|
.brand.large strong { font-size: 21px; }
|
|
.top-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
|
|
.toolbar-select { width: auto; min-width: 58px; min-height: 40px; padding: 7px 28px 7px 10px; border-radius: 11px; }
|
|
.theme-select { min-width: 94px; }
|
|
button { border: 0; border-radius: 13px; padding: 11px 15px; color: var(--text); background: var(--surface-2); transition: transform .15s ease, background .15s ease, opacity .15s ease; }
|
|
button:active { transform: scale(.97); }
|
|
.primary { background: var(--accent); color: var(--accent-text); font-weight: 800; }
|
|
.primary:hover { background: var(--accent-strong); }
|
|
.secondary { border: 1px solid var(--line); background: var(--surface-muted); font-weight: 650; }
|
|
.secondary:hover { background: var(--surface-2); }
|
|
.danger { color: var(--danger); }
|
|
.compact { padding: 10px 14px; }
|
|
.icon-button { width: 40px; height: 40px; padding: 0; font-size: 22px; background: transparent; }
|
|
main { width: min(1180px, 100%); margin: 0 auto; padding: 24px 18px 108px; }
|
|
.view { display: none; animation: reveal .2s ease; }
|
|
.view.active { display: block; }
|
|
@keyframes reveal { from { opacity: 0; transform: translateY(5px); } }
|
|
h1, h2, h3, p { margin-top: 0; }
|
|
h1 { margin-bottom: 8px; font-size: clamp(28px, 6vw, 44px); letter-spacing: -.045em; }
|
|
h2 { margin-bottom: 0; font-size: clamp(23px, 4vw, 31px); letter-spacing: -.035em; }
|
|
h3 { margin-bottom: 10px; }
|
|
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
|
|
.lead { max-width: 690px; color: var(--muted); line-height: 1.55; }
|
|
.hero { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; min-height: 210px; padding: clamp(24px, 6vw, 44px); border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); border-radius: 30px; background: var(--surface); }
|
|
.hero::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 220px; height: 220px; border: 34px solid color-mix(in srgb, var(--accent) 7%, transparent); border-radius: 50%; }
|
|
.hero h1 { margin: 5px 0 8px; }
|
|
.hero p { margin: 0; color: var(--muted); }
|
|
.hero-temp { z-index: 1; white-space: nowrap; font-size: clamp(48px, 12vw, 88px); font-weight: 250; letter-spacing: -.075em; }
|
|
.hero-temp small { margin-left: 4px; color: var(--muted); font-size: .28em; font-weight: 600; letter-spacing: 0; }
|
|
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0 34px; }
|
|
.metric { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
|
|
.metric span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 12px; }
|
|
.metric strong { font-size: 24px; letter-spacing: -.03em; }
|
|
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 8px 0 18px; }
|
|
.device-grid, .list-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 14px; }
|
|
.device-card, .panel, .list-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
|
|
.device-card { overflow: hidden; padding: 20px; }
|
|
.device-card.off { opacity: .86; }
|
|
.device-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
|
|
.device-title { min-width: 0; }
|
|
.device-title h3 { overflow: hidden; margin: 0 0 4px; text-overflow: ellipsis; white-space: nowrap; font-size: 19px; }
|
|
.device-title p { overflow: hidden; margin: 0; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
|
|
.status { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
|
|
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--danger); }
|
|
.status.online::before { background: var(--accent); }
|
|
.power-button { display: grid; place-items: center; flex: 0 0 auto; width: 46px; height: 46px; padding: 0; border-radius: 50%; color: var(--muted); font-size: 21px; }
|
|
.power-button.on { background: var(--accent); color: var(--accent-text); }
|
|
.temperature-control { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 24px 0 17px; }
|
|
.temperature-control button { width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 22px; }
|
|
.target-temp { min-width: 106px; text-align: center; font-size: 48px; font-weight: 300; letter-spacing: -.06em; }
|
|
.target-temp small { margin-left: 3px; color: var(--muted); font-size: 15px; font-weight: 650; }
|
|
.current-line { display: flex; justify-content: center; gap: 6px; margin: -10px 0 18px; color: var(--muted); font-size: 12px; }
|
|
.current-line strong { color: var(--text); }
|
|
.mode-row, .fan-row { display: flex; gap: 7px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
|
|
.mode-row::-webkit-scrollbar, .fan-row::-webkit-scrollbar { display: none; }
|
|
.mode-row button, .fan-row button { flex: 1 0 auto; min-width: 58px; padding: 9px 10px; color: var(--muted); background: var(--surface-muted); font-size: 12px; }
|
|
.mode-row button.active, .fan-row button.active, .house-mode-row button.active { color: var(--accent-text); background: var(--accent); font-weight: 800; }
|
|
.device-toggles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 4px; }
|
|
.device-toggles button { padding: 9px 5px; color: var(--muted); font-size: 11px; }
|
|
.device-toggles button.active { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
|
|
.card-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
|
|
.card-footer small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
|
|
.device-network-info { display: grid; min-width: 0; gap: 2px; }
|
|
.device-network-error { color: var(--danger) !important; }
|
|
.card-menu { display: flex; gap: 5px; }
|
|
.card-menu button { padding: 7px 9px; background: transparent; color: var(--muted); font-size: 12px; }
|
|
.list-card { padding: 19px; }
|
|
.list-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
|
|
.list-card h3 { margin: 0 0 5px; font-size: 18px; }
|
|
.list-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
|
|
.badge { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 99px; color: var(--muted); background: var(--surface-muted); font-size: 11px; }
|
|
.badge.active { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
|
|
.badge.manual-override { color: var(--warning); background: var(--warning-soft); }
|
|
.list-card.manual-takeover { border-color: var(--warning); box-shadow: 0 0 0 1px color-mix(in srgb, var(--warning) 24%, transparent); }
|
|
.manual-override-panel { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin-top:8px; padding:11px 12px; border:1px solid color-mix(in srgb, var(--warning) 45%, var(--line)); border-radius:12px; background:var(--warning-soft); }
|
|
.manual-override-panel > div { flex:1 1 220px; min-width:0; }
|
|
.manual-override-panel strong { display:block; margin-bottom:4px; color:var(--warning); font-size:13px; }
|
|
.manual-override-panel p { margin:0; color:var(--text); font-size:12px; line-height:1.45; }
|
|
.manual-override-panel button { flex:0 0 auto; min-height:34px; padding:7px 11px; }
|
|
.zone-enable-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); background: var(--surface-muted); font-size: 11px; }
|
|
.zone-enable-toggle.active { border-color: color-mix(in srgb, var(--accent) 34%, var(--line)); color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
|
|
.zone-enable-toggle span { font-size: 12px; font-weight: 900; }
|
|
.zone-thermostat.zone-disabled .thermostat-main, .zone-thermostat.zone-disabled .preset-row, .zone-thermostat.zone-disabled .zone-mode-row, .zone-thermostat.zone-disabled .zone-state-line { opacity: .5; }
|
|
.card-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 16px; }
|
|
.card-stat { padding: 10px; border-radius: 12px; background: var(--surface-muted); text-align: center; }
|
|
.card-stat small, .card-stat strong { display: block; }
|
|
.card-stat small { margin-bottom: 5px; color: var(--muted); font-size: 10px; }
|
|
.card-stat strong { font-size: 15px; }
|
|
.empty { grid-column: 1/-1; padding: 38px 24px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }
|
|
.empty strong { display: block; margin-bottom: 7px; color: var(--text); }
|
|
.panel { padding: 20px; }
|
|
.chart-panel { overflow: hidden; }
|
|
.chart-toolbar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 18px; }
|
|
.chart-toolbar select { flex: 1; min-width: 140px; }
|
|
.chart-wrap { position: relative; overflow-x: auto; min-height: 310px; }
|
|
#historyChart { width: 100%; min-width: 680px; height: 340px; }
|
|
.legend { display: flex; gap: 18px; margin-top: 10px; color: var(--muted); font-size: 12px; }
|
|
.legend > span { display: flex; align-items: center; gap: 7px; }
|
|
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
|
|
.dot.target { background: var(--warning); }
|
|
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
|
|
.form-grid h3, .form-grid hr, .form-grid .wide { grid-column: 1/-1; }
|
|
.form-grid hr, .dialog-form hr { width: 100%; border: 0; border-top: 1px solid var(--line); }
|
|
label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 650; }
|
|
input, select { width: 100%; min-height: 45px; border: 1px solid var(--line); border-radius: 12px; outline: 0; padding: 10px 12px; color: var(--text); background: var(--input-bg); }
|
|
input:focus, select:focus { border-color: var(--accent); outline: 2px solid color-mix(in srgb, var(--accent) 18%, transparent); outline-offset: 1px; }
|
|
.check { display: flex; grid-auto-flow: column; justify-content: start; align-items: center; gap: 9px; min-height: 44px; }
|
|
.check input { width: 19px; min-height: 19px; accent-color: var(--accent); }
|
|
.form-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 6px; }
|
|
.influx-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-muted); }
|
|
.influx-fields[hidden] { display: none; }
|
|
.influx-fields label:last-child:nth-child(odd) { grid-column: 1/-1; }
|
|
.backup-actions { align-items: center; }
|
|
.system-panel { margin-top: 14px; color: var(--muted); line-height: 1.7; }
|
|
.system-panel strong { color: var(--text); }
|
|
.log-list { display: grid; gap: 2px; padding: 8px; }
|
|
.log-row { display: grid; grid-template-columns: 78px 150px 1fr; gap: 12px; padding: 11px 12px; border-bottom: 1px solid var(--line); font-size: 12px; }
|
|
.log-row:last-child { border-bottom: 0; }
|
|
.log-row time, .log-row .kind { color: var(--muted); }
|
|
.log-row.error .kind { color: var(--danger); }
|
|
.log-row.warn .kind { color: var(--warning); }
|
|
.bottom-nav { position: fixed; z-index: 30; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5, 1fr); padding: 8px max(8px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); border-top: 1px solid var(--line); background: color-mix(in srgb, var(--nav-bg) 96%, transparent); backdrop-filter: blur(14px); }
|
|
.bottom-nav button { display: grid; place-items: center; gap: 3px; padding: 7px 2px; border-radius: 12px; color: var(--muted); background: transparent; font-size: 10px; }
|
|
.bottom-nav button span { font-size: 20px; line-height: 1; }
|
|
.bottom-nav button b { font-weight: 650; }
|
|
.bottom-nav button.active { color: var(--accent); }
|
|
dialog { width: min(540px, calc(100% - 24px)); max-height: min(88vh, 760px); overflow: auto; border: 1px solid var(--line); border-radius: 24px; padding: 0; color: var(--text); background: var(--dialog-bg); }
|
|
dialog::backdrop { background: var(--backdrop); backdrop-filter: blur(4px); }
|
|
.dialog-form { display: grid; gap: 14px; padding: 20px; }
|
|
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
|
|
.dialog-head h2 { font-size: 23px; }
|
|
.dialog-head button { width: 38px; height: 38px; padding: 0; background: transparent; color: var(--muted); font-size: 25px; }
|
|
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
|
|
#externalSensorFields { display: grid; gap: 12px; }
|
|
.field-note { margin: -4px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.45; }
|
|
.sensor-detail { margin-top: 10px; color: var(--muted); font-size: .8rem; line-height: 1.45; }
|
|
fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
|
|
legend { padding: 0 5px; color: var(--muted); font-size: 11px; }
|
|
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
|
|
.days label { display: grid; place-items: center; gap: 5px; padding: 6px 2px; border-radius: 8px; background: var(--surface-muted); font-size: 10px; }
|
|
.days input { width: 16px; min-height: 16px; accent-color: var(--accent); }
|
|
.sheet { width: min(500px, calc(100% - 18px)); margin: auto auto 10px; }
|
|
.sheet .dialog-head { padding: 18px 18px 5px; }
|
|
.menu-list { display: grid; padding: 8px 10px 12px; }
|
|
.menu-list button { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); border-radius: 0; padding: 16px 9px; background: transparent; text-align: left; }
|
|
.menu-list button:last-child { border-bottom: 0; }
|
|
.auth-dialog { width: min(420px, calc(100% - 30px)); }
|
|
@media (min-width: 900px) {
|
|
.bottom-nav { top: 92px; right: auto; bottom: auto; left: max(16px, calc((100vw - 1380px)/2)); grid-template-columns: 1fr; width: 90px; border: 1px solid var(--line); border-radius: 22px; padding: 9px; background: var(--surface); }
|
|
.bottom-nav button { padding: 10px 4px; }
|
|
main { padding-left: 122px; padding-bottom: 50px; }
|
|
}
|
|
@media (max-width: 720px) {
|
|
.topbar { flex-wrap: wrap; }
|
|
.top-actions { width: 100%; }
|
|
.top-actions .primary { margin-left: auto; }
|
|
}
|
|
@media (max-width: 620px) {
|
|
main { padding: 18px 13px 105px; }
|
|
.hero { min-height: 190px; padding: 23px; }
|
|
.hero-temp { font-size: 52px; }
|
|
.metrics { gap: 7px; }
|
|
.metric { padding: 14px 10px; }
|
|
.metric strong { font-size: 20px; }
|
|
.section-heading { align-items: center; }
|
|
.section-heading button { padding: 9px 11px; font-size: 12px; }
|
|
.form-grid { grid-template-columns: 1fr; }
|
|
.form-grid h3, .form-grid hr, .form-grid .wide { grid-column: auto; }
|
|
.log-row { grid-template-columns: 62px 1fr; }
|
|
.log-row .message { grid-column: 1/-1; }
|
|
.theme-select { min-width: 86px; }
|
|
}
|
|
@media (max-width: 410px) {
|
|
.topbar { padding-inline: 12px; }
|
|
.brand strong { font-size: 13px; }
|
|
.hero { align-items: start; flex-direction: column; }
|
|
.hero-temp { align-self: flex-end; margin-top: -15px; }
|
|
.two { grid-template-columns: 1fr; }
|
|
.toolbar-select { min-width: 54px; }
|
|
.theme-select { min-width: 82px; }
|
|
}
|
|
|
|
.token-manager { display: grid; gap: 12px; }
|
|
.token-list { display: grid; gap: 8px; }
|
|
.token-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-muted); }
|
|
.token-row > div { min-width: 0; display: grid; gap: 3px; }
|
|
.token-row strong { color: var(--text); font-size: 13px; }
|
|
.token-row small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
|
|
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; }
|
|
.empty.compact { padding: 18px; }
|
|
@media (max-width: 620px) {
|
|
.token-row { align-items: stretch; flex-direction: column; }
|
|
.token-row button { width: 100%; }
|
|
}
|
|
|
|
/* Zone quick controls */
|
|
.zone-quick-control { display: grid; gap: 4px; margin-top: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-muted); }
|
|
.temperature-control.compact { padding: 4px 0 7px; gap: 16px; }
|
|
.temperature-control.compact button { width: 38px; height: 38px; }
|
|
.target-temp.compact { min-width: 92px; font-size: 32px; }
|
|
.zone-quick-control .mode-row { padding-bottom: 2px; }
|
|
|
|
.discovery-name-list { display:grid; gap:12px; }
|
|
.discovery-name-row { display:grid; gap:8px; padding:12px 0; border-bottom:1px solid var(--border); }
|
|
.discovery-name-row:last-child { border-bottom:0; }
|
|
.discovery-name-row span { display:grid; gap:2px; }
|
|
.discovery-name-row small { color:var(--muted); overflow-wrap:anywhere; }
|
|
|
|
/* Themed scrollbars: visible where scrolling is useful, but visually quiet. */
|
|
* { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--accent) 42%, var(--surface-2)) var(--surface-muted); }
|
|
*::-webkit-scrollbar { width: 9px; height: 9px; }
|
|
*::-webkit-scrollbar-track { background: var(--surface-muted); border-radius: 99px; }
|
|
*::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--accent) 38%, var(--surface-2)); border: 2px solid var(--surface-muted); border-radius: 99px; }
|
|
*::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--accent) 58%, var(--surface-2)); }
|
|
.mode-row, .fan-row, .preset-row { scrollbar-width: none; }
|
|
.mode-row::-webkit-scrollbar, .fan-row::-webkit-scrollbar, .preset-row::-webkit-scrollbar { display: none; }
|
|
|
|
.house-climate { display: grid; gap: 16px; margin: 0 0 12px; }
|
|
.house-climate-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
|
|
.house-climate-head h3 { margin: 2px 0 4px; font-size: 20px; }
|
|
.house-climate-head p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
|
|
.outside-pill { flex: 0 0 auto; min-width: 94px; padding: 10px 13px; border-radius: 14px; background: var(--surface-muted); text-align: right; }
|
|
.outside-pill small, .outside-pill strong { display: block; }
|
|
.outside-pill small { color: var(--muted); font-size: 10px; }
|
|
.outside-pill strong { margin-top: 3px; font-size: 18px; }
|
|
.automation-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 12px; margin-bottom: 34px; }
|
|
.plan-card { display: grid; align-content: start; gap: 11px; min-height: 190px; padding: 17px; }
|
|
.plan-card.disabled { opacity: .65; }
|
|
.plan-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
|
|
.plan-card-head h3 { margin: 2px 0 0; font-size: 19px; }
|
|
.plan-card > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
|
|
.plan-temp { display: flex; align-items: baseline; gap: 9px; }
|
|
.plan-temp > span { color: var(--muted); font-size: 20px; }
|
|
.plan-temp > b { color: var(--muted); font-weight: 500; }
|
|
.plan-temp > strong { font-size: 28px; letter-spacing: -.04em; }
|
|
.plan-temp small { margin-left: 2px; color: var(--muted); font-size: 11px; }
|
|
.plan-events { display: grid; gap: 6px; margin: 0; padding: 10px 0 0; border-top: 1px solid var(--line); list-style: none; }
|
|
.plan-events li { display: grid; grid-template-columns: 82px 1fr; gap: 8px; color: var(--text-soft); font-size: 11px; line-height: 1.35; }
|
|
.plan-events time { color: var(--muted); font-variant-numeric: tabular-nums; }
|
|
.plan-events .muted { display: block; color: var(--muted); }
|
|
.plan-house { border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
|
|
.plan-loading { grid-column: 1/-1; padding: 18px; color: var(--muted); }
|
|
.house-mode-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
|
|
.house-mode-row button { min-height: 44px; color: var(--muted); background: var(--surface-muted); }
|
|
.house-power-panel { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: -15px 0 12px; }
|
|
.house-power-panel h3 { margin: 2px 0 4px; font-size: 18px; }
|
|
.house-power-panel p { margin: 0; max-width: 650px; color: var(--muted); font-size: 12px; line-height: 1.45; }
|
|
.house-power-actions { display: flex; flex: 0 0 auto; gap: 8px; }
|
|
.house-power-actions button { min-height: 40px; }
|
|
.house-power-actions button.active { color: var(--accent-text); background: var(--accent); font-weight: 800; }
|
|
|
|
.zone-thermostat { overflow: hidden; }
|
|
.zone-thermostat.demanding { border-color: color-mix(in srgb, var(--accent) 38%, var(--line)); }
|
|
.thermostat-main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin: 15px 0 9px; }
|
|
.thermostat-main > div:first-child { text-align: left; }
|
|
.thermostat-main > div:last-child { text-align: right; }
|
|
.thermostat-main small, .thermostat-main strong { display: block; }
|
|
.thermostat-main small { margin-bottom: 3px; color: var(--muted); font-size: 10px; }
|
|
.thermostat-main strong { font-size: 16px; }
|
|
.preset-row { display: flex; gap: 6px; overflow-x: auto; padding: 3px 0 8px; }
|
|
.preset-row button { flex: 1 0 auto; min-height: 38px; padding: 8px 11px; color: var(--muted); background: var(--surface-muted); font-size: 12px; }
|
|
.preset-row button.active { color: var(--accent-text); background: var(--accent); font-weight: 800; }
|
|
.zone-mode-row { padding-bottom: 5px; }
|
|
.zone-state-line { display: flex; justify-content: space-between; gap: 10px; padding: 8px 1px 1px; color: var(--muted); font-size: 11px; }
|
|
.zone-state-line span:last-child { text-align: right; }
|
|
.dashboard-zones { margin-bottom: 34px; }
|
|
|
|
.schedule-template-panel { display: grid; gap: 13px; margin-bottom: 18px; }
|
|
.schedule-template-panel h3 { margin-bottom: 4px; }
|
|
.template-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
|
|
.profile-editor { border: 1px solid var(--line); border-radius: 14px; padding: 11px 12px; background: var(--surface-muted); }
|
|
.profile-editor summary { cursor: pointer; color: var(--text); font-weight: 700; font-size: 13px; }
|
|
.profile-editor[open] summary { margin-bottom: 12px; }
|
|
.profile-grid { display: grid; grid-template-columns: 90px repeat(3, 1fr); align-items: end; gap: 8px; margin-top: 8px; }
|
|
.profile-grid > strong { align-self: center; font-size: 12px; }
|
|
.profile-grid label span { font-size: 10px; }
|
|
.warning-note { color: var(--warning); }
|
|
|
|
@media (max-width: 620px) {
|
|
.house-power-panel { margin-top: -20px; }
|
|
.house-climate-head { align-items: flex-start; }
|
|
.house-climate-head p { max-width: 220px; }
|
|
.house-power-panel { align-items: stretch; flex-direction: column; }
|
|
.house-power-actions { display: grid; grid-template-columns: 1fr 1fr; }
|
|
.thermostat-main { grid-template-columns: 1fr auto 1fr; gap: 4px; }
|
|
.thermostat-main .temperature-control.compact { gap: 9px; }
|
|
.thermostat-main .target-temp.compact { min-width: 75px; font-size: 28px; }
|
|
.profile-grid { grid-template-columns: 1fr 1fr; }
|
|
.profile-grid > strong { grid-column: 1/-1; margin-top: 4px; }
|
|
.zone-state-line { flex-direction: column; gap: 2px; }
|
|
.zone-state-line span:last-child { text-align: left; }
|
|
}
|
|
|
|
.automation-hint { margin-bottom: 18px; }
|
|
.automation-hint strong { display: block; margin-bottom: 5px; }
|
|
.automation-hint p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
|
|
|
|
/* Rich climate history (v0.4.4) using the classic rounded UI. */
|
|
.history-chart-card { margin-top: 14px; }
|
|
.chart-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
|
|
.chart-title-row h3 { margin: 0 0 4px; font-size: 17px; }
|
|
.chart-title-row p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
|
|
.history-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
|
|
.history-stat { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-muted); }
|
|
.history-stat small, .history-stat strong, .history-stat span { display: block; }
|
|
.history-stat small { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
|
|
.history-stat strong { margin-top: 4px; color: var(--text); font-size: 18px; font-weight: 700; }
|
|
.history-stat span { overflow: hidden; margin-top: 2px; color: var(--muted-2); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
|
|
.chart-wrap { scrollbar-width: none; -ms-overflow-style: none; }
|
|
.chart-wrap::-webkit-scrollbar { display: none; }
|
|
.chart-wrap.compact-chart { min-height: 230px; }
|
|
#historyTemperatureChart, #historyOperationChart { width: 100%; min-width: 720px; }
|
|
#historyTemperatureChart { height: 360px; }
|
|
#historyOperationChart { height: 260px; }
|
|
.legend { flex-wrap: wrap; gap: 9px 18px; }
|
|
.legend-line { width: 18px; height: 3px; border-radius: 999px; background: var(--legend-color, var(--accent)); }
|
|
@media (max-width: 620px) {
|
|
.history-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.chart-toolbar { display: grid; grid-template-columns: 1fr 1fr; }
|
|
.chart-toolbar button { grid-column: 1 / -1; }
|
|
}
|
|
|
|
/* History navigation, custom chart composer and linkable sub-pages. */
|
|
.history-tabs { display: flex; gap: 7px; overflow-x: auto; margin: 0 0 14px; padding: 3px; scrollbar-width: none; }
|
|
.history-tabs::-webkit-scrollbar { display: none; }
|
|
.history-tabs button { flex: 0 0 auto; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface); font-size: 12px; font-weight: 700; }
|
|
.history-tabs button.active { color: var(--accent-text); border-color: var(--accent); background: var(--accent); }
|
|
.history-toolbar-panel { margin-bottom: 14px; }
|
|
.history-context-controls { display: flex; flex: 1 1 260px; min-width: min(100%, 220px); }
|
|
.history-context-controls label { width: 100%; }
|
|
.history-context-hint { align-self: center; color: var(--muted); font-size: 12px; line-height: 1.4; }
|
|
.history-charts { display: grid; gap: 14px; }
|
|
.history-custom-builder { display: none; margin-bottom: 14px; }
|
|
.history-custom-builder.active { display: block; }
|
|
.custom-chart-panel { display: grid; gap: 13px; }
|
|
.custom-chart-add, .custom-chart-save { display: flex; gap: 8px; align-items: center; }
|
|
.custom-chart-add select, .custom-chart-save input { flex: 1; }
|
|
.custom-series-list { display: flex; flex-wrap: wrap; gap: 7px; min-height: 34px; align-items: center; }
|
|
.custom-series-chip { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 7px 8px 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-muted); color: var(--text-soft); font-size: 11px; }
|
|
.custom-series-chip i { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--chip-color, var(--accent)); }
|
|
.custom-series-chip button { width: 23px; height: 23px; padding: 0; border-radius: 50%; color: var(--muted); background: transparent; font-size: 16px; line-height: 1; }
|
|
.saved-chart-list { display: grid; gap: 7px; padding-top: 3px; border-top: 1px solid var(--line); }
|
|
.saved-chart-row { display: grid; grid-template-columns: 1fr auto; gap: 7px; }
|
|
.saved-chart-row > button:first-child { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); background: var(--surface-muted); text-align: left; }
|
|
.saved-chart-row strong, .saved-chart-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.saved-chart-row small { color: var(--muted); }
|
|
.saved-chart-row > .danger { width: 42px; padding: 0; border: 1px solid var(--line); background: var(--surface-muted); }
|
|
|
|
/* Toast stack: quiet success/error feedback that matches light and dark themes. */
|
|
.toast-stack { position: fixed; z-index: 120; right: 18px; bottom: 92px; display: grid; gap: 9px; width: min(390px, calc(100vw - 36px)); pointer-events: none; }
|
|
.toast-item { position: relative; display: grid; grid-template-columns: 34px 1fr 28px; gap: 10px; align-items: center; overflow: hidden; padding: 12px 11px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--surface) 96%, transparent); backdrop-filter: blur(16px); opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .2s ease, transform .2s ease; pointer-events: auto; }
|
|
.toast-item.show { opacity: 1; transform: translateY(0) scale(1); }
|
|
.toast-item.leaving { opacity: 0; transform: translateX(18px) scale(.98); }
|
|
.toast-item.success { border-color: color-mix(in srgb, var(--accent) 34%, var(--line)); }
|
|
.toast-item.error { border-color: color-mix(in srgb, var(--danger) 42%, var(--line)); }
|
|
.toast-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--accent); background: var(--accent-soft); font-size: 15px; font-weight: 900; }
|
|
.toast-item.error .toast-icon { color: var(--danger); background: var(--danger-soft); }
|
|
.toast-copy { min-width: 0; }
|
|
.toast-copy strong, .toast-copy span { display: block; }
|
|
.toast-copy strong { margin-bottom: 2px; font-size: 12px; }
|
|
.toast-copy span { overflow-wrap: anywhere; color: var(--muted); font-size: 11px; line-height: 1.35; }
|
|
.toast-close { width: 28px; height: 28px; padding: 0; border-radius: 50%; color: var(--muted); background: transparent; font-size: 19px; }
|
|
.toast-progress { position: absolute; right: 11px; bottom: 3px; left: 11px; height: 2px; border-radius: 99px; background: var(--accent); transform-origin: left; animation: toast-progress 3.6s linear forwards; }
|
|
.toast-item.error .toast-progress { background: var(--danger); animation-duration: 5.2s; }
|
|
@keyframes toast-progress { from { transform: scaleX(1); } to { transform: scaleX(0); } }
|
|
|
|
.debug-overlay { position: fixed; z-index: 110; right: 18px; bottom: 92px; width: min(680px, calc(100vw - 36px)); max-height: min(46vh, 440px); overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); border-radius: 18px; background: color-mix(in srgb, var(--surface) 96%, transparent); box-shadow: 0 18px 60px rgba(0,0,0,.22); backdrop-filter: blur(18px); }
|
|
.debug-overlay[hidden] { display: none; }
|
|
.debug-overlay-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
|
|
.debug-overlay-head > div { display: grid; gap: 2px; }
|
|
.debug-overlay-head strong { font-size: 12px; }
|
|
.debug-overlay-head small { color: var(--muted); font-size: 10px; }
|
|
.debug-overlay-head button { padding: 6px 9px; color: var(--muted); background: var(--surface-muted); font-size: 10px; }
|
|
.debug-overlay-lines { max-height: min(38vh, 360px); overflow: auto; padding: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; }
|
|
.debug-line { display: grid; grid-template-columns: 70px 46px 1fr; gap: 8px; padding: 5px 6px; border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); font-size: 10px; line-height: 1.35; }
|
|
.debug-line time, .debug-line b { color: var(--muted); font-weight: 600; }
|
|
.debug-line span { overflow-wrap: anywhere; white-space: pre-wrap; }
|
|
.debug-empty { padding: 18px; color: var(--muted); text-align: center; font-size: 11px; }
|
|
|
|
@media (max-width: 620px) {
|
|
.custom-chart-add, .custom-chart-save { align-items: stretch; flex-direction: column; }
|
|
.toast-stack { right: 12px; bottom: 88px; width: calc(100vw - 24px); }
|
|
.debug-overlay { right: 12px; bottom: 88px; width: calc(100vw - 24px); }
|
|
.debug-line { grid-template-columns: 58px 38px 1fr; }
|
|
.influx-fields { grid-template-columns: 1fr; }
|
|
.influx-fields label:last-child:nth-child(odd) { grid-column: auto; }
|
|
}
|
|
|
|
.history-chart-card canvas { width: 100%; min-width: 720px; }
|
|
|
|
.simulation-summary-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap:12px; margin-bottom:16px; }
|
|
.simulation-summary-card { display:grid; gap:6px; padding:16px; }
|
|
.simulation-summary-card small { color:var(--muted); font-size:12px; }
|
|
.simulation-summary-card strong { font-size:28px; letter-spacing:-.04em; }
|
|
.simulation-summary-card span { color:var(--muted); font-size:12px; line-height:1.45; }
|
|
.simulation-section-head { display:flex; align-items:end; justify-content:space-between; margin:24px 0 12px; }
|
|
.simulation-section-head h2 { margin:4px 0 0; }
|
|
.simulation-timeline-panel { padding:16px; margin-bottom:22px; }
|
|
.simulation-timeline { display:grid; gap:10px; }
|
|
.simulation-timeline-item { display:grid; grid-template-columns:110px 1fr; gap:12px; align-items:start; padding:12px 0; border-bottom:1px solid var(--line); }
|
|
.simulation-timeline-item:last-child { border-bottom:0; padding-bottom:0; }
|
|
.simulation-timeline-item time { color:var(--muted); font-size:12px; }
|
|
.simulation-timeline-item strong { display:block; margin-bottom:4px; }
|
|
.simulation-timeline-item p { margin:0; color:var(--muted); line-height:1.45; }
|
|
.simulation-zone-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap:14px; }
|
|
.simulation-zone-card { display:grid; gap:14px; padding:16px; }
|
|
.simulation-zone-card.disabled { opacity:.68; }
|
|
.simulation-zone-head, .simulation-rule-head { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
|
|
.simulation-zone-head h3, .simulation-rule-head h3 { margin:3px 0 0; }
|
|
.simulation-zone-head p, .simulation-rule-head p { margin:6px 0 0; color:var(--muted); font-size:13px; line-height:1.45; }
|
|
.simulation-flow { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:10px; }
|
|
.simulation-step { display:grid; gap:6px; padding:12px; border:1px solid var(--line); border-radius:16px; background:rgba(255,255,255,.02); min-height:112px; }
|
|
html[data-theme='light'] .simulation-step { background:rgba(0,0,0,.02); }
|
|
.simulation-step.accent { box-shadow:inset 0 0 0 1px rgba(101,163,255,.28); }
|
|
.simulation-step small, .simulation-metrics small, .simulation-rule-meta small { color:var(--muted); font-size:11px; }
|
|
.simulation-step strong { font-size:15px; line-height:1.35; }
|
|
.simulation-step span { color:var(--muted); font-size:12px; line-height:1.4; }
|
|
.simulation-metrics { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:10px; }
|
|
.simulation-metrics > div, .simulation-rule-action { padding:12px; border-radius:14px; border:1px solid var(--line); background:rgba(255,255,255,.02); }
|
|
html[data-theme='light'] .simulation-metrics > div, html[data-theme='light'] .simulation-rule-action { background:rgba(0,0,0,.02); }
|
|
.simulation-metrics strong { display:block; margin-top:4px; }
|
|
.simulation-events { padding-top:0; border-top:0; }
|
|
.simulation-rules-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap:14px; }
|
|
.simulation-rule-card { display:grid; gap:12px; padding:16px; }
|
|
.simulation-rule-card > p { margin:0; color:var(--muted); }
|
|
.simulation-rule-action { font-size:14px; line-height:1.5; }
|
|
.simulation-rule-meta { display:flex; flex-wrap:wrap; gap:12px; color:var(--muted); }
|
|
@media (max-width: 900px) {
|
|
.simulation-flow, .simulation-metrics { grid-template-columns:repeat(2, minmax(0, 1fr)); }
|
|
}
|
|
@media (max-width: 640px) {
|
|
.simulation-timeline-item { grid-template-columns:1fr; gap:6px; }
|
|
.simulation-flow, .simulation-metrics { grid-template-columns:1fr; }
|
|
}
|
|
|
|
/* Compact connection state: a colored dot replaces the Connected/Disconnected label. */
|
|
.brand-line { display:flex; align-items:center; gap:8px; min-width:0; }
|
|
.brand-line strong { display:block; }
|
|
.connection-dot { display:inline-block !important; width:9px; height:9px; flex:0 0 9px; margin:0 !important; border-radius:50%; background:var(--muted); box-shadow:0 0 0 3px color-mix(in srgb, var(--muted) 15%, transparent); }
|
|
.connection-dot.connected { background:#37c96b; box-shadow:0 0 0 3px rgba(55,201,107,.14), 0 0 10px rgba(55,201,107,.3); }
|
|
.connection-dot.disconnected, .connection-dot.connectionError { background:#ef5b5b; box-shadow:0 0 0 3px rgba(239,91,91,.14), 0 0 10px rgba(239,91,91,.24); }
|
|
.connection-dot.connecting { background:#e2a93b; box-shadow:0 0 0 3px rgba(226,169,59,.14); animation:connection-pulse 1.25s ease-in-out infinite; }
|
|
@keyframes connection-pulse { 50% { opacity:.45; transform:scale(.86); } }
|
|
|
|
/* v0.5.3 usability refinements */
|
|
.history-toolbar-panel .chart-toolbar { display:grid; grid-template-columns:minmax(260px,1fr) minmax(180px,.55fr) auto; gap:12px; align-items:end; }
|
|
.history-toolbar-panel .chart-toolbar > * { min-width:0; }
|
|
.history-context-controls { display:block; width:100%; min-width:0; }
|
|
.history-context-controls label, .history-range-control { width:100%; }
|
|
.history-range-control { display:grid; gap:7px; }
|
|
.history-refresh-button { min-height:45px; align-self:end; }
|
|
|
|
.settings-form { display:grid; gap:14px; }
|
|
.settings-block { display:grid; gap:18px; }
|
|
.settings-block-head { display:flex; align-items:flex-start; gap:13px; }
|
|
.settings-block-head h3 { margin:1px 0 4px; font-size:18px; }
|
|
.settings-block-head p { margin:0; color:var(--muted); font-size:12px; line-height:1.5; }
|
|
.settings-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
|
|
.settings-grid .wide { grid-column:1/-1; }
|
|
.settings-subhead { display:flex; justify-content:space-between; gap:12px; margin-bottom:10px; }
|
|
.settings-subhead strong, .settings-subhead small { display:block; }
|
|
.settings-subhead small { margin-top:4px; color:var(--muted); font-size:11px; line-height:1.4; }
|
|
.settings-save-bar { position:sticky; bottom:18px; z-index:9; display:flex; align-items:center; justify-content:space-between; gap:14px; padding:13px 15px; border:1px solid var(--line-strong); border-radius:16px; background:color-mix(in srgb,var(--surface) 94%,transparent); box-shadow:0 8px 30px rgba(0,0,0,.18); backdrop-filter:blur(16px); }
|
|
.settings-save-bar span { color:var(--muted); font-size:12px; }
|
|
.sensor-alias-manager { padding:14px; border:1px solid var(--line); border-radius:16px; background:var(--surface-muted); }
|
|
.sensor-alias-list { display:grid; gap:8px; }
|
|
.sensor-alias-row { display:grid; grid-template-columns:minmax(180px,1fr) minmax(150px,1fr) 34px; gap:8px; align-items:center; }
|
|
.sensor-alias-row > span { overflow:hidden; color:var(--muted); font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
|
|
.sensor-alias-row input { min-height:40px; }
|
|
.sensor-alias-clear { width:34px; height:34px; padding:0; border-radius:10px; color:var(--muted); background:transparent; }
|
|
.sensor-alias-add { display:grid; grid-template-columns:minmax(180px,1fr) minmax(150px,1fr) auto; gap:8px; margin-top:10px; }
|
|
.logs-toolbar { display:grid; grid-template-columns:1fr minmax(160px,220px) auto; gap:14px; align-items:end; margin-bottom:14px; }
|
|
.logs-toolbar > div strong, .logs-toolbar > div small { display:block; }
|
|
.logs-toolbar > div small { margin-top:4px; color:var(--muted); font-size:11px; line-height:1.4; }
|
|
|
|
.simulation-flow-shell { padding:0; overflow:hidden; margin-bottom:18px; }
|
|
.simulation-flow-head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; padding:18px 18px 14px; border-bottom:1px solid var(--line); }
|
|
.simulation-flow-head h2 { margin:3px 0 0; }
|
|
.flow-legend { display:flex; flex-wrap:wrap; gap:12px; color:var(--muted); font-size:11px; }
|
|
.flow-legend span { display:flex; align-items:center; gap:6px; }
|
|
.flow-legend b { font-weight:650; }
|
|
.flow-legend-dot { width:8px; height:8px; border-radius:50%; background:var(--muted); }
|
|
.flow-legend-dot.input { background:var(--teal); }
|
|
.flow-legend-dot.logic { background:var(--purple); }
|
|
.flow-legend-dot.action { background:var(--accent); }
|
|
.simulation-flow-scroll { overflow:auto; max-width:100%; scrollbar-width:thin; }
|
|
.simulation-flow-board { position:relative; min-width:1325px; background-color:var(--surface-muted); background-image:radial-gradient(circle,var(--grid) 1px,transparent 1.5px); background-size:20px 20px; }
|
|
.flow-links { position:absolute; inset:0; z-index:1; pointer-events:none; overflow:visible; }
|
|
.flow-link { fill:none; stroke:color-mix(in srgb,var(--muted) 48%,transparent); stroke-width:2; vector-effect:non-scaling-stroke; }
|
|
.flow-link.bus { stroke-dasharray:5 6; opacity:.55; }
|
|
.flow-link.input-link { stroke:color-mix(in srgb,var(--teal) 65%,var(--muted)); }
|
|
.flow-link.logic-link { stroke:color-mix(in srgb,var(--purple) 58%,var(--muted)); }
|
|
.flow-link.action-link { stroke:color-mix(in srgb,var(--accent) 60%,var(--muted)); }
|
|
.flow-link.active-link { stroke:var(--accent); stroke-width:3; filter:drop-shadow(0 0 4px color-mix(in srgb,var(--accent) 35%,transparent)); }
|
|
.flow-link.night-link { stroke:var(--info); stroke-dasharray:6 5; stroke-width:2.5; }
|
|
.flow-lane-label { position:absolute; z-index:2; left:45px; width:1230px; display:flex; align-items:center; gap:9px; color:var(--muted); font-size:11px; }
|
|
.flow-lane-label::after { content:""; height:1px; flex:1; background:var(--line); }
|
|
.flow-lane-label strong { color:var(--text-soft); font-size:12px; }
|
|
.flow-node { position:absolute; z-index:3; display:grid; align-content:start; gap:6px; padding:12px 13px; border:1px solid var(--line-strong); border-radius:12px; background:color-mix(in srgb,var(--surface) 96%,transparent); box-shadow:0 8px 24px rgba(0,0,0,.15); }
|
|
.flow-node.input { border-left:3px solid var(--teal); }
|
|
.flow-node.logic { border-left:3px solid var(--purple); }
|
|
.flow-node.action { border-left:3px solid var(--accent); }
|
|
.flow-node.event { border-left:3px solid var(--info); }
|
|
.flow-node.decision.demand { box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 28%,transparent),0 8px 24px rgba(0,0,0,.15); }
|
|
.flow-node.global { min-height:106px; }
|
|
.flow-node.night-active { border-color:color-mix(in srgb,var(--info) 45%,var(--line-strong)); }
|
|
.flow-node-top { display:flex; align-items:center; justify-content:space-between; gap:6px; color:var(--muted); font-size:9px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
|
|
.flow-node h3 { overflow:hidden; margin:0; color:var(--text); font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
|
|
.flow-node > strong { color:var(--text); font-size:17px; line-height:1.25; }
|
|
.flow-node p { display:-webkit-box; overflow:hidden; margin:0; color:var(--muted); font-size:10px; line-height:1.35; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
|
|
.flow-node-badge { max-width:86px; overflow:hidden; padding:3px 6px; border-radius:999px; color:var(--muted); background:var(--surface-muted); font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
|
|
.flow-node-badge.active { color:var(--accent); background:color-mix(in srgb,var(--accent) 12%,var(--surface)); }
|
|
.flow-port { position:absolute; top:50%; width:9px; height:9px; margin-top:-5px; border:2px solid var(--surface); border-radius:50%; background:var(--muted); }
|
|
.flow-port.in { left:-6px; }
|
|
.flow-port.out { right:-6px; }
|
|
.flow-node.input .flow-port { background:var(--teal); }
|
|
.flow-node.logic .flow-port { background:var(--purple); }
|
|
.flow-node.action .flow-port { background:var(--accent); }
|
|
.flow-node.event .flow-port { background:var(--info); }
|
|
|
|
@media (max-width: 760px) {
|
|
.history-toolbar-panel .chart-toolbar { grid-template-columns:1fr 1fr; }
|
|
.history-context-controls { grid-column:1/-1; }
|
|
.history-refresh-button { grid-column:auto; }
|
|
.settings-grid { grid-template-columns:1fr; }
|
|
.settings-grid .wide { grid-column:auto; }
|
|
.settings-save-bar { bottom:76px; }
|
|
.sensor-alias-row, .sensor-alias-add { grid-template-columns:1fr; }
|
|
.sensor-alias-clear { justify-self:end; }
|
|
.logs-toolbar { grid-template-columns:1fr; align-items:stretch; }
|
|
.simulation-flow-head { align-items:flex-start; flex-direction:column; }
|
|
}
|
|
|
|
/* v0.5.4: settings headers no longer use decorative icons. */
|
|
.settings-block-head { gap:0; }
|
|
.device-capability-panel { display:grid; gap:8px; padding:12px 0 2px; }
|
|
.device-capability-panel > small { color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.08em; }
|
|
.device-capability-buttons { display:flex; flex-wrap:wrap; gap:7px; }
|
|
.device-capability-buttons button { min-height:34px; padding:7px 11px; border:1px solid var(--line); border-radius:11px; background:var(--surface-muted); color:var(--text); }
|
|
.device-capability-buttons button.active { border-color:var(--accent); color:var(--accent); }
|
|
|
|
/* compact, centered unit-feature controls */
|
|
.device-capability-panel { justify-items:center; text-align:center; padding:11px 0 3px; }
|
|
.device-capability-panel > small { text-align:center; }
|
|
.device-capability-buttons { justify-content:center; align-items:center; gap:6px; max-width:100%; }
|
|
.device-capability-buttons button { min-height:28px; padding:5px 9px; border-radius:10px; color:var(--muted); font-size:10px; line-height:1.1; background:transparent; }
|
|
.device-capability-buttons button:hover { color:var(--text); background:var(--surface-muted); }
|
|
.device-capability-buttons button.active { color:var(--accent); background:color-mix(in srgb, var(--accent) 12%, var(--surface)); border-color:color-mix(in srgb, var(--accent) 45%, var(--line)); }
|
|
.standalone-settings-form { max-width:1100px; }
|
|
|
|
.copy-settings-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.6rem;align-items:end}.notification-provider{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.log-row{display:grid;grid-template-columns:5.5rem 7rem minmax(9rem,auto) 1fr;gap:.75rem;align-items:center;border-left:4px solid transparent}.log-row.error{border-left-color:var(--danger,#d9544d)}.log-row.warn{border-left-color:#c98a21}.log-row.info{border-left-color:var(--accent,#4d9c7d)}.log-category{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;opacity:.7}.category-device .log-category:before{content:'▣ '}.category-zone .log-category:before{content:'◎ '}.category-automation .log-category:before{content:'⚙ '}.category-integration .log-category:before{content:'↔ '}.category-settings .log-category:before{content:'☷ '}.category-system .log-category:before{content:'• '}@media(max-width:720px){.copy-settings-row,.notification-provider{grid-template-columns:1fr}.log-row{grid-template-columns:4.5rem 1fr}.log-row .kind,.log-row .message{grid-column:2}.logs-toolbar{align-items:stretch}}
|
|
|
|
/* Group controls and standalone simulator */
|
|
[hidden] { display:none !important; }
|
|
.dashboard-group-panel { display:grid; gap:14px; margin-bottom:18px; }
|
|
.dashboard-group-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
|
|
.dashboard-group-head h3 { margin:3px 0 5px; }
|
|
.dashboard-group-head p { margin:0; color:var(--muted); line-height:1.45; }
|
|
.group-quick-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr)); gap:12px; }
|
|
.group-card { display:grid; gap:13px; }
|
|
.group-card.group-off { opacity:.78; }
|
|
.group-state-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
|
|
.group-state-summary > div { padding:10px; border:1px solid var(--line); border-radius:12px; background:var(--surface-muted); }
|
|
.group-state-summary small,.group-control-block > small { display:block; margin-bottom:5px; color:var(--muted); font-size:10px; text-transform:uppercase; letter-spacing:.06em; }
|
|
.group-state-summary strong { display:block; overflow:hidden; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
|
|
.group-control-block { display:grid; gap:6px; }
|
|
.group-button-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
|
|
.group-button-row button,.group-mode-row button,.group-preset-row button { min-height:36px; }
|
|
.group-button-row button.active { color:var(--accent-text); background:var(--accent); font-weight:800; }
|
|
.group-zone-choices { display:grid; gap:7px; max-height:300px; overflow:auto; }
|
|
.group-zone-choice { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:10px; padding:10px; border:1px solid var(--line); border-radius:12px; background:var(--surface-muted); }
|
|
.group-zone-choice input { width:18px; min-height:18px; accent-color:var(--accent); }
|
|
.group-zone-choice strong,.group-zone-choice small { display:block; }
|
|
.group-zone-choice small { margin-top:3px; color:var(--muted); font-size:10px; }
|
|
.simulation-page-head { align-items:flex-start; }
|
|
.simulation-head-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
|
|
.simulation-scope-toolbar { display:flex; align-items:end; gap:12px; margin-bottom:16px; padding:14px; }
|
|
.simulation-scope-toolbar label { min-width:min(260px,100%); }
|
|
body.simulation-standalone .topbar,body.simulation-standalone .bottom-nav { display:none !important; }
|
|
body.simulation-standalone main { width:100%; max-width:none; margin:0; padding:18px; }
|
|
body.simulation-standalone [data-view="simulation"] { min-height:calc(100vh - 36px); }
|
|
:fullscreen main { width:100%; max-width:none; padding:18px; }
|
|
:fullscreen .topbar,:fullscreen .bottom-nav { display:none !important; }
|
|
@media (max-width:720px) {
|
|
.dashboard-group-head,.simulation-page-head { align-items:stretch; flex-direction:column; }
|
|
.simulation-head-actions { justify-content:stretch; }
|
|
.simulation-head-actions button { flex:1 1 180px; }
|
|
.simulation-scope-toolbar { align-items:stretch; flex-direction:column; }
|
|
.group-state-summary { grid-template-columns:1fr; }
|
|
}
|
|
|
|
/* Dashboard hierarchy: compact global controls -> wrapped groups -> on-demand details. */
|
|
[data-view="dashboard"] .hero { min-height:164px; padding:24px 28px; border-radius:24px; }
|
|
[data-view="dashboard"] .hero h1 { margin-bottom:6px; }
|
|
[data-view="dashboard"] .hero-temp { font-size:clamp(44px,8vw,68px); }
|
|
[data-view="dashboard"] .metrics { gap:10px; margin:10px 0 20px; }
|
|
[data-view="dashboard"] .metric { padding:14px 16px; border-radius:15px; }
|
|
[data-view="dashboard"] .metric span { margin-bottom:5px; }
|
|
[data-view="dashboard"] .metric strong { font-size:21px; }
|
|
.dashboard-global-panel { display:grid; gap:14px; padding:16px 18px; margin:0 0 20px; }
|
|
.dashboard-global-power { display:flex; align-items:center; justify-content:space-between; gap:16px; }
|
|
.dashboard-global-power h3 { margin:2px 0 3px; font-size:18px; }
|
|
.dashboard-global-power p { margin:0; max-width:680px; color:var(--muted); font-size:11px; line-height:1.4; }
|
|
.dashboard-global-divider { height:1px; background:var(--line); }
|
|
.dashboard-house-climate { margin:0; gap:12px; }
|
|
.dashboard-house-climate .house-climate-head h3 { font-size:18px; }
|
|
.dashboard-house-climate .house-climate-head p { font-size:11px; }
|
|
.dashboard-house-climate .outside-pill { padding:8px 11px; }
|
|
.dashboard-house-climate .house-mode-row button { min-height:38px; padding:8px 10px; }
|
|
.dashboard-house-climate .house-preset-row { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; overflow:visible; padding:0; }
|
|
.dashboard-house-climate .house-preset-row button { min-width:0; min-height:36px; padding:7px 8px; font-size:11px; }
|
|
.dashboard-primary-section { margin-bottom:18px; }
|
|
.dashboard-section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin:0 0 10px; }
|
|
.dashboard-section-head h2 { margin:3px 0 4px; font-size:21px; }
|
|
.dashboard-section-head p { margin:0; max-width:720px; color:var(--muted); font-size:11px; line-height:1.4; }
|
|
.dashboard-section-actions { display:flex; align-items:center; flex:0 0 auto; gap:7px; }
|
|
.dashboard-section-actions .badge { min-width:28px; justify-content:center; }
|
|
.dashboard-section-actions button { min-height:36px; padding:8px 11px; }
|
|
/* Groups wrap into rows. Horizontal scrolling is intentionally disabled on the dashboard. */
|
|
.dashboard-group-strip { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); gap:10px; overflow:visible; padding:0; }
|
|
.dashboard-group-strip .group-card { min-width:0; padding:13px; gap:8px; }
|
|
.dashboard-group-strip .list-card-head { gap:9px; }
|
|
.dashboard-group-strip .list-card-head h3 { font-size:16px; }
|
|
.dashboard-group-strip .list-card-head p { display:-webkit-box; overflow:hidden; max-width:none; font-size:11px; line-height:1.35; -webkit-box-orient:vertical; -webkit-line-clamp:2; white-space:normal; }
|
|
.dashboard-group-strip .badge { padding:4px 7px; font-size:10px; }
|
|
.dashboard-group-strip .group-control-block { gap:4px; }
|
|
.dashboard-group-strip .group-control-block > small { margin-bottom:1px; font-size:9px; }
|
|
.dashboard-group-strip .group-button-row { gap:5px; }
|
|
.dashboard-group-strip .group-mode-row,
|
|
.dashboard-group-strip .group-preset-row { display:grid; gap:5px; overflow:visible; padding:0; }
|
|
.dashboard-group-strip .group-mode-row { grid-template-columns:repeat(3,minmax(0,1fr)); }
|
|
.dashboard-group-strip .group-preset-row { grid-template-columns:repeat(4,minmax(0,1fr)); }
|
|
.dashboard-group-strip .group-button-row button,
|
|
.dashboard-group-strip .group-mode-row button,
|
|
.dashboard-group-strip .group-preset-row button { min-width:0; min-height:32px; padding:6px 5px; font-size:10px; line-height:1.15; }
|
|
.dashboard-secondary-stack { display:grid; gap:8px; margin-top:4px; }
|
|
.dashboard-disclosure { overflow:hidden; padding:0; }
|
|
.dashboard-disclosure > summary { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:13px 15px; cursor:pointer; list-style:none; user-select:none; }
|
|
.dashboard-disclosure > summary::-webkit-details-marker { display:none; }
|
|
.dashboard-disclosure > summary h3 { margin:2px 0 0; font-size:16px; }
|
|
.dashboard-disclosure > summary .eyebrow { font-size:9px; }
|
|
.dashboard-summary-side { display:flex; align-items:center; gap:10px; }
|
|
.dashboard-summary-side .badge { min-width:28px; justify-content:center; }
|
|
.dashboard-disclosure-chevron { display:inline-block; color:var(--muted); font-size:18px; line-height:1; transition:transform .18s ease; }
|
|
.dashboard-disclosure[open] > summary { border-bottom:1px solid var(--line); }
|
|
.dashboard-disclosure[open] .dashboard-disclosure-chevron { transform:rotate(180deg); }
|
|
.dashboard-disclosure-body { padding:12px; }
|
|
.dashboard-disclosure-body .automation-plan-grid,
|
|
.dashboard-disclosure-body .dashboard-zones { margin-bottom:0; }
|
|
.dashboard-disclosure-body .device-grid,
|
|
.dashboard-disclosure-body .list-grid,
|
|
.dashboard-disclosure-body .automation-plan-grid { gap:10px; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); }
|
|
/* Dashboard quick controls share one compact visual language. */
|
|
.quick-control-card {
|
|
--quick-control-height:28px;
|
|
--quick-control-gap:4px;
|
|
padding:14px;
|
|
}
|
|
.quick-control-card .quick-control-row {
|
|
display:grid;
|
|
gap:var(--quick-control-gap);
|
|
overflow:visible;
|
|
padding:2px 0 5px;
|
|
}
|
|
.quick-control-card .quick-control-row-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
|
|
.quick-control-card .quick-control-row-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
|
|
.quick-control-card .quick-control-row-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
|
|
.quick-control-card .quick-control-row-5 { grid-template-columns:repeat(5,minmax(0,1fr)); }
|
|
/* Polish mode labels are noticeably wider than Auto/Nawiew/Grzanie.
|
|
Give Cool/Dry more room instead of shrinking or clipping their text. */
|
|
.quick-device-control .mode-row.quick-control-row-5 {
|
|
grid-template-columns:minmax(0,.8fr) minmax(0,1.35fr) minmax(0,1.2fr) minmax(0,.85fr) minmax(0,.8fr);
|
|
}
|
|
.quick-device-control .mode-row.quick-control-row-5 button { padding-inline:3px; }
|
|
.quick-control-card .quick-control-row button {
|
|
min-width:0;
|
|
min-height:var(--quick-control-height);
|
|
padding:4px 5px;
|
|
font-size:9px;
|
|
line-height:1.05;
|
|
white-space:nowrap;
|
|
}
|
|
.quick-control-card .power-button { width:38px; height:38px; font-size:18px; }
|
|
.quick-control-card .temperature-control button { width:34px; height:34px; font-size:18px; }
|
|
.quick-control-card .target-temp { min-width:80px; font-size:32px; }
|
|
.quick-control-card .device-title h3,
|
|
.quick-control-card .list-card-head h3 { font-size:16px; }
|
|
.quick-control-card .device-title p,
|
|
.quick-control-card .list-card-head p { font-size:11px; }
|
|
.quick-device-control .temperature-control { gap:12px; padding:12px 0 10px; }
|
|
.quick-device-control .current-line { margin:-3px 0 10px; font-size:11px; }
|
|
.quick-device-control .device-toggles.quick-control-row { margin-top:1px; }
|
|
.quick-thermostat-control .zone-local-thermostat-power { display:flex; margin-top:6px; }
|
|
.quick-thermostat-control .zone-local-thermostat-power .zone-unit-power-toggle { width:100%; min-height:30px; font-size:10px; }
|
|
.quick-thermostat-control .zone-local-thermostat-power .zone-unit-power-toggle.active { color:var(--accent-text); background:var(--accent); font-weight:800; }
|
|
.quick-thermostat-control .thermostat-main { margin:8px 0 7px; }
|
|
.quick-thermostat-control .zone-enable-toggle { min-height:28px; padding:4px 8px; font-size:10px; }
|
|
|
|
@media (max-width: 700px) {
|
|
[data-view="dashboard"] .hero { min-height:145px; padding:20px; }
|
|
[data-view="dashboard"] .metrics { margin-bottom:16px; }
|
|
[data-view="dashboard"] .metric { padding:12px; }
|
|
.dashboard-global-panel { padding:14px; margin-bottom:18px; }
|
|
.dashboard-global-power { align-items:stretch; flex-direction:column; }
|
|
.dashboard-global-power .house-power-actions { display:grid; grid-template-columns:1fr 1fr; }
|
|
.dashboard-house-climate .house-preset-row { grid-template-columns:repeat(2,minmax(0,1fr)); }
|
|
.dashboard-section-head { align-items:stretch; flex-direction:column; gap:10px; }
|
|
.dashboard-section-actions { justify-content:space-between; }
|
|
.dashboard-section-actions button { flex:1; }
|
|
.dashboard-group-strip { grid-template-columns:1fr; }
|
|
.dashboard-group-strip .group-preset-row { grid-template-columns:repeat(2,minmax(0,1fr)); }
|
|
.dashboard-disclosure > summary { padding:12px 13px; }
|
|
.dashboard-disclosure-body { padding:10px; }
|
|
}
|
|
|
|
/* 0.6.9 dashboard density and fit fixes */
|
|
[data-view="dashboard"] .dashboard-summary-card {
|
|
min-height:0;
|
|
align-items:center;
|
|
gap:14px;
|
|
padding:13px 16px;
|
|
border-radius:18px;
|
|
}
|
|
[data-view="dashboard"] .dashboard-summary-card::after { width:100px; height:100px; right:-44px; bottom:-64px; border-width:18px; }
|
|
[data-view="dashboard"] .dashboard-summary-copy { min-width:0; }
|
|
[data-view="dashboard"] .dashboard-summary-copy .eyebrow { font-size:9px; }
|
|
[data-view="dashboard"] .dashboard-summary-copy h1 { margin:2px 0 3px; font-size:20px; letter-spacing:-.025em; }
|
|
[data-view="dashboard"] .dashboard-summary-copy p { font-size:11px; line-height:1.3; }
|
|
[data-view="dashboard"] .dashboard-summary-status { z-index:1; display:flex; align-items:center; justify-content:flex-end; min-width:0; gap:10px; }
|
|
[data-view="dashboard"] .dashboard-summary-status .metrics { display:flex; align-items:center; gap:5px; margin:0; }
|
|
[data-view="dashboard"] .dashboard-summary-status .metric { display:flex; align-items:baseline; gap:5px; min-width:0; padding:6px 8px; border-radius:11px; background:var(--surface-muted); }
|
|
[data-view="dashboard"] .dashboard-summary-status .metric span { margin:0; font-size:9px; white-space:nowrap; }
|
|
[data-view="dashboard"] .dashboard-summary-status .metric strong { font-size:13px; line-height:1; }
|
|
[data-view="dashboard"] .dashboard-summary-status .hero-temp { min-width:72px; font-size:31px; letter-spacing:-.045em; text-align:right; }
|
|
|
|
/* Quick thermostat: target control gets its own row, readings no longer collide with it. */
|
|
#dashboardZones { grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); }
|
|
.quick-thermostat-control { min-width:0; }
|
|
.quick-thermostat-control .thermostat-main {
|
|
grid-template-columns:minmax(0,1fr) minmax(0,1fr);
|
|
grid-template-areas:"control control" "room device";
|
|
gap:5px 10px;
|
|
margin:8px 0 7px;
|
|
}
|
|
.quick-thermostat-control .thermostat-main > div:first-child { grid-area:room; min-width:0; text-align:left; }
|
|
.quick-thermostat-control .thermostat-main > .temperature-control { grid-area:control; }
|
|
.quick-thermostat-control .thermostat-main > div:last-child { grid-area:device; min-width:0; text-align:right; }
|
|
.quick-thermostat-control .thermostat-main small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
.quick-thermostat-control .thermostat-main strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:14px; }
|
|
.quick-thermostat-control .thermostat-main .temperature-control.compact { gap:12px; padding:0 0 2px; }
|
|
.quick-thermostat-control .thermostat-main .temperature-control.compact button { width:34px; height:34px; font-size:18px; }
|
|
.quick-thermostat-control .thermostat-main .target-temp.compact { min-width:80px; font-size:32px; }
|
|
.quick-thermostat-control .list-card-head h3 { font-size:16px; }
|
|
.quick-thermostat-control .list-card-head p { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; }
|
|
.quick-thermostat-control .zone-enable-toggle { flex:0 0 auto; }
|
|
.quick-thermostat-control .zone-state-line { gap:8px; font-size:10px; }
|
|
.quick-thermostat-control .zone-state-line span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
|
|
/* Smaller Node-RED/simulator-like plan blocks with explicit group context. */
|
|
#controlPlan.automation-plan-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr)); gap:8px; }
|
|
#controlPlan .plan-card { min-height:0; gap:7px; padding:11px; border-radius:14px; }
|
|
#controlPlan .plan-card-head { gap:7px; }
|
|
#controlPlan .plan-card-head h3 { margin-top:1px; font-size:15px; line-height:1.2; }
|
|
#controlPlan .plan-card-head .eyebrow { font-size:8px; line-height:1.25; }
|
|
#controlPlan .plan-card .badge { max-width:100px; padding:4px 6px; overflow:hidden; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
|
|
#controlPlan .plan-card > p { font-size:10px; line-height:1.3; }
|
|
#controlPlan .plan-temp { gap:5px; }
|
|
#controlPlan .plan-temp > span { font-size:15px; }
|
|
#controlPlan .plan-temp > strong { font-size:21px; }
|
|
#controlPlan .plan-group-state { display:flex; align-items:center; gap:5px; min-width:0; color:var(--text-soft); font-size:11px; }
|
|
#controlPlan .plan-group-state strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
#controlPlan .plan-group { border-color:color-mix(in srgb,var(--accent) 20%,var(--line)); background:color-mix(in srgb,var(--surface) 97%,var(--accent)); }
|
|
#controlPlan .plan-events { gap:4px; padding-top:6px; }
|
|
#controlPlan .plan-events li { grid-template-columns:62px minmax(0,1fr); gap:5px; font-size:9px; line-height:1.3; }
|
|
#controlPlan .plan-events li span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
#controlPlan .plan-events .muted { white-space:normal; }
|
|
|
|
@media (max-width: 900px) {
|
|
[data-view="dashboard"] .dashboard-summary-card { align-items:flex-start; }
|
|
[data-view="dashboard"] .dashboard-summary-status { flex-wrap:wrap; }
|
|
[data-view="dashboard"] .dashboard-summary-status .metrics { order:2; width:100%; justify-content:flex-end; }
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
[data-view="dashboard"] .dashboard-summary-card { min-height:0; padding:12px 13px; }
|
|
[data-view="dashboard"] .dashboard-summary-copy h1 { font-size:18px; }
|
|
[data-view="dashboard"] .dashboard-summary-status { align-self:center; }
|
|
[data-view="dashboard"] .dashboard-summary-status .metrics { display:none; }
|
|
[data-view="dashboard"] .dashboard-summary-status .hero-temp { min-width:64px; font-size:27px; }
|
|
#dashboardZones { grid-template-columns:1fr; }
|
|
#controlPlan.automation-plan-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr)); }
|
|
}
|
|
[data-view="dashboard"] .dashboard-summary-card { margin-bottom:10px; }
|
|
|
|
/* 0.7.2: Zones are configuration cards; live controls stay on the Dashboard. */
|
|
.zone-config-card { display:grid; gap:12px; overflow:hidden; }
|
|
.zone-config-card.demanding { border-color:color-mix(in srgb,var(--accent) 38%,var(--line)); }
|
|
.zone-config-card.zone-disabled .zone-config-status { opacity:.68; }
|
|
.zone-config-status { display:grid; grid-template-columns:minmax(150px,.8fr) minmax(180px,1.2fr); align-items:center; gap:12px; padding:11px 12px; border:1px solid var(--line); border-radius:14px; background:var(--surface-muted); }
|
|
.zone-config-temperature > small, .zone-config-grid small { display:block; margin-bottom:4px; color:var(--muted); font-size:9px; text-transform:uppercase; letter-spacing:.06em; }
|
|
.zone-config-temperature > div { display:flex; align-items:baseline; gap:7px; }
|
|
.zone-config-temperature span { color:var(--muted); font-size:18px; }
|
|
.zone-config-temperature b { color:var(--muted); font-size:11px; }
|
|
.zone-config-temperature strong { font-size:23px; letter-spacing:-.03em; }
|
|
.zone-config-runtime { display:grid; justify-items:end; gap:4px; min-width:0; color:var(--text-soft); font-size:11px; text-align:right; }
|
|
.zone-config-runtime > span:not(.badge), .zone-config-runtime small { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
.zone-config-runtime small { color:var(--muted); }
|
|
.zone-config-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
|
|
.zone-config-grid > div { min-width:0; padding:9px 10px; border:1px solid var(--line); border-radius:12px; background:var(--surface-muted); }
|
|
.zone-config-grid strong { display:block; overflow:hidden; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
|
|
#zoneList .zone-config-card .sensor-detail { margin-top:0; }
|
|
#zoneList .zone-config-card .card-footer { align-items:flex-start; margin-top:0; }
|
|
#zoneList .zone-config-card .card-footer > small { flex:1 1 auto; min-width:0; overflow:visible; text-overflow:clip; white-space:normal; line-height:1.35; }
|
|
#zoneList .zone-config-card .card-menu { flex:0 0 auto; flex-wrap:wrap; justify-content:flex-end; }
|
|
#zoneList .zone-config-card .card-menu .primary { color:var(--accent-text); background:var(--accent); }
|
|
|
|
@media (max-width:620px) {
|
|
.zone-config-status { grid-template-columns:1fr; }
|
|
.zone-config-runtime { justify-items:start; text-align:left; }
|
|
.zone-config-grid { grid-template-columns:1fr; }
|
|
#zoneList .zone-config-card .card-footer { flex-direction:column; }
|
|
#zoneList .zone-config-card .card-menu { width:100%; justify-content:flex-start; }
|
|
}
|
|
|
|
/* 0.7.1+: quick thermostats and quick manual control use the shared quick-control classes above. */
|