- App shell: top bar with connection state and Chat/Terminal toggles, per-column scrolling, sidebar only on the Notebooks page. - Hash routes (#/notebooks/<path>, #/hosts, #/settings) so reloads and links keep the open notebook and page. - Parameters sit beside the notebook on wide screens, collapsible, with missing-count summary and Reset; non-secret values are remembered per notebook in localStorage (secrets and undeclared names never stored). - Sticky notebook header with breadcrumbs, check summary and run-all; Ctrl/Cmd+S saves the Markdown draft. - Step cards show target, one deduplicated hint for missing values and copy feedback. - Shared Dialog, Menu and CopyButton components; notebook and host actions move into menus and modal dialogs. - Hosts page as a compact list; Settings split into cards with sign out for this browser.
956 lines
16 KiB
CSS
956 lines
16 KiB
CSS
@import "highlight.js/styles/github-dark.css";
|
|
:root {
|
|
font-family: Inter, ui-sans-serif, system-ui, sans-serif;
|
|
font-size: 14px;
|
|
color: var(--text);
|
|
background: var(--bg);
|
|
color-scheme: dark;
|
|
--bg: #11151b;
|
|
--text: #dce3ec;
|
|
--panel: #191f28;
|
|
--raised: #202835;
|
|
--line: #303a49;
|
|
--muted: #9ba9bb;
|
|
--accent: #86dab9;
|
|
--code: #10151c;
|
|
--danger: #ff9d9d;
|
|
--warn: #f2c56b;
|
|
--ok: #7fd4a8;
|
|
--topbar: 50px;
|
|
}
|
|
@media (prefers-color-scheme: light) {
|
|
:root {
|
|
color-scheme: light;
|
|
--bg: #fafbfc;
|
|
--text: #233244;
|
|
--panel: #f0f3f6;
|
|
--raised: #ffffff;
|
|
--line: #cbd4df;
|
|
--muted: #57687d;
|
|
--accent: #197b59;
|
|
--code: #fff;
|
|
--danger: #b42738;
|
|
--warn: #9a5b00;
|
|
--ok: #197b59;
|
|
}
|
|
.hljs-built_in,
|
|
.hljs-string,
|
|
.hljs-attr {
|
|
color: #13654a;
|
|
}
|
|
.hljs-keyword,
|
|
.hljs-variable {
|
|
color: #8f3d8b;
|
|
}
|
|
button.primary {
|
|
color: white;
|
|
}
|
|
}
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
background: var(--bg);
|
|
}
|
|
[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Controls */
|
|
button,
|
|
input,
|
|
select,
|
|
textarea {
|
|
font: inherit;
|
|
}
|
|
button {
|
|
cursor: pointer;
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
background: var(--panel);
|
|
color: inherit;
|
|
padding: 6px 12px;
|
|
line-height: 1.3;
|
|
}
|
|
button:hover:not(:disabled) {
|
|
border-color: var(--accent);
|
|
}
|
|
button:disabled {
|
|
opacity: 0.45;
|
|
cursor: not-allowed;
|
|
}
|
|
button.primary {
|
|
background: var(--accent);
|
|
border-color: var(--accent);
|
|
color: #12261f;
|
|
font-weight: 650;
|
|
}
|
|
button.danger {
|
|
color: var(--danger);
|
|
}
|
|
button.toggled {
|
|
border-color: var(--accent);
|
|
color: var(--accent);
|
|
}
|
|
button.icon {
|
|
padding: 4px 9px;
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
min-width: 30px;
|
|
}
|
|
button.link {
|
|
border: none;
|
|
background: none;
|
|
padding: 0;
|
|
color: var(--accent);
|
|
text-decoration: underline;
|
|
}
|
|
input,
|
|
select,
|
|
textarea {
|
|
width: 100%;
|
|
border: 1px solid var(--line);
|
|
border-radius: 5px;
|
|
background: var(--code);
|
|
color: inherit;
|
|
padding: 7px 9px;
|
|
}
|
|
input[type="checkbox"] {
|
|
width: auto;
|
|
}
|
|
textarea {
|
|
resize: vertical;
|
|
}
|
|
input:focus,
|
|
select:focus,
|
|
textarea:focus,
|
|
button:focus-visible,
|
|
summary:focus-visible {
|
|
outline: 2px solid var(--accent);
|
|
outline-offset: 1px;
|
|
}
|
|
input.invalid,
|
|
select.invalid {
|
|
border-color: var(--danger);
|
|
}
|
|
a {
|
|
color: var(--accent);
|
|
}
|
|
code {
|
|
font-family: "Cascadia Code", Consolas, ui-monospace, monospace;
|
|
font-size: 0.92em;
|
|
}
|
|
small {
|
|
font-size: 12px;
|
|
}
|
|
hr {
|
|
border: none;
|
|
border-top: 1px solid var(--line);
|
|
margin: 16px 0;
|
|
}
|
|
.muted,
|
|
.terminal p {
|
|
color: var(--muted);
|
|
font-size: 12.5px;
|
|
}
|
|
.error,
|
|
.stderr {
|
|
color: var(--danger);
|
|
}
|
|
.ok {
|
|
color: var(--ok);
|
|
}
|
|
.spacer {
|
|
flex: 1;
|
|
}
|
|
.actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
margin: 12px 0;
|
|
}
|
|
.chip {
|
|
display: inline-block;
|
|
font-size: 11px;
|
|
line-height: 1.4;
|
|
border: 1px solid var(--line);
|
|
border-radius: 999px;
|
|
padding: 1px 8px;
|
|
color: var(--muted);
|
|
font-weight: normal;
|
|
white-space: nowrap;
|
|
}
|
|
.chip.warn {
|
|
color: var(--warn);
|
|
border-color: currentColor;
|
|
}
|
|
.badge {
|
|
font:
|
|
11px ui-monospace,
|
|
monospace;
|
|
border: 1px solid var(--line);
|
|
border-radius: 4px;
|
|
padding: 2px 6px;
|
|
color: var(--accent);
|
|
}
|
|
.badge.warn {
|
|
color: var(--warn);
|
|
}
|
|
.badge.kind-run {
|
|
color: var(--warn);
|
|
}
|
|
.banner {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
margin: 12px 20px;
|
|
padding: 10px 14px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
background: var(--panel);
|
|
}
|
|
.banner.error {
|
|
border-color: var(--danger);
|
|
}
|
|
.banner.ok {
|
|
border-color: var(--ok);
|
|
}
|
|
.notebook .banner {
|
|
margin: 12px 0;
|
|
}
|
|
.empty {
|
|
padding: 56px 24px;
|
|
text-align: center;
|
|
color: var(--muted);
|
|
}
|
|
.card {
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: var(--panel);
|
|
padding: 16px 20px;
|
|
margin: 16px 0;
|
|
}
|
|
.card h2 {
|
|
font-size: 16px;
|
|
margin: 0 0 12px;
|
|
}
|
|
details.card > summary {
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
}
|
|
details.card[open] > summary {
|
|
margin-bottom: 8px;
|
|
}
|
|
.stack,
|
|
.page form:not(.grid-form),
|
|
.login form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
.stack label,
|
|
.grid-form label,
|
|
.page form label,
|
|
.login label,
|
|
.chat-panel label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
font-size: 13px;
|
|
}
|
|
.grid-form {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 12px 14px;
|
|
}
|
|
.grid-form .full {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
/* App shell: top bar, then sidebar · main · side panel, each scrolling on its own. */
|
|
.app {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
}
|
|
.topbar {
|
|
flex: none;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
height: var(--topbar);
|
|
padding: 0 14px;
|
|
background: var(--panel);
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
.brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-weight: 750;
|
|
font-size: 17px;
|
|
letter-spacing: -0.5px;
|
|
margin-right: 14px;
|
|
}
|
|
nav[aria-label="Main navigation"] {
|
|
display: flex;
|
|
align-self: stretch;
|
|
}
|
|
nav[aria-label="Main navigation"] button {
|
|
border: none;
|
|
border-bottom: 2px solid transparent;
|
|
border-radius: 0;
|
|
background: none;
|
|
color: var(--muted);
|
|
padding: 0 14px;
|
|
}
|
|
nav[aria-label="Main navigation"] button:hover:not([aria-current]) {
|
|
color: var(--text);
|
|
border-bottom-color: var(--line);
|
|
}
|
|
nav[aria-label="Main navigation"] button[aria-current="page"] {
|
|
color: var(--text);
|
|
border-bottom-color: var(--accent);
|
|
font-weight: 600;
|
|
}
|
|
.connection {
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
margin-right: 6px;
|
|
white-space: nowrap;
|
|
}
|
|
.connection::before {
|
|
content: "●";
|
|
margin-right: 5px;
|
|
}
|
|
.connection.ok::before {
|
|
color: var(--ok);
|
|
}
|
|
.connection.bad {
|
|
color: var(--danger);
|
|
}
|
|
.workspace {
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: flex;
|
|
}
|
|
.sidebar {
|
|
flex: 0 0 250px;
|
|
overflow-y: auto;
|
|
background: var(--panel);
|
|
border-right: 1px solid var(--line);
|
|
padding: 12px 10px;
|
|
}
|
|
.main {
|
|
flex: 1 1 0;
|
|
min-width: 0;
|
|
overflow-y: auto;
|
|
}
|
|
.side-panel {
|
|
flex: 0 0 clamp(320px, 36vw, 640px);
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding: 10px 14px 14px;
|
|
border-left: 1px solid var(--line);
|
|
background: var(--code);
|
|
overflow: hidden;
|
|
}
|
|
.panel-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.panel-header h2 {
|
|
font-size: 14px;
|
|
margin: 0;
|
|
}
|
|
.side-panel > p {
|
|
margin: 0;
|
|
}
|
|
.dot-status {
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
}
|
|
.dot-status::before {
|
|
content: "●";
|
|
margin-right: 4px;
|
|
}
|
|
.dot-status.ok::before {
|
|
color: var(--ok);
|
|
}
|
|
.dot-status.bad::before {
|
|
color: var(--danger);
|
|
}
|
|
.terminal-screen {
|
|
flex: 1;
|
|
min-height: 220px;
|
|
}
|
|
|
|
/* Sidebar: notebook tree */
|
|
.sidebar-tools {
|
|
display: flex;
|
|
gap: 6px;
|
|
margin-bottom: 10px;
|
|
}
|
|
.sidebar nav details > summary {
|
|
cursor: pointer;
|
|
padding: 8px 6px 4px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.6px;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
}
|
|
.sidebar nav details > :not(summary) {
|
|
margin-left: 8px;
|
|
}
|
|
.notebook-item {
|
|
display: flex;
|
|
align-items: center;
|
|
border-radius: 6px;
|
|
}
|
|
.notebook-item:hover {
|
|
background: var(--code);
|
|
}
|
|
.notebook-item > button {
|
|
flex: 1;
|
|
min-width: 0;
|
|
text-align: left;
|
|
border: none;
|
|
background: none;
|
|
padding: 6px 8px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
color: var(--muted);
|
|
}
|
|
.notebook-item.selected {
|
|
background: var(--code);
|
|
box-shadow: inset 2px 0 var(--accent);
|
|
}
|
|
.notebook-item.selected > button {
|
|
color: var(--text);
|
|
font-weight: 600;
|
|
}
|
|
.notebook-item .menu > button {
|
|
border: none;
|
|
background: none;
|
|
}
|
|
|
|
/* Popup menu */
|
|
.menu {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
.menu-items {
|
|
position: absolute;
|
|
right: 0;
|
|
top: calc(100% + 4px);
|
|
z-index: 20;
|
|
min-width: 210px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 4px;
|
|
background: var(--raised);
|
|
border: 1px solid var(--line);
|
|
border-radius: 7px;
|
|
box-shadow: 0 8px 24px #0006;
|
|
}
|
|
.menu-items button {
|
|
border: none;
|
|
background: none;
|
|
text-align: left;
|
|
padding: 7px 10px;
|
|
white-space: nowrap;
|
|
}
|
|
.menu-items button:hover:not(:disabled) {
|
|
background: var(--panel);
|
|
}
|
|
|
|
/* Notebook page: parameters beside the notebook when there is room, above it otherwise. */
|
|
.notebook-page {
|
|
container-type: inline-size;
|
|
}
|
|
.params {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
|
|
gap: 10px 14px;
|
|
align-content: start;
|
|
padding: 12px 20px 16px;
|
|
background: var(--panel);
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
.params > header,
|
|
.params fieldset {
|
|
grid-column: 1 / -1;
|
|
}
|
|
.params > header {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 10px;
|
|
}
|
|
.params > header h2 {
|
|
font-size: 13px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.6px;
|
|
margin: 0;
|
|
}
|
|
.params > header small {
|
|
flex: 1;
|
|
color: var(--muted);
|
|
}
|
|
.params > header small.pending {
|
|
color: var(--warn);
|
|
}
|
|
.params label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
min-width: 0;
|
|
font-size: 12px;
|
|
}
|
|
.params label > span {
|
|
color: var(--muted);
|
|
}
|
|
.params b {
|
|
color: var(--accent);
|
|
}
|
|
.params fieldset {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
|
|
gap: 10px 14px;
|
|
margin: 0;
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
padding: 6px 12px 12px;
|
|
}
|
|
.params legend {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
padding: 0 4px;
|
|
}
|
|
@container (min-width: 1000px) {
|
|
.notebook-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 300px;
|
|
align-items: start;
|
|
}
|
|
.notebook-layout > .notebook {
|
|
grid-column: 1;
|
|
grid-row: 1;
|
|
}
|
|
.notebook-layout > .params {
|
|
grid-column: 2;
|
|
grid-row: 1;
|
|
position: sticky;
|
|
top: 0;
|
|
max-height: calc(100vh - var(--topbar));
|
|
overflow-y: auto;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
border-bottom: none;
|
|
border-left: 1px solid var(--line);
|
|
min-height: calc(100vh - var(--topbar));
|
|
}
|
|
.notebook-layout > .params fieldset {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
}
|
|
.notebook {
|
|
max-width: 980px;
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
padding: 0 28px 80px;
|
|
}
|
|
.notebook-header {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 3;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
padding: 12px 0;
|
|
background: var(--bg);
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
.crumbs {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
min-width: 0;
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
}
|
|
.crumbs > span:not(.chip) + span:not(.chip)::before {
|
|
content: "/";
|
|
margin-right: 4px;
|
|
}
|
|
.crumbs .file {
|
|
color: var(--text);
|
|
font-weight: 600;
|
|
}
|
|
.check-summary {
|
|
font-size: 13px;
|
|
}
|
|
.editor-panel {
|
|
margin-top: 12px;
|
|
}
|
|
.editor-panel > .actions {
|
|
margin-top: 0;
|
|
}
|
|
.prose {
|
|
line-height: 1.7;
|
|
}
|
|
.prose h1 {
|
|
font-size: 28px;
|
|
letter-spacing: -0.6px;
|
|
margin: 24px 0 8px;
|
|
}
|
|
.prose code {
|
|
background: var(--panel);
|
|
padding: 2px 5px;
|
|
border-radius: 3px;
|
|
}
|
|
.prose pre {
|
|
overflow: auto;
|
|
}
|
|
|
|
/* Steps */
|
|
.step {
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: var(--panel);
|
|
margin: 18px 0;
|
|
overflow: hidden;
|
|
}
|
|
.step header {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
padding: 10px 14px;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
.step h3 {
|
|
font-size: 14px;
|
|
margin: 0;
|
|
}
|
|
.target {
|
|
margin-left: auto;
|
|
font:
|
|
12px ui-monospace,
|
|
monospace;
|
|
color: var(--muted);
|
|
}
|
|
.target.unset {
|
|
color: var(--warn);
|
|
}
|
|
pre.script {
|
|
background: var(--code);
|
|
margin: 0;
|
|
padding: 16px 18px;
|
|
overflow: auto;
|
|
font:
|
|
13.5px/1.7 "Cascadia Code",
|
|
Consolas,
|
|
monospace;
|
|
tab-size: 2;
|
|
user-select: text;
|
|
}
|
|
.script mark {
|
|
background: #714c22;
|
|
color: #ffe3a7;
|
|
border-bottom: 2px solid #ffc568;
|
|
}
|
|
.step > .actions {
|
|
margin: 0;
|
|
padding: 10px 14px;
|
|
}
|
|
.step .hint {
|
|
margin: 0;
|
|
padding: 8px 14px 0;
|
|
font-size: 12px;
|
|
color: var(--warn);
|
|
}
|
|
.step .actions small {
|
|
font-size: 12px;
|
|
}
|
|
.result {
|
|
border-top: 1px solid var(--line);
|
|
padding: 10px 14px 14px;
|
|
font-size: 12px;
|
|
}
|
|
.result-status {
|
|
font-weight: 600;
|
|
}
|
|
.result pre {
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
max-height: 330px;
|
|
overflow: auto;
|
|
line-height: 1.5;
|
|
background: var(--code);
|
|
border-radius: 5px;
|
|
padding: 10px 12px;
|
|
}
|
|
.result pre:empty {
|
|
display: none;
|
|
}
|
|
.step.success {
|
|
border-color: #38765f;
|
|
}
|
|
.step.failure {
|
|
border-color: #914e56;
|
|
}
|
|
.artifact {
|
|
display: inline-block;
|
|
margin: 6px 15px 0 0;
|
|
}
|
|
.after {
|
|
border-left: 3px solid var(--accent);
|
|
padding-left: 18px;
|
|
}
|
|
/* Chained notebooks (::use): the included notebook, collapsible. */
|
|
.included {
|
|
border: 1px dashed var(--line);
|
|
border-radius: 8px;
|
|
padding: 4px 18px;
|
|
margin: 20px 0;
|
|
}
|
|
.included > summary {
|
|
cursor: pointer;
|
|
padding: 10px 0;
|
|
font-weight: 600;
|
|
}
|
|
.included > summary small {
|
|
font-weight: normal;
|
|
color: var(--muted);
|
|
margin-left: 8px;
|
|
}
|
|
.host-block > p {
|
|
margin: 10px 14px;
|
|
}
|
|
.host-block > button {
|
|
margin: 10px 14px;
|
|
}
|
|
|
|
/* Editor */
|
|
.editor {
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
font-size: 13px;
|
|
background: var(--code);
|
|
}
|
|
.cm-editor {
|
|
min-height: 280px;
|
|
}
|
|
.cm-scroller {
|
|
max-height: 60vh;
|
|
}
|
|
.cm-gutters {
|
|
background: var(--panel) !important;
|
|
color: var(--muted) !important;
|
|
border-color: var(--line) !important;
|
|
}
|
|
.cm-activeLine {
|
|
background: #8881 !important;
|
|
}
|
|
.cm-cursor {
|
|
border-left-color: var(--accent) !important;
|
|
}
|
|
|
|
/* Dialogs */
|
|
.modal-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: #000a;
|
|
z-index: 10;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 20px;
|
|
}
|
|
.modal-backdrop > section {
|
|
background: var(--panel);
|
|
border: 1px solid var(--line);
|
|
border-radius: 10px;
|
|
padding: 20px 22px;
|
|
width: min(560px, 100%);
|
|
max-height: calc(100vh - 40px);
|
|
overflow: auto;
|
|
overflow-wrap: anywhere;
|
|
box-shadow: 0 16px 48px #0008;
|
|
}
|
|
.modal-backdrop > section.wide {
|
|
width: min(820px, 100%);
|
|
}
|
|
.modal-backdrop h2 {
|
|
font-size: 18px;
|
|
margin: 0 0 12px;
|
|
}
|
|
.dialog > header {
|
|
display: flex;
|
|
align-items: start;
|
|
gap: 12px;
|
|
}
|
|
.dialog > header h2 {
|
|
flex: 1;
|
|
}
|
|
.dialog-close {
|
|
border: none;
|
|
background: none;
|
|
}
|
|
.dialog-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
/* Pages (Hosts, Settings) */
|
|
.page {
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
padding: 24px 28px 60px;
|
|
}
|
|
.page-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-bottom: 8px;
|
|
}
|
|
.page-header h1 {
|
|
font-size: 24px;
|
|
margin: 0 0 4px;
|
|
letter-spacing: -0.4px;
|
|
}
|
|
.page-header p {
|
|
margin: 0;
|
|
}
|
|
.page .banner {
|
|
margin: 12px 0;
|
|
}
|
|
.settings-page {
|
|
max-width: 760px;
|
|
}
|
|
.settings-page form {
|
|
max-width: 420px;
|
|
}
|
|
.settings-page form p {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
font-size: 12.5px;
|
|
}
|
|
.settings-page form button {
|
|
align-self: flex-start;
|
|
}
|
|
.facts {
|
|
display: grid;
|
|
grid-template-columns: max-content minmax(0, 1fr);
|
|
gap: 8px 18px;
|
|
margin: 0 0 12px;
|
|
}
|
|
.facts dt {
|
|
color: var(--muted);
|
|
}
|
|
.facts dd {
|
|
margin: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.checklist {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0 0 8px;
|
|
}
|
|
.checklist li {
|
|
padding: 3px 0;
|
|
}
|
|
.checklist li.ok::before {
|
|
content: "✓ ";
|
|
color: var(--ok);
|
|
}
|
|
.checklist li.bad::before {
|
|
content: "✗ ";
|
|
color: var(--danger);
|
|
}
|
|
|
|
/* Sign-in */
|
|
.login {
|
|
max-width: 360px;
|
|
margin: 15vh auto;
|
|
padding: 20px;
|
|
}
|
|
.login h1 {
|
|
margin-bottom: 4px;
|
|
}
|
|
.login h1 span {
|
|
display: block;
|
|
font-size: 10px;
|
|
letter-spacing: 3px;
|
|
color: var(--muted);
|
|
margin-top: 6px;
|
|
}
|
|
.login button {
|
|
width: 100%;
|
|
}
|
|
|
|
/* Narrow screens: one column, the page scrolls as a whole. */
|
|
@media (max-width: 760px) {
|
|
.app {
|
|
height: auto;
|
|
min-height: 100vh;
|
|
}
|
|
.topbar {
|
|
height: auto;
|
|
flex-wrap: wrap;
|
|
padding: 6px 10px;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 5;
|
|
}
|
|
nav[aria-label="Main navigation"] button {
|
|
padding: 10px;
|
|
}
|
|
.workspace {
|
|
flex-direction: column;
|
|
}
|
|
.sidebar {
|
|
flex: none;
|
|
max-height: 40vh;
|
|
border-right: none;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
.main {
|
|
overflow: visible;
|
|
}
|
|
.side-panel {
|
|
flex: none;
|
|
height: 75vh;
|
|
border-left: none;
|
|
border-top: 1px solid var(--line);
|
|
}
|
|
.notebook,
|
|
.page {
|
|
padding-left: 14px;
|
|
padding-right: 14px;
|
|
}
|
|
.notebook-header {
|
|
position: static;
|
|
}
|
|
.grid-form {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.target {
|
|
margin-left: 0;
|
|
}
|
|
}
|