SPOC_V1 / static /style.css
JatsTheAIGen's picture
Upload autonomous lab application
906d397
raw
history blame
2.41 kB
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; display: flex; height: 100vh; margin: 0; background-color: #f8f9fa; }
.container { display: flex; width: 100%; height: 100%; }
.sidebar { width: 250px; background-color: #e9ecef; padding: 15px; border-right: 1px solid #dee2e6; display: flex; flex-direction: column; }
.sidebar h3 { font-size: 1rem; color: #495057; margin-top: 0; }
.sidebar button { width: 100%; padding: 10px; border: none; border-radius: 5px; background-color: #007bff; color: white; cursor: pointer; margin-bottom: 15px; }
.sidebar hr { border: none; border-top: 1px solid #dee2e6; margin: 15px 0; }
.main-chat { flex-grow: 1; display: flex; flex-direction: column; background-color: #ffffff; }
#chat-window { flex-grow: 1; padding: 20px; overflow-y: auto; }
.chat-input { display: flex; padding: 10px; border-top: 1px solid #dee2e6; background-color: #f1f3f5; }
textarea { flex-grow: 1; padding: 10px; border-radius: 8px; border: 1px solid #ced4da; resize: none; font-size: 1rem; line-height: 1.5; }
textarea:focus { outline: none; border-color: #80bdff; box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25); }
#send-btn { padding: 10px 15px; margin-left: 10px; border: none; background-color: #007bff; color: white; border-radius: 8px; cursor: pointer; font-weight: bold; }
#send-btn:disabled { background-color: #6c757d; cursor: not-allowed; }
.message { margin-bottom: 15px; max-width: 80%; }
.message strong { display: block; margin-bottom: 5px; color: #212529; }
.message p { margin: 0; padding: 10px 15px; border-radius: 12px; line-height: 1.6; }
.user-message { align-self: flex-end; margin-left: auto; }
.user-message p { background-color: #007bff; color: white; }
.agent-message { align-self: flex-start; }
.agent-message p { background-color: #e9ecef; color: #212529; }
.approval-form { background-color: #f8f9fa; border: 1px solid #dee2e6; border-radius: 8px; padding: 15px; margin-top: 10px; }
.approval-form label { display: block; margin-bottom: 5px; font-weight: bold; }
.approval-form input { width: 100px; padding: 5px; border-radius: 5px; border: 1px solid #ced4da; margin-bottom: 10px; }
.approval-buttons button { padding: 8px 12px; border: none; border-radius: 5px; cursor: pointer; margin-right: 10px; }
#proceed-btn { background-color: #28a745; color: white; }
#cancel-btn { background-color: #dc3545; color: white; }