Files
luxe/crates/luxe-remote/app/panel.css
Evan Whittaker d2129a886f Luxe 0.1.3: your sessions on your phone, joinable sessions, and nested AGENTS.md
- luxe remote puts the sessions on your computer in reach of your own phone or tablet over
  Tailscale: write, steer, answer prompts, send photos, browse files, diffs and GitHub, with a
  paired device and your own Tailscale login.
- luxe join lets another program on the same machine join a running session over the RPC protocol.
- An AGENTS.md in a subfolder reaches the model the first time it works there.
- Long sessions stay fast: no stall before each model call, lighter memory, cheaper drawing.
- A session is open in one Luxe at a time, web_search shares results across its phrasings, and a
  grep glob starting with ! excludes.

The CHANGELOG has the full list.
2026-10-20 02:40:13 -05:00

159 lines
3.3 KiB
CSS

/* The project panel: tabs under its bar, then the tab's view. Files is the TUI's dock tree, a
finger tall a row, and a file's lines are drawn as a diff's are */
.panel-button {
display: grid;
place-items: center;
align-self: center;
color: var(--luxe-muted, #97938c);
}
.panel-button .icon {
width: 1.1lh;
height: 1.1lh;
}
/* everything in the panel starts at the dock's indent */
.panel .bar {
padding-inline: 1.5ch;
}
/* the project's folder rides the heading's line, so the bar stays one row; plain text, glyph and
all, as the TUI's dock heads its tree */
.project-name {
color: var(--luxe-text, #e4dfd6);
font-weight: normal;
}
.badge + .project-name {
margin-left: 1.5ch;
}
.project-mark {
margin-right: 1ch;
}
/* the branch is quieter, as the TUI's section has it; a long one is what the bar cuts */
.project-branch {
margin-left: 2ch;
color: var(--luxe-muted, #97938c);
}
/* The tabs are the TUI's switch: the one showing a lit badge, the others idle ones of the same
footprint, so the row never moves as the choice flips */
.tabs {
display: flex;
flex-wrap: wrap;
gap: 1ch;
padding: 0 1.5ch;
}
/* A phone's panel has the dock's tab too: four badges are 45 cells of the 48 a 375-point iPhone
has, so they sit fade to slab, the fade being the gap, a cell in from the edges */
@media not all and (min-width: 50rem) and (min-height: 30rem) {
.tabs {
gap: 0;
padding: 0 1ch;
}
}
.tab {
padding: 0.6lh 0;
}
.panel .sheet-body {
padding-top: 0.5lh;
}
/* Rows sit flush, a line each, as the terminal's do */
.tree-row {
display: flex;
align-items: center;
width: 100%;
margin: 0;
padding: 0 1.5ch;
white-space: pre;
}
.tree-row:active {
background: var(--luxe-tool-bg, #2a2724);
}
/* a level's guide, chevron and mark are two cells each, the glyph and a space */
.guide, .chevron, .mark {
flex: none;
width: 2ch;
}
/* the guide runs the row's full height, so a column of them reads as one line */
.guide {
align-self: stretch;
background: linear-gradient(var(--luxe-border, #4b463f), var(--luxe-border, #4b463f))
0.5ch 0 / 1px 100% no-repeat;
}
.chevron {
color: var(--luxe-muted, #97938c);
}
.tree-name {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
}
.tree-name.folder {
font-weight: bold;
}
.tree-note {
color: var(--luxe-muted, #97938c);
}
.tree-right {
flex: none;
padding-left: 1ch;
}
.tree-right.held {
color: var(--luxe-warning, #faaa51);
}
.hue-secondary { color: var(--luxe-accent-secondary, #d2a5cd); }
.hue-warning { color: var(--luxe-warning, #faaa51); }
.hue-info { color: var(--luxe-info, #85c7d7); }
.hue-success { color: var(--luxe-success, #81caa0); }
.hue-error { color: var(--luxe-error, #e68485); }
.hue-thinking-ultra { color: var(--luxe-thinking-ultra, #e790b7); }
.hue-text { color: var(--luxe-text, #e4dfd6); }
.hue-muted { color: var(--luxe-muted, #97938c); }
.mention {
flex: none;
align-self: center;
padding: 0.25lh 1ch;
color: var(--luxe-accent, #ddc084);
border: 1px solid var(--luxe-border-muted, #2e2b27);
border-radius: var(--corner);
}
/* A file's lines keep their columns and scroll sideways together, as a diff's do */
.file {
overflow-x: auto;
}
.fl {
display: flex;
width: max-content;
min-width: 100%;
margin: 0;
white-space: pre;
tab-size: 4;
}
.fl code {
font: inherit;
padding-right: 1ch;
}