|
425 | 425 | }
|
426 | 426 |
|
427 | 427 | %grid-thead {
|
| 428 | + position: relative; |
428 | 429 | grid-row: 2;
|
429 | 430 | border-bottom: 1px dotted igx-color($palette, 'grays', 400);
|
430 | 431 | z-index: 2;
|
|
558 | 559 | }
|
559 | 560 |
|
560 | 561 | %grid-cell-display {
|
| 562 | + position: relative; |
561 | 563 | display: flex;
|
562 | 564 | flex: 1 1 0%;
|
563 | 565 | align-items: center;
|
|
582 | 584 | }
|
583 | 585 |
|
584 | 586 | %grid-cell--fixed-width {
|
| 587 | + position: relative; |
585 | 588 | flex-grow: 0;
|
| 589 | + outline-style: none; |
586 | 590 | }
|
587 | 591 |
|
588 | 592 | %grid-cell--selected {
|
|
625 | 629 | min-width: 0;
|
626 | 630 | padding: map-get($grid-header-padding, 'comfortable');
|
627 | 631 | border-right: 1px dotted igx-color($palette, 'grays', 400);
|
628 |
| - overflow: visible; |
| 632 | + outline-style: none; |
629 | 633 | }
|
630 | 634 |
|
631 | 635 | %grid-cell-header--cosy {
|
|
640 | 644 |
|
641 | 645 | %grid-cell-header-title {
|
642 | 646 | @include ellipsis();
|
643 |
| - display: inline-flex; |
644 |
| - align-items: center; |
| 647 | + min-width: 3ch; |
645 | 648 | user-select: none;
|
646 | 649 | cursor: initial;
|
647 | 650 | flex-grow: 1; /* hey IE, the text should take most of the space */
|
648 | 651 | align-self: flex-end;
|
649 | 652 | line-height: map-get($grid-header-height, 'comfortable') / $grid-head-fs;
|
650 | 653 | }
|
651 | 654 |
|
| 655 | + %grid-cell-header-title--cosy { |
| 656 | + line-height: map-get($grid-header-height, 'cosy') / $grid-head-fs; |
| 657 | + } |
| 658 | + |
| 659 | + %grid-cell-header-title--compact { |
| 660 | + line-height: map-get($grid-header-height, 'compact') / $grid-head-fs; |
| 661 | + } |
| 662 | + |
652 | 663 | %grid-cell-header-icons {
|
653 | 664 | display: inline-flex;
|
654 | 665 | align-items: center;
|
|
670 | 681 | }
|
671 | 682 | }
|
672 | 683 |
|
673 |
| - %grid-cell-header-title--cosy, |
674 | 684 | %grid-cell-header-icons--cosy {
|
675 | 685 | height: map-get($grid-header-height, 'cosy');
|
676 | 686 | }
|
677 | 687 |
|
678 |
| - %grid-cell-header-title--compact, |
679 | 688 | %grid-cell-header-icons--compact {
|
680 | 689 | height: map-get($grid-header-height, 'compact');
|
681 | 690 | }
|
|
751 | 760 |
|
752 | 761 |
|
753 | 762 | // Column moving
|
754 |
| - |
755 |
| - %igx-grid__th-drop-indicator-left { |
| 763 | + %igx-grid__th-drop-indicator-left, |
| 764 | + %igx-grid__th-drop-indicator-right { |
756 | 765 | position: absolute;
|
757 | 766 | width: 1px;
|
758 |
| - top: 0; |
759 |
| - left: -1px; |
760 | 767 | height: 100%;
|
| 768 | + top: 0; |
761 | 769 | }
|
762 | 770 |
|
| 771 | + %igx-grid__th-drop-indicator-left { |
| 772 | + left: -1px; |
| 773 | + } |
763 | 774 |
|
764 | 775 | %igx-grid__th-drop-indicator-right {
|
765 |
| - position: absolute; |
766 |
| - width: 1px; |
767 |
| - top: 0; |
768 | 776 | right: -1px;
|
769 |
| - height: 100%; |
770 | 777 | }
|
771 | 778 |
|
772 | 779 | %igx-grid__th-drop-indicator--active {
|
|
777 | 784 |
|
778 | 785 | &::after,
|
779 | 786 | &::before {
|
780 |
| - content: ''; |
781 | 787 | position: absolute;
|
| 788 | + content: ''; |
782 | 789 | width: 0;
|
783 | 790 | height: 0;
|
784 | 791 | border-style: solid;
|
785 |
| - left: -4.5px; |
| 792 | + left: -3px; |
786 | 793 | }
|
787 | 794 |
|
788 | 795 | &::before {
|
789 | 796 | bottom: 0;
|
790 |
| - border-width: 0 5px 5px; |
| 797 | + border-width: 0 4px 4px; |
791 | 798 | border-color: transparent transparent --var($theme, 'drop-indicator-color');
|
792 | 799 | }
|
793 | 800 |
|
794 | 801 | &::after {
|
795 | 802 | top: 0;
|
796 |
| - border-width: 5px 5px 0; |
| 803 | + border-width: 4px 4px 0; |
797 | 804 | border-color: --var($theme, 'drop-indicator-color') transparent transparent;
|
798 | 805 | }
|
799 | 806 | }
|
800 | 807 |
|
801 |
| - %grid__scroll-on-drag-left { |
| 808 | + %grid__scroll-on-drag-left, |
| 809 | + %grid__scroll-on-drag-right { |
802 | 810 | position: absolute;
|
803 | 811 | width: 15px;
|
804 | 812 | top: 0;
|
805 |
| - left: 0; |
806 | 813 | height: 100%;
|
807 | 814 | z-index: 25;
|
808 | 815 | }
|
809 | 816 |
|
| 817 | + %grid__scroll-on-drag-left { |
| 818 | + left: 0; |
| 819 | + } |
| 820 | + |
810 | 821 | %grid__scroll-on-drag-right {
|
811 |
| - position: absolute; |
812 |
| - width: 15px; |
813 |
| - top: 0; |
814 | 822 | right: 0;
|
815 |
| - height: 100%; |
816 |
| - z-index: 25; |
817 | 823 | }
|
818 | 824 |
|
819 | 825 | %grid__scroll-on-drag-pinned {
|
820 |
| - position: absolute; |
821 | 826 | width: 15px;
|
822 | 827 | height: 100%;
|
823 | 828 | top: 0;
|
824 | 829 | z-index: 25;
|
825 | 830 | }
|
826 | 831 |
|
827 | 832 | %grid__drag-ghost-image {
|
828 |
| - background-color: --var($theme, 'ghost-header-background'); |
829 |
| - color: --var($theme, 'ghost-header-text-color'); |
830 | 833 | position: absolute;
|
831 |
| - z-index: 20; |
| 834 | + display: flex; |
832 | 835 | align-items: center;
|
| 836 | + background-color: --var($theme, 'ghost-header-background'); |
| 837 | + color: --var($theme, 'ghost-header-text-color'); |
833 | 838 | height: map-get($grid-header-height, 'comfortable');
|
834 | 839 | min-height: map-get($grid-header-height, 'comfortable');
|
835 | 840 | top: -99999px;
|
836 | 841 | left: -99999px;
|
837 |
| - overflow: visible; |
838 |
| - display: inline-flex; |
| 842 | + border: none; |
839 | 843 | box-shadow: igx-elevation($elevations, 5);
|
| 844 | + overflow: hidden; |
| 845 | + z-index: 20; |
840 | 846 |
|
841 | 847 | %grid-cell-header-title {
|
842 | 848 | min-width: calc(100% - 24px);
|
|
845 | 851 | %grid-cell-header-icons {
|
846 | 852 | display: none;
|
847 | 853 | }
|
| 854 | + |
| 855 | + %grid-thead-title { |
| 856 | + border: none; |
| 857 | + } |
848 | 858 | }
|
849 | 859 |
|
850 | 860 | %grid__drag-ghost-image--cosy {
|
|
859 | 869 |
|
860 | 870 | %grid__drag-ghost-image-icon {
|
861 | 871 | color: --var($theme, 'ghost-header-icon-color');
|
862 |
| - font-size: rem(24px); |
863 | 872 | margin-right: rem(12px);
|
864 |
| - padding-bottom: rem(12px); |
865 | 873 | }
|
866 | 874 |
|
867 | 875 | %grid__drag-ghost-image-icon-group {
|
868 | 876 | color: --var($theme, 'ghost-header-icon-color');
|
869 |
| - font-size: rem(24px); |
870 |
| - margin-right: rem(12px); |
871 |
| - padding-top: rem(12px); |
872 |
| - padding-left: rem(12px); |
| 877 | + padding: --var($grid-header-padding, 'comfortable'); |
| 878 | + padding-right: 0; |
873 | 879 | margin-right: rem(8);
|
874 |
| - width: rem(24px); |
875 | 880 | }
|
876 | 881 |
|
877 | 882 | %igx-grid__drag-col-header {
|
|
883 | 888 | }
|
884 | 889 | }
|
885 | 890 |
|
886 |
| - // Groupby section |
887 |
| - |
| 891 | + // Group by section |
888 | 892 | %igx-grid__group-row {
|
889 | 893 | background-color: --var($theme, 'group-row-background');
|
890 | 894 | display: flex;
|
|
1047 | 1051 | flex-wrap: wrap;
|
1048 | 1052 |
|
1049 | 1053 | &:focus {
|
1050 |
| - outline: transparent; |
| 1054 | + outline-style: none; |
1051 | 1055 | }
|
1052 | 1056 | }
|
1053 | 1057 |
|
|
1122 | 1126 |
|
1123 | 1127 | &:hover,
|
1124 | 1128 | &:focus {
|
1125 |
| - outline: transparent; |
| 1129 | + outline-style: none; |
1126 | 1130 |
|
1127 | 1131 | %igx-icon-display {
|
1128 | 1132 | color: --var($theme, 'expand-icon-hover-color');
|
|
0 commit comments