Spaces:
Runtime error
Runtime error
Upload styles.css
Browse files- styles.css +58 -0
styles.css
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Base layout */
|
| 2 |
+
html, body, [data-testid="stAppViewContainer"] {
|
| 3 |
+
background: var(--bg) !important;
|
| 4 |
+
}
|
| 5 |
+
|
| 6 |
+
.card {
|
| 7 |
+
background: var(--card);
|
| 8 |
+
border: 1px solid var(--border);
|
| 9 |
+
border-radius: 12px;
|
| 10 |
+
padding: 16px 16px;
|
| 11 |
+
box-shadow: 0 1px 2px rgba(0,0,0,0.04);
|
| 12 |
+
margin-bottom: 16px;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
.card-title {
|
| 16 |
+
color: var(--text);
|
| 17 |
+
font-weight: 700;
|
| 18 |
+
margin-bottom: 8px;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
.kpi {
|
| 22 |
+
display: flex;
|
| 23 |
+
flex-direction: column;
|
| 24 |
+
gap: 6px;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
.kpi .card-label {
|
| 28 |
+
color: var(--muted);
|
| 29 |
+
font-size: 13px;
|
| 30 |
+
text-transform: uppercase;
|
| 31 |
+
letter-spacing: 0.06em;
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
.kpi .card-value {
|
| 35 |
+
color: var(--text);
|
| 36 |
+
font-size: 26px;
|
| 37 |
+
font-weight: 800;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
/* Streamlit tweaks */
|
| 41 |
+
button[kind="secondary"] {
|
| 42 |
+
border-color: var(--primary) !important;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
/* Inputs */
|
| 46 |
+
section[data-testid="stSidebar"] .stSelectbox label,
|
| 47 |
+
section[data-testid="stSidebar"] .stMultiSelect label,
|
| 48 |
+
section[data-testid="stSidebar"] .stDateInput label {
|
| 49 |
+
color: var(--muted) !important;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
/* Tables */
|
| 53 |
+
div[data-testid="stTable"] {
|
| 54 |
+
border-radius: 8px;
|
| 55 |
+
overflow: hidden;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
|