Skip to content

Commit 42d533a

Browse files
authored
Add files via upload
1 parent 5d3075d commit 42d533a

9 files changed

+144
-0
lines changed
1006 Bytes
Binary file not shown.
3.73 KB
Binary file not shown.
3.58 KB
Binary file not shown.
458 Bytes
Binary file not shown.
5.13 KB
Binary file not shown.
1.74 KB
Binary file not shown.

assets/dark_theme.py

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
dark = '''
2+
<style>
3+
/* Main App styling */
4+
.stApp, .stApp .stMarkdown p, .stApp .sidebar .sidebar-content {
5+
background-color: #0E1117;
6+
color: #FAFAFA;
7+
}
8+
9+
/* Main headers styling */
10+
.stApp .stMarkdown h1, .stApp .stMarkdown h2, .stApp .stMarkdown h3 {
11+
color: #FAFAFA;
12+
}
13+
14+
/* Sidebar headers styling */
15+
.stApp .sidebar .stMarkdown h1, .stApp .sidebar .stMarkdown h2, .stApp .sidebar .stMarkdown h3 {
16+
color: #FAFAFA;
17+
}
18+
19+
/* Button styling */
20+
.stButton>button {
21+
background-color: #FF4B4B;
22+
color: #0E1117;
23+
}
24+
25+
.stButton>button:hover {
26+
background-color: #E73232;
27+
color: #FAFAFA;
28+
}
29+
30+
.stButton>button:active {
31+
background-color: #262730;
32+
color: #FAFAFA;
33+
}
34+
35+
/* Other stylings remain the same ... */
36+
</style>
37+
'''

assets/light_theme.py

+94
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
light = '''
2+
<style>
3+
/* Main App styling */
4+
.stApp, .stApp .stMarkdown p, .stApp .sidebar .sidebar-content {
5+
background-color: #FFFFFF;
6+
color: #31333F;
7+
}
8+
9+
/* Main headers styling */
10+
.stApp .stMarkdown h1, .stApp .stMarkdown h2 {
11+
color: #666666;
12+
}
13+
14+
.stApp .stMarkdown h3 {
15+
color: #666666; /* Changed to a mid-gray for better visibility */
16+
background-color: transparent;
17+
margin: 0; /* Remove margin to blend seamlessly */
18+
padding: 0; /* Remove padding if any */
19+
}
20+
21+
/* Sidebar headers styling */
22+
.stApp .sidebar .stMarkdown h1, .stApp .sidebar .stMarkdown h2 {
23+
color: #666666;
24+
}
25+
26+
.stApp .sidebar .stMarkdown h3 {
27+
color: #666666; /* Adjusted to mid-gray for better visibility against white background */
28+
background-color: #FFFFFF;
29+
margin: 0; /* Remove margin to blend seamlessly */
30+
padding: 0; /* Remove padding if any */
31+
}
32+
33+
/* Input and text area styling */
34+
.stTextInput input, .stTextArea>textarea, .st-chat-inputbox {
35+
background-color: transparent;
36+
color: #31333F;
37+
}
38+
39+
/* Button styling */
40+
.stButton>button {
41+
background-color: #FF4B4B;
42+
color: #31333F; /* Adjusted this for better visibility */
43+
}
44+
45+
.stButton>button:hover {
46+
background-color: #E73232;
47+
color: #FFFFFF; /* Adjusted this for better visibility */
48+
}
49+
50+
.stButton>button:active {
51+
background-color: #D62727;
52+
color: #FFFFFF; /* Adjusted this for better visibility */
53+
}
54+
55+
/* Specific class with a long list of concatenated class names */
56+
.st-bf.st-ck.st-ek.st-el.st-em.st-en.st-cl.st-cn.st-cm.st-co.st-cp.st-b8.st-eo.st-cf.st-bm.st-e6.st-ep.st-eq.st-er.st-es.st-ae.st-af.st-ag.st-be.st-ai.st-aj.st-bx.st-et.st-eu.st-ev.st-am.st-fb {
57+
background-color: #FFFFFF;
58+
color: rgba(38, 39, 48, 0.5);
59+
}
60+
61+
/* First class with a list of concatenated class names */
62+
.st-bf.st-b3.st-bl.st-eb.st-bn.st-bo.st-bp.st-bq.st-br.st-bs.st-bt.st-bu.st-ec.st-b1.st-bw.st-bh.st-bi.st-bj.st-bk.st-ed.st-ee.st-ef.st-eg.st-ck.st-eh.st-ei.st-cp {
63+
color: #31333F;
64+
}
65+
66+
/* Chat input container styling */
67+
.stChatFloatingInputContainer.css-usj992.ehod42b2 {
68+
background-color: #FFFFFF;
69+
}
70+
71+
/* Adjusting background for the specified class */
72+
.css-nahz7x.eqr7zpz4, .css-k7vsyb.eqr7zpz1 {
73+
background-color: transparent; /* Making them transparent */
74+
color: #31333F;
75+
}
76+
77+
/* XPath Specific Styling */
78+
[id="root"] > div:nth-child(1) > div:nth-child(1) > div > div > div > section:nth-child(2) > div:nth-child(1) > div:nth-child(1) > div > div:nth-child(3) > div > div {
79+
background-color: #FFFFFF;
80+
}
81+
82+
[id="root"] > div:nth-child(1) > div:nth-child(1) > div > div > div > section:nth-child(1) > div:nth-child(1) > div:nth-child(2) > div > div:nth-child(1) > div > div:nth-child(4) > div > div,
83+
[id="root"] > div:nth-child(1) > div:nth-child(1) > div > div > div > section:nth-child(1) > div:nth-child(1) > div:nth-child(2) > div > div:nth-child(1) > div > div:nth-child(1) > div > div {
84+
color: #31333F;
85+
}
86+
87+
[id="root"] > div:nth-child(1) > div:nth-child(1) > div > div > div > section:nth-child(2) > div:nth-child(1) > div:nth-child(1) > div > div:nth-child(6) > div:nth-child(2) > div:nth-child(1) > div > div > div > div {
88+
color: #31333F;
89+
}
90+
91+
/* Other stylings remain the same ... */
92+
93+
</style>
94+
'''

assets/made_by_sdw.py

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
made_by_sdw = '''
2+
<style>
3+
.made_by {
4+
position: fixed;
5+
bottom: 10px;
6+
right: 10px;
7+
font-weight: bold;
8+
background-color: rgba(0, 0, 0, 0.7); # adding a slight background for readability
9+
padding: 5px 10px;
10+
border-radius: 5px;
11+
}
12+
</style>
13+
'''

0 commit comments

Comments
 (0)