Spaces:
Running
Running
| /* Rosalinda Panel Styles */ | |
| .ro-salinda-panel { | |
| display: flex; | |
| flex-direction: column; | |
| height: 100%; | |
| } | |
| .conversation-container { | |
| flex: 1; | |
| padding: 1.5rem; | |
| overflow-y: auto; | |
| background: rgba(15, 23, 42, 0.7); | |
| border-bottom: 1px solid var(--border-color); | |
| } | |
| .message { | |
| margin-bottom: 1.5rem; | |
| padding: 1rem; | |
| border-radius: var(--border-radius); | |
| max-width: 85%; | |
| position: relative; | |
| animation: fadeIn 0.3s ease; | |
| } | |
| .user-message { | |
| margin-left: auto; | |
| background: var(--primary-dark); | |
| border: 1px solid var(--primary-color); | |
| border-bottom-right-radius: 0; | |
| } | |
| .assistant-message { | |
| margin-right: auto; | |
| background: var(--card-bg); | |
| border: 1px solid var(--border-color); | |
| border-bottom-left-radius: 0; | |
| } | |
| .message-content { | |
| word-break: break-word; | |
| } | |
| .message-content code { | |
| background: rgba(0, 0, 0, 0.3); | |
| padding: 0.2rem 0.4rem; | |
| border-radius: 4px; | |
| font-family: 'Fira Code', monospace; | |
| font-size: 0.9em; | |
| } | |
| .message-content pre { | |
| background: rgba(0, 0, 0, 0.4); | |
| padding: 1rem; | |
| border-radius: 6px; | |
| overflow-x: auto; | |
| margin: 0.5rem 0; | |
| } | |
| .message-content pre code { | |
| background: transparent; | |
| padding: 0; | |
| } | |
| .message-timestamp { | |
| font-size: 0.7rem; | |
| color: var(--text-muted); | |
| margin-top: 0.5rem; | |
| text-align: right; | |
| } | |
| .input-container { | |
| padding: 1rem; | |
| background: rgba(15, 23, 42, 0.9); | |
| } | |
| .input-form { | |
| display: flex; | |
| gap: 0.5rem; | |
| } | |
| .input-field { | |
| flex: 1; | |
| padding: 0.8rem 1rem; | |
| background: rgba(30, 41, 59, 0.8); | |
| border: 1px solid var(--border-color); | |
| border-radius: var(--border-radius); | |
| color: var(--text-light); | |
| font-family: inherit; | |
| resize: none; | |
| min-height: 50px; | |
| max-height: 150px; | |
| } | |
| .input-field:focus { | |
| outline: none; | |
| border-color: var(--primary-color); | |
| box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.3); | |
| } | |
| .send-btn { | |
| padding: 0 1.5rem; | |
| background: var(--primary-color); | |
| color: white; | |
| border: none; | |
| border-radius: var(--border-radius); | |
| cursor: pointer; | |
| transition: var(--transition); | |
| } | |
| .send-btn:hover { | |
| background: var(--primary-dark); | |
| } | |
| .send-btn:disabled { | |
| background: var(--border-color); | |
| cursor: not-allowed; | |
| } | |
| .quick-questions { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 0.5rem; | |
| padding: 1rem; | |
| background: rgba(15, 23, 42, 0.7); | |
| border-top: 1px solid var(--border-color); | |
| } | |
| .quick-question-btn { | |
| padding: 0.4rem 0.8rem; | |
| background: rgba(30, 41, 59, 0.8); | |
| border: 1px solid var(--border-color); | |
| border-radius: 20px; | |
| font-size: 0.85rem; | |
| cursor: pointer; | |
| transition: var(--transition); | |
| } | |
| .quick-question-btn:hover { | |
| background: var(--primary-dark); | |
| border-color: var(--primary-color); | |
| } | |
| .typing-indicator { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| padding: 1rem; | |
| color: var(--text-muted); | |
| font-style: italic; | |
| } | |
| .typing-dot { | |
| width: 8px; | |
| height: 8px; | |
| background: var(--text-muted); | |
| border-radius: 50%; | |
| animation: typingAnimation 1.4s infinite ease-in-out; | |
| } | |
| .typing-dot:nth-child(1) { | |
| animation-delay: 0s; | |
| } | |
| .typing-dot:nth-child(2) { | |
| animation-delay: 0.2s; | |
| } | |
| .typing-dot:nth-child(3) { | |
| animation-delay: 0.4s; | |
| } | |
| @keyframes typingAnimation { | |
| 0%, 60%, 100% { | |
| transform: translateY(0); | |
| } | |
| 30% { | |
| transform: translateY(-5px); | |
| } | |
| } | |
| @keyframes fadeIn { | |
| from { | |
| opacity: 0; | |
| transform: translateY(10px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } |