|
210 | 210 |
|
211 | 211 | .btnsContainer {
|
212 | 212 | display: flex;
|
| 213 | + /* Adjust spacing between items */ |
213 | 214 | margin: 2.5rem 0;
|
| 215 | + align-items: center; |
| 216 | + gap: 10px; |
214 | 217 | }
|
215 | 218 |
|
216 | 219 | .btnsContainer .btnsBlock {
|
|
393 | 396 | transform: scale(1.5);
|
394 | 397 | color: var(--bs-danger);
|
395 | 398 | margin-bottom: 1rem;
|
| 399 | + /* Add error icon for non-color indication */ |
| 400 | + &::before { |
| 401 | + content: '⚠️'; |
| 402 | + margin-right: 0.5rem; |
| 403 | + } |
396 | 404 | }
|
397 | 405 |
|
398 | 406 | .subTagsLink {
|
|
405 | 413 | visibility: hidden;
|
406 | 414 | }
|
407 | 415 |
|
408 |
| -.subTagsLink:hover { |
| 416 | +.subTagsLink:hover, |
| 417 | +.subTagsLink:focus { |
409 | 418 | color: var(--subtle-blue-grey-hover);
|
410 | 419 | font-weight: 600;
|
411 | 420 | text-decoration: underline;
|
412 | 421 | }
|
413 | 422 |
|
414 |
| -.subTagsLink:hover i { |
| 423 | +.subTagsLink:hover i, |
| 424 | +.subTagsLink:focus i { |
415 | 425 | visibility: visible;
|
416 | 426 | }
|
417 | 427 |
|
@@ -606,3 +616,145 @@ hr {
|
606 | 616 | transform: rotate(360deg);
|
607 | 617 | }
|
608 | 618 | }
|
| 619 | + |
| 620 | +.btnsContainer .btnsBlock { |
| 621 | + display: flex; |
| 622 | + width: max-content; |
| 623 | +} |
| 624 | + |
| 625 | +.btnsContainer .btnsBlock button { |
| 626 | + margin-left: 1rem; |
| 627 | + display: flex; |
| 628 | + justify-content: center; |
| 629 | + align-items: center; |
| 630 | +} |
| 631 | + |
| 632 | +.btnsContainer .input { |
| 633 | + flex: 1; |
| 634 | + position: relative; |
| 635 | + max-width: 60%; |
| 636 | + justify-content: space-between; |
| 637 | +} |
| 638 | + |
| 639 | +.btnsContainer input { |
| 640 | + outline: 1px solid var(--bs-gray-400); |
| 641 | +} |
| 642 | + |
| 643 | +.btnsContainer .input button { |
| 644 | + width: 52px; |
| 645 | +} |
| 646 | + |
| 647 | +@media (max-width: 1020px) { |
| 648 | + .btnsContainer { |
| 649 | + flex-direction: column; |
| 650 | + margin: 1.5rem 0; |
| 651 | + } |
| 652 | + |
| 653 | + .btnsContainer .btnsBlock { |
| 654 | + margin: 1.5rem 0 0 0; |
| 655 | + justify-content: space-between; |
| 656 | + } |
| 657 | + |
| 658 | + .btnsContainer .btnsBlock button { |
| 659 | + margin: 0; |
| 660 | + } |
| 661 | + |
| 662 | + .btnsContainer .btnsBlock div button { |
| 663 | + margin-right: 1.5rem; |
| 664 | + } |
| 665 | +} |
| 666 | + |
| 667 | +/* For mobile devices */ |
| 668 | + |
| 669 | +@media (max-width: 520px) { |
| 670 | + .btnsContainer { |
| 671 | + margin-bottom: 0; |
| 672 | + } |
| 673 | + |
| 674 | + .btnsContainer .btnsBlock { |
| 675 | + display: block; |
| 676 | + margin-top: 1rem; |
| 677 | + margin-right: 0; |
| 678 | + } |
| 679 | + |
| 680 | + .btnsContainer .btnsBlock div { |
| 681 | + flex: 1; |
| 682 | + } |
| 683 | + |
| 684 | + .btnsContainer .btnsBlock div[title='Sort organizations'] { |
| 685 | + margin-right: 0.5rem; |
| 686 | + } |
| 687 | + |
| 688 | + .btnsContainer .btnsBlock button { |
| 689 | + margin-bottom: 1rem; |
| 690 | + margin-right: 0; |
| 691 | + width: 100%; |
| 692 | + } |
| 693 | +} |
| 694 | + |
| 695 | +.errorMessage { |
| 696 | + margin-top: 25%; |
| 697 | + display: flex; |
| 698 | + justify-content: center; |
| 699 | + align-items: center; |
| 700 | + flex-direction: column; |
| 701 | +} |
| 702 | + |
| 703 | +.tableHeader { |
| 704 | + background-color: var(--bs-primary-text-emphasis); |
| 705 | + color: var(--bs-white); |
| 706 | + font-size: 1rem; |
| 707 | +} |
| 708 | +.rowBackground { |
| 709 | + background-color: var(--bs-white); |
| 710 | + max-height: 120px; |
| 711 | + overflow-y: auto; |
| 712 | +} |
| 713 | + |
| 714 | +.subTagsLink { |
| 715 | + color: var(--bs-blue); |
| 716 | + font-weight: 500; |
| 717 | + cursor: pointer; |
| 718 | + /* Prevent layout shift */ |
| 719 | + &::after { |
| 720 | + display: block; |
| 721 | + content: attr(data-text); |
| 722 | + font-weight: 600; |
| 723 | + height: 0; |
| 724 | + overflow: hidden; |
| 725 | + visibility: hidden; |
| 726 | + } |
| 727 | +} |
| 728 | + |
| 729 | +.subTagsLink i { |
| 730 | + visibility: hidden; |
| 731 | +} |
| 732 | + |
| 733 | +.tagsBreadCrumbs { |
| 734 | + color: var(--bs-gray); |
| 735 | + cursor: pointer; |
| 736 | + /* Prevent layout shift */ |
| 737 | + &::after { |
| 738 | + display: block; |
| 739 | + content: attr(data-text); |
| 740 | + font-weight: 600; |
| 741 | + height: 0; |
| 742 | + overflow: hidden; |
| 743 | + visibility: hidden; |
| 744 | + } |
| 745 | +} |
| 746 | + |
| 747 | +.tagsBreadCrumbs:hover, |
| 748 | +.tagsBreadCrumbs:focus { |
| 749 | + color: var(--bs-blue); |
| 750 | + font-weight: 600; |
| 751 | + text-decoration: underline; |
| 752 | +} |
| 753 | + |
| 754 | +.subTagsScrollableDiv { |
| 755 | + scrollbar-width: auto; |
| 756 | + scrollbar-color: var(--bs-gray-400) var(--bs-white); |
| 757 | + |
| 758 | + max-height: calc(100vh - 18rem); |
| 759 | + overflow: auto; |
| 760 | +} |
0 commit comments