-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
97 lines (81 loc) · 2.68 KB
/
Copy pathstyle.css
File metadata and controls
97 lines (81 loc) · 2.68 KB
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
96
97
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');
:root {
--primary: #6366f1;
--secondary: #a855f7;
--background: #0f172a;
--card-bg: rgba(30, 41, 59, 0.8);
--text-main: #ffffff;
--text-accent: #a855f7;
}
/* Base Styles */
.stApp {
font-family: 'Outfit', sans-serif;
background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%) !important;
color: var(--text-main) !important;
}
/* 1. SIDEBAR FIX - Restoring standard visibility and adding color */
[data-testid="stSidebar"] {
background: linear-gradient(180deg, #1e1b4b 0%, #0f172a 100%) !important;
border-right: 1px solid rgba(168, 85, 247, 0.2) !important;
}
/* Ensure sidebar text and labels are white/visible */
[data-testid="stSidebar"] .stMarkdown,
[data-testid="stSidebar"] p,
[data-testid="stSidebar"] span,
[data-testid="stSidebar"] label {
color: #ffffff !important;
}
/* 2. SELECTBOX & DROPDOWN FIX */
/* Target the text in the selectbox */
div[data-testid="stSelectbox"] div[data-baseweb="select"] * {
color: var(--text-accent) !important;
font-weight: 700 !important;
}
/* Target the dropdown list in the popover portal */
div[data-baseweb="popover"] ul[role="listbox"] {
background-color: #0f172a !important;
border: 1px solid var(--text-accent) !important;
}
div[data-baseweb="popover"] ul[role="listbox"] li {
color: var(--text-accent) !important;
background-color: transparent !important;
}
div[data-baseweb="popover"] ul[role="listbox"] li:hover {
background-color: rgba(168, 85, 247, 0.2) !important;
color: #ffffff !important;
}
/* 3. FILE UPLOADER */
[data-testid="stFileUploader"] section {
background-color: rgba(255, 255, 255, 0.05) !important;
border: 2px dashed rgba(255, 255, 255, 0.2) !important;
}
[data-testid="stFileUploader"] button {
background-color: var(--primary) !important;
color: white !important;
}
/* 4. BUTTONS */
.stButton>button, .stDownloadButton>button {
background: linear-gradient(to right, var(--primary), var(--secondary)) !important;
color: white !important;
font-weight: 700 !important;
border-radius: 50px !important;
border: none !important;
padding: 0.75rem 2.5rem !important;
}
.stButton>button:hover, .stDownloadButton>button:hover {
box-shadow: 0 10px 20px rgba(99, 102, 241, 0.4) !important;
}
/* 5. METRICS */
.metric-value {
color: #818cf8 !important;
font-size: 2.2rem !important;
font-weight: 800 !important;
}
/* 6. TITLES */
.main-title {
font-size: 3.5rem;
font-weight: 800;
background: linear-gradient(to right, #a5b4fc, #d8b4fe);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}