Update app.py
Browse files
app.py
CHANGED
@@ -352,14 +352,16 @@ footer p {
|
|
352 |
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
|
353 |
}
|
354 |
|
|
|
355 |
/* Submission Section Styling */
|
356 |
.submission-section {
|
357 |
margin: 40px auto;
|
358 |
padding: 30px;
|
359 |
-
background: linear-gradient(135deg, #
|
360 |
-
border-radius:
|
361 |
-
box-shadow: 0
|
362 |
-
|
|
|
363 |
text-align: center;
|
364 |
}
|
365 |
|
@@ -376,67 +378,6 @@ footer p {
|
|
376 |
margin-bottom: 30px;
|
377 |
}
|
378 |
|
379 |
-
#submission-fields {
|
380 |
-
display: flex;
|
381 |
-
flex-direction: column;
|
382 |
-
gap: 20px;
|
383 |
-
align-items: center;
|
384 |
-
}
|
385 |
-
|
386 |
-
#submission-fields input[type="file"],
|
387 |
-
#submission-fields input[type="text"] {
|
388 |
-
width: 90%;
|
389 |
-
max-width: 400px;
|
390 |
-
padding: 12px 15px;
|
391 |
-
font-size: 1em;
|
392 |
-
border: 2px solid #d3bce8;
|
393 |
-
border-radius: 8px;
|
394 |
-
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
|
395 |
-
transition: border-color 0.3s ease;
|
396 |
-
}
|
397 |
-
|
398 |
-
#submission-fields input[type="file"]:focus,
|
399 |
-
#submission-fields input[type="text"]:focus {
|
400 |
-
border-color: #6a1b9a;
|
401 |
-
outline: none;
|
402 |
-
box-shadow: 0 0 5px rgba(106, 27, 154, 0.4);
|
403 |
-
}
|
404 |
-
|
405 |
-
#submission-results {
|
406 |
-
margin-top: 20px;
|
407 |
-
text-align: center;
|
408 |
-
}
|
409 |
-
|
410 |
-
#submission-buttons {
|
411 |
-
display: flex;
|
412 |
-
justify-content: center;
|
413 |
-
gap: 15px;
|
414 |
-
margin-top: 20px;
|
415 |
-
}
|
416 |
-
|
417 |
-
#submission-buttons button {
|
418 |
-
padding: 10px 20px;
|
419 |
-
font-size: 1em;
|
420 |
-
color: #ffffff;
|
421 |
-
background: #6a1b9a;
|
422 |
-
border: none;
|
423 |
-
border-radius: 30px;
|
424 |
-
cursor: pointer;
|
425 |
-
font-weight: bold;
|
426 |
-
transition: background 0.3s ease, transform 0.3s ease;
|
427 |
-
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
428 |
-
}
|
429 |
-
|
430 |
-
#submission-buttons button:hover {
|
431 |
-
background: #8c52d3;
|
432 |
-
transform: scale(1.05);
|
433 |
-
}
|
434 |
-
|
435 |
-
#submission-buttons button:active {
|
436 |
-
background: #5e1287;
|
437 |
-
transform: scale(0.98);
|
438 |
-
}
|
439 |
-
/* Input Fields Styling */
|
440 |
/* Input Fields Styling */
|
441 |
#submission-fields input[type="file"],
|
442 |
#submission-fields input[type="text"] {
|
@@ -470,7 +411,7 @@ footer p {
|
|
470 |
font-size: 1em;
|
471 |
border-radius: 8px;
|
472 |
border: 2px solid #6a1b9a; /* Matches the hover color */
|
473 |
-
background: #
|
474 |
color: #333;
|
475 |
font-weight: bold;
|
476 |
box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
|
@@ -503,6 +444,7 @@ footer p {
|
|
503 |
}
|
504 |
|
505 |
|
|
|
506 |
"""
|
507 |
|
508 |
# Create the Gradio Interface
|
|
|
352 |
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
|
353 |
}
|
354 |
|
355 |
+
/* Submission Section Styling */
|
356 |
/* Submission Section Styling */
|
357 |
.submission-section {
|
358 |
margin: 40px auto;
|
359 |
padding: 30px;
|
360 |
+
background: linear-gradient(135deg, #f9f7fd, #ffffff); /* Subtle gradient */
|
361 |
+
border-radius: 15px;
|
362 |
+
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
|
363 |
+
border: 2px solid #d3bce8; /* Soft purple border */
|
364 |
+
max-width: 900px;
|
365 |
text-align: center;
|
366 |
}
|
367 |
|
|
|
378 |
margin-bottom: 30px;
|
379 |
}
|
380 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
381 |
/* Input Fields Styling */
|
382 |
#submission-fields input[type="file"],
|
383 |
#submission-fields input[type="text"] {
|
|
|
411 |
font-size: 1em;
|
412 |
border-radius: 8px;
|
413 |
border: 2px solid #6a1b9a; /* Matches the hover color */
|
414 |
+
background: #f8f6fc; /* Subtle purple background */
|
415 |
color: #333;
|
416 |
font-weight: bold;
|
417 |
box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
|
|
|
444 |
}
|
445 |
|
446 |
|
447 |
+
|
448 |
"""
|
449 |
|
450 |
# Create the Gradio Interface
|