Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -128,56 +128,16 @@ with gr.Blocks() as demo:
|
|
128 |
)
|
129 |
|
130 |
demo.css = """
|
131 |
-
body {
|
132 |
-
background-color: #F4F4FF;
|
133 |
-
color: #2F22A4;
|
134 |
-
font-family: 'Arial', sans-serif;
|
135 |
-
}
|
136 |
-
.markdown h1, .markdown h2 {
|
137 |
-
color: #2F22A4;
|
138 |
-
}
|
139 |
-
button {
|
140 |
-
background-color: #805CFB;
|
141 |
-
color: white;
|
142 |
-
border-radius: 8px;
|
143 |
-
padding: 8px 16px;
|
144 |
-
font-weight: bold;
|
145 |
-
border: none;
|
146 |
-
}
|
147 |
-
button:hover {
|
148 |
-
background-color: #6457DE;
|
149 |
-
}
|
150 |
-
input[type="file"] {
|
151 |
-
border: 1px solid #AEB3FA;
|
152 |
-
background-color: #E6EAFD;
|
153 |
-
color: #2F22A4;
|
154 |
-
border-radius: 8px;
|
155 |
-
padding: 6px;
|
156 |
-
}
|
157 |
-
textarea, input[type="text"] {
|
158 |
-
background-color: #FFFFFF;
|
159 |
-
border: 1px solid #AEB3FA;
|
160 |
-
border-radius: 8px;
|
161 |
-
padding: 8px;
|
162 |
-
color: #2F22A4;
|
163 |
-
}
|
164 |
-
.chatbot {
|
165 |
-
background-color: #E6EAFD;
|
166 |
-
border-radius: 12px;
|
167 |
-
padding: 12px;
|
168 |
-
border: 1px solid #AEB3FA;
|
169 |
-
}
|
170 |
#scrollable-html, #scrollable-html-display {
|
171 |
max-height: 400px;
|
172 |
overflow: auto;
|
173 |
-
border: 1px solid #AEB3FA;
|
174 |
padding: 16px;
|
175 |
-
background-color: #F4F4FF;
|
176 |
border-radius: 12px;
|
177 |
font-family: 'Arial', sans-serif;
|
178 |
-
color: #2F22A4;
|
179 |
-
|
180 |
-
box-shadow: 0 2px 6px rgba(128, 92, 251, 0.1);
|
181 |
}
|
182 |
"""
|
183 |
|
|
|
128 |
)
|
129 |
|
130 |
demo.css = """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
#scrollable-html, #scrollable-html-display {
|
132 |
max-height: 400px;
|
133 |
overflow: auto;
|
134 |
+
border: 1px solid #AEB3FA; /* Primary 30 */
|
135 |
padding: 16px;
|
136 |
+
background-color: #F4F4FF; /* Primary 10 */
|
137 |
border-radius: 12px;
|
138 |
font-family: 'Arial', sans-serif;
|
139 |
+
color: #2F22A4; /* Primary 60 */
|
140 |
+
box-shadow: 0 2px 6px rgba(128, 92, 251, 0.1); /* Ups Purple */
|
|
|
141 |
}
|
142 |
"""
|
143 |
|