/* Layout and palette from SE-LTD, with gateway screens sharing the same shell. */ /* Theme colors live in styles.css only; layout must not overwrite the palette. */ :root { font-family: "Segoe UI", Tahoma, sans-serif; font-size: 12px; } body { min-width:360px; font-size:12px; } [hidden] { display:none !important; } .shell { grid-template-columns:184px minmax(0,1fr); } .sidebar { position:sticky; top:0; height:100dvh; overflow-y:auto; padding:12px 9px 10px; display:flex; flex-direction:column; border-left:5px solid transparent; border-image:linear-gradient(#ef4444,#dc3b68 55%,#4f8df7) 1; border-right:1px solid var(--line); } .shell.unpinned .sidebar { position:relative; } .brand { padding:0 0 12px; gap:8px; font-size:12px; letter-spacing:0; line-height:1.15; border-bottom:1px solid var(--line); margin-bottom:10px; } .brand-logo { width:32px; height:32px; } .brand .pin { margin-left:auto; padding:5px 7px; } .eyebrow { color:#ef4444; font-size:9px; font-weight:400; letter-spacing:.12em; } .nav { gap:6px; } .nav button { border:1px solid var(--line); color:var(--text); border-radius:12px; padding:9px 10px; } .nav button.active { color:#ef4444; background:#ef444412; border-color:#ef444440; box-shadow:none; } .sidebar-foot { position:static; margin-top:auto; padding:10px 0 0; border-top:1px solid var(--line); gap:8px; } .sidebar-foot .btn { justify-self:start; } .sidebar-foot small { font-size:9px; text-align:center; } .documentation-card { padding:16px 20px; } .documentation-markdown { max-width:112ch; font-size:13px; line-height:1.6; overflow-wrap:anywhere; } .documentation-markdown :is(h1,h2,h3,h4,h5,h6) { margin:1.15em 0 .45em; scroll-margin-top:12px; } .documentation-markdown h1 { font-size:23px; margin-top:0; } .documentation-markdown h2 { font-size:17px; } .documentation-markdown h3 { font-size:15px; } .documentation-markdown p { margin:0 0 10px; } .documentation-markdown :is(ul,ol) { margin:0 0 12px; padding-left:24px; } .documentation-markdown li + li { margin-top:3px; } .documentation-markdown a { color:var(--blue); text-decoration:underline; } .documentation-markdown hr { border:0; border-top:1px solid var(--line); margin:18px 0; } .documentation-markdown blockquote { border-left:3px solid var(--blue); margin:10px 0; padding:5px 12px; } .documentation-markdown pre { overflow:auto; border:1px solid var(--line); border-radius:8px; background:var(--panel-2); padding:10px; } .documentation-markdown :not(pre) > code { background:var(--panel-2); padding:1px 4px; border-radius:4px; } .documentation-markdown table { margin:3px 0 10px; } .documentation-markdown :is(td,th) { text-align:left; vertical-align:top; } .documentation-markdown img { max-width:100%; } .theme-control { display:grid; gap:6px; } .theme-caption { color:var(--muted); font-size:10px; } .sidebar-foot .theme-toggle { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:3px; } .sidebar-foot .theme-option { padding:7px 2px; font-size:10px; } .theme-option.active { background:var(--blue-soft); color:var(--blue); border-color:var(--blue); } #theme-message:empty { display:none; } #theme-message { font-size:10px; margin:0; } .user-caption { display:grid; gap:6px; } .user-caption strong { color:var(--text); font-size:11px; overflow-wrap:anywhere; } .content { max-width:none; min-width:0; padding:12px 12px 28px; } .topline { margin-bottom:10px; min-height:27px; } h1 { font-size:13px; font-weight:600; letter-spacing:0; } h2 { font-size:14px; } .status { font-size:10px; } .grid { gap:10px; } .grid.equal { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; } .grid.two { grid-template-columns:minmax(300px,1fr) minmax(0,1.4fr); } .card { border-radius:14px; padding:12px; min-width:0; background:var(--panel); color:var(--text); box-shadow:0 12px 30px #0000000d; } .card-head { margin-bottom:10px; } .card-head .note { margin-top:3px; } input,select,textarea { border-radius:10px; min-height:34px; padding:7px 10px; } input[type="checkbox"] { min-height:0; accent-color:#93c5fd; } input[type="color"] { padding:4px; width:36px; flex:0 0 36px; } .btn,.theme-option { border-radius:18px; padding:7px 11px; background:transparent; font-size:11px; } .btn.primary { border-color:transparent; background:linear-gradient(135deg,#ef4444,#b8275a 62%,#4f8df7); } .btn:disabled { cursor:not-allowed; opacity:.5; } .tabs { display:flex; flex-wrap:wrap; gap:5px; margin-bottom:10px; } .tabs .btn { border-radius:12px; min-height:33px; } .tabs .active { color:#ef4444; border-color:#ef444440; background:#ef444412; } .protocol-tabs { padding-bottom:10px; border-bottom:1px solid var(--line); } .protocol-tabs .active { color:var(--blue); border-color:var(--blue); background:var(--blue-soft); } .protocol-panel { min-width:0; } .bacnet-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); grid-template-areas:"settings devices" "search devices"; grid-template-rows:auto 1fr; align-items:start; gap:10px; } #bacnet-browser { display:contents; } .bacnet-settings { grid-area:settings; } .bacnet-search { grid-area:search; } .bacnet-settings .note,.bacnet-search .note { margin:4px 0; } .bacnet-devices { grid-area:devices; position:sticky; top:12px; display:flex; flex-direction:column; max-height:max(240px,calc(100dvh - 145px)); } .bacnet-device-scroll { min-height:0; overflow:auto; overscroll-behavior:contain; scrollbar-color:var(--line-strong) transparent; } .bacnet-device-scroll thead th { position:sticky; top:0; z-index:1; background:var(--panel-2); padding-top:8px; } .bacnet-device-scroll:focus-visible { outline:2px solid var(--blue); outline-offset:-2px; } .bacnet-object-panel { min-height:0; display:flex; flex-direction:column; gap:8px; } .bacnet-object-panel .buttons { flex-wrap:wrap; } .bacnet-object-panel input[type="checkbox"] { width:auto; } .mapping-batch { margin-bottom:10px; } .mapping-batch .point-tabs { display:flex; flex-wrap:wrap; gap:5px; margin-bottom:10px; } .mapping-batch .point-tabs .active { color:var(--blue); border-color:var(--blue); background:var(--blue-soft); } .mapping-batch-grid { align-items:start; } .mapping-batch [data-bulk-modbus]:not([hidden]) { display:grid; gap:8px; } .bulk-point-list { max-height:36dvh; margin-top:8px; } .bulk-point-list thead th { position:sticky; top:0; z-index:1; background:var(--panel-2); } .bulk-point-list td:first-child { width:5rem; } .bulk-point-list input { width:auto; } .bulk-point-list tr[data-bulk-point] { cursor:pointer; } .bulk-point-list tr:has(input:checked) { background:var(--blue-soft); } [data-bulk-assignments] ul { max-height:24dvh; overflow:auto; overflow-wrap:anywhere; } .connection-status-card p { margin:6px 0; overflow-wrap:anywhere; } .connection-facts { display:grid; grid-template-columns:max-content minmax(0,1fr); gap:4px 12px; margin:6px 0; } .connection-facts dt { color:var(--muted); } .connection-facts dd { margin:0; overflow-wrap:anywhere; } .connection-issues { max-height:35dvh; overflow:auto; overflow-wrap:anywhere; } [data-mqtt-preview] { overflow-wrap:anywhere; } .mqtt-topic-placeholders { display:flex; flex-wrap:wrap; gap:5px; } .mqtt-topic-placeholders .btn { display:flex; flex-wrap:wrap; gap:5px; border-radius:8px; } .mqtt-topic-browser { margin-bottom:10px; } .mqtt-browser-start { align-self:end; } .mqtt-browser-content { margin-top:12px; } .mqtt-browser-selection { margin:8px 0; flex-wrap:wrap; } .mqtt-topic-tree { max-height:50dvh; min-height:70px; overflow:auto; border:1px solid var(--line); border-radius:10px; margin-top:8px; padding:6px; } .mqtt-topic-tree ul { padding:0 0 0 16px; margin:0; list-style:none; } .mqtt-topic-tree > ul { padding-left:0; } .mqtt-tree-row { display:flex; align-items:center; gap:7px; min-width:0; margin-bottom:3px; } .mqtt-tree-row .btn { white-space:nowrap; border-radius:7px; text-align:left; padding:4px 7px; } .mqtt-tree-row input { width:auto; flex:none; } .mqtt-tree-row .mqtt-topic-value { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .mqtt-topic-item[aria-pressed="true"] { color:var(--blue); border-color:var(--blue); } .mqtt-topic-detail { border:1px solid var(--line); border-radius:10px; padding:10px; min-width:0; } .mqtt-topic-detail h3 { margin:0 0 8px; } .mqtt-topic-preview,.mqtt-topic-path { white-space:pre-wrap; overflow-wrap:anywhere; } .list { display:grid; gap:4px; } .list-item { padding:7px 8px; border:1px solid var(--line); border-radius:12px; background:color-mix(in srgb,var(--panel-2) 50%,transparent); display:flex; align-items:center; justify-content:space-between; gap:10px; min-width:0; text-align:left; color:var(--text); } .list-item strong,.list-item .note { display:block; overflow-wrap:anywhere; } .list-item.active { border-color:var(--blue); } .scroll { max-height:60vh; overflow:auto; scrollbar-width:thin; scrollbar-color:var(--line-strong) transparent; } .alias-table { min-width:860px; } .alias-table th { text-transform:none; font-size:11px; letter-spacing:0; } .alias-table td { padding:3px 4px; border:0; vertical-align:middle; } .alias-table th:first-child,.alias-table td:first-child { color:#ef4444; width:85px; } .alias-table .color-field { display:flex; align-items:center; gap:6px; } .alias-table input { min-width:70px; } .alias-table input[type="color"] { min-width:36px; } .alias-table td:nth-child(2) { width:32%; } .alias-table td:nth-child(3) { width:18%; } .alias-table td:nth-child(4) { width:12%; } .alias-table td:nth-child(5) { width:12%; } .alias-table td:nth-child(6) { width:18%; } .full { grid-column:1/-1; } .form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } .alarm-destination { border:1px solid var(--line); border-radius:10px; padding:8px; display:grid; gap:8px; } .chart { display:block; width:100%; height:225px; } .chart-legend { display:flex; flex-wrap:wrap; gap:10px; color:var(--muted); font-size:11px; } .chart-legend i { display:inline-block; width:10px; height:3px; margin-right:5px; vertical-align:middle; } .widget-grid { margin-top:10px; } .table-scroll { overflow:auto; } .point-inventory { display:flex; flex-direction:column; max-height:max(16rem,calc(100dvh - 12rem)); } .point-inventory-scroll { min-height:0; overscroll-behavior:contain; scrollbar-color:var(--line-strong) transparent; } .point-inventory-scroll thead th { position:sticky; top:0; z-index:1; background:var(--panel-2); } .point-inventory-scroll:focus-visible { outline:2px solid var(--blue); outline-offset:-2px; } .empty { text-align:center; padding:28px 10px; } .runner-columns { min-height:230px; } details > summary { cursor:pointer; color:var(--muted); padding:7px 0; } button:focus-visible,a:focus-visible { outline:2px solid var(--blue); outline-offset:2px; } @media(min-width:1800px) { .alias-table .scroll { max-height:65vh; } } @media(max-width:1100px) { .grid.two,.grid.equal { grid-template-columns:1fr; } .point-inventory { max-height:max(16rem,60dvh); } .status { max-width:45%; text-align:right; } .bacnet-layout { grid-template-columns:minmax(0,1fr); grid-template-areas:"settings" "search" "devices"; grid-template-rows:auto; } .bacnet-devices { position:static; max-height:60dvh; } } @media(max-width:650px) { .shell { grid-template-columns:145px minmax(0,1fr); } .brand .pin { display:none; } .content { padding:10px 8px; } .form-grid,.row,.row.three { grid-template-columns:1fr; } .topline .status { display:none; } .sidebar { padding:10px 6px; } .brand { font-size:10px; } .card-head { flex-wrap:wrap; } }