Spaces:
Sleeping
Sleeping
File size: 2,265 Bytes
9e22989 |
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 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
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>
""" |