@bom0792/herdgate 0.9.40 → 0.9.41

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/src/web/app.css CHANGED
@@ -710,3 +710,92 @@ button.attach {
710
710
  box-shadow: 0 6px 24px rgb(0 0 0 / 0.35);
711
711
  z-index: 40;
712
712
  }
713
+
714
+ /* Self-update banner: a newer gate than the running bundle — shown only when the
715
+ reload has to wait (once-per-build already used, or the user is typing). */
716
+ #upd {
717
+ position: fixed;
718
+ left: 50%;
719
+ bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
720
+ transform: translateX(-50%);
721
+ z-index: 45;
722
+ }
723
+ #upd button {
724
+ background: var(--accent, #4da3ff);
725
+ color: #0b1220;
726
+ border: none;
727
+ border-radius: 999px;
728
+ padding: 10px 18px;
729
+ font-size: 13px;
730
+ font-weight: 600;
731
+ box-shadow: 0 6px 24px rgb(0 0 0 / 0.4);
732
+ }
733
+
734
+ /* Files (filev): fuzzy list + one-file reader with line numbers and smartcase
735
+ search — the status glyph borrows the diff palette. */
736
+ .files-list { list-style: none; margin: 8px 0; padding: 0; }
737
+ .files-list li button {
738
+ display: flex; gap: 8px; align-items: baseline; width: 100%;
739
+ background: none; border: none; color: inherit; text-align: left;
740
+ padding: 4px 2px; font: inherit; cursor: pointer;
741
+ }
742
+ .files-list li button:active { background: var(--hover, rgb(255 255 255 / 0.08)); }
743
+ .fstat { width: 1.1em; text-align: center; font-weight: 700; opacity: 0.9; }
744
+ .fstat-M { color: #e6b450; }
745
+ .fstat-A { color: #7fd962; }
746
+ .fstat-D { color: #f07178; }
747
+ .fstat-R, .fstat-C, .fstat-U { color: #73d0ff; }
748
+ .fpath { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; overflow-wrap: anywhere; }
749
+ .files-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; margin: 6px 0; }
750
+ .files-head .fpath { font-weight: 600; }
751
+ .file-search { flex: 1; min-width: 140px; }
752
+ .file-body {
753
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px;
754
+ line-height: 1.5; overflow-x: auto; white-space: pre; margin-top: 6px;
755
+ }
756
+ .file-line { display: flex; gap: 10px; }
757
+ .line-no { color: var(--muted, #8b8b8b); min-width: 3.5em; text-align: right; user-select: none; flex-shrink: 0; }
758
+ .file-hit { background: rgb(115 208 255 / 0.35); border-radius: 2px; }
759
+ .file-body .flash { background: rgb(230 180 80 / 0.3); }
760
+
761
+ /* Review (reviewr mobile): scope chips, change list, line-comment flow */
762
+ .rev-scopes { display: flex; gap: 6px; margin: 8px 0; flex-wrap: wrap; }
763
+ .rev-chip {
764
+ background: none; border: 1px solid var(--muted, #8b8b8b); border-radius: 999px;
765
+ color: inherit; padding: 3px 10px; font-size: 12px; cursor: pointer;
766
+ }
767
+ .rev-chip.active { border-color: var(--accent, #73d0ff); color: var(--accent, #73d0ff); }
768
+ .rev-list { list-style: none; margin: 8px 0; padding: 0; }
769
+ .rev-list li button {
770
+ display: flex; gap: 8px; align-items: baseline; width: 100%;
771
+ background: none; border: none; color: inherit; text-align: left;
772
+ padding: 4px 2px; font: inherit; cursor: pointer;
773
+ }
774
+ .rev-list li button:active { background: var(--hover, rgb(255 255 255 / 0.08)); }
775
+ .rev-stat { margin-left: auto; font-size: 11px; white-space: nowrap; color: var(--muted, #8b8b8b); }
776
+ .rev-stat::first-letter { color: #7fd962; }
777
+ .rev-stat.new { color: #7fd962; }
778
+ .rev-stat.comments { color: #e6b450; margin-left: 6px; }
779
+ .rev-diff .rev-hint { color: var(--muted, #8b8b8b); font-size: 11px; margin-bottom: 4px; }
780
+ .rev-row { display: flex; gap: 10px; }
781
+ .rev-row .rev-text { overflow-wrap: anywhere; }
782
+ .rev-row.dadd { background: rgb(127 217 98 / 0.12); }
783
+ .rev-row.dadd .line-no { color: #7fd962; }
784
+ .rev-row.ddel { background: rgb(240 113 120 / 0.12); }
785
+ .rev-row.ddel .line-no { color: #f07178; }
786
+ .rev-row:not(.dhunk):active { background: var(--hover, rgb(255 255 255 / 0.1)); }
787
+ .rev-row.dhunk { color: #b48eff; margin: 6px 0 2px; }
788
+ .rev-chip-comment {
789
+ display: flex; gap: 6px; align-items: baseline; margin: 2px 0 6px 3.5em;
790
+ font-size: 12px; color: #e6b450;
791
+ }
792
+ .rev-chip-comment .link { margin-left: auto; }
793
+ .rev-cbox { display: flex; gap: 6px; align-items: flex-start; margin: 4px 0 8px; flex-wrap: wrap; }
794
+ .rev-cbox textarea { flex: 1; min-width: 160px; }
795
+ .rev-send {
796
+ display: block; width: 100%; margin: 10px 0; padding: 8px;
797
+ border: 1px solid var(--accent, #73d0ff); background: none; color: var(--accent, #73d0ff);
798
+ border-radius: 6px; font: inherit; cursor: pointer;
799
+ }
800
+ .rev-send:disabled { opacity: 0.45; cursor: default; }
801
+ .rev-sent { color: #7fd962; }