cell.less 877 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. @import 'variables';
  2. .ui-grid-cell {
  3. overflow: hidden;
  4. // position: absolute;
  5. // position: relative; // NOTE: removing so border is visible
  6. float: left;
  7. background-color: inherit;
  8. border-right: @gridBorderWidth solid;
  9. border-color: @borderColor;
  10. box-sizing: border-box;
  11. &:last-child {
  12. border-right: 0;
  13. }
  14. }
  15. .ui-grid-cell-contents {
  16. padding: 5px;
  17. -moz-box-sizing: border-box;
  18. -webkit-box-sizing: border-box;
  19. box-sizing: border-box;
  20. white-space: nowrap;
  21. -ms-text-overflow: ellipsis;
  22. -o-text-overflow: ellipsis;
  23. text-overflow: ellipsis;
  24. overflow: hidden;
  25. height: 100%;
  26. // width: 100%;
  27. }
  28. .ui-grid-cell-contents-hidden {
  29. visibility: hidden;
  30. width: 0;
  31. height:0;
  32. display: none;
  33. }
  34. .ui-grid-row .ui-grid-cell.ui-grid-row-header-cell {
  35. background-color: @rowHeaderCell;
  36. border-bottom: solid @gridBorderWidth @borderColor;
  37. }