-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.py
More file actions
93 lines (80 loc) · 2.63 KB
/
Copy pathstyles.py
File metadata and controls
93 lines (80 loc) · 2.63 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
# styles.py
def apply_quantum_theme():
"""Apply Jungle / Ethnobotany Theme for Quantum Ethno-Pharma"""
css = """
<style>
/* ====================== JUNGLE ETHNOBOTANY THEME ====================== */
.stApp {
background: linear-gradient(135deg, #0f1a14 0%, #1a2f21 100%);
color: #e8f5e9;
}
/* Header */
h1 {
background: linear-gradient(90deg, #4ade80, #22c55e, #eab308);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-weight: 700;
letter-spacing: -0.02em;
}
/* Containers & Cards */
.stCard, div[data-testid="stExpander"], .stMarkdown,
div[data-testid="stVerticalBlock"] > div {
background: rgba(16, 35, 25, 0.92) !important;
border: 1px solid rgba(74, 222, 128, 0.35);
border-radius: 18px;
box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
}
/* Buttons */
.stButton > button {
background: linear-gradient(90deg, #4ade80, #22c55e);
color: #0f1a14;
font-weight: 600;
border-radius: 14px;
border: none;
transition: all 0.3s ease;
}
.stButton > button:hover {
transform: translateY(-3px);
box-shadow: 0 0 25px rgba(74, 222, 128, 0.7);
}
/* Inputs */
.stTextInput > div > div > input,
.stSelectbox > div > div > div,
.stMultiselect > div > div > div,
.stSlider > div {
background: #1a2f21 !important;
border: 1px solid #4ade80 !important;
border-radius: 12px;
color: #e8f5e9;
}
/* Metrics */
.stMetric {
background: rgba(74, 222, 128, 0.12);
border: 1px solid #4ade80;
border-radius: 14px;
}
/* Sidebar */
section[data-testid="stSidebar"] {
background: #0c1a14;
border-right: 3px solid #4ade80;
}
/* Jungle Glow */
.quantum-title {
text-shadow: 0 0 20px #4ade80,
0 0 35px #22c55e;
}
/* Scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-thumb {
background: linear-gradient(#4ade80, #22c55e);
border-radius: 10px;
}
hr {
border-color: rgba(74, 222, 128, 0.3);
}
</style>
"""
return css