* { box-sizing: border-box; margin: 0; } html, body { height: 100%; } body { display: flex; flex-direction: column; background: var(--udt-base); color: var(--udt-text); font: 400 14px/20px "Noto Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; overflow: hidden; } .topbar { flex: none; display: flex; justify-content: center; padding: 8px 14px 0; } .tabs { display: flex; gap: 6px; } .tabs button { font: inherit; color: var(--udt-subtext0); background: transparent; border: 1px solid transparent; border-radius: 10px; padding: 8px 18px; cursor: pointer; } .tabs button.active { color: var(--udt-text); background: var(--udt-surface0); border-color: var(--udt-surface1); } #tab-body { flex: 1; min-height: 0; overflow: auto; } .tab-panel { padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); } .tab-panel[hidden] { display: none; } .tab-content { min-height: 100%; } .panel { min-height: 0; min-width: 0; } @property --border-angle { syntax: ""; initial-value: 0deg; inherits: false; } .grid-stack-item-content.panel { position: absolute; display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: 16px; background: var(--udt-surface0); border: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); } /* The same rotating three-hue gradient Hyprland draws on window borders, read from ~/.cache/udt/udt-border.lua via /theme.css. */ .grid-stack-item-content.panel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: linear-gradient(var(--border-angle), var(--udt-border-1), var(--udt-border-2), var(--udt-border-3), var(--udt-border-1)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none; /* Hyprland: speed 30 * 100 ms, flatlinetwo = linear, style = loop */ animation: border-rotate 3s linear infinite; } @keyframes border-rotate { to { --border-angle: 360deg; } } .panel-head { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--udt-mantle); border-bottom: 1px solid var(--udt-surface1); } .panel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--udt-accent); flex: none; } .panel .panel-head h2 { flex: 1; margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--udt-text); } .panel-drag { font: inherit; color: var(--udt-overlay0); background: transparent; border: 0; padding: 2px 6px; border-radius: 6px; cursor: grab; touch-action: none; } .panel-drag:hover { color: var(--udt-subtext0); background: var(--udt-surface1); } .panel-body { flex: 1; min-height: 0; overflow: auto; padding: 14px; } .section-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--udt-overlay0); margin: 12px 0 6px; } .section-label:first-child { margin-top: 0; } .music .top { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; } .music .art { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--udt-surface1); flex: none; } .music .art.empty { display: flex; align-items: center; justify-content: center; color: var(--udt-overlay0); font-size: 22px; } .music .meta { min-width: 0; } .music .title { font-size: 17px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .music .controls button { min-height: 40px; min-width: 44px; } .music .artist, .music .album { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .music .album { font-size: 12px; color: var(--udt-overlay0); } .music .seek { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; } .music .seek input { flex: 1; accent-color: var(--udt-accent); } .music .time { font-size: 12px; color: var(--udt-subtext0); white-space: nowrap; } .music .controls { display: flex; flex-wrap: wrap; gap: 8px; } .sbb .sbb-now { margin-bottom: 8px; font-size: 12px; font-weight: 600; } .grid-stack-item .ui-resizable-se { width: 22px; height: 22px; right: 2px; bottom: 2px; opacity: .45; } .grid-stack-item:hover .ui-resizable-se { opacity: 1; } .num { font-family: "Inconsolata Nerd Font Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; } .muted { color: var(--udt-overlay0); } button { font: inherit; color: inherit; background: var(--udt-surface1); border: 1px solid var(--udt-surface2); border-radius: 10px; padding: 10px 12px; cursor: pointer; touch-action: manipulation; } button:active { background: var(--udt-surface2); } button.on { background: var(--udt-accent); color: var(--udt-crust); border-color: var(--udt-accent); } .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; } .obs-scenes, .obs-sources { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; } .obs-audio .row span { flex: 1; min-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } select { font: inherit; color: inherit; background: var(--udt-surface1); border: 1px solid var(--udt-surface2); border-radius: 10px; padding: 8px; } .sbb .id { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .mtile { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--udt-surface1); min-width: 0; } .mlabel { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--udt-overlay0); } .mvalue { font-size: 26px; font-weight: 600; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .msub { font-size: 12px; color: var(--udt-subtext0); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .mfoot { margin-top: 10px; font-size: 12px; color: var(--udt-overlay0); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .windows { display: flex; flex-direction: column; gap: 14px; } .windows .ws { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; } .wtile { min-width: 56px; min-height: 56px; padding: 0 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600; border-radius: 12px; background: var(--udt-surface1); border: 1px solid var(--udt-surface2); color: var(--udt-subtext0); cursor: pointer; } .wtile.on { background: var(--udt-accent); color: var(--udt-crust); border-color: var(--udt-accent); } .wtile.launch { font-size: 13px; font-weight: 500; min-width: 0; } .windows .winlist { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; } .wrow { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px 0 10px; border-radius: 10px; background: var(--udt-surface1); } .wrow.on { color: var(--udt-accent); } .wt { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; } .wclose { flex: none; width: 36px; height: 36px; padding: 0; } .windows .launches { display: flex; flex-wrap: wrap; gap: 8px; } .llm { display: flex; flex-direction: column; gap: 10px; } .llm-sec { padding: 10px 12px; border-radius: 12px; background: var(--udt-mantle); border: 1px solid var(--udt-surface1); } .llm-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; } .brand { width: 18px; height: 18px; flex: none; background: var(--udt-accent); -webkit-mask-repeat: no-repeat; -webkit-mask-position: center; -webkit-mask-size: contain; mask-repeat: no-repeat; mask-position: center; mask-size: contain; } .brand.claude { -webkit-mask-image: url(/logos/claude.svg); mask-image: url(/logos/claude.svg); } .brand.opencode { -webkit-mask-image: url(/logos/opencode.svg); mask-image: url(/logos/opencode.svg); } .llm-head h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--udt-subtext0); flex: none; } .llm-head .model { margin-left: auto; max-width: 60%; font-size: 12px; color: var(--udt-overlay0); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; } .gauge { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 12px; background: var(--udt-surface1); } .glabel { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--udt-overlay0); } .gvalue { font-size: 24px; font-weight: 600; line-height: 1.1; } .gbar { height: 6px; background: var(--udt-surface2); border-radius: 3px; overflow: hidden; } .gbar > i { display: block; height: 100%; background: var(--udt-accent); } .lbig { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--udt-surface1); } .lpair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .good { color: var(--udt-green); } .bad { color: var(--udt-red); } .warn { color: var(--udt-yellow); } /* OBS stream-deck tab */ .deck { display: flex; flex-direction: column; gap: 14px; } .deck-transport { display: flex; gap: 12px; } .deck-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 92px; padding: 12px; font: inherit; font-size: 17px; font-weight: 600; border-radius: 16px; cursor: pointer; background: var(--udt-surface0); border: 1px solid var(--udt-surface1); color: var(--udt-text); } .deck-btn .ico { width: 28px; height: 28px; } .deck-btn .num { font-size: 20px; } .deck-btn.rec.on { background: var(--udt-red); border-color: var(--udt-red); color: var(--udt-crust); } .deck-btn.live.on { background: var(--udt-green); border-color: var(--udt-green); color: var(--udt-crust); } .deck-btn:active { background: var(--udt-surface1); } .deck-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; } @media (max-width: 900px) { .deck-cols { grid-template-columns: 1fr; } } .deck-block { background: var(--udt-surface0); border: 1px solid var(--udt-surface1); border-radius: 16px; padding: 12px; } .deck-block h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--udt-overlay0); margin-bottom: 10px; } .tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; } .tile { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 74px; padding: 10px; font: inherit; font-size: 14px; text-align: center; border-radius: 12px; cursor: pointer; overflow: hidden; background: var(--udt-surface1); border: 1px solid var(--udt-surface2); color: var(--udt-subtext0); } .tile .ico { width: 22px; height: 22px; flex: none; } .tile span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tile.on { background: var(--udt-accent); border-color: var(--udt-accent); color: var(--udt-crust); } .mixer { display: flex; flex-direction: column; gap: 10px; } .chan { display: flex; align-items: center; gap: 10px; } .chan .mute { width: 44px; height: 44px; padding: 0; flex: none; display: flex; align-items: center; justify-content: center; } .chan .mute .ico { width: 20px; height: 20px; } .chan .mute.on { background: var(--udt-red); border-color: var(--udt-red); color: var(--udt-crust); } .chan-name { flex: none; min-width: 84px; max-width: 34%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .chan input[type=range] { flex: 1; min-width: 60px; accent-color: var(--udt-accent); } .chan-pct { flex: none; min-width: 40px; text-align: right; font-size: 12px; } .deck-offline { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 120px; color: var(--udt-subtext0); }