cortico-world-memory-core 0.4.1 → 0.4.3

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
@@ -699,3 +699,38 @@ kbd {
699
699
  font-size: 11px; border-radius: 6px; padding: 3px 6px; font-family: var(--mono);
700
700
  width: 188px;
701
701
  }
702
+
703
+ /* ── 原文页:含归档开关 ───────────────────────────────── */
704
+ .turns-bar {
705
+ position: sticky; top: 0; z-index: 2;
706
+ display: flex; align-items: center; gap: 12px;
707
+ padding: 2px 0 10px; margin-bottom: 2px;
708
+ background: linear-gradient(var(--paper) 72%, transparent);
709
+ font-size: 11.5px;
710
+ }
711
+ .turns-bar .dim { color: var(--ink-dim); }
712
+ .turns-none { padding: 14px 2px; font-size: 12px; }
713
+ .day-group.archive .day-head b { color: var(--warn); }
714
+ .day-group.archive .turn { opacity: 0.92; }
715
+ .archive-head {
716
+ display: flex; align-items: center; gap: 8px;
717
+ margin: 18px 0 6px; padding-top: 12px;
718
+ border-top: 1px dashed var(--line-2);
719
+ font-size: 11px; color: var(--warn);
720
+ }
721
+ .archive-head span { color: var(--ink-dim); }
722
+
723
+ /* ── 原文单条删除 ───────────────────────────────────── */
724
+ .turn { position: relative; padding-right: 22px; }
725
+ .turn-del {
726
+ position: absolute; right: 4px; top: 6px;
727
+ width: 20px; height: 20px; padding: 0;
728
+ display: grid; place-items: center;
729
+ border: 1px solid transparent; border-radius: 6px;
730
+ background: transparent; color: var(--ink-dim);
731
+ font-size: 14px; line-height: 1; cursor: pointer;
732
+ opacity: 0; transition: opacity .12s ease;
733
+ }
734
+ .turn:hover .turn-del, .turn-del:focus-visible { opacity: 1; }
735
+ .turn-del:hover { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 45%, transparent); background: var(--paper); }
736
+ @media (hover: none) { .turn-del { opacity: .55; } }