SofTouch-Chatbot / style.css
STSDerek's picture
Create style.css - with initial settings to match the website.
e38b4d3 verified
Raw History Blame
1.84 kB
/* 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;
}