Rename the package roledesk to app
The boilerplate's rule: the deploy kit's Dockerfile, the APP_CONFIG, APP_PASSWORD and APP_DATA variables and its commands all assume a package called app, so a project renames its display title and nothing else. The console script is `app`, and the launch entry runs `uv run app serve --port 8790`. The domain noun stays `role`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
248ea1636d
commit
7a63311714
32 files changed
+102
-98
No files matched your search
@@ -0,0 +1,227 @@
|
||||
/* roledesk — an alpha to look at real ads, not the final reader. The palette
|
||||
and type stack borrow newsdesk's visual language (news/newsdesk/web/static
|
||||
/app.css): a quiet UI face and a teal signal colour, nothing ported beyond
|
||||
that — no reader, no auth, no passkeys. */
|
||||
|
||||
:root {
|
||||
--bg: #eceff1;
|
||||
--panel: #ffffff;
|
||||
--ink: #1a2027;
|
||||
--muted: #505c67;
|
||||
--faint: #6d7883;
|
||||
--rule: #d6dbdf;
|
||||
--signal: #14655b;
|
||||
--signal-weak: #a9c4bf;
|
||||
--mute: #96382c;
|
||||
--focus: #1b4f8f;
|
||||
|
||||
--ui: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto,
|
||||
"Helvetica Neue", Arial, sans-serif;
|
||||
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--bg: #14181c;
|
||||
--panel: #1b2126;
|
||||
--ink: #e3e7ea;
|
||||
--muted: #a8b2ba;
|
||||
--faint: #8b959d;
|
||||
--rule: #2a3238;
|
||||
--signal: #4fb3a3;
|
||||
--signal-weak: #35544f;
|
||||
--mute: #cd6a5b;
|
||||
--focus: #6ea8e8;
|
||||
}
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
|
||||
html, body { max-width: 100%; overflow-x: hidden; }
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
background: var(--bg);
|
||||
color: var(--ink);
|
||||
font-family: var(--ui);
|
||||
line-height: 1.45;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
button, input, select { font: inherit; color: inherit; }
|
||||
|
||||
a { color: var(--signal); }
|
||||
|
||||
/* ---------------------------------------------------------------- chrome */
|
||||
|
||||
header {
|
||||
position: sticky; top: 0; z-index: 10;
|
||||
display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
|
||||
padding: .7rem 1rem;
|
||||
background: var(--panel);
|
||||
border-bottom: 1px solid var(--rule);
|
||||
}
|
||||
|
||||
.wordmark { font-weight: 640; letter-spacing: -.01em; font-size: 1.1rem; }
|
||||
.wordmark span { color: var(--signal); }
|
||||
|
||||
.tabs { display: flex; gap: .25rem; }
|
||||
|
||||
.tab {
|
||||
background: none; border: 1px solid transparent; border-radius: .3rem;
|
||||
padding: .35rem .75rem; cursor: pointer; color: var(--muted);
|
||||
}
|
||||
.tab[aria-pressed="true"] { color: var(--ink); background: var(--bg); border-color: var(--rule); }
|
||||
|
||||
/* --------------------------------------------------------------- filters */
|
||||
|
||||
.filters {
|
||||
display: flex; flex-wrap: wrap; gap: .5rem;
|
||||
padding: .75rem 1rem;
|
||||
background: var(--panel);
|
||||
border-bottom: 1px solid var(--rule);
|
||||
}
|
||||
|
||||
.filters input[type="search"], .filters input[type="text"], .filters select {
|
||||
padding: .4rem .55rem;
|
||||
border: 1px solid var(--rule); border-radius: .3rem;
|
||||
background: var(--bg); color: var(--ink);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.filters input[type="search"] { flex: 1 1 12rem; }
|
||||
.filters input[type="text"] { flex: 1 1 8rem; }
|
||||
|
||||
.show-muted {
|
||||
display: flex; align-items: center; gap: .35rem;
|
||||
color: var(--muted); font-size: .9rem; white-space: nowrap;
|
||||
}
|
||||
|
||||
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
|
||||
outline: 2px solid var(--focus); outline-offset: 1px;
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------ views */
|
||||
|
||||
.view { padding: 0 1rem 1.5rem; }
|
||||
|
||||
.count { color: var(--faint); font-size: .85rem; margin: .75rem 0 .5rem; }
|
||||
|
||||
/* ------------------------------------------------------------------- roles */
|
||||
|
||||
.roles { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
|
||||
|
||||
.role {
|
||||
background: var(--panel); border: 1px solid var(--rule); border-radius: .5rem;
|
||||
padding: .6rem .8rem;
|
||||
display: flex; flex-direction: column; gap: .35rem;
|
||||
}
|
||||
|
||||
.role-main {
|
||||
display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem;
|
||||
}
|
||||
|
||||
.role-title { font-weight: 600; text-decoration: none; }
|
||||
.role-title:hover { text-decoration: underline; }
|
||||
|
||||
.role-company { color: var(--muted); }
|
||||
|
||||
.role-meta {
|
||||
display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
|
||||
color: var(--faint); font-size: .85rem;
|
||||
}
|
||||
|
||||
.badge {
|
||||
border: 1px solid var(--rule); border-radius: 1rem;
|
||||
padding: .05rem .55rem; font-size: .78rem;
|
||||
}
|
||||
.role-remote.badge:empty, .role-function.badge:empty { display: none; }
|
||||
|
||||
.role-age { margin-left: auto; }
|
||||
|
||||
.affinity { display: inline-flex; gap: .15rem; margin-left: auto; }
|
||||
.affinity button {
|
||||
background: none; border: 1px solid var(--rule); border-radius: .3rem;
|
||||
padding: .1rem .4rem; cursor: pointer; color: var(--muted); font-size: .85rem;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.affinity button[aria-pressed="true"] { color: #fff; background: var(--signal); border-color: var(--signal); }
|
||||
.affinity button[data-value="-1"][aria-pressed="true"] { background: var(--mute); border-color: var(--mute); }
|
||||
|
||||
.save {
|
||||
align-self: flex-start;
|
||||
background: var(--signal); color: #fff; border: 1px solid var(--signal);
|
||||
border-radius: .3rem; padding: .3rem .8rem; cursor: pointer; font-weight: 600;
|
||||
}
|
||||
.save[disabled] {
|
||||
background: var(--bg); color: var(--muted); border-color: var(--rule); cursor: default;
|
||||
}
|
||||
|
||||
.role.muted { opacity: .55; }
|
||||
.role.gated { opacity: .7; }
|
||||
.show-muted[hidden] { display: none; }
|
||||
.role-score.badge:empty { display: none; }
|
||||
.role-score.badge { color: var(--signal); border-color: var(--signal-weak); font-variant-numeric: tabular-nums; }
|
||||
.role-gated { color: var(--mute); font-size: .85rem; }
|
||||
|
||||
/* ---------------------------------------------------------------- agents */
|
||||
|
||||
.agents { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
|
||||
.agent {
|
||||
display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
|
||||
background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; padding: .5rem .75rem;
|
||||
}
|
||||
.agent-meta { color: var(--faint); font-size: .85rem; flex: 1 1 12rem; }
|
||||
.agent-form {
|
||||
display: flex; flex-direction: column; gap: .6rem; max-width: 44rem;
|
||||
background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; padding: .75rem 1rem;
|
||||
}
|
||||
.agent-form h2 { font-size: 1rem; margin: 0; }
|
||||
.agent-form label { display: flex; flex-direction: column; gap: .2rem; font-size: .9rem; }
|
||||
.agent-form label.inline { flex-direction: row; align-items: center; gap: .4rem; }
|
||||
.agent-form input[type="text"], .agent-form textarea, .agent-form input[type="number"] {
|
||||
font: inherit; color: inherit; background: var(--bg); border: 1px solid var(--rule);
|
||||
border-radius: 4px; padding: .35rem .5rem; width: 100%;
|
||||
}
|
||||
.agent-form textarea { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .85rem; }
|
||||
.agent-form .hint { color: var(--faint); font-size: .8rem; overflow-wrap: anywhere; }
|
||||
.weights { display: flex; gap: .75rem; flex-wrap: wrap; border: 1px solid var(--rule); border-radius: 4px; }
|
||||
.weights label { flex: 1 1 6rem; }
|
||||
.agent-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
|
||||
.agent-actions button, .agent button {
|
||||
background: var(--bg); border: 1px solid var(--rule); border-radius: 4px; padding: .3rem .8rem; cursor: pointer;
|
||||
}
|
||||
.agent-actions button.primary { background: var(--signal); border-color: var(--signal); color: #fff; }
|
||||
|
||||
/* ------------------------------------------------------------ applications */
|
||||
|
||||
.applications { width: 100%; border-collapse: collapse; background: var(--panel); }
|
||||
.applications th, .applications td {
|
||||
text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--rule);
|
||||
font-size: .9rem;
|
||||
}
|
||||
.applications select { padding: .25rem .4rem; }
|
||||
|
||||
/* Below tablet width, a table stops being a table: each row becomes a card,
|
||||
its cells stacked, so nothing scrolls sideways to be read. */
|
||||
@media (max-width: 640px) {
|
||||
.applications thead { display: none; }
|
||||
.applications, .applications tbody, .applications tr, .applications td { display: block; width: 100%; }
|
||||
.applications tr { margin-bottom: .6rem; border: 1px solid var(--rule); border-radius: .4rem; }
|
||||
.applications td { border-bottom: none; }
|
||||
.applications td::before {
|
||||
content: attr(data-label);
|
||||
display: block; font-size: .72rem; color: var(--faint); margin-bottom: .1rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------- jobs */
|
||||
|
||||
#jobs { padding: 1rem; border-top: 1px solid var(--rule); }
|
||||
#jobs h2 { font-size: .95rem; color: var(--muted); margin: 0 0 .6rem; }
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.role-age { margin-left: 0; }
|
||||
.affinity { margin-left: 0; }
|
||||
}
|
||||
Reference in new issue
Block a user