cortico-world-memory-core 0.26.1 → 0.27.0

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/webui/style.css CHANGED
@@ -50,16 +50,16 @@
50
50
  --sheet-3: #e8e9e8;
51
51
  --ink: #1b1a1e;
52
52
  --ink-soft: #5c5c60;
53
- --ink-dim: #8b8b8f;
53
+ --ink-dim: #66666b;
54
54
  --line: #e3e4e3;
55
55
  --line-2: #d0d2d0;
56
56
  --line-strong: #aeb0ae;
57
- --accent: #00a870;
57
+ --accent: #007a52;
58
58
  --accent-2: #54b494;
59
59
  --on-accent: #ffffff;
60
- --ok: #19815e;
61
- --warn: #96743b;
62
- --danger: #b45950;
60
+ --ok: #167a58;
61
+ --warn: #7a5a1e;
62
+ --danger: #a8433a;
63
63
  --chart-1: #00a870;
64
64
  --chart-2: #54b494;
65
65
  --chart-3: #348f86;
@@ -81,16 +81,16 @@ html[data-mode="light"] {
81
81
  --sheet-3: #e8e9e8;
82
82
  --ink: #1b1a1e;
83
83
  --ink-soft: #5c5c60;
84
- --ink-dim: #8b8b8f;
84
+ --ink-dim: #66666b;
85
85
  --line: #e3e4e3;
86
86
  --line-2: #d0d2d0;
87
87
  --line-strong: #aeb0ae;
88
- --accent: #00a870;
88
+ --accent: #007a52;
89
89
  --accent-2: #54b494;
90
90
  --on-accent: #ffffff;
91
- --ok: #19815e;
92
- --warn: #96743b;
93
- --danger: #b45950;
91
+ --ok: #167a58;
92
+ --warn: #7a5a1e;
93
+ --danger: #a8433a;
94
94
  --chart-1: #00a870;
95
95
  --chart-2: #54b494;
96
96
  --chart-3: #348f86;
@@ -694,6 +694,9 @@ kbd {
694
694
  .maint-list { display: grid; gap: 2px; }
695
695
  .maint-row.wide { grid-template-columns: minmax(0, 1fr); }
696
696
  .maint-row.wide .maint-act { justify-content: flex-end; padding-top: 2px; }
697
+ .maint-row.keep-suggestion { grid-template-columns: minmax(0, 1fr); }
698
+ .keep-suggestion .maint-act { display: flex; flex-wrap: wrap; gap: 6px; }
699
+ .keep-suggestion-copy { overflow-wrap: anywhere; }
697
700
  .due-input {
698
701
  background: var(--paper); border: 1px solid var(--line-2); color: var(--ink);
699
702
  font-size: 11px; border-radius: 6px; padding: 3px 6px; font-family: var(--mono);
@@ -813,3 +816,150 @@ kbd {
813
816
  font-size: 10.5px; color: rgba(150, 170, 200, 0.45);
814
817
  pointer-events: none; letter-spacing: .04em;
815
818
  }
819
+
820
+ /* ── 基础无障碍与窄屏抽屉 ───────────────────────────── */
821
+
822
+ .skip-link {
823
+ position: fixed;
824
+ left: 12px;
825
+ top: 10px;
826
+ z-index: 100;
827
+ padding: 7px 11px;
828
+ border: 1px solid var(--accent);
829
+ border-radius: var(--radius-sm);
830
+ background: var(--sheet);
831
+ color: var(--ink);
832
+ transform: translateY(-160%);
833
+ transition: transform .15s ease;
834
+ }
835
+ .skip-link:focus {
836
+ transform: translateY(0);
837
+ }
838
+
839
+ button:focus-visible,
840
+ a:focus-visible,
841
+ input:focus-visible,
842
+ textarea:focus-visible,
843
+ select:focus-visible,
844
+ [tabindex]:focus-visible {
845
+ outline: 2px solid var(--accent);
846
+ outline-offset: 2px;
847
+ }
848
+
849
+ .mobile-only {
850
+ display: none;
851
+ }
852
+
853
+ .drawer-backdrop {
854
+ position: fixed;
855
+ inset: 0;
856
+ z-index: 42;
857
+ display: none;
858
+ background: rgb(0 0 0 / .42);
859
+ cursor: pointer;
860
+ }
861
+
862
+ @media (max-width: 980px) {
863
+ .mobile-only {
864
+ display: inline-flex;
865
+ }
866
+ #btn-details {
867
+ display: none;
868
+ }
869
+ .workspace {
870
+ grid-template-columns: minmax(0, 1fr) var(--insp-w);
871
+ }
872
+ .topbar {
873
+ flex-wrap: wrap;
874
+ gap: 8px;
875
+ }
876
+ .searchbox {
877
+ order: 3;
878
+ flex: 1 1 100%;
879
+ max-width: none;
880
+ }
881
+ .tabs {
882
+ order: 2;
883
+ margin-left: auto;
884
+ }
885
+ .top-actions {
886
+ order: 4;
887
+ width: 100%;
888
+ margin-left: 0;
889
+ }
890
+ .rail {
891
+ position: fixed;
892
+ inset: 0 auto 0 0;
893
+ z-index: 43;
894
+ display: block;
895
+ width: min(320px, 86vw);
896
+ max-width: 100%;
897
+ border-right: 1px solid var(--line-2);
898
+ box-shadow: 12px 0 30px rgb(0 0 0 / .28);
899
+ visibility: hidden;
900
+ transform: translateX(-105%);
901
+ transition: transform .18s ease, visibility .18s ease;
902
+ }
903
+ body[data-filters="open"] .rail {
904
+ visibility: visible;
905
+ transform: translateX(0);
906
+ }
907
+ body[data-filters="open"] .drawer-backdrop {
908
+ display: block;
909
+ }
910
+ }
911
+
912
+ @media (max-width: 760px) {
913
+ #btn-details {
914
+ display: inline-flex;
915
+ }
916
+ .workspace {
917
+ --insp-w: 0px;
918
+ grid-template-columns: minmax(0, 1fr);
919
+ }
920
+ .inspector {
921
+ position: fixed;
922
+ inset: 0 0 0 auto;
923
+ z-index: 43;
924
+ display: flex;
925
+ width: min(390px, 92vw);
926
+ max-width: 100%;
927
+ border-left: 1px solid var(--line-2);
928
+ box-shadow: -12px 0 30px rgb(0 0 0 / .28);
929
+ visibility: hidden;
930
+ transform: translateX(105%);
931
+ transition: transform .18s ease, visibility .18s ease;
932
+ }
933
+ body[data-insp="on"] .inspector {
934
+ visibility: visible;
935
+ transform: translateX(0);
936
+ }
937
+ body[data-insp="on"] .drawer-backdrop {
938
+ display: block;
939
+ }
940
+ .insp-stub {
941
+ display: none !important;
942
+ }
943
+ .topbar {
944
+ padding: 8px 10px;
945
+ }
946
+ .brand {
947
+ min-width: 0;
948
+ }
949
+ }
950
+
951
+ html[data-mode="light"] tr.retired td,
952
+ html[data-mode="light"] .tl-item.retired {
953
+ opacity: .72;
954
+ }
955
+
956
+ @media (prefers-reduced-motion: reduce) {
957
+ *,
958
+ *::before,
959
+ *::after {
960
+ animation-duration: .01ms !important;
961
+ animation-iteration-count: 1 !important;
962
+ scroll-behavior: auto !important;
963
+ transition-duration: .01ms !important;
964
+ }
965
+ }
@@ -0,0 +1,21 @@
1
+ .chat-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 14px; }
2
+ .chat-tools label, .chat-check { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; cursor: pointer; }
3
+ .chat-tools input, .chat-check input { accent-color: var(--accent); width: 16px; height: 16px; }
4
+ .chat-tools .btn { margin-inline-start: auto; }
5
+ .chat-tools .btn:disabled { opacity: .55; cursor: default; }
6
+ .chat-note { flex-basis: 100%; font-size: 12px; color: var(--ink-soft); margin: 0; }
7
+ .chat-empty { margin: 0; padding: 3rem 1rem; text-align: center; color: var(--ink-soft); }
8
+ .chat-line { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 8px; margin: 10px 0; }
9
+ .chat-bubble { justify-self: start; max-width: min(82%, 62ch); min-width: 0; padding: 8px 13px; border: 1px solid var(--line); background: var(--sheet-2); color: var(--ink); border-radius: 3px 12px 12px; }
10
+ .chat-line.owner .chat-bubble { justify-self: end; border-radius: 12px 3px 12px 12px; background: color-mix(in srgb, var(--accent) 10%, var(--sheet)); }
11
+ .chat-bubble header { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; font-size: 11px; color: var(--ink-soft); }
12
+ .chat-bubble time { font-family: var(--mono); }
13
+ .chat-bubble p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.55; }
14
+ .chat-line:has(input:checked) .chat-bubble { outline: 2px solid var(--accent); }
15
+ .chat-tools :focus-visible, .chat-check input:focus-visible, .turn-dialog button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
16
+ .turn-dialog { width: min(380px, 88vw); box-sizing: border-box; color: var(--ink); background: var(--sheet); border: 1px solid var(--line-strong); border-radius: 12px; padding: 22px; }
17
+ .turn-dialog::backdrop { background: rgba(0, 0, 0, .55); }
18
+ .turn-dialog h2 { margin: 0; font-size: 18px; }
19
+ .turn-dialog p { line-height: 1.65; }
20
+ .turn-dialog footer { display: flex; justify-content: end; gap: 10px; }
21
+ @media (max-width: 600px) { .chat-check { min-height: 42px; } .chat-bubble { max-width: 93%; } }
Binary file
Binary file
Binary file
Binary file