|
1023 | 1023 | border-bottom: 1px solid var-get($theme, 'row-border-color');
|
1024 | 1024 | outline-style: none;
|
1025 | 1025 | position: relative;
|
| 1026 | + background-clip: content-box !important; |
1026 | 1027 |
|
1027 | 1028 | &:hover {
|
1028 | 1029 | background: var-get($theme, 'row-hover-background');
|
|
1106 | 1107 | color: var-get($theme, 'row-even-text-color');
|
1107 | 1108 | }
|
1108 | 1109 |
|
1109 |
| - %grid-row--selected { |
1110 |
| - color: var-get($theme, 'row-selected-text-color'); |
1111 |
| - background: var-get($theme, 'row-selected-background'); |
1112 |
| - |
1113 |
| - %grid-cell--selected, |
1114 |
| - %grid-cell--pinned-selected { |
1115 |
| - color: var-get($theme, 'cell-selected-within-text-color'); |
1116 |
| - background: var-get($theme, 'cell-selected-within-background'); |
1117 |
| - } |
1118 |
| - |
1119 |
| - &:hover { |
1120 |
| - background: var-get($theme, 'row-selected-hover-background'); |
1121 |
| - color: var-get($theme, 'row-selected-hover-text-color'); |
1122 |
| - |
1123 |
| - %grid-cell--column-selected { |
1124 |
| - color: var-get($theme, 'row-selected-hover-text-color'); |
1125 |
| - background: var-get($theme, 'row-selected-hover-background'); |
1126 |
| - } |
1127 |
| - } |
1128 |
| - |
1129 |
| - %igx-grid__tree-grouping-indicator { |
1130 |
| - color: var-get($theme, 'row-selected-text-color'); |
1131 |
| - |
1132 |
| - &:hover { |
1133 |
| - color: var-get($theme, 'row-selected-text-color'); |
1134 |
| - } |
1135 |
| - } |
1136 |
| - } |
1137 |
| - |
1138 | 1110 | %igx-grid__tr--expanded {
|
1139 | 1111 | border-bottom: none;
|
1140 | 1112 | }
|
|
1357 | 1329 | line-height: $grid-cell-lh;
|
1358 | 1330 | color: inherit;
|
1359 | 1331 | text-align: #{$left};
|
| 1332 | + background-clip: border-box !important; |
1360 | 1333 | }
|
1361 | 1334 |
|
1362 | 1335 | %igx-grid__td--tree-cell {
|
|
1390 | 1363 | }
|
1391 | 1364 | }
|
1392 | 1365 |
|
| 1366 | + %grid-cell--pinned-selected, |
1393 | 1367 | %grid-cell--selected {
|
1394 | 1368 | color: var-get($theme, 'cell-selected-text-color');
|
1395 | 1369 | background: var-get($theme, 'cell-selected-background');
|
|
1403 | 1377 | }
|
1404 | 1378 | }
|
1405 | 1379 |
|
| 1380 | + %grid-row--selected { |
| 1381 | + color: var-get($theme, 'row-selected-text-color'); |
| 1382 | + background: var-get($theme, 'row-selected-background'); |
| 1383 | + |
| 1384 | + %grid-cell--selected, |
| 1385 | + %grid-cell--pinned-selected { |
| 1386 | + color: var-get($theme, 'cell-selected-within-text-color'); |
| 1387 | + background: var-get($theme, 'cell-selected-within-background'); |
| 1388 | + } |
| 1389 | + |
| 1390 | + &:hover { |
| 1391 | + background: var-get($theme, 'row-selected-hover-background'); |
| 1392 | + color: var-get($theme, 'row-selected-hover-text-color'); |
| 1393 | + |
| 1394 | + %grid-cell--column-selected { |
| 1395 | + color: var-get($theme, 'row-selected-hover-text-color'); |
| 1396 | + background: var-get($theme, 'row-selected-hover-background'); |
| 1397 | + } |
| 1398 | + } |
| 1399 | + |
| 1400 | + %igx-grid__tree-grouping-indicator { |
| 1401 | + color: var-get($theme, 'row-selected-text-color'); |
| 1402 | + |
| 1403 | + &:hover { |
| 1404 | + color: var-get($theme, 'row-selected-text-color'); |
| 1405 | + } |
| 1406 | + } |
| 1407 | + } |
| 1408 | + |
1406 | 1409 | %grid-cell--column-selected {
|
1407 | 1410 | color: var-get($theme, 'row-selected-text-color');
|
1408 | 1411 | background: var-get($theme, 'row-selected-background');
|
|
1498 | 1501 | z-index: 9999;
|
1499 | 1502 | }
|
1500 | 1503 |
|
1501 |
| - %grid-cell--pinned-selected { |
1502 |
| - color: var-get($theme, 'cell-selected-text-color'); |
1503 |
| - background: var-get($theme, 'cell-selected-background'); |
1504 |
| - // this is causing an issue https://github.com/IgniteUI/igniteui-angular/issues/4981 |
1505 |
| - // border-bottom: 0; |
1506 |
| - } |
1507 |
| - |
1508 | 1504 | %grid-cell--pinned--column-selected {
|
1509 | 1505 | color: var-get($theme, 'row-selected-text-color');
|
1510 | 1506 | background: var-get($theme, 'row-selected-background');
|
|
1670 | 1666 | background: var-get($theme, 'header-selected-background');
|
1671 | 1667 | opacity: if($variant != 'indigo-design', .7, 1);
|
1672 | 1668 |
|
1673 |
| - .sort-icon::after { |
1674 |
| - background: var-get($theme, 'header-selected-background'); |
| 1669 | + .sort-icon { |
| 1670 | + color: var-get($theme, 'header-selected-text-color'); |
| 1671 | + |
| 1672 | + ::after { |
| 1673 | + background: var-get($theme, 'header-selected-background'); |
| 1674 | + } |
| 1675 | + } |
| 1676 | + |
| 1677 | + &%igx-grid-th--sorted { |
| 1678 | + .sort-icon { |
| 1679 | + color: var-get($theme, 'header-selected-text-color'); |
| 1680 | + |
| 1681 | + &:focus, |
| 1682 | + &:hover { |
| 1683 | + color: var-get($theme, 'header-selected-text-color'); |
| 1684 | + } |
| 1685 | + } |
1675 | 1686 | }
|
1676 | 1687 | }
|
1677 | 1688 |
|
|
1682 | 1693 | .sort-icon::after {
|
1683 | 1694 | background: var-get($theme, 'header-selected-background');
|
1684 | 1695 | }
|
| 1696 | + |
| 1697 | + &%igx-grid-th--sorted { |
| 1698 | + .sort-icon { |
| 1699 | + color: var-get($theme, 'header-selected-text-color'); |
| 1700 | + |
| 1701 | + &:focus, |
| 1702 | + &:hover { |
| 1703 | + color: var-get($theme, 'header-selected-text-color'); |
| 1704 | + } |
| 1705 | + } |
| 1706 | + } |
1685 | 1707 | }
|
1686 | 1708 |
|
1687 | 1709 | %igx-grid-th--active {
|
|
1836 | 1858 | border-bottom: none;
|
1837 | 1859 | }
|
1838 | 1860 |
|
1839 |
| - // %igx-grid-summary__label, |
1840 | 1861 | %igx-grid-summary__result {
|
1841 | 1862 | color: var-get($theme, 'body-summaries-text-color');
|
1842 | 1863 | }
|
|
0 commit comments