tables.sortable.css 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. .tablesaw-sortable,
  2. .tablesaw-sortable thead,
  3. .tablesaw-sortable thead tr,
  4. .tablesaw-sortable thead tr th {
  5. position: relative;
  6. }
  7. .tablesaw-sortable thead tr th {
  8. padding-right: 1.6em;
  9. vertical-align: top;
  10. }
  11. .tablesaw-sortable th.tablesaw-sortable-head,
  12. .tablesaw-sortable tr:first-child th.tablesaw-sortable-head {
  13. padding: 0;
  14. }
  15. .tablesaw-sortable th.tablesaw-sortable-head button {
  16. padding-top: .9em;
  17. padding-bottom: .7em;
  18. padding-left: .6em;
  19. padding-right: 1.6em;
  20. }
  21. .tablesaw-sortable .tablesaw-sortable-head button {
  22. min-width: 100%;
  23. color: inherit;
  24. background: transparent;
  25. border: 0;
  26. padding: 0;
  27. text-align: left;
  28. font: inherit;
  29. text-transform: inherit;
  30. position: relative;
  31. }
  32. .tablesaw-sortable .tablesaw-sortable-head.tablesaw-sortable-ascending button:after,
  33. .tablesaw-sortable .tablesaw-sortable-head.tablesaw-sortable-descending button:after {
  34. width: 7px;
  35. height: 10px;
  36. content: "\0020";
  37. position: absolute;
  38. right: .5em;
  39. }
  40. .tablesaw-sortable .tablesaw-sortable-head.tablesaw-sortable-ascending button:after {
  41. content: "\2191";
  42. }
  43. .tablesaw-sortable .tablesaw-sortable-head.tablesaw-sortable-descending button:after {
  44. content: "\2193";
  45. }
  46. .tablesaw-sortable .not-applicable:after {
  47. content: "--";
  48. display: block;
  49. }
  50. .tablesaw-sortable .not-applicable span {
  51. display: none;
  52. }