Spaces:
Running
Running
add
Browse files- static/style.css +148 -0
static/style.css
CHANGED
|
@@ -541,4 +541,152 @@ box-shadow: 0 5px 15px rgba(0,0,0,0.2);
|
|
| 541 |
}
|
| 542 |
.summary-action-btn:hover {
|
| 543 |
background-color:white;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 544 |
}
|
|
|
|
| 541 |
}
|
| 542 |
.summary-action-btn:hover {
|
| 543 |
background-color:white;
|
| 544 |
+
}
|
| 545 |
+
|
| 546 |
+
|
| 547 |
+
|
| 548 |
+
.translate{
|
| 549 |
+
background-color:white;
|
| 550 |
+
color: black;
|
| 551 |
+
border-radius: 5px;
|
| 552 |
+
border: none;
|
| 553 |
+
font-size: 20px;
|
| 554 |
+
width: 200px;
|
| 555 |
+
height: 40px;
|
| 556 |
+
border: 2px solid black;
|
| 557 |
+
}
|
| 558 |
+
.translate:hover {
|
| 559 |
+
transform: translateX(8px);
|
| 560 |
+
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
|
| 561 |
+
}
|
| 562 |
+
.result{
|
| 563 |
+
text-align: center;
|
| 564 |
+
}
|
| 565 |
+
.results-containe{
|
| 566 |
+
background: white;
|
| 567 |
+
border-radius: 12px;
|
| 568 |
+
padding: 2rem;
|
| 569 |
+
margin-top: 50px;
|
| 570 |
+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
| 571 |
+
height: 230px;
|
| 572 |
+
}
|
| 573 |
+
.visualiser{
|
| 574 |
+
background-color:white;
|
| 575 |
+
color: black;
|
| 576 |
+
border-radius: 5px;
|
| 577 |
+
border: 2px solid black;
|
| 578 |
+
font-size: 20px;
|
| 579 |
+
width: 200px;
|
| 580 |
+
height: 40px;
|
| 581 |
+
}
|
| 582 |
+
.visualiser:hover {
|
| 583 |
+
transform: translateX(8px);
|
| 584 |
+
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
|
| 585 |
+
}
|
| 586 |
+
.summary-action-btn:hover {
|
| 587 |
+
transform: translateX(8px);
|
| 588 |
+
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
|
| 589 |
+
}
|
| 590 |
+
|
| 591 |
+
.question-btn:hover {
|
| 592 |
+
transform: translateX(8px);
|
| 593 |
+
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
|
| 594 |
+
}
|
| 595 |
+
|
| 596 |
+
|
| 597 |
+
|
| 598 |
+
|
| 599 |
+
/* Anciens IDs */
|
| 600 |
+
#resultImage → #graphResultImage
|
| 601 |
+
#placeholderText → #graphPlaceholderText
|
| 602 |
+
#uploadForm → #graphUploadForm
|
| 603 |
+
#fileInput → #graphFileInput
|
| 604 |
+
#graphType → #graphTypeSelect
|
| 605 |
+
|
| 606 |
+
/* Nouveaux styles avec les IDs modifiés */
|
| 607 |
+
#graphResultImage {
|
| 608 |
+
max-width: 100%;
|
| 609 |
+
max-height: 450px;
|
| 610 |
+
display: none; /* Reste caché par défaut */
|
| 611 |
+
margin: 0 auto;
|
| 612 |
+
border-radius: 8px;
|
| 613 |
+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
| 614 |
+
}
|
| 615 |
+
|
| 616 |
+
#graphPlaceholderText {
|
| 617 |
+
margin: 20px 0;
|
| 618 |
+
font-size: 1.3rem;
|
| 619 |
+
color: #666;
|
| 620 |
+
text-align: center;
|
| 621 |
+
}
|
| 622 |
+
|
| 623 |
+
#graphUploadForm {
|
| 624 |
+
width: 100%;
|
| 625 |
+
max-width: 800px;
|
| 626 |
+
margin: 0 auto;
|
| 627 |
+
}
|
| 628 |
+
|
| 629 |
+
#graphFileInput {
|
| 630 |
+
opacity: 0;
|
| 631 |
+
position: absolute;
|
| 632 |
+
width: 100%;
|
| 633 |
+
height: 100%;
|
| 634 |
+
top: 0;
|
| 635 |
+
left: 0;
|
| 636 |
+
cursor: pointer;
|
| 637 |
+
}
|
| 638 |
+
|
| 639 |
+
#graphTypeSelect {
|
| 640 |
+
padding: 12px 15px;
|
| 641 |
+
border-radius: 8px;
|
| 642 |
+
border: 2px solid #ddd;
|
| 643 |
+
font-size: 16px;
|
| 644 |
+
width: 250px;
|
| 645 |
+
background: white;
|
| 646 |
+
cursor: pointer;
|
| 647 |
+
}
|
| 648 |
+
|
| 649 |
+
/* Zones de résultats modifiées */
|
| 650 |
+
/* Empêche tout rechargement involontaire */
|
| 651 |
+
body, html {
|
| 652 |
+
overscroll-behavior: contain;
|
| 653 |
+
}
|
| 654 |
+
|
| 655 |
+
.graph-result-img {
|
| 656 |
+
display: none;
|
| 657 |
+
max-width: 100%;
|
| 658 |
+
max-height: 70vh;
|
| 659 |
+
margin: 20px auto;
|
| 660 |
+
border-radius: 8px;
|
| 661 |
+
box-shadow: 0 2px 10px rgba(0,0,0,0.2);
|
| 662 |
+
}
|
| 663 |
+
|
| 664 |
+
.graph-results-container {
|
| 665 |
+
background: white;
|
| 666 |
+
border-radius: 12px;
|
| 667 |
+
padding: 2rem;
|
| 668 |
+
margin: 30px auto;
|
| 669 |
+
min-height: 60vh;
|
| 670 |
+
display: flex;
|
| 671 |
+
flex-direction: column;
|
| 672 |
+
justify-content: center;
|
| 673 |
+
}
|
| 674 |
+
|
| 675 |
+
.graph-generate-btn {
|
| 676 |
+
padding: 12px 25px;
|
| 677 |
+
background: white;
|
| 678 |
+
color: black;
|
| 679 |
+
border: 2px solid black;
|
| 680 |
+
border-radius: 8px;
|
| 681 |
+
cursor: pointer;
|
| 682 |
+
transition: all 0.2s;
|
| 683 |
+
}
|
| 684 |
+
|
| 685 |
+
.graph-generate-btn:hover {
|
| 686 |
+
transform: translateY(-2px);
|
| 687 |
+
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
| 688 |
+
}
|
| 689 |
+
|
| 690 |
+
.graph-generate-btn:active {
|
| 691 |
+
transform: translateY(0);
|
| 692 |
}
|