diff --git a/src/mais4u/mais4u_chat/context_web_manager.py b/src/mais4u/mais4u_chat/context_web_manager.py index 844782092..0c3ac4f6a 100644 --- a/src/mais4u/mais4u_chat/context_web_manager.py +++ b/src/mais4u/mais4u_chat/context_web_manager.py @@ -147,49 +147,30 @@ class ContextWebManager: border-left: 4px solid #00ff88; backdrop-filter: blur(5px); animation: slideIn 0.3s ease-out; + transform: translateY(0); + transition: transform 0.5s ease, opacity 0.5s ease; } .message:hover { background: rgba(0, 0, 0, 0.5); transform: translateX(5px); transition: all 0.3s ease; } - .user-info { - display: flex; - justify-content: space-between; - align-items: center; - margin-bottom: 8px; - } - .username { - font-weight: bold; - color: #00ff88; - font-size: 18px; - } - .timestamp { - color: #888; - font-size: 14px; - } - .group-name { - color: #60a5fa; - font-size: 14px; - font-style: italic; - } - .content { - font-size: 20px; + .message-line { line-height: 1.4; word-wrap: break-word; + font-size: 24px; } - .status { - position: fixed; - top: 20px; - right: 20px; - background: rgba(0, 0, 0, 0.7); - color: #888; - font-size: 12px; - padding: 8px 12px; - border-radius: 20px; - backdrop-filter: blur(10px); - z-index: 1000; + .username { + color: #00ff88; } + .content { + color: #ffffff; + } + + .new-message { + animation: slideInNew 0.6s ease-out; + } + .debug-btn { position: fixed; bottom: 20px; @@ -217,6 +198,16 @@ class ContextWebManager: transform: translateY(0); } } + @keyframes slideInNew { + from { + opacity: 0; + transform: translateY(50px) scale(0.95); + } + to { + opacity: 1; + transform: translateY(0) scale(1); + } + } .no-messages { text-align: center; color: #666; @@ -227,7 +218,6 @@ class ContextWebManager: