Update style.css
Browse files
style.css
CHANGED
@@ -4,12 +4,12 @@
|
|
4 |
}
|
5 |
|
6 |
[data-testid="stHeader"] {
|
7 |
-
display: none; /* Hide default Streamlit header
|
8 |
}
|
9 |
|
10 |
/* 2) Main heading (H1) styling */
|
11 |
h1 {
|
12 |
-
color: #000000;
|
13 |
font-weight: 700;
|
14 |
font-size: 2.5rem; /* Adjust size as needed */
|
15 |
margin-bottom: 1rem;
|
@@ -25,57 +25,58 @@ h1 {
|
|
25 |
|
26 |
/* The background box behind the icon */
|
27 |
.icon-box {
|
28 |
-
background-color: #
|
29 |
width: 40px;
|
30 |
height: 40px;
|
31 |
border-radius: 8px;
|
32 |
display: flex;
|
33 |
align-items: center;
|
34 |
justify-content: center;
|
35 |
-
color: #000000;
|
36 |
font-size: 20px;
|
37 |
}
|
38 |
|
39 |
/* The text “How may I help you?” */
|
40 |
.icon-text {
|
41 |
-
color: #000000; /* Black text
|
42 |
font-size: 1.1rem;
|
43 |
margin: 0;
|
44 |
}
|
45 |
|
46 |
/* 4) Subheading for “Add additional files here” */
|
47 |
h4 {
|
48 |
-
color: #000000; /* Black text
|
49 |
font-weight: 400;
|
50 |
margin-bottom: 0.5rem;
|
51 |
}
|
52 |
|
53 |
/* 5) Streamlit file uploader styling */
|
54 |
[data-testid="stFileUploader"] {
|
55 |
-
background-color: #
|
56 |
-
border: 1px solid #
|
57 |
border-radius: 8px;
|
58 |
padding: 1.2rem;
|
59 |
-
color: #000000;
|
60 |
}
|
61 |
|
62 |
/* Uploader label text (the main “Drag and drop file here”) */
|
63 |
[data-testid="stFileUploader"] label {
|
64 |
-
color: #000000;
|
65 |
font-size: 1rem;
|
66 |
font-weight: 500;
|
67 |
}
|
68 |
|
69 |
/* The subtext (the smaller “Limit 200MB per file”) */
|
70 |
[data-testid="stFileUploader"] .css-1f42894 {
|
71 |
-
color: #
|
72 |
font-size: 0.9rem;
|
73 |
margin-top: 0.4rem;
|
74 |
}
|
75 |
|
76 |
/* 6) Browse Files button */
|
77 |
button[kind="secondary"] {
|
78 |
-
background-color: #
|
79 |
-
color: #
|
80 |
border-radius: 8px !important;
|
|
|
81 |
}
|
|
|
4 |
}
|
5 |
|
6 |
[data-testid="stHeader"] {
|
7 |
+
display: none; /* Hide default Streamlit header */
|
8 |
}
|
9 |
|
10 |
/* 2) Main heading (H1) styling */
|
11 |
h1 {
|
12 |
+
color: #000000; /* Black title */
|
13 |
font-weight: 700;
|
14 |
font-size: 2.5rem; /* Adjust size as needed */
|
15 |
margin-bottom: 1rem;
|
|
|
25 |
|
26 |
/* The background box behind the icon */
|
27 |
.icon-box {
|
28 |
+
background-color: #E0E0E0; /* Light gray box */
|
29 |
width: 40px;
|
30 |
height: 40px;
|
31 |
border-radius: 8px;
|
32 |
display: flex;
|
33 |
align-items: center;
|
34 |
justify-content: center;
|
35 |
+
color: #000000; /* Black icon */
|
36 |
font-size: 20px;
|
37 |
}
|
38 |
|
39 |
/* The text “How may I help you?” */
|
40 |
.icon-text {
|
41 |
+
color: #000000; /* Black text */
|
42 |
font-size: 1.1rem;
|
43 |
margin: 0;
|
44 |
}
|
45 |
|
46 |
/* 4) Subheading for “Add additional files here” */
|
47 |
h4 {
|
48 |
+
color: #000000; /* Black text */
|
49 |
font-weight: 400;
|
50 |
margin-bottom: 0.5rem;
|
51 |
}
|
52 |
|
53 |
/* 5) Streamlit file uploader styling */
|
54 |
[data-testid="stFileUploader"] {
|
55 |
+
background-color: #E0E0E0; /* Light gray box */
|
56 |
+
border: 1px solid #B0B0B0; /* Slightly darker gray border */
|
57 |
border-radius: 8px;
|
58 |
padding: 1.2rem;
|
59 |
+
color: #000000; /* Black text */
|
60 |
}
|
61 |
|
62 |
/* Uploader label text (the main “Drag and drop file here”) */
|
63 |
[data-testid="stFileUploader"] label {
|
64 |
+
color: #000000; /* Black text */
|
65 |
font-size: 1rem;
|
66 |
font-weight: 500;
|
67 |
}
|
68 |
|
69 |
/* The subtext (the smaller “Limit 200MB per file”) */
|
70 |
[data-testid="stFileUploader"] .css-1f42894 {
|
71 |
+
color: #444444; /* Dark gray for subtext */
|
72 |
font-size: 0.9rem;
|
73 |
margin-top: 0.4rem;
|
74 |
}
|
75 |
|
76 |
/* 6) Browse Files button */
|
77 |
button[kind="secondary"] {
|
78 |
+
background-color: #E0E0E0 !important; /* Light gray button */
|
79 |
+
color: #000000 !important; /* Black text */
|
80 |
border-radius: 8px !important;
|
81 |
+
border: 1px solid #B0B0B0 !important;
|
82 |
}
|