DoctorAI / styles.css
Xolkin's picture
Create styles.css
ae3b14a verified
/* styles.css */
/* Reset all margins and paddings */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* Container styles */
.gradio-container {
background-color: #ffffff; /* White background */
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
}
/* Button styles */
.gradio-button {
background-color: #D32F2F; /* Metro red color */
color: white;
border: none;
border-radius: 5px;
padding: 12px 25px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.gradio-button:hover {
background-color: #C62828; /* Darker red */
}
/* Slider styles */
.gradio-slider {
background-color: #f1f1f1;
border-radius: 8px;
border: 1px solid #ddd;
padding: 10px;
}
/* Textbox styles */
.gradio-textbox {
background-color: #ffffff;
border: 1px solid #ddd;
border-radius: 8px;
padding: 10px;
font-size: 14px;
width: 100%;
transition: border-color 0.3s ease;
}
.gradio-textbox:focus {
border-color: #D32F2F; /* Red color */
}
/* Label styles */
.gradio-label {
font-size: 14px;
font-weight: bold;
color: #333;
}
/* Chat styles */
.gradio-chat {
background-color: #ffffff; /* White background for chat messages */
border: 1px solid #ddd;
border-radius: 8px;
padding: 15px;
}
.gradio-chat .gradio-message {
background-color: #f1f1f1; /* Light gray for chat messages */
border-radius: 8px;
padding: 10px;
margin-bottom: 10px;
}
.gradio-chat .gradio-user-message {
background-color: #D32F2F; /* Red color for user messages */
color: white;
}
.gradio-chat .gradio-assistant-message {
background-color: #eeeeee; /* Lighter color for assistant's messages */
}