Spaces:
Sleeping
Sleeping
File size: 1,835 Bytes
ed38b58 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | /* style.css - Custom Chatbot Styling for Softouch Systems */
:root {
--primary-color: #0056b3; /* Dark Blue (like your headers) */
--secondary-color: #e9ecef; /* Light Gray (like your background) */
--accent-color: #ff6b00; /* Orange (like your buttons) */
--text-color: #333; /* Dark Gray (like your text) */
--light-text: #f8f9fa; /* White (for contrast) */
}
/* Chatbot Container */
.gradio-container {
font-family: 'Arial', sans-serif;
background-color: var(--secondary-color);
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Header Styling */
.gradio-header {
background-color: var(--primary-color);
color: var(--light-text);
padding: 12px 16px;
border-radius: 8px 8px 0 0;
font-weight: bold;
}
/* Chat Messages */
.user-message {
background-color: var(--primary-color);
color: var(--light-text);
border-radius: 18px 18px 0 18px;
padding: 10px 16px;
margin: 8px 0;
max-width: 80%;
align-self: flex-end;
}
.bot-message {
background-color: white;
color: var(--text-color);
border-radius: 18px 18px 18px 0;
padding: 10px 16px;
margin: 8px 0;
max-width: 80%;
align-self: flex-start;
border: 1px solid #ddd;
}
/* Input & Buttons */
.gradio-input {
border: 1px solid #ced4da;
border-radius: 4px;
padding: 8px 12px;
}
.gradio-button {
background-color: var(--accent-color) !important;
color: white !important;
border: none !important;
border-radius: 4px !important;
padding: 8px 16px !important;
cursor: pointer !important;
}
.gradio-button:hover {
background-color: #e05d00 !important;
}
/* Footer (if needed) */
.gradio-footer {
font-size: 12px;
color: #6c757d;
text-align: center;
padding: 8px;
} |