agoor97's picture
Add application files
9e22989
CUSTOM_CSS = """
<style>
.stApp {
/* Very light and soft blue gradient background */
background: linear-gradient(135deg, #e6f0ff 0%, #f0f5ff 100%);
}
.main {
background: rgba(255, 255, 255, 0.98);
border-radius: 15px;
padding: 2rem;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
color: #333;
}
.search-box {
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
color: #333;
}
.stats-card {
/* Soft blue gradient for cards */
background: linear-gradient(135deg, #4a90e2 0%, #87bfff 100%);
padding: 20px;
border-radius: 10px;
color: white;
margin: 10px;
}
.file-card {
background: white;
padding: 15px;
border-radius: 8px;
margin: 10px 0;
border-left: 4px solid #4a90e2;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
color: #333;
}
.custom-button {
/* Soft blue gradient for buttons */
background: linear-gradient(135deg, #4a90e2 0%, #87bfff 100%);
color: white;
padding: 10px 20px;
border-radius: 5px;
border: none;
cursor: pointer;
transition: transform 0.2s ease;
}
.custom-button:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* Ensuring text visibility */
h1, h2, h3, h4, h5, h6, p, span, label {
color: #333;
}
/* Header and logo */
.header {
background: transparent;
}
.logo {
/* Adjust logo color for lighter background */
filter: brightness(0) opacity(0.8); /* Makes logo dark with slight transparency */
}
/* Form elements */
.stTextInput > div > div > input {
color: #333 !important;
background: white !important;
}
.stSelectbox > div > div > div {
color: #333 !important;
background: white !important;
}
/* Additional styles for better contrast */
.stMarkdown {
color: #333 !important;
}
/* Making shadows softer */
.stApp div {
box-shadow: none !important;
}
</style>
"""