Spaces:
Sleeping
Sleeping
Create assets/style.css
Browse files- assets/style.css +74 -0
assets/style.css
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Custom styling for Homeopathic Analyzer */
|
| 2 |
+
.stApp {
|
| 3 |
+
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
| 4 |
+
}
|
| 5 |
+
|
| 6 |
+
.css-1d391kg {
|
| 7 |
+
padding-top: 2rem;
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
/* Header styling */
|
| 11 |
+
h1, h2, h3 {
|
| 12 |
+
color: #2c3e50;
|
| 13 |
+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
/* Card-like containers */
|
| 17 |
+
.stExpander {
|
| 18 |
+
background-color: white;
|
| 19 |
+
border-radius: 10px;
|
| 20 |
+
border: 1px solid #e1e8ed;
|
| 21 |
+
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
/* Button styling */
|
| 25 |
+
.stButton > button {
|
| 26 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 27 |
+
color: white;
|
| 28 |
+
border: none;
|
| 29 |
+
padding: 0.75rem 2rem;
|
| 30 |
+
border-radius: 8px;
|
| 31 |
+
font-weight: 600;
|
| 32 |
+
transition: all 0.3s ease;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
.stButton > button:hover {
|
| 36 |
+
transform: translateY(-2px);
|
| 37 |
+
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
/* Metric cards */
|
| 41 |
+
.css-1xarl3l {
|
| 42 |
+
background: white;
|
| 43 |
+
border-radius: 10px;
|
| 44 |
+
padding: 1rem;
|
| 45 |
+
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
/* Sidebar */
|
| 49 |
+
.css-1d391kg {
|
| 50 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
/* Chat messages */
|
| 54 |
+
.stChatMessage {
|
| 55 |
+
background: linear-gradient(135deg, #fdfcfb 0%, #e2d1c3 100%);
|
| 56 |
+
border-radius: 15px;
|
| 57 |
+
padding: 1.5rem;
|
| 58 |
+
margin: 1rem 0;
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
/* Tabs */
|
| 62 |
+
.stTabs [data-baseweb="tab-list"] {
|
| 63 |
+
gap: 2px;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
.stTabs [data-baseweb="tab"] {
|
| 67 |
+
background-color: #f8f9fa;
|
| 68 |
+
border-radius: 5px 5px 0 0;
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
.stTabs [aria-selected="true"] {
|
| 72 |
+
background-color: white;
|
| 73 |
+
border-bottom: 3px solid #667eea;
|
| 74 |
+
}
|