Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
aec8bf58bThis file is pinned to the selected release. Download the original to open it in your design tool.
/* ==========================================================================
OWL Controller (Networked) - Layout
Kiosk viewport, header, main container
========================================================================== */
html, body {
width: 100vw;
height: 100vh;
overflow: hidden;
}
/* Header + tab bar + main stack as a flex column so the main area always
gets exactly the leftover height — no hardcoded calc() to keep in sync. */
body {
display: flex;
flex-direction: column;
}
/* Header */
.header {
background: var(--primary);
color: white;
padding: 0 1.5rem;
display: flex;
align-items: center;
height: 44px;
flex: 0 0 auto;
}
.header-content {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo-section {
display: flex;
align-items: center;
gap: 0.75rem;
}
.logo {
height: 32px;
width: auto;
}
.logo-section h1 {
font-size: 1.15rem;
font-weight: 600;
color: white;
margin: 0;
}
.mqtt-status,
.cloud-status {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.85rem;
}
/* Separator gap between the local-broker and cloud chips */
.header-status-group {
display: flex;
align-items: center;
gap: 1.25rem;
}
/* Main Container */
.main-container {
flex: 1 1 auto; /* whatever the header + tab bar leave over */
min-height: 0;
display: flex;
flex-direction: column;
align-items: center;
padding: 0.5rem 2rem;
gap: 0.5rem;
position: relative;
background: var(--background);
}
/* Short kiosk displays (Raspberry Pi Touch Display 2: 1280x720) — shave the
chrome so the content area keeps as much of the 720px as possible. */
@media (max-height: 760px) {
.header { height: 38px; padding: 0 1rem; }
.logo-section h1 { font-size: 1.05rem; }
.main-container { padding: 0.4rem 1rem; }
}