@floless/app 0.151.0 → 0.152.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/web/chat.css CHANGED
@@ -341,6 +341,10 @@
341
341
  line-height: 1.45;
342
342
  }
343
343
  .ai-chat-integration-note strong { color: var(--text-muted); font-weight: 600; }
344
+ /* Under a list that leaves an option out: why. Muted (not dim) text, which stays readable in the light theme. */
345
+ .ai-chat-picker-note { margin: 4px 3px 2px; padding: 6px 5px 2px; border-top: 1px solid var(--border); color: var(--text-muted); font: 10px/1.45 var(--ui); cursor: default; }
346
+ /* The picker sits on --surface-2, where the light theme's --text-muted measures 4.3:1: take the darker slate the other light-theme notes use. */
347
+ [data-theme="light"] .ai-chat-picker-note { color: #475569; }
344
348
  .ai-chat-integration-empty { padding: 10px 8px; color: var(--text-dim); font-size: 10px; line-height: 1.45; }
345
349
  .ai-chat-choice[disabled] { cursor: default; opacity: .48; }
346
350
 
@@ -924,14 +928,13 @@
924
928
  display: inline-flex;
925
929
  align-items: center;
926
930
  box-sizing: border-box;
927
- height: 12px;
928
- min-height: 12px;
931
+ height: 22px;
932
+ min-height: 22px;
929
933
  gap: 0;
930
934
  max-width: 92%;
931
- margin: -6px 0 0;
935
+ margin: -2px 0 0;
932
936
  padding: 0;
933
937
  }
934
- .ai-chat-live-status.dots-only { gap: 0; }
935
938
  .ai-chat-live-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
936
939
  .ai-chat-live-dots { display: inline-flex; gap: 3px; }
937
940
  .ai-chat-live-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); animation: ai-chat-dot 1.1s ease-in-out infinite; }
@@ -962,6 +965,9 @@
962
965
  padding: 9px;
963
966
  background: color-mix(in srgb, var(--warn) 7%, var(--surface-2));
964
967
  }
968
+ /* #2079: Flo sits to the left of the question, apart from the buttons. */
969
+ .ai-chat-approval.has-flo { position: relative; padding-left: 45px; }
970
+ .ai-chat-approval-flo { position: absolute; left: 9px; top: 7px; }
965
971
  .ai-chat-approval-tray {
966
972
  grid-row: 6;
967
973
  min-height: 0;
@@ -1010,6 +1016,35 @@
1010
1016
  .ai-chat-runtime p { margin: 5px 0 0; color: var(--text-muted); font-size: 11px; line-height: 1.45; }
1011
1017
  .ai-chat-runtime .ai-chat-approval-actions { margin-top: 8px; }
1012
1018
  .ai-chat-runtime button { padding: 5px 9px; font-size: 10px; }
1019
+ /* #2061: a project another piece of work is changing. The setup card's shape: warn-tinted while it asks, neutral with
1020
+ the live dots while it waits. "Stop it" is the quiet last choice, never beside the default; × keeps the message. */
1021
+ .ai-chat-busy-ask {
1022
+ position: relative; margin: 0 9px 8px; padding: 9px 30px 9px 9px;
1023
+ border: 1px solid var(--border-strong); border-radius: 6px; background: var(--surface-2);
1024
+ }
1025
+ .ai-chat-busy-ask.is-asking {
1026
+ border-color: color-mix(in srgb, var(--warn) 50%, var(--border));
1027
+ background: color-mix(in srgb, var(--warn) 7%, var(--surface-2));
1028
+ }
1029
+ .ai-chat-busy-ask strong { display: flex; align-items: center; gap: 7px; color: var(--text); font-size: 11px; }
1030
+ .ai-chat-busy-ask p { margin: 5px 0 0; color: var(--text-muted); font-size: 11px; line-height: 1.45; }
1031
+ .ai-chat-busy-ask .ai-chat-approval-actions { margin-top: 8px; }
1032
+ .ai-chat-busy-ask button {
1033
+ appearance: none; padding: 5px 9px; border: 1px solid var(--border-strong); border-radius: 5px;
1034
+ background: var(--surface-2); color: var(--text); font: inherit; font-size: 10px; cursor: pointer;
1035
+ }
1036
+ .ai-chat-busy-ask button:hover { background: var(--surface-3); }
1037
+ .ai-chat-busy-ask button.allow { border-color: var(--accent); }
1038
+ .ai-chat-busy-ask .ai-chat-approval-actions { display: flex; flex-wrap: wrap; gap: 6px; }
1039
+ .ai-chat-busy-ask p.ai-chat-busy-elapsed { margin-top: 3px; color: var(--text-dim); font: 9px/1.3 var(--mono); }
1040
+ .ai-chat-busy-ask button.ai-chat-busy-stop { margin-left: auto; border-color: transparent; background: transparent; color: var(--warn); }
1041
+ .ai-chat-busy-ask button.ai-chat-busy-stop:hover { border-color: color-mix(in srgb, var(--warn) 45%, var(--border)); background: var(--surface-3); }
1042
+ .ai-chat-busy-ask button.ai-chat-busy-dismiss { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; padding: 0;
1043
+ border-color: transparent; background: transparent; color: var(--text-muted); font-size: 13px; line-height: 1; }
1044
+ .ai-chat-busy-ask button.ai-chat-busy-dismiss:hover { background: var(--surface-3); color: var(--text); }
1045
+ .ai-chat-busy-ask button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
1046
+ .ai-chat-shell.history-open .ai-chat-busy-ask { display: none; }
1047
+ @media (prefers-reduced-motion: reduce) { .ai-chat-busy-ask .ai-chat-live-dots i { animation: none; opacity: .7; } }
1013
1048
  .ai-chat-runtime .allow { border-color: var(--accent); color: var(--text); }
1014
1049
  .ai-chat-approval.busy { opacity: .78; }
1015
1050
  .ai-chat-approval.busy::after { content: 'Applying…'; display: block; margin-top: 6px; color: var(--text-dim); font: 9px var(--mono); }
@@ -1434,4 +1469,63 @@
1434
1469
  /* #2046 — a Guide conversation's Access: a statement, not a picker. */
1435
1470
  .ai-chat-guide-access { display: flex; flex-direction: column; gap: 2px; font-size: 11px; line-height: 15px; color: var(--text-muted); }
1436
1471
  .ai-chat-guide-access strong { color: var(--text); font-weight: 600; }
1472
+ /* It is a statement, not a control: no pointer, no hover tint (the Provider row does the same, above). */
1473
+ .ai-chat-guide-access { cursor: default; }
1474
+ .ai-chat-guide-access:hover { background: var(--surface); }
1475
+ /* The sentence is the strip's readable-prose tier (see .ai-chat-setting > span above, which is the label tier). */
1476
+ .ai-chat-guide-note { margin: 4px 0 0; color: var(--text-muted); font: 11px/1.4 var(--ui); }
1437
1477
  .ai-chat-guide-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
1478
+ /* Its buttons are the strip's secondary buttons: the same compact look as Switch account…, one line each. Scoped to
1479
+ the button rows, so the briefing's switch and time pickers keep their own look. */
1480
+ .ai-chat-guide-actions button,
1481
+ .ai-chat-guide-set-aside-row > button {
1482
+ appearance: none;
1483
+ min-height: 24px;
1484
+ padding: 3px 8px;
1485
+ border: 1px solid var(--border-strong);
1486
+ border-radius: 3px;
1487
+ background: var(--surface);
1488
+ color: var(--text-muted);
1489
+ font: 10px/1.25 var(--ui);
1490
+ cursor: pointer;
1491
+ white-space: nowrap;
1492
+ }
1493
+ .ai-chat-guide-actions button:hover,
1494
+ .ai-chat-guide-set-aside-row > button:hover { color: var(--text); border-color: var(--accent-dim); background: var(--surface-2); }
1495
+ .ai-chat-guide-actions button:focus-visible,
1496
+ .ai-chat-guide-set-aside-row > button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
1497
+ .ai-chat-guide-actions button:disabled,
1498
+ .ai-chat-guide-set-aside-row > button:disabled { cursor: default; color: var(--text-dim); border-color: var(--border); background: var(--surface); }
1499
+ /* #2053 — the opt-in morning briefing, under the Guide's Access statement: the Guide question's own switch and
1500
+ disclosure, the Routines time pair (themed combobox), and one status line. */
1501
+ /* The Guide's settings cell holds the briefing's switch, time and choices: it takes the full row, like Provider. */
1502
+ .ai-chat-guide-access { grid-column: 1 / -1; }
1503
+ /* Its Access picker is hidden, so Model and Effort share the row instead of leaving an empty third cell. */
1504
+ .ai-chat-settings:has(> #chat-permission[hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
1505
+ .ai-chat-guide-briefing { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
1506
+ .ai-chat-guide-briefing:empty { display: none; }
1507
+ /* #2054 — suggestions set aside with Not now, each with Bring back; the same divider as the briefing block above. */
1508
+ .ai-chat-guide-set-aside { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
1509
+ .ai-chat-guide-set-aside[hidden] { display: none; }
1510
+ .ai-chat-guide-set-aside-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; max-height: 160px; overflow-y: auto; }
1511
+ .ai-chat-guide-set-aside-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--text); }
1512
+ .ai-chat-guide-set-aside-row > span { min-width: 0; overflow-wrap: anywhere; }
1513
+ .ai-chat-guide-set-aside-row > button { flex: none; }
1514
+ /* .rtn-time sets display, which would override the hidden attribute: say it again here. */
1515
+ #chat-guide-briefing-time[hidden] { display: none; }
1516
+ .ai-chat-guide-briefing .guide-switch-label { color: var(--text); }
1517
+ /* The panel is the switch track's own colour: outline the track so an off switch is still visible. */
1518
+ .ai-chat-guide-briefing .rtn-toggle-track { box-shadow: inset 0 0 0 1px var(--text-dim); }
1519
+ .guide-briefing-disclosure { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
1520
+ .guide-briefing-disclosure .guide-switch-help { margin: 0; }
1521
+ .guide-briefing-disclosure details > p { margin: 4px 0 0 16px; }
1522
+ .guide-briefing-when { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 10px; }
1523
+ .guide-briefing-at { color: var(--text-muted); padding: 8px 0; }
1524
+ .guide-briefing-status { display: flex; flex-direction: column; gap: 4px; }
1525
+ .guide-briefing-status .ai-chat-guide-actions { margin-top: 0; }
1526
+ .guide-briefing-line { margin: 0; color: var(--text); overflow-wrap: anywhere; }
1527
+ .guide-briefing-ask .guide-briefing-disclosure .guide-switch-help { margin: 0; }
1528
+ /* The briefing's notice: the app's toast, with its choices under the sentence. */
1529
+ .toast.guide-notice { align-items: flex-start; max-width: 380px; }
1530
+ .guide-notice-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
1531
+ .guide-notice-actions { display: flex; flex-wrap: wrap; gap: 6px; }