Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion apps/web/client/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ body[data-view=draft][data-entry=natural] :is(.composer,.pane-resizer,.runs-work
.button-primary{background:var(--gray-900);border-color:var(--gray-900);color:var(--gray-25)}
.button-primary:hover:not(:disabled){background:var(--gray-800);border-color:var(--gray-800)}
.button-primary:disabled{opacity:1;background:var(--gray-150);border-color:var(--gray-200);color:var(--gray-500)}
:root[data-theme=dark] .button-primary{background:#d97757;border-color:#d97757;color:#141413}
:root[data-theme=dark] .button-primary:hover:not(:disabled){background:var(--blue-500);border-color:var(--blue-500)}
:root[data-theme=dark] .button-primary:disabled{background:var(--gray-150);border-color:var(--gray-200);color:var(--gray-500)}
.button-danger{color:var(--red-600);border-color:var(--red-200)}
.button-danger:hover:not(:disabled){background:var(--red-50);border-color:var(--red-300)}
.button-destructive{background:var(--red-600);border-color:var(--red-600);color:var(--on-ink)}
Expand Down Expand Up @@ -298,6 +301,7 @@ label,legend{display:block;font-size:var(--text-xs);font-weight:500;color:var(--
input:not([type=radio]),select,textarea{display:block;width:100%;min-width:0;border:1px solid var(--gray-200);border-radius:var(--radius-md);background-color:var(--card);padding:9px 11px;font-size:var(--text-sm);line-height:1.55}
input:not([type=radio]),select{height:40px}
select{appearance:none;-webkit-appearance:none;line-height:1.35;padding-right:32px;background-image:var(--select-chevron);background-repeat:no-repeat;background-position:right 10px center;background-size:14px 14px}
select::picker-icon{display:none}
@media(forced-colors:active){select{appearance:auto;-webkit-appearance:auto;padding-right:11px;background-image:none}}
input:disabled,select:disabled,textarea:disabled{background-color:var(--gray-50);color:var(--gray-500)}
textarea{resize:vertical;min-height:85px}
Expand Down Expand Up @@ -2028,6 +2032,7 @@ body.login-page{overflow:auto}
.login-lead{margin:8px 0 20px;color:var(--gray-600);font-size:var(--text-sm)}
.login-access{display:flex;flex-wrap:wrap;align-items:center;gap:0 8px;margin:-8px 0 20px;font-size:var(--text-sm);color:var(--gray-700)}
.login-access a{font-size:inherit;min-height:28px;text-decoration:underline;text-underline-offset:3px}
.login-terms{margin-bottom:16px}
.login-form input{margin-bottom:16px;border-radius:8px}
.login-captcha-row{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.login-captcha-row input{margin-bottom:0;flex:1}
Expand All @@ -2041,7 +2046,7 @@ body.login-page{overflow:auto}
.login-footer{font-size:var(--text-xs);color:var(--gray-500)}
.login-footer a{color:var(--gray-700);text-decoration:underline;text-decoration-color:var(--gray-300);text-underline-offset:3px;transition:text-decoration-color .15s}
.login-footer a:hover{text-decoration-color:currentColor}
.account-trigger{display:inline-flex;align-items:center;gap:6px;max-width:220px;min-height:34px;padding:5px 10px;border:1px solid var(--gray-200);border-radius:4px;background:var(--card);color:var(--gray-700);font-size:var(--text-xs)}
.account-trigger{display:inline-flex;align-items:center;gap:6px;max-width:220px;min-height:34px;padding:5px 10px;border:1px solid var(--gray-200);border-radius:8px;background:var(--card);color:var(--gray-700);font-size:var(--text-xs)}
.account-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* The address is what gives way when the top bar is full: it truncates, and every other control keeps its size. */
.topbar-actions:has(.account-trigger){flex-shrink:1}
Expand Down
24 changes: 13 additions & 11 deletions apps/web/client/formalize.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ body.formalize-page{height:auto;min-height:100dvh;overflow:visible}
.formalize-examples{padding-bottom:20px;border-bottom:1px solid var(--line)}
.formalize-examples select{margin-top:10px}
.formalize-examples .field-note{margin-top:10px;line-height:1.8}
:is(.formalize-page,.formalize-embedded) input:not([type=checkbox]),:is(.formalize-page,.formalize-embedded) select,:is(.formalize-page,.formalize-embedded) textarea{display:block;width:100%;min-width:0;border:1px solid var(--line);border-radius:4px;background-color:var(--card);padding:12px}
:is(.formalize-page,.formalize-embedded) input:not([type=checkbox]),:is(.formalize-page,.formalize-embedded) select,:is(.formalize-page,.formalize-embedded) textarea{display:block;width:100%;min-width:0;border:1px solid var(--line);border-radius:8px;background-color:var(--card);padding:12px}
:is(.formalize-page,.formalize-embedded) select{height:40px;padding:8px 34px 8px 12px;line-height:1.35}
:is(.formalize-page,.formalize-embedded) textarea{resize:vertical;min-height:220px;line-height:1.85}
:is(.formalize-page,.formalize-embedded) label{display:block;font-weight:500;margin-bottom:0}
Expand All @@ -36,26 +36,28 @@ body.formalize-page{height:auto;min-height:100dvh;overflow:visible}
.formalize-section-head{display:flex;align-items:start;justify-content:space-between;gap:16px;flex-wrap:wrap}
.formalize-section-head h2{margin-bottom:8px}
.formalize-history{border-left:1px solid var(--line);padding-left:28px}
#formalize-list{display:grid;gap:8px;margin-top:20px;max-height:440px;overflow:auto;padding:2px}
.formalize-record{display:block;width:100%;text-align:left;background:transparent;border:1px solid transparent;border-radius:4px;padding:12px;min-width:0}
#formalize-list{display:grid;gap:8px;margin-top:20px;max-height:440px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--gray-200) transparent;padding:2px}
.formalize-record{display:block;width:100%;text-align:left;background:transparent;border:1px solid transparent;border-radius:8px;padding:12px;min-width:0;transition:background-color .15s,border-color .15s}
.formalize-record[aria-pressed=true]{border-color:var(--line);background:var(--card)}
.formalize-record:hover{background:var(--gray-50)}
.formalize-record-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.formalize-record-title:has(.katex){line-height:1.7}
.formalize-record-title .math{overflow:hidden;max-width:100%;padding:0;margin:0;vertical-align:baseline}
.formalize-record-title .math-display{display:inline;padding:0;margin:0}
.formalize-record-meta{display:block;color:var(--muted);font-size:12px;margin-top:8px}
.formalize-current{margin-top:48px;border-top:1px solid var(--line);padding-top:28px;scroll-margin-top:24px}
#formalize-progress{color:var(--muted);font-size:13px}
#formalize-source{margin-top:20px}#formalize-source summary{cursor:pointer;color:var(--muted);font-size:13px}
#formalize-source-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:280px;overflow:auto;margin-top:16px;padding:16px;background:var(--card);border:1px solid var(--line);border-radius:4px}
#formalize-source-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:280px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--gray-200) transparent;margin-top:16px;padding:16px;background:var(--card);border:1px solid var(--line);border-radius:10px}
.formalize-review-note{margin:24px 0;color:var(--muted);line-height:1.9;max-width:900px}
:is(.formalize-page,.formalize-embedded) .explain-split{height:680px;border:1px solid var(--line);border-radius:4px;overflow:hidden}
:is(.formalize-page,.formalize-embedded) .explain-split{height:680px;border:1px solid var(--line);border-radius:10px;overflow:hidden}
:is(.formalize-page,.formalize-embedded) .explain-toolbar{margin-top:24px}
:is(.formalize-page,.formalize-embedded) .explain-pane{min-height:0;min-width:0}
.formalize-confirmation{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;padding:24px 0}
.formalize-confirmation label{font-weight:400;line-height:1.9;max-width:800px}
.formalize-confirmation input[type=checkbox]{display:inline-block;width:16px;height:16px;min-width:16px;margin:0 8px 0 0;padding:0;vertical-align:middle;accent-color:var(--blue)}
#formalize-confirmed{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:24px 0}
.formalize-error{padding:14px 16px;margin-bottom:24px;border:1px solid var(--red-200);border-radius:4px;color:var(--red-700);background:var(--red-50);overflow-wrap:anywhere}
.formalize-error{padding:14px 16px;margin-bottom:24px;border:1px solid var(--red-200);border-radius:8px;color:var(--red-700);background:var(--red-50);overflow-wrap:anywhere}
#formalize-reason{margin-top:12px;overflow-wrap:anywhere}
.formalize-stages{display:flex;flex-wrap:wrap;gap:16px 28px;list-style:none;padding:0;margin:24px 0 16px;color:var(--muted);font-size:13px}
.formalize-stages li{border-bottom:2px solid var(--line);padding-bottom:8px}
Expand All @@ -74,13 +76,13 @@ body.formalize-page{height:auto;min-height:100dvh;overflow:visible}
.formalize-embedded :is(.formalize-intro,.formalize-examples,#formalize-compose-heading,#formalize-original-note,.formalize-options,.formalize-submit>.field-note){display:none}
.formalize-embedded #formalize-settings:not([open]){display:none}
.formalize-embedded .formalize-workspace{display:block;max-width:760px;margin-inline:auto}
.formalize-embedded #formalize-form{gap:0;border:1px solid var(--gray-200);border-radius:4px;background:var(--card);padding:8px;box-shadow:0 4px 20px #00000006}
.formalize-embedded #formalize-form{gap:0;border:1px solid var(--gray-200);border-radius:14px;background:var(--card);padding:8px;box-shadow:0 4px 20px #00000006}
.formalize-embedded #formalize-form:focus-within{border-color:var(--gray-400)}
.formalize-embedded #formalize-form:has(#formalize-original:focus){border-color:var(--gray-500);box-shadow:0 0 0 1px var(--gray-500),0 4px 20px #00000006}
.formalize-embedded #formalize-original{min-height:116px;max-height:320px;border:0;background:transparent;border-radius:4px;padding:18px 18px 12px;resize:none;font-size:16px;line-height:1.85;box-shadow:none}
.formalize-embedded #formalize-original{min-height:116px;max-height:320px;border:0;background:transparent;border-radius:10px;padding:18px 18px 12px;resize:none;font-size:16px;line-height:1.85;box-shadow:none}
.formalize-embedded #formalize-original:focus{outline:0;box-shadow:none}
.formalize-embedded .formalize-submit{justify-content:flex-end;flex-wrap:nowrap;padding:8px;gap:12px}
.formalize-embedded #formalize-start{min-width:64px;border-radius:4px;padding:9px 16px;flex-shrink:0}
.formalize-embedded #formalize-start{min-width:64px;border-radius:8px;padding:9px 16px;flex-shrink:0}
.formalize-embedded #formalize-settings[open]{margin:12px 20px;padding:20px 0;border-top:1px solid var(--line)}
.formalize-embedded .formalize-history{border:0;padding:0;margin-top:28px}
.formalize-embedded .formalize-current{margin:44px auto 0;max-width:960px}
Expand All @@ -90,7 +92,7 @@ body.formalize-page{height:auto;min-height:100dvh;overflow:visible}
.formalize-embedded:has(.formalize-current:not([hidden])) .formalize-current{order:1;flex:1;min-height:0;width:100%;max-width:760px;margin:0 auto 24px;padding:0 12px 24px;border:0;overflow:auto;display:flex;flex-direction:column}
.formalize-embedded #formalize-source{order:-1;margin:0 0 28px;flex:none}
.formalize-embedded #formalize-source>summary{display:none}
.formalize-embedded #formalize-source-text{margin:0 0 0 auto;max-width:90%;max-height:none;background:var(--gray-100);border:0;border-radius:4px;padding:16px 22px;font-family:inherit;font-size:15px;line-height:1.9}
.formalize-embedded #formalize-source-text{margin:0 0 0 auto;max-width:90%;max-height:none;background:var(--gray-100);border:0;border-radius:10px;padding:16px 22px;font-family:inherit;font-size:15px;line-height:1.9}
.formalize-embedded #formalize-send-status{padding:4px 14px 10px;margin:0;font-size:12px;line-height:1.7}
body[data-view=draft] .topbar .model-menu{border:0;background:transparent}
body[data-view=draft] .topbar .model-menu :is(#current-model,svg:last-child){display:none}
Expand All @@ -108,7 +110,7 @@ body[data-view=draft][data-entry=lean] .creation-path{display:none}
body[data-view=draft][data-entry=lean] .chat-scroll{flex:none;padding:0;overflow:visible;mask-image:none}
body[data-view=draft][data-entry=lean] .inline-problem{padding:0;border:0;margin-bottom:12px}
body[data-view=draft][data-entry=lean] .inline-problem>.section-heading{display:none}
body[data-view=draft][data-entry=lean] #source{max-height:420px;border-radius:4px;padding:18px;line-height:1.8}
body[data-view=draft][data-entry=lean] #source{max-height:420px;border-radius:10px;padding:18px;line-height:1.8}
body[data-view=draft][data-entry=lean] #run-form{padding:12px 0 0}
body[data-view=draft][data-entry=lean] .composer-tools{flex-wrap:wrap;gap:6px}
body[data-view=draft][data-entry=lean] .composer-tools>.workbench-entrypoints{flex:1 0 auto}
Expand Down
Loading
Loading