web-mojo 2.2.87 → 2.2.89

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/admin.css CHANGED
@@ -873,37 +873,71 @@
873
873
  margin: 0 auto;
874
874
  }
875
875
 
876
- /* Clean up message styling inside assistant */
876
+ /* ── Assistant chat message differentiation ──────────────────── */
877
+
878
+ /* Base message reset */
877
879
  .assistant-chat-area .chat-theme-compact .message-item {
878
880
  border-bottom: none;
879
- padding: 12px 0;
881
+ padding: 16px 0 8px;
880
882
  }
881
883
 
882
884
  .assistant-chat-area .chat-theme-compact .message-item:hover {
883
885
  background: transparent;
884
886
  }
885
887
 
886
- .assistant-chat-area .message-avatar {
888
+ /* ── Assistant messages: full-width, clean left-align ────── */
889
+
890
+ .assistant-chat-area .message-assistant .message-avatar {
887
891
  width: 28px;
888
892
  height: 28px;
889
- font-size: 0.7rem;
890
- }
891
-
892
- .assistant-chat-area .chat-message.message-assistant .message-avatar {
893
+ font-size: 0.85rem;
893
894
  background: var(--bs-primary) !important;
894
895
  color: #fff;
895
896
  }
896
897
 
897
- .assistant-chat-area .message-text {
898
+ .assistant-chat-area .message-assistant .message-text {
898
899
  font-size: 0.9rem;
899
900
  line-height: 1.5;
901
+ white-space: normal;
900
902
  }
901
903
 
902
- /* Override pre-wrap for assistant markdown HTML block elements
903
- provide their own spacing; pre-wrap adds visible whitespace
904
- between tags like <p>, <ol>, <li> */
905
- .assistant-chat-area .message-assistant .message-text {
906
- white-space: normal;
904
+ /* ── User messages: right-aligned bubble ─────────────────── */
905
+
906
+ .assistant-chat-area .message-user .message-item {
907
+ flex-direction: row-reverse;
908
+ }
909
+
910
+ .assistant-chat-area .message-user .message-avatar {
911
+ display: none;
912
+ }
913
+
914
+ .assistant-chat-area .message-user .message-content {
915
+ flex: unset;
916
+ max-width: 75%;
917
+ background: var(--bs-primary);
918
+ color: #fff;
919
+ border-radius: 18px 18px 4px 18px;
920
+ padding: 10px 16px;
921
+ }
922
+
923
+ .assistant-chat-area .message-user .message-header {
924
+ justify-content: flex-end;
925
+ }
926
+
927
+ .assistant-chat-area .message-user .message-author {
928
+ display: none;
929
+ }
930
+
931
+ .assistant-chat-area .message-user .message-time {
932
+ color: rgba(255, 255, 255, 0.7);
933
+ font-size: 0.7rem;
934
+ }
935
+
936
+ .assistant-chat-area .message-user .message-text {
937
+ font-size: 0.9rem;
938
+ line-height: 1.5;
939
+ color: #fff;
940
+ white-space: pre-wrap;
907
941
  }
908
942
 
909
943
  /* ── Custom Input Area ────────────────────────────────────── */
@@ -1003,6 +1037,17 @@
1003
1037
  color: var(--bs-danger);
1004
1038
  }
1005
1039
 
1040
+ .assistant-input-status {
1041
+ font-size: 0.78rem;
1042
+ color: var(--bs-warning-text-emphasis);
1043
+ background: var(--bs-warning-bg-subtle);
1044
+ border: 1px solid var(--bs-warning-border-subtle);
1045
+ border-radius: 6px;
1046
+ padding: 5px 12px;
1047
+ margin-bottom: 8px;
1048
+ text-align: center;
1049
+ }
1050
+
1006
1051
  .assistant-input-footer {
1007
1052
  display: flex;
1008
1053
  align-items: center;
@@ -1597,15 +1642,13 @@
1597
1642
  gap: 8px;
1598
1643
  }
1599
1644
 
1600
- .assistant-action-buttons button.assistant-action-dimmed {
1601
- opacity: 0.35;
1602
- cursor: not-allowed;
1645
+ .assistant-action-chosen-label {
1646
+ font-size: 0.82rem;
1647
+ color: var(--bs-success-text-emphasis);
1603
1648
  }
1604
1649
 
1605
- .assistant-action-buttons button.assistant-action-chosen {
1606
- opacity: 1;
1607
- outline: 2px solid var(--bs-primary);
1608
- outline-offset: 1px;
1650
+ .assistant-action-chosen-label i {
1651
+ color: var(--bs-success);
1609
1652
  }
1610
1653
 
1611
1654
  /* ── List blocks (key/value detail) ──────────────────────── */
@@ -1795,3 +1838,59 @@
1795
1838
  padding-right: 16px;
1796
1839
  }
1797
1840
  }
1841
+
1842
+
1843
+ /* ================================================================
1844
+ Assistant Management Pages (Skills, Memory, Conversations)
1845
+ ================================================================ */
1846
+
1847
+ /* --- Skill View --- */
1848
+
1849
+ .assistant-skill-view {
1850
+ padding: 1rem;
1851
+ }
1852
+
1853
+ .skill-steps-list {
1854
+ border: 1px solid var(--bs-border-color);
1855
+ border-radius: 0.375rem;
1856
+ padding: 0.5rem 1rem;
1857
+ background: var(--bs-body-bg);
1858
+ }
1859
+
1860
+ .skill-step-item {
1861
+ padding: 0.625rem 0;
1862
+ }
1863
+
1864
+ .skill-step-number .badge {
1865
+ width: 28px;
1866
+ height: 28px;
1867
+ display: flex;
1868
+ align-items: center;
1869
+ justify-content: center;
1870
+ font-size: 0.75rem;
1871
+ }
1872
+
1873
+ /* --- Memory Page --- */
1874
+
1875
+ .assistant-memory-page .table code {
1876
+ font-size: 0.8125rem;
1877
+ color: var(--bs-emphasis-color);
1878
+ background: var(--bs-tertiary-bg);
1879
+ padding: 0.125rem 0.375rem;
1880
+ border-radius: 0.25rem;
1881
+ }
1882
+
1883
+ .assistant-memory-page .table td:last-child {
1884
+ white-space: nowrap;
1885
+ }
1886
+
1887
+ /* --- Conversation View --- */
1888
+
1889
+ .assistant-conversation-view {
1890
+ padding: 1rem;
1891
+ }
1892
+
1893
+ .assistant-conversation-view .chat-messages {
1894
+ max-height: 600px;
1895
+ overflow-y: auto;
1896
+ }