SmartestHome/hosts/touch-panel/configs/eww/eww.scss

73 lines
1.3 KiB
SCSS

// Styling for the touch dock. Installed to
// /home/<KIOSK_USERNAME>/.config/eww/eww.scss by build-touch-panel-iso.sh.
//
// Touch targets are deliberately large (min ~72px tap area) — this is a finger
// interface, not a mouse one.
$bg: rgba(16, 16, 20, 0.96);
$fg: #e8e8ec;
$muted: #9a9aa6;
$accent: #6ea8fe;
.dock-root {
background-color: $bg;
padding: 6px 12px;
}
.dock-btn {
min-width: 84px;
min-height: 68px;
background-color: transparent;
border: none;
border-radius: 12px;
padding: 4px 10px;
color: $muted;
&:active {
background-color: rgba(255, 255, 255, 0.14);
}
}
.dock-btn-active {
background-color: rgba(110, 168, 254, 0.16);
color: $fg;
}
.dock-icon {
font-size: 26px;
}
.dock-label {
font-size: 13px;
font-weight: 500;
color: inherit;
}
.dock-sep {
min-width: 1px;
background-color: rgba(255, 255, 255, 0.12);
margin: 8px 4px;
}
/* The remote-microphone indicator. Red, because there is exactly one thing on this
dock that means "somebody in another room can hear you" and it should not have to
compete with the app buttons for attention. */
.mic-badge {
background-color: #7a1020;
border-radius: 8px;
padding: 0 12px;
margin-left: 8px;
}
.mic-dot {
color: #ff4d5e;
font-size: 16px;
}
.mic-text {
color: #ffd7dc;
font-size: 13px;
font-weight: bold;
}