jsontable.css 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. .nthChildTest > div:nth-child(odd) {
  2. display: none;
  3. }
  4. .jsDataTable > thead > tr > th {
  5. border-width:4px;
  6. padding: 2px;
  7. font-size:10pt;
  8. text-align: left;
  9. }
  10. .jsDataTable > thead > tr > th.notSortable {
  11. padding: 5px;
  12. }
  13. .jsDataTable > tbody > tr > td {
  14. border-bottom: 1px solid #ccc;
  15. padding: 2px;
  16. vertical-align: middle;
  17. height:25px;
  18. font-size: 10px;
  19. }
  20. .jsDataTable {
  21. font-family: verdana;
  22. font-size:10pt;
  23. }
  24. .jsDataTable > tbody > tr:nth-child(odd),
  25. .jsDataTable > tbody > tr.odd {
  26. background-color: #ffffee;
  27. }
  28. .jsDataTable > tbody > tr:nth-child(even),
  29. .jsDataTable > tbody > tr.even {
  30. background-color: #ffffff;
  31. }
  32. .jsDataTable > thead th.sortAsc,
  33. .jsDataTable > thead th.sortDesc {
  34. color:ffffff;
  35. background-color: #7777ff;
  36. background-position: right center;
  37. background-repeat: no-repeat;
  38. }
  39. .jsDataTable > thead th.sortAsc {
  40. background-image: url(/images/table/asc.png);
  41. }
  42. .jsDataTable > thead th.sortDesc {
  43. background-image: url(/images/table/desc.png);
  44. }
  45. .jsDataTable.clickable > tbody > tr,
  46. .clickable > .jsDataTable > tbody > tr {
  47. cursor: pointer;
  48. }
  49. .jsDataTable.clickable > tbody > tr.nonDataRow,
  50. .clickable > .jsDataTable > tbody > tr.nonDataRow {
  51. cursor: auto;
  52. }